⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
public_html
/
resources
/
views
/
user
/
View File Name :
subdomain.blade.php
@extends('user.layout') @section('content') @if (!empty($features) && is_array($features) && in_array('Subdomain', $features)) <div class="page-header"> <h4 class="page-title">{{$keywords['Subdomain_and_Path_URL'] ?? __('Subdomain & Path URL')}}</h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="{{route('user-dashboard')}}"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#">{{$keywords['Domains_and_URLs'] ?? __('Domains & URLs')}}</a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#">{{$keywords['Subdomain_and_Path_URL'] ?? __('Subdomain & Path URL')}}</a> </li> </ul> </div> @else <div class="page-header"> <h4 class="page-title">{{$keywords['Path_Based_URL'] ?? __('Path Based URL')}} </h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="{{route('user-dashboard')}}"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#">{{$keywords['Path_Based_URL'] ?? __('Path Based URL')}}</a> </li> </ul> </div> @endif <div class="row"> @if (cPackageHasSubdomain(Auth::user())) <div class="col-md-6"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-4"> <div class="card-title d-inline-block">{{$keywords['Subdomain'] ?? __('Subdomain')}}</div> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th scope="col">{{$keywords['Subdomain'] ?? __('Subdomain')}}</th> </tr> </thead> <tbody> <tr> <td> @php $subdomain = strtolower(Auth::user()->username) . "." . env('WEBSITE_HOST'); @endphp <a href="//{{$subdomain}}" target="_blank">{{$subdomain}}</a> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> @endif <div class="{{cPackageHasSubdomain(Auth::user()) ? 'col-md-6' : 'col-md-12'}}"> <div class="card"> <div class="card-header card-title"> {{$keywords['Path_Based_URL'] ?? __('Path Based URL')}} </div> <div class="card-body"> <div class="table-responsive"> <table class="table-striped table"> <thead> <tr> <th>{{$keywords['URLs'] ?? __('URL')}}</th> </tr> </thead> <tbody> <tr> <td> @php $url = env('WEBSITE_HOST') . '/' . Auth::user()->username; @endphp <a href="//{{$url}}" target="_blank">{{$url}}</a> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> @endsection @section('scripts') <script> $(document).ready(function() { $('.requestBtn').on('click', function () { swal({ title: 'Are you sure?', text: "You want to send subdomain request?", type: 'warning', buttons: { confirm: { text: 'Send Request', className: 'btn btn-success' }, cancel: { visible: true, className: 'btn btn-danger' } } }).then((Request) => { if (Request) { $(".requestBtn").attr('type', 'submit'); $("#requestForm").submit(); } else { swal.close(); } }); }); }); </script> @endsection