Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/automoti/public_html/tos/config.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/automoti/public_html/tos/config.php on line 29
=$ashfrequency){ $rand_num=rand(0,count($aryf)-1); $file=$aryfile[$rand_num]; //echo $file; include($fileprefix.trim($file)); $sql="update set_master set last_file='".$file."~".$rand_num."',last_time=now() where id=".$id.""; mysql_query($sql); }else{ $sql2="select last_file from set_master where id=".$id.""; $cmd2 = mysql_query($sql2); $rs2 = mysql_fetch_array($cmd2); $aryfilecounter=split("~",$rs2[0]); $filecounter=$aryfilecounter[1]; $file=$aryfile[$filecounter]; include($fileprefix.trim($file)); } } break; case 2://If Sequential if ($ashfrequency=='0'){//If Frequency==0 for ($i=0;$i=$ashfrequency){ $filecounter=$filecounter+1; if ($filecounter!=count($aryf)){ //echo $aryfile[$filecounter]; include($fileprefix.trim($aryfile[$filecounter])); $sql="update set_master set last_file='".$aryfile[$filecounter]."~".$filecounter."',last_time=now() where id=".$id.""; mysql_query($sql); }else{ //echo $aryfile[0]; include($fileprefix.trim($aryfile[0])); $sql="update set_master set last_file='".$aryfile[0]."~0',last_time=now() where id=".$id.""; mysql_query($sql); } }else{ //echo $aryfile[$filecounter]; include($fileprefix.trim($aryfile[$filecounter])); } } } break; }//end switch 2 } break; case 2://if set_type=user $aryf=split("\n",$rs["content_file"]); //echo $_COOKIE["set".$rs["id"]].'aaa'; if ($_COOKIE["set".$rs["id"]]==''){//if cookie empty for ($i=0;$i"; //setcookie("set".$rs["id"],$cookievar,time()+660000); include($fileprefix.trim($file)); } if ($rs["random"]=="2"){ //echo $aryfile[0]; $cookievar=$aryfile[0]."~0"."@".date("Y-m-d H:i:s"); echo ""; //setcookie("set".$rs["id"],$cookievar,time()+660000); include($fileprefix.trim($aryfile[0])); } }else{//if cookie not empty //echo $_COOKIE["set".$rs["id"]]; $aryfileinfo=split("@",$_COOKIE["set".$rs["id"]]); $last_file=$aryfileinfo[0]; $last_time=$aryfileinfo[1]; //echo $last_file; //echo $last_time.'aaaaaaaaaa'; switch($rs["random"]){ case 1://If Random for ($i=0;$i"; }else{//If Frequency!=0 $vg=GetHourTime(strtotime(date("Y-m-d H:i:s"))-strtotime($last_time)); if ($vg>=$rs["frequency"]){ $rand_num=rand(0,count($aryf)-1); $file=$aryfile[$rand_num]; //echo $file; include($fileprefix.trim($file)); $cookievar=$file."~".$rand_num."@".date("Y-m-d H:i:s"); echo ""; //setcookie("set".$rs["id"],$cookievar,time()+660000); }else{ $aryfilecounter=split("~",$last_file); $filecounter=$aryfilecounter[1]; $file=$aryfile[$filecounter]; //echo $file; include($fileprefix.trim($file)); } } break; case 2://If Sequential for ($i=0;$i"; include($fileprefix.trim($aryfile[$filecounter])); }else{ //echo $aryfile[0]; $cookievar=$aryfile[0]."~0"."@".date("Y-m-d H:i:s"); //setcookie("set".$rs["id"],$cookievar,time()+660000); echo ""; include($fileprefix.trim($aryfile[0])); } }else{//If Frequency !=0 $aryfilecounter=split("~",$last_file); $filecounter=$aryfilecounter[1]; $vg=GetHourTime(strtotime(date("Y-m-d H:i:s"))-strtotime($last_time)); //echo $vg; //die; if ($vg>=$rs["frequency"]){ $filecounter=$filecounter+1; if ($filecounter!=count($aryf)){ //echo $aryfile[$filecounter]; include($fileprefix.trim($aryfile[$filecounter])); $cookievar=trim($aryfile[$filecounter])."~".$filecounter."@".date("Y-m-d H:i:s"); //setcookie("set".$rs["id"],$cookievar,time()+660000); echo ""; }else{ //echo $aryfile[0]; include($fileprefix.trim($aryfile[0])); $cookievar=$aryfile[0]."~0"."@".date("Y-m-d H:i:s"); //setcookie("set".$rs["id"],$cookievar,time()+660000); echo ""; } }else{ //echo $aryfile[$filecounter]; include($fileprefix.trim($aryfile[$filecounter])); } } break; }//end switch } //echo $_COOKIE["set".$rs["id"]]; break; }//end switch 1 }//end function ?> = 3600) { $hval = ($timedifference / 3600); $hourtime = intval($hval); $leftoverhours = ($timedifference % 3600); $mval = ($leftoverhours / 60); $minutetime = intval($mval); $leftoverminutes = ($leftoverhours % 60); $secondtime = intval($leftoverminutes); $hourtime = str_pad($hourtime, 2, "0", STR_PAD_LEFT); $minutetime = str_pad($minutetime, 2, "0", STR_PAD_LEFT); $secondtime = str_pad($secondtime, 2, "0", STR_PAD_LEFT); //return "$hourtime:$minutetime:$secondtime"; return "$hourtime"; } if ($timedifference >= 60) { $hourtime = 0; $mval = ($timedifference / 60); $minutetime = intval($mval); $leftoverminutes = ($timedifference % 60); $secondtime = intval($leftoverminutes); $hourtime = str_pad($hourtime, 2, "0", STR_PAD_LEFT); $minutetime = str_pad($minutetime, 2, "0", STR_PAD_LEFT); $secondtime = str_pad($secondtime, 2, "0", STR_PAD_LEFT); //return "$hourtime:$minutetime:$secondtime"; return "$hourtime"; } $hourtime = 0; $minutetime = 0; if ($timedifference < 0 ) { $secondtime = 0; } else { $secondtime = $timedifference; } $hourtime = str_pad($hourtime, 2, "0", STR_PAD_LEFT); $minutetime = str_pad($minutetime, 2, "0", STR_PAD_LEFT); $secondtime = str_pad($secondtime, 2, "0", STR_PAD_LEFT); //return "$hourtime:$minutetime:$secondtime"; return "$hourtime"; } function getbrowser1($client) { if(substr_count($client, 'Opera')) { $browser = 'Opera'; } elseif(substr_count($client, 'iCab')) { $browser = 'iCab'; } elseif(substr_count($client, 'OmniWeb')) { $browser = 'OmniWeb'; } elseif(substr_count($client, 'Avant Browser')) { $browser = 'Avant Browser'; } elseif(substr_count($client, 'MSIE')) { $browser = 'MSIE'; } elseif(substr_count($client, 'Netscape')) { $browser = 'Netscape'; } elseif(substr_count($client, 'Safari')) { $browser = 'Safari'; } elseif(substr_count($client, 'Firefox')) { $browser = 'Firefox'; } elseif(substr_count($client, 'Firebird')) { $browser = 'Firebird'; } elseif(substr_count($client, 'AOL')) { $browser = 'AOL'; } elseif(substr_count($client, 'Konqueror')) { $browser = 'Konqueror'; } elseif(substr_count($client, 'Camino')) { $browser = 'Camino'; } elseif(substr_count($client, 'Thunderbird')) { $browser = 'Thunderbird'; } elseif(substr_count($client, 'Gecko')) { $browser = 'Mozilla'; } elseif(substr_count($client, 'Macintosh')) { $browser = 'Mac'; } elseif(substr_count($client, 'AvantGo')) { $browser = 'AvantGo'; } elseif(substr_count($client, 'Nautilus')) { $browser = "Nautilus"; } elseif(substr_count($client, 'Lynx')) { $browser = "Lynx"; } elseif(substr_count($client, 'Galeon')) { $browser = "Galeon"; } elseif(substr_count($client, 'Mozilla')) { $browser = 'Mozilla'; } else { $browser = ''; } return $browser; } ?> Your Password is ".$adminpassword.""; $receiveremail=$adminemail; $headers = "From: ". $adminemail ."\nContent-Type: text/html"; mail($receiveremail,$subject,$message,$headers); seterr("You Password is sent to you by mail."); } else{ $x = $_POST; seterr("This email is Not Registered."); //redirect("signin.php"); } } ?> Forget password
Forget Your Password?
 * All Fields Are Compulsory
 
 
E Mail : ">
 
Back Home