window.location.href='../../'"; } $ok=false; if(($_POST[tuser]!="" || $_COOKIE[SEUser]!="") && (($_COOKIE[SECode]==strtoupper($_POST[code]) && $_POST[tuser]!="") || ($_POST[code]=="" && $_COOKIE[SEUser]!=""))){ require '../../admin/db.nfo'; $db=mysql_connect($host0,$user0,$pass0)or die("Non e possibile connetarsi !"); mysql_select_db($db0); if($_COOKIE[SEUser]!=""){ $_POST[tuser]=$_COOKIE[SEUser]; $_POST[tpass]=$_COOKIE[SEPass]; } $sql="SELECT * FROM Users WHERE User='$_POST[tuser]' AND Pass='$_POST[tpass]'"; $res=mysql_query($sql) or die(mysql_error()); if(mysql_num_rows($res)==1){ $data=mysql_fetch_array($res); $type=$data["Type"]; $user=$data["Name"]; if($data["Activ"]==1){ mysql_query("UPDATE Users SET DateTime='".date("Y.m.d H:i:s")."' WHERE IDUser=".$data["IDUser"]); setcookie("SEUser",$_POST[tuser],0,"/");setcookie("SEPass",$_POST[tpass],0,"/");setcookie("SEWUser",$user,time()+9999999,"/"); $data=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM NewSites WHERE (Confirm IS NULL OR Confirm='0') AND IDUser=".$data["IDUser"])); $sites_nr=$data[0]; if($type<2){ $data=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM NewSites WHERE Confirm IS NULL OR Confirm='0'")); $new_nr=$data[0]; } $ok=true; }else $err="Il tuo account è stato dissativato o cancellato!"; }else $ok=false; } if($ok==false && ($_COOKIE[SEUser]!=""))$ok=true; if(!$ok){ $code=""; $s="123456789"; for($i=0;$i<5;$i++)$code.=$s[rand(0,strlen($s)-1)]; setcookie("SECode",$code); } require "../lang/fLang.php"; require "../fct.php"; $maxCols=6;$row=$col=0; function addElem($el1,$el2){ global $rows,$row,$col,$maxCols; if($col==0){ $rows[$row]=array(); $rows[$row+1]=array(); } array_push($rows[$row],$el1); array_push($rows[$row+1],$el2); $col++; if($col==$maxCols){ $col=0; $row+=2; } } function showElem(){ global $rows,$maxCols; $s=""; for($i=0;$i$s"; } ?> -
     
  ",""); } if($type<3){ if($sites_nr!=0 || $type<2){ $click="./frmSites.php"; $img="site_management"; $txt=$_Sites[$lang]; }else{ $click="./frmAddSite.php"; $img="add_site"; $txt=$_Add[$lang]; } addElem("",""); addElem("",""); addElem("",""); } if($type<2){ addElem("",""); addElem("",""); } addElem("",""); addElem("",""); if($type==0){ addElem("",""); } if($type<2)addElem("",""); if($type<3){ addElem("",""); } addElem("",""); addElem("",""); addElem("",""); if($type<3){ addElem("",""); } if($type<2){ addElem("",""); addElem("",""); addElem("",""); } addElem("",""); addElem("",""); addElem("",""); addElem("",""); showElem(); ?>
0){?>
    

, : 18.191.165.192

:


  ".$_Users[$lang]."  $txt".$_Create[$lang]."".$_Stats[$lang]."".$_Layout[$lang]."".$_ACategories[$lang]."".$_Announcements[$lang]."".$_News[$lang]."".$_NewsCategories[$lang]."".$_DCategories[$lang]."Download ".$_Settings[$lang]." ".$_Modify[$lang]."
 ".$_Contacts[$lang]." 
".$_Modify[$lang]." User
& Password
".$_Affiliate[$lang]."".$_Msg[$lang]."".$_FAQCateg[$lang]."FAQHome".$_1stPage[$lang]."".$_unregister[$lang]."".$_Exit[$lang]."
 
L O G I N

$err"; }else echo $_txt3[$lang]?>.
:
:
:
:
 
?

.
E-Mail: