scripts for lordx and does anyone have any games for lavalair heads n tails, calc
** visit my new forum wapsite on your mobile phone today. wapfire.freehostia.com **
Started on the old forum in May 2007 · view the original in the archive · old links redirect here
scripts for lordx and does anyone have any games for lavalair heads n tails, calc
** visit my new forum wapsite on your mobile phone today. wapfire.freehostia.com **
-lol- bro is not for me is for see what is tha prob whit game but this is tha same script i place up hear bro .lock hear http://www.2wap.org/forums/index.php?act=a...post&id=922 and is not the scrip you are use this is in english and yours is in romana External image (may be gone)
i wanet to se what is the prob whit you script /you hawe prob with game no ?
eni lock hear and you see some scripts A new Forum is not finish Yet Bro
and login whit user : user and pass: demo
search hear you find some game bro ..
search hear you find some game bro ..
lock for game php bro but you cant add from Cpanel External image (may be gone)
<?php
/*
IrisBlaze wap forum
by Ra'ed Shabana
*/
//» »
//« «
header("Content-type: text/vnd.wap.wml");
header("Cache-Control: no-store, no-cache, must-revalidate");
echo("<?xml version=\"1.0\"?>");
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>
<wml>
<?php
include("config.php");
include("core.php");
$bcon = connectdb();
if (!$bcon)
{
echo "<card id=\"main\" title=\"(ERROR!)\">";
echo "<p align=\"center\">";
echo "<img src=\"images/exit.gif\" alt=\"*\"/>
";
echo "ERROR!
";
echo "
";
echo "
";
echo "[b]THANK YOU VERY MUCH[/b]";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
$action = $_GET["action"];
$sid = $_GET["sid"];
$uid = getuid_sid($sid);
if((islogged($sid)==false)||($uid==0))
{
echo "<card id=\"main\" title=\"\">";
echo "<p align=\"center\">";
echo "Nu esti Logat
";
echo "Sau sesiunea a expirat
";
echo "<a href=\"index.php\">Logare</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
if(isbanned($uid))
{
echo "<card id=\"main\" title=\"\">";
echo "<p align=\"center\">";
echo "<img src=\"images/notok.gif\" alt=\"x\"/>
";
echo "Esti [b]Banat[/b]
";
$banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "Timp pana la debanare: $rmsg
";
//echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
if($action=="guessgm")
{
addonline(getuid_sid($sid),"Joaca Ghiceste Numarul","");
echo "<card id=\"main\" title=\"Ghiceste Numarul\">";
echo "<p align=\"center\">";
$gid = $_POST["gid"];
$un = $_POST["un"];
if($gid=="")
{
mysql_query("DELETE FROM ibwf_games WHERE uid='".$uid."'");
mt_srand((double)microtime()*1000000);
$rn = mt_rand(1,100);
mysql_query("INSERT INTO ibwf_games SET uid='".$uid."', gvar1='8', gvar2='".$rn."'");
$tries = 8;
$gameid = mysql_fetch_array(mysql_query("SELECT id FROM ibwf_games WHERE uid='".$uid."'"));
$gid=$gameid[0];
}else{
$ginfo = mysql_fetch_array(mysql_query("SELECT gvar1,gvar2 FROM ibwf_games WHERE id='".$gid."' AND uid='".$uid."'"));
$tries = $ginfo[0]-1;
mysql_query("UPDATE ibwf_games SET gvar1='".$tries."' WHERE id='".$gid."'");
$rn = $ginfo[1];
}
if ($tries>0)
{
$gmsg = "[size="1"]Incearca sa ghicesti numarul inainte sa ramai fara incercari, numarul este intre 1-100[/size]
";
echo $gmsg;
$tries = $tries-1;
$gpl = $tries*3;
echo "Incercari:$tries, Plusuri:$gpl
";
if ($un==$rn){
$gpl = $gpl+3;
$ugpl = mysql_fetch_array(mysql_query("SELECT gplus FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $gpl + $ugpl[0];
mysql_query("UPDATE ibwf_users SET gplus='".$ugpl."' WHERE id='".$uid."'");
echo "[size="1"]Felicitari! numarul era $rn, $gpl Plusuri au fost adaugate la Game Plusses, <a href=\"games.php?action=guessgm&sid=$sid\">Joc Nou</a>[/size]
";
}else{
if($un <$rn)
{
echo "Incearca un numar mai mara decat $un !
";
}else{
echo "Incearca un numar mai mic decat $un !
";
}
echo "Numarul Tau: <input type=\"text\" name=\"un\" format=\"*N\" size=\"3\" value=\"$un\"/><anchor>";
echo " INCEARCA";
echo "<go href=\"games.php?action=guessgm&sid=$sid\" method=\"post\">";
echo "<postfield name=\"un\" value=\"$(un)\"/>";
echo "<postfield name=\"gid\" value=\"$gid\"/>";
echo "</go>";
echo "</anchor>
";
}
}else{
$gmsg = "[size="1"]JOC TERMINAT, <a href=\"games.php?action=guessgm&sid=$sid\">Joc Nou</a>[/size]
";
echo $gmsg;
}
echo "
<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Prim</a>";
echo "</p></card>";
}else if($action == "hangman")
{
addonline(getuid_sid($sid),"Joaca Spanzuratoarea","");
echo "<card id=\"main\" title=\"Spanzuratoarea\">";
echo "<p align=\"center\">";
$gid = $_GET["gid"];
$gchr = $_GET["gchr"];
$alpha = "abcdefghijklmnopqrstuvwxyz";
if($gid=="")
{
mysql_query("DELETE FROM ibwf_games WHERE uid='".$uid."'");
$hmid = mysql_fetch_array(mysql_query("SELECT id FROM ibwf_hangman ORDER BY RAND() LIMIT 1"));
mysql_query("INSERT INTO ibwf_games SET uid='".$uid."', gvar1='abcdefghijklmnopqrstuvwxyz', gvar2='', gvar3='', gvar4='".$hmid[0]."'");
$gameid = mysql_fetch_array(mysql_query("SELECT id FROM ibwf_games WHERE uid='".$uid."'"));
$gid=$gameid[0];
}else{
$ginfo = mysql_fetch_array(mysql_query("SELECT gvar1,gvar2, gvar3, gvar4 FROM ibwf_games WHERE id='".$gid."' AND uid='".$uid."'"));
}
if(strlen($ginfo[1])<6)
{
$txg = mysql_fetch_array(mysql_query("SELECT text, dscr FROM ibwf_hangman WHERE id='".$ginfo[3]."'"));
$tofn = getchars($txg[0]);
}
echo "
<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Prim</a>";
echo "</p></card>";
}else{
addonline(getuid_sid($sid),"Teai pierdut in jocuri lol","");
echo "<card id=\"main\" title=\"Jocuri\">";
echo "<p align=\"center\">";
echo "
";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Prim</a>";
echo "</p></card>";
}
function getchars($text)
{
$text = strtolower($text);
$abc = "abcdefghijklmnopqrstuvwxyz";
$rts = "";
for ($i=0; $i<strlen($text); $i++)
{
$onc = substr($text,$i, 1);
$pos = strpos($abc,$onc);
if($pos===false)
{
//meh
}else{
$pos = strpos($rts, $onc);
if($pos===false)
{
$rts .= $onc;
}
}
}
return $rts;
}
?>
</wml>
** visit my new forum wapsite on your mobile phone today. wapfire.freehostia.com **
ok leave the joke open index.php and find
line(getuid_sid($sid),"Fun Menu","");
ther add your link to the game you wont to add External image (may be gone)
the link will lock like this EX:
echo "<a href="casino.php?sid=$sid">»Casino</a> ";
replace xxx.php whit the name of your game and xxxz wit the name you wont ok
place onli the cod from index for see i cant see so ...search at line 3000 - 3015