<?
if(define("opendomains", false)) die("Hacking System");
function updatedomain($domain, $exe, $url, $email, $pass, $name, $title, $des, $key, $cloak,$fav, $visit, $status, $country, $cus1, $cus2, $cus3, $cus4, $per) {
global $config;
if(checkdomain($domain,$exe)==true) {
$query=mysql_query("update `cl_domains` set wurl='$url' , wemail='$email' , wpass='$pass' , wname='$name' , wtitle='$title' , wdes='$des' , wkey='$key' , wcloak='$cloak', wfav='$fav', wvisit='$visit' , wact='$status' , wcountry='$country' , wcus1='$cus1' , wcus2='$cus2' , wcus3='$cus3' , wcus4='$cus4' where wdomain='$domain' and wexe='$exe' ")or die("Error update !");
if($config[cache]=="yes") {
$query=mysql_query("select * from `cl_domains` where wdomain='$domain' and wexe='$exe';");
$acc=mysql_fetch_array($query);
include("cache.php");
ghi($acc,"../".$config[save]);
}
$ok=true;
}
else {
$ok=false;
}
return $ok;
}
?>