horoscop.php
do anyone know how i can get a eng version
Code:
<?php header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); //header('Content-type: application/vnd.wap.xhtml+xml'); echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>"; echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">"; ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta forua="true" http-equiv="Cache-Control" content="max-age=0"/> <meta forua="true" http-equiv="Cache-Control" content="must-revalidate"/> </head> <?php include("config.php"); include("core.php"); $bcon = connectdb(); if (!$bcon) { echo "<head>"; echo "<title>eroare!!!</title>"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"themes/white_medium.css\">"; echo "</head>"; echo "<body>"; echo "<p align=\"center\">"; echo "<img src=\"images/notok.gif\" alt=\"!\"/><br/>"; echo "<b><strong>Nu se poate conecta la baza de date</strong></b><br/><br/>"; echo "</p>"; echo "</body>"; echo "</html>"; exit(); } ///////////////////////////////// $brws = explode("/",$HTTP_USER_AGENT); $ubr = $brws[0]; $uip = getip(); $action = $_GET["action"]; $sid = $_GET["sid"]; $page = $_GET["page"]; $who = $_GET["who"]; $sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'")); $sitename = $sitename[0]; $uid = getuid_sid($sid); $theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id='".$uid."'")); cleardata(); if(isipbanned($uip,$ubr)) { if(!isshield(getuid_sid($sid))) { echo "<head>"; echo "<title>eroare</title>"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"themes/$theme[0]\">"; echo "</head>"; echo "<body>"; echo "<p align=\"center\">"; echo "<img src=\"images/notok.gif\" alt=\"x\"/><br/>"; echo "ip blocat<br/>"; echo "<br/>"; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 ")); //echo mysql_error(); $remain = $banto[0] - time(); $rmsg = gettimemsg($remain); echo " IP: $rmsg<br/><br/>"; echo "</p>"; echo "<p>"; echo "<form action=\"login.php\" method=\"get\">"; echo "<b>nume: </b><br/><input name=\"loguid\" format=\"*x\" size=\"20\" maxlength=\"20\"/><br/>"; echo "<b>parola: </b><br/><input type=\"password\" name=\"logpwd\" size=\"20\" maxlength=\"20\"/><br/>"; echo "<br/><input name=\"Login\" type=\"submit\" value=\"intra\"></form>"; echo "</p>"; echo "</body>"; echo "</html>"; exit(); } } if(($action != "") && ($action!="terms")) { $uid = getuid_sid($sid); if((islogged($sid)==false)||($uid==0)) { echo "<head>"; echo "<title>eroare</title>"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"themes/white_medium.css\">"; echo "</head>"; echo "<body>"; echo "<p align=\"center\">"; echo "nu esti autentificat<br/>"; echo "sau sesiunea ta a expirat<br/><br/>"; echo "<a href=\"index.php\">autentificare</a>"; echo "</p>"; echo "</body>"; echo "</html>"; exit(); } } if(isbanned($uid)) { echo "<head>"; echo "<title>eroare!!!</title>"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"themes/$theme[0]\">"; echo "</head>"; echo "<body>"; echo "<p align=\"center\">"; echo "<img src=\"images/notok.gif\" alt=\"x\"/><br/>"; echo "<b>esti banat</b><br/><br/>"; $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'")); $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'")); $remain = $banto[0]- time(); $rmsg = gettimemsg($remain); echo "<b>timp ramas: </b>$rmsg<br/>"; $nick = getnick_uid($banto[2]); echo "<b>ai fost banat de: </b>$nick<br/>"; echo "<b>pe motiv ca: </b>$banto[1]"; //echo "<a href=\"index.php\">Login</a>"; echo "</p>"; echo "</body>"; echo "</html>"; exit(); } /////////////////////timp online//////////////////////////////////////// $res = mysql_fetch_array(mysql_query("SELECT lastact FROM ibwf_users WHERE id='".$uid."'")); $lastact = $res[0]; $atime = time() - $lastact; if($atime<1800){ $res = mysql_fetch_array(mysql_query("SELECT otime, mtime FROM ibwf_users where id='".$uid."'")); $otime = $res[0] + $atime; $mtime = $res[1] + $atime; $res = mysql_query("UPDATE ibwf_users SET otime='".$otime."', mtime='".$mtime."' where id='".$uid."'"); } $altm = time()-(5*60*60); $res = mysql_query("UPDATE ibwf_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'"); //////////////////////////////////////////////////////////////////////// if($action=="main") { addvisitor(); addonline(getuid_sid($sid),"horoscop","horoscop.php?action=$action"); echo "<head>"; echo "<title>extra</title>"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"themes/$theme[0]\">"; echo "</head>"; echo "<body>"; echo "<p align=\"center\">"; // alerte $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo popup($sid); echo "</p>"; echo "</body>"; echo "</html>"; exit(); } ////<span style="text-decoration:blink; font-weight: bold; color: white;">:</span> echo "<b>Horoscop</b><br/>"; echo "<p>"; $ulc = $_GET["ulc"]; echo "<center>Alege Zodia: <br/>"; echo "<form action=\"horoscop.php\" method=\"get\">"; echo "<select name=\"ulc\">"; echo " <option value=\"berbec\">Berbec</option> <option value=\"taur\">Taur</option> <option value=\"gemeni\">Gemeni</option> <option value=\"rac\">Rac</option> <option value=\"leu\">Leu</option> <option value=\"fecioara\">Fecioara</option> <option value=\"balanta\">Balanta</option> <option value=\"scorpion\">Scorpion</option> <option value=\"sagetator\">Sagetator</option> <option value=\"capricorn\">Capricorn</option> <option value=\"varsator\">Varsator</option> <option value=\"pesti\">Pesti</option>"; echo "</select><br/>"; echo "<input type=\"hidden\" name=\"action\" value=\"$action\"/>"; echo "<input type=\"hidden\" name=\"sid\" value=\"$sid\"/>"; echo "<input type=\"submit\" value=\"Vezi\"></center>"; echo "</form>"; if($ulc=="")$ulc=""; if ($ulc=="berbec") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=berbec'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else if ($ulc=="taur") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=taur'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else if ($ulc=="gemeni") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=gemeni'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else if ($ulc=="rac") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=rac'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else if ($ulc=="leu") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=leu'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else if ($ulc=="fecioara") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=fecioara'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else if ($ulc=="balanta") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=balanta'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else if ($ulc=="scorpion") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=scorpion'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else if ($ulc=="sagetator") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=sagetator'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else if ($ulc=="capricorn") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=capricorn'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else if ($ulc=="varsator") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=varsator'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else if ($ulc=="pesti") { $text = file_get_contents('http://www.acvaria.com/partener-acvaria.php?z=pesti'); strip_tags($text); echo "\n"; // Allow <p> and <a> strip_tags($text, '<p><br/>'); function paul($text) { $text = str_replace("Horoscop oferit de www.acvaria.com", "", $text); $text = str_replace("[Home]", "", $text); $text = str_replace("Prognoza Meteo:", "Prognoza Meteo pe 5 zile:", $text); return $text; } $tes = paul($text); echo "$tes<br/><center></center>"; }else echo "<br/>-----<br/>"; echo "</p>"; echo "<p align=\"center\">"; echo "</p></body>"; } echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"\"/>Home</a>"; echo "</p>"; echo "</body>"; ?> </html>
Comment