Hey guys i would really like ur comments on what sould be added up on retrivewap i want to do some major updates but i need some info what ppl like and want
retrivewap updates
Collapse
X
-
retrivewap updates
________________
Jacques
jacques@gw-designs.co.za
http://coding.biz.tm
Come join and lets make it a place to learn all the noobies how to code
__________________
NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITHTags: None
-
ok bro
1. nice theme
2.last 10 prof viwers
3.inbox option at login page n budy list here is the code 4 login.php
<?php
include("xhtmlfunctions.php");
header("Content-type: text/html; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
?>
<?php
include("config.php");
include("core.php");
connectdb();
$bcon = connectdb();
if (!$bcon)
{
$pstyle = gettheme(11);
echo xhtmlhead("LoVeCuLT (ERROR!)",$pstyle);
echo "<p align=\"center\">";
echo "<img src=\"images/exit.gif\" alt=\"*\"/><br/>";
echo "ERROR! cannot connect to database<br/><br/>";
echo "This error happens usually when backing up the database, please be patient, The site will be up any minute<br/><br/>";
echo "<b>THANK YOU VERY MUCH</b>";
echo "</p>";
echo xhtmlfoot();
exit();
}
$uid = mysql_real_escape_string( $_GET["loguid"] );
$pwd = mysql_real_escape_string( $_GET["logpwd"] );
$tolog = false;
$pstyle = gettheme1("1");
echo xhtmlhead("Cult",$pstyle);
echo "<p align=\"center\"><small>";
echo "<img src=\"../images/logo.gif\" alt=\"LoVeCuLT\"/><br/>";
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."'"));
if($uinf[0]==0)
{
//Check for user ID
echo "<img src=\"images/notok.gif\" alt=\"X\"/>UserName doesn't exist<br/><br/>";
}else{
//check for pwd
$epwd = md5($pwd);
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."'"));
if($uinf[0]==0)
{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Incorrect Password<br/><br/>";
echo "<a href=\"index.php\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
$validated = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."' AND validated='0'"));
if(($validated[0]>0)&&(validation()))
{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/><b>Account Not Validated</b><br/>This could take up to 15min pls be patient and try again soon<br/>thank you<br/><br/>";
}else{
$tm = (time() - $timeadjust) ;
$xtm = $tm + (getsxtm()*60);
$did = $uid.$tm;
$res = mysql_query("INSERT INTO ibwf_ses SET id='".md5($did)."', uid='".getuid_nick($uid)."', expiretm='".$xtm."'");
if($res)
{
$tolog=true;
//echo "Bookmark THIS page to avoid repeating the login proccess in the future<br/><br/>";
echo "Logged in successfully as <b>$uid</b><br/>";
$idn = getuid_nick($uid);
$lact = mysql_fetch_array(mysql_query("SELECT lastact FROM ibwf_users WHERE id='".$idn."'"));
mysql_query("UPDATE ibwf_users SET lastvst='".$lact[0]."' WHERE id='".$idn."'");
mysql_query("UPDATE ibwf_users SET lastact='".(time() - $timeadjust)."' WHERE id='".$idn."'");
}else{
//is user already logged in?
$logedin = mysql_fetch_array(mysql_query("SELECT (*) FROM ibwf_ses WHERE uid='".$getuid_nick($uid)."'"));
if($logedin[0]>0)
{
//yip, so let's just update the expiration time
$xtm = (time() - $timeadjust) + (getsxtm()*60);
$res = mysql_query("UPDATE ibwf_ses SET expiretm='".$xtm."' WHERE uid='".getuid_nick($uid)."'");
if($res)
{
$tolog=true;
//echo "Bookmark THIS page to avoid repeating the login proccess in the future<br/><br/>";
echo "<img src=\"images/sucessful.gif\" alt=\"+\"/><br/>Logged in successfully as <b>$uid</b><br/>";
}else{
echo "<img src=\"images/point.gif\" alt=\"!\"/>Can't login at the time, plz try later<br/>"; //no chance this could happen unless there's error in mysql connection
}
}
}
}
}
if($tolog)
{
$sid = md5($did);
echo "<br/><a href=\"../wap/index.php?action=main&sid=$sid\">";
echo "Enter WML (No Themes)</a><br/>";
echo "<a href=\"../xhtml/index.php?action=main&sid=$sid\">";
echo "Enter xHTML (With Themes)</a><br/><br/>";
$chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline"));
echo "<a href=\"index.php?action=chat&sid=$sid\">[ChatroomS($chs[0])]</a><br/>";
$tmsg = getpmcount(getuid_sid($sid));
$umsg = getunreadpm(getuid_sid($sid));
echo "<a href=\"inbox.php?action=main&sid=$sid\">[Inbox($umsg new sms/$tmsg old)]</a><br/>";
$reqs = getnreqs($uid);
if($reqs>0)
{
$request = "! <a href=\"lists.php?action=reqs&sid=$sid\">$reqs</a>";
}
$uid = getuid_sid($sid);
$mybuds = getnbuds($uid);
$onbuds = getonbuds($uid);
echo "<a href=\"lists.php?action=buds&sid=$sid\">[Buddies($onbuds/$mybuds)]</a>$request<br/>";
$ncl = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_clubs ORDER BY created DESC LIMIT 1"));
echo "The Newest Club Is: <a href=\"index.php?action=gocl&clid=$ncl[0]&sid=$sid\">".htmlspecialchars($ncl[1])."</a><br/>";
$memid1 = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_users ORDER BY regdate DESC LIMIT 0,1"));
echo "The Newest Member is: <b><a href=\"index.php?action=viewuser&who=$memid1[0]&sid=$sid\">[$memid1[1]]</a></b><br/>";
echo "<b>[©LoVeCuLT]</b><br/>";
echo "Tell everyone about <b>http://LoVeCuLT.CoM</b> and make this the best place to hang out.<br/><br/>";
}else{
echo "<br/><a href=\"index.php\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a><br/><br/>";
}
echo "<b>(Bookmark NOW To Autologin To LoVeCuLT)</b>";
echo "</small></p>";
echo xhtmlfoot();
?>
hope it helps u
-
Originally posted by KiLLeR_mAcHInE View Postok bro
1. nice theme
2.last 10 prof viwers
3.inbox option at login page n budy list here is the code 4 login.php
<?php
include("xhtmlfunctions.php");
header("Content-type: text/html; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
?>
<?php
include("config.php");
include("core.php");
connectdb();
$bcon = connectdb();
if (!$bcon)
{
$pstyle = gettheme(11);
echo xhtmlhead("LoVeCuLT (ERROR!)",$pstyle);
echo "<p align=\"center\">";
echo "<img src=\"http://coding-talk.com/images/exit.gif\" alt=\"*\"/><br/>";
echo "ERROR! cannot connect to database<br/><br/>";
echo "This error happens usually when backing up the database, please be patient, The site will be up any minute<br/><br/>";
echo "<b>THANK YOU VERY MUCH</b>";
echo "</p>";
echo xhtmlfoot();
exit();
}
$uid = mysql_real_escape_string( $_GET["loguid"] );
$pwd = mysql_real_escape_string( $_GET["logpwd"] );
$tolog = false;
$pstyle = gettheme1("1");
echo xhtmlhead("Cult",$pstyle);
echo "<p align=\"center\"><small>";
echo "<img src=\"../images/logo.gif\" alt=\"LoVeCuLT\"/><br/>";
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."'"));
if($uinf[0]==0)
{
//Check for user ID
echo "<img src=\"http://coding-talk.com/images/notok.gif\" alt=\"X\"/>UserName doesn't exist<br/><br/>";
}else{
//check for pwd
$epwd = md5($pwd);
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."'"));
if($uinf[0]==0)
{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Incorrect Password<br/><br/>";
echo "<a href=\"index.php\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
$validated = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."' AND validated='0'"));
if(($validated[0]>0)&&(validation()))
{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/><b>Account Not Validated</b><br/>This could take up to 15min pls be patient and try again soon<br/>thank you<br/><br/>";
}else{
$tm = (time() - $timeadjust) ;
$xtm = $tm + (getsxtm()*60);
$did = $uid.$tm;
$res = mysql_query("INSERT INTO ibwf_ses SET id='".md5($did)."', uid='".getuid_nick($uid)."', expiretm='".$xtm."'");
if($res)
{
$tolog=true;
//echo "Bookmark THIS page to avoid repeating the login proccess in the future<br/><br/>";
echo "Logged in successfully as <b>$uid</b><br/>";
$idn = getuid_nick($uid);
$lact = mysql_fetch_array(mysql_query("SELECT lastact FROM ibwf_users WHERE id='".$idn."'"));
mysql_query("UPDATE ibwf_users SET lastvst='".$lact[0]."' WHERE id='".$idn."'");
mysql_query("UPDATE ibwf_users SET lastact='".(time() - $timeadjust)."' WHERE id='".$idn."'");
}else{
//is user already logged in?
$logedin = mysql_fetch_array(mysql_query("SELECT (*) FROM ibwf_ses WHERE uid='".$getuid_nick($uid)."'"));
if($logedin[0]>0)
{
//yip, so let's just update the expiration time
$xtm = (time() - $timeadjust) + (getsxtm()*60);
$res = mysql_query("UPDATE ibwf_ses SET expiretm='".$xtm."' WHERE uid='".getuid_nick($uid)."'");
if($res)
{
$tolog=true;
//echo "Bookmark THIS page to avoid repeating the login proccess in the future<br/><br/>";
echo "<img src=\"http://coding-talk.com/images/sucessful.gif\" alt=\"+\"/><br/>Logged in successfully as <b>$uid</b><br/>";
}else{
echo "<img src=\"http://coding-talk.com/images/point.gif\" alt=\"!\"/>Can't login at the time, plz try later<br/>"; //no chance this could happen unless there's error in mysql connection
}
}
}
}
}
if($tolog)
{
$sid = md5($did);
echo "<br/><a href=\"../wap/index.php?action=main&sid=$sid\">";
echo "Enter WML (No Themes)</a><br/>";
echo "<a href=\"../xhtml/index.php?action=main&sid=$sid\">";
echo "Enter xHTML (With Themes)</a><br/><br/>";
$chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline"));
echo "<a href=\"index.php?action=chat&sid=$sid\">[ChatroomS($chs[0])]</a><br/>";
$tmsg = getpmcount(getuid_sid($sid));
$umsg = getunreadpm(getuid_sid($sid));
echo "<a href=\"inbox.php?action=main&sid=$sid\">[Inbox($umsg new sms/$tmsg old)]</a><br/>";
$reqs = getnreqs($uid);
if($reqs>0)
{
$request = "! <a href=\"lists.php?action=reqs&sid=$sid\">$reqs</a>";
}
$uid = getuid_sid($sid);
$mybuds = getnbuds($uid);
$onbuds = getonbuds($uid);
echo "<a href=\"lists.php?action=buds&sid=$sid\">[Buddies($onbuds/$mybuds)]</a>$request<br/>";
$ncl = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_clubs ORDER BY created DESC LIMIT 1"));
echo "The Newest Club Is: <a href=\"index.php?action=gocl&clid=$ncl[0]&sid=$sid\">".htmlspecialchars($ncl[1])."</a><br/>";
$memid1 = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_users ORDER BY regdate DESC LIMIT 0,1"));
echo "The Newest Member is: <b><a href=\"index.php?action=viewuser&who=$memid1[0]&sid=$sid\">[$memid1[1]]</a></b><br/>";
echo "<b>[©LoVeCuLT]</b><br/>";
echo "Tell everyone about <b>http://LoVeCuLT.CoM</b> and make this the best place to hang out.<br/><br/>";
}else{
echo "<br/><a href=\"index.php\"><img src=\"http://coding-talk.com/images/home.gif\" alt=\"*\"/>";
echo "Home</a><br/><br/>";
}
echo "<b>(Bookmark NOW To Autologin To LoVeCuLT)</b>";
echo "</small></p>";
echo xhtmlfoot();
?>
hope it helps u
echo "</card>";
echo "</wml>";
exit();
}
that isnt xhtml or html coding there and will give u errors
xhtml tag for card is </body>
like this
echo "</body>";
echo "</html>";
exit();
}
Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer..
Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free
Comment
Comment