芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/portal.pulsehost.co.uk/feeds/domainpricing.php
table.domainpricing { width: 600px; background-color: #ccc; } table.domainpricing th { padding: 3px; background-color: #efefef; font-weight: bold; } table.domainpricing td { padding: 3px; background-color: #fff; text-align: center; } */ $code = '
' . \Lang::trans('domaintld') . '
' . \Lang::trans('domainminyears') . '
' . \Lang::trans('domainsregister') . '
' . \Lang::trans('domainstransfer') . '
' . \Lang::trans('domainsrenew') . '
'; if (!isset($currency) || !is_numeric($currency)) { $currency = array(); } else { $currency = getCurrency(null, $currency); } if (!$currency || !is_array($currency) || !isset($currency['id'])) { $currency = Currency::factoryForClientArea(); } $freeamt = formatCurrency(0); $tldslist = getTLDList(); foreach ($tldslist AS $tld) { $tldpricing = getTLDPriceList($tld, true); $firstoption = current($tldpricing); $year = key($tldpricing); $transfer = ($firstoption["transfer"] == $freeamt) ? $_LANG['orderfree'] : $firstoption["transfer"]; $code .= sprintf( '
%s
%d
%s
%s
%s
', htmlspecialchars($tld, ENT_QUOTES, 'UTF-8'), $year, htmlspecialchars($firstoption["register"], ENT_QUOTES, 'UTF-8'), htmlspecialchars($transfer, ENT_QUOTES, 'UTF-8'), htmlspecialchars($firstoption["renew"], ENT_QUOTES, 'UTF-8') ); } $code .= '
'; echo "document.write('".$code."');";