X7ROOT File Manager
Current Path:
/home/mysptejz/public_html/billing/admin
home
/
mysptejz
/
public_html
/
billing
/
admin
/
ðŸ“
..
📄
accessdenied.php
(22.85 KB)
📄
addonmodules.php
(49.08 KB)
📄
affiliates.php
(281.02 KB)
📄
automationstatus.php
(104.13 KB)
📄
billableitems.php
(180.24 KB)
📄
calendar.php
(213.17 KB)
📄
cancelrequests.php
(79.86 KB)
📄
clients.php
(56.02 KB)
📄
clientsadd.php
(86.71 KB)
📄
clientsaddonslist.php
(6.62 KB)
📄
clientsbillableitems.php
(209.63 KB)
📄
clientscontacts.php
(118.63 KB)
📄
clientscredits.php
(102.59 KB)
📄
clientsdomaincontacts.php
(96.22 KB)
📄
clientsdomainlist.php
(6.63 KB)
📄
clientsdomainreg.php
(76.67 KB)
📄
clientsdomains.php
(454.31 KB)
📄
clientsemails.php
(63.43 KB)
📄
clientshosting.php
(10.59 KB)
📄
clientshostinglist.php
(9.56 KB)
📄
clientsinvoices.php
(274.43 KB)
📄
clientslog.php
(45.88 KB)
📄
clientsmerge.php
(33.03 KB)
📄
clientsmove.php
(70.69 KB)
📄
clientsnotes.php
(76.28 KB)
📄
clientsprofile.php
(118.54 KB)
📄
clientsquotes.php
(38.47 KB)
📄
clientsservices.php
(939.88 KB)
📄
clientssummary.php
(425.35 KB)
📄
clientstransactions.php
(156.43 KB)
📄
clientsupgrade.php
(146.03 KB)
📄
configaddonmods.php
(140.4 KB)
📄
configaddons.php
(517.91 KB)
📄
configadminroles.php
(177.5 KB)
📄
configadmins.php
(195.88 KB)
📄
configapicredentials.php
(16.1 KB)
📄
configapplinks.php
(117.42 KB)
📄
configauto.php
(322.55 KB)
📄
configbackups.php
(257.13 KB)
📄
configbannedemails.php
(37.85 KB)
📄
configbannedips.php
(60.23 KB)
📄
configbundles.php
(310.72 KB)
📄
configclientgroups.php
(72.96 KB)
📄
configcurrencies.php
(116.15 KB)
📄
configcustomfields.php
(109.67 KB)
📄
configdomainlookup.php
(80.98 KB)
📄
configdomains.php
(659.28 KB)
📄
configemailtemplates.php
(207.9 KB)
📄
configfraud.php
(27.25 KB)
📄
configgateways.php
(243.37 KB)
📄
configgeneral.php
(1021.24 KB)
📄
configopenid.php
(123.59 KB)
📄
configorderstatuses.php
(69.93 KB)
📄
configproductoptions.php
(242.36 KB)
📄
configproducts.php
(1.19 MB)
📄
configpromotions.php
(282.35 KB)
📄
configregistrars.php
(92.35 KB)
📄
configsecurityqs.php
(47.26 KB)
📄
configservers.php
(488.55 KB)
📄
configtax.php
(6.44 KB)
📄
configticketdepartments.php
(322.02 KB)
📄
configticketescalations.php
(139.31 KB)
📄
configticketspamcontrol.php
(49.74 KB)
📄
configticketstatuses.php
(74.8 KB)
📄
configtranslations.php
(50.76 KB)
📄
configtwofa.php
(6.34 KB)
📄
configurimgmt.php
(19.24 KB)
📄
cron.php
(888 B)
📄
csvdownload.php
(63.61 KB)
📄
dologin.php
(54.68 KB)
📄
error_log
(26.33 KB)
📄
gatewaylog.php
(53.37 KB)
ðŸ“
images
📄
index.php
(12.79 KB)
📄
invoices.php
(742.2 KB)
ðŸ“
lang
📄
licenseerror.php
(36.71 KB)
📄
login.php
(5.93 KB)
📄
logout.php
(7.27 KB)
📄
marketconnect.php
(11.75 KB)
📄
massmail.php
(118.67 KB)
📄
mergefields.php
(291.04 KB)
📄
modulequeue.php
(103.5 KB)
📄
myaccount.php
(104.51 KB)
📄
networkissues.php
(124.17 KB)
📄
offlineccprocessing.php
(31.12 KB)
📄
orders.php
(594.69 KB)
📄
ordersadd.php
(350.31 KB)
📄
quotes.php
(331.7 KB)
📄
reports.php
(143.11 KB)
📄
search.php
(120.31 KB)
📄
sendmessage.php
(236.79 KB)
📄
supportannouncements.php
(96.11 KB)
📄
supportcenter.php
(88.58 KB)
📄
supportdownloads.php
(204.21 KB)
📄
supportkb.php
(222.91 KB)
📄
supportticketpredefinedreplies.php
(136.41 KB)
📄
supporttickets.php
(1014.42 KB)
📄
supportticketskbarticle.php
(24.27 KB)
📄
supportticketsprint.php
(45.65 KB)
📄
systemactivitylog.php
(58.63 KB)
📄
systemadminlog.php
(24.87 KB)
📄
systemcleanup.php
(102.66 KB)
📄
systemdatabase.php
(59.76 KB)
📄
systememaillog.php
(23.66 KB)
📄
systemhealthandupdates.php
(50.55 KB)
📄
systemintegrationcode.php
(18.21 KB)
📄
systemlicense.php
(5.92 KB)
📄
systemmailimportlog.php
(5.93 KB)
📄
systemmodulelog.php
(6.01 KB)
📄
systemphpinfo.php
(10.2 KB)
📄
systemsupportrequest.php
(34.38 KB)
📄
systemwhoislog.php
(17.83 KB)
ðŸ“
templates
📄
todolist.php
(162.64 KB)
📄
transactions.php
(295.84 KB)
📄
update.php
(140.67 KB)
📄
updatesteps.php
(42.25 KB)
📄
utilitiesemailmarketer.php
(41.71 KB)
📄
utilitieslinktracking.php
(81.13 KB)
📄
utilitiesresolvercheck.php
(69.26 KB)
📄
whatsnew.php
(26.88 KB)
📄
whmcsconnect.php
(76.67 KB)
📄
whois.php
(4.72 KB)
📄
wizard.php
(19.79 KB)
Editing: whois.php
<?php use WHMCS\Admin; use WHMCS\Domain\Checker; use WHMCS\Domains; use WHMCS\Domains\Domain; use WHMCS\View\Helper; use WHMCS\WHOIS; define("ADMINAREA",true); require("../init.php"); $aInt = new Admin("WHOIS Lookups"); $aInt->title = $aInt->lang('whois','title'); $aInt->sidebar = "utilities"; $aInt->icon = "domains"; $aInt->requiredFiles(array("domainfunctions")); if ($action=="checkavailability") { check_token('WHMCS.admin.default'); $whois = new WHOIS(); $result = $whois->lookup(array('sld' => $sld, 'tld' => $tld)); $whois->logLookup(); echo $result['result']; exit; } $code = ''; if ($domain = $whmcs->get_req_var('domain')) { check_token('WHMCS.admin.default'); $domains = new Domains(); /** * A space in a domain name is always invalid. Strip whitespace to * be sure the following method does not throw if a space is present. * * @see https://jira.whmcs.com/browse/CORE-16013 */ $domain = str_replace(' ', '', $domain); $domainparts = $domains->splitAndCleanDomainInput($domain); $isValid = $domains->checkDomainisValid($domainparts); if ($isValid) { $whois = new WHOIS(); if ($whois->canLookup($domainparts['tld'])) { $result = $whois->lookup($domainparts); $whois->logLookup(); if ($result['result'] == "available") { $code .= '<div class="alert alert-success text-center" role="alert" style="font-size:18px;">' . sprintf($aInt->lang('whois', 'available'), $domain) . '</div>'; } elseif ($result['result'] == "unavailable") { $code .= '<div class="alert alert-danger text-center" role="alert" style="font-size:18px;">' . sprintf($aInt->lang('whois', 'unavailable'), $domain) . '</div>'; } else { $code .= '<div class="alert alert-danger text-center" role="alert" style="font-size:18px;">' . $aInt->lang('whois', 'error') . '</div>' . '<p align="text-center">' . $result['errordetail'] . '</p>'; } } else { $code .= '<div class="alert alert-danger text-center" role="alert" style="font-size:18px;">' . sprintf($aInt->lang('whois', 'invalidtld'), $domainparts['tld']) . '</div>'; } } else { $code .= '<div class="alert alert-danger text-center" role="alert" style="font-size:18px;">' . $aInt->lang('whois', 'invaliddomain') . '</div>'; } } $code = '<form method="post" action="'.$_SERVER['PHP_SELF'].'"> <div class="row clearfix"> <div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1"> <div class="input-group input-group-lg"> <input type="text" name="domain" value="' . $domain . '" class="form-control" placeholder="domaintolookup.com" /> <div class="input-group-btn"> <input type="submit" value="Lookup Domain" class="btn btn-primary" /> </div> </div> </div> </div> </form><br>' . $code; $code .= '<div class="row">'; $isUnavailable = false; if ($domain && $isValid && $result['result'] == 'unavailable') { $isUnavailable = true; $code .= '<div class="col-md-6 col-sm-12"><h2>' . $aInt->lang('whois', 'whois') . '</h2> <div class="well well-lg"> ' . $result['whois'] . ' </div></div>'; } $checker = new Checker(); if (!empty($domain)) { $suggestions = $checker->getLookupProvider()->getSuggestions((new Domain($domain))); if ($suggestions->count()) { $outputCount = 0; $class = 'col-md-12'; $columns = 4; $suggestionLimit = 52; if ($isUnavailable) { $class = 'col-md-6 col-sm-12'; $columns = 2; $suggestionLimit = 30; } $code .= '<div class="' . $class . '"><h2>' . AdminLang::trans('whois.suggestions') . '</h2>' . '<table class="table"><tr>'; /** @var Domains\DomainLookup\SearchResult $suggestion */ $count = 1; foreach ($suggestions as $suggestion) { if ($outputCount >= $suggestionLimit) { break; } if ($count > $columns) { $count = 1; $code .= '</tr><tr>'; } $label = $suggestion->getDomain(); if ($suggestion->group()) { $label .= ' ' . Helper::getDomainGroupLabel($suggestion->group()); } $code .= '<td>' . $label . '</td>'; $count++; $outputCount++; } $code .= '</tr></table></div>'; } } $code .= '</div>'; $aInt->content = $code; $aInt->display();
Upload File
Create Folder