File size: 5.3Kb
<?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");
$bcon = connectdb();
if (!$bcon)
{
$pstyle = gettheme($sid);
echo xhtmlhead("Personal gallery",$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 "you can temperoray be in this site <a href=\"http://$stitle.co.za/chat\">$site_name</a> while $site_name is offline<br/>";
echo "<b>THANK YOU VERY MUCH</b>";
echo "</p>";
echo xhtmlfoot();
exit();
}
$brws = explode(" ",$_SERVER[HTTP_USER_AGENT] );
$ubr = $brws[0];
$uip = getip();
$action = $_GET["action"];
$sid = $_GET["sid"];
$page = $_GET["page"];
$who = $_GET["who"];
$uid = getuid_sid($sid);
cleardata();
if(isipbanned($uip,$ubr))
{
if(!isshield(getuid_sid($sid)))
{
$pstyle = gettheme($sid);
echo xhtmlhead("Personal gallery",$pstyle);
echo "<p align=\"center\">";
echo "<img src=\"images/notok.gif\" alt=\"x\"/><br/>";
echo "This IP address is blocked<br/>";
echo "<br/>";
echo "How ever we grant a shield against IP-Ban for our great users, you can try to see if you are shielded by trying to log-in, if you kept coming to this page that means you are not shielded, so come back when the ip-ban period is over<br/><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 "UserID: <input name=\"loguid\" format=\"*x\" maxlength=\"30\"/><br/>";
echo "Password: <input type=\"password\" name=\"logpwd\" maxlength=\"30\"/><br/>";
echo "<anchor>LOGIN<go href=\"login.php\" method=\"get\">";
echo "<postfield name=\"loguid\" value=\"$(loguid)\"/>";
echo "<postfield name=\"logpwd\" value=\"$(logpwd)\"/>";
echo "</go></anchor>";
echo "</p>";
echo xhtmlfoot();
exit();
}
}
if(($action != "") && ($action!="terms"))
{
$uid = getuid_sid($sid);
if((islogged($sid)==false)||($uid==0))
{
$pstyle = gettheme($sid);
echo xhtmlhead("Personal gallery",$pstyle);
echo "<p align=\"center\">";
echo "You are not logged in<br/>";
echo "Or Your session has been expired<br/><br/>";
echo "<a href=\"index.php\">Login</a><br/><br/>";
echo "</p>";
echo xhtmlfoot();
exit();
}
}
//echo isbanned($uid);
if(isbanned($uid))
{
$pstyle = gettheme($sid);
echo xhtmlhead("Personal gallery",$pstyle);
echo "<p align=\"center\">";
echo "<img src=\"images/notok.gif\" alt=\"x\"/><br/>";
echo "You are <b>Banned</b><br/>";
$banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "Time to finish your penalty: $rmsg<br/><br/>";
echo "Ban Reason: $banres[0]";
//echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo xhtmlfoot();
exit();
}
$res = mysql_query("UPDATE ibwf_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");
?>
<?php
//////////////////////////////////gallery List
if($action=="main")
addonline(getuid_sid($sid),"short words","");
$pstyle = gettheme($sid);
echo xhtmlhead("short words",$pstyle);
echo "<p>";
echo " These are the most common ones used in chat, forums, messages etc...<br/><br/>
PMPL ~ piss my pants laughing<br/>
PMSL ~ piss myself laughing<br/>
ROFL ~ roll on floor laughing<br/>
LMAO ~ laugh my ass off<br/>
ROFLMAO ~ roll on floor laughing my ass off<br/>
LOL ~ laugh out loud or lots of laugh<br/>
ASL ~ age,sex,location<br/>
PPL ~ people<br/>
PLS ~ please<br/>
BTW ~ by the way<br/>
WTF ~ what the f*ck!<br/>
FFS ~ for fu*k sake<br/>
OMG ~ oh my god!<br/>
TC ~ take care<br/>
BBS ~ be back soon<br/>
BRB ~ be right back<br/>
BBL ~ be back later<br/>
BFN ~ bye for now<br/>
x x ~ kisses<br/>
FYI ~ for your information <br/>
IMO ~ in my opinion <br/>
GTG ~ got to go<br/>
GNGB ~ goodnight god bless<br/>
CWL ~ crying with laughter<br/>
TVGC ~ take very good care<br/>
LTNS ~ long time no see<br/>
TTFN ~ ta ta for now<br/>
BS ~ bullsh*t<br/>
ATM ~ at the moment<br/>";
echo "«<small><a href=\"index.php?action=chat&sid=$sid\">back to Chat menu</a></small><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
?>