";
echo " ";
echo "Eroare, nu se poate conecta la baza d date!
";
echo "Aceasta eroare apare de obicei cand care serverul isi va reveni in cateva secunde!Daca problema persista va rugam sa luati legatura cat mai curand posibil cu I0nwTZz
";
//echo "Soon, we will offer services that doesn't depend on MySQL databse to let you enjoy our site, while the database is not connected ";
echo "Va multumim foarte mult pentru intelegere!";
echo "
";
echo " ";
echo "Esti Banat(a) ";
$banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM lib3rtymrc_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "Timp ramas pana la debanare: $rmsg ";
$nick = getnick_uid($banto[2]);
echo "By: $nick ";
echo "Motiv ban: $banres[0]";
//echo "Login";
echo "
";
echo "";
echo "";
exit();
}
$res = mysql_query("UPDATE lib3rtymrc_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");
///////////////////////////////////time
$res = mysql_fetch_array(mysql_query("SELECT lastact FROM lib3rtymrc_users WHERE id='".$uid."'"));
$lastact = $res[0];
$atime = time() - $lastact;
if($atime<1800){
$res = mysql_fetch_array(mysql_query("SELECT otime, mtime FROM lib3rtymrc_users where id='".$uid."'"));
$otime = $res[0] + $atime;
$mtime = $res[1] + $atime;
$res = mysql_query("UPDATE lib3rtymrc_users SET otime='".$otime."', mtime='".$mtime."' where id='".$uid."'");
}
///
/*
///////////////////////////////////////////////////////////////////////
// WAPNEW.INFO bY I0nwTZz //
///////////////////////////////////////////////////////////////////////
*/
////////////////////////////////////////MAIN PAGE
if($action=="live")
{
addvisitor();
addonline(getuid_sid($sid),"Mesaje live","live1.php?action=$action");
echo "";
$who = $_GET["who"];
//////ALL LISTS SCRIPT <<
if($page=="" || $page<=0)$page=1;
if($who=="")
{
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_shouts1"));
}else{
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_shouts1 WHERE shouter='".$who."'"));
}
$num_items = $noi[0]; //changable
$items_per_page= 10;
$num_pages = ceil($num_items/$items_per_page);
if(($page>$num_pages)&&$page!=1)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
//changable sql
if($who =="")
{
$sql = "SELECT id, shout, shouter, shtime FROM lib3rtymrc_shouts1 ORDER BY shtime DESC LIMIT $limit_start, $items_per_page";
}else{
$sql = "SELECT id, shout, shouter, shtime FROM lib3rtymrc_shouts1 WHERE shouter='".$who."'ORDER BY shtime DESC LIMIT $limit_start, $items_per_page";
}
echo "
";
$uid = getuid_sid($sid);
$unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'"));
if ($unreadpopup[0]>0)
{
echo popup($sid);
echo "
";
echo "";
}
////////////////////////////////////////// scrie
else if ($action=="scrie") {
addonline(getuid_sid($sid),"Mesaje live","live1.php?action=$action");
echo "";
echo "
";
$uid = getuid_sid($sid);
$unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'"));
if ($unreadpopup[0]>0)
{
echo popup($sid);
echo "
";
echo "";
echo "";
exit();
}
$unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".$uid."'"));
$pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".$uid."'"));
$unrd="[".$unreadinbox[0]."]";
if ($unreadinbox[0]>0)
{
echo "Ai:$unrdPMs ----- ";
}
if(mliveon())
{
if(ismod($uid))
{
echo "(*)Text: ";
echo "-Scrie";
echo "
";
echo "-";
}else{
echo "Nu poti posta sa scrie un ms in aceasta parte a chatului";
}
}else{
if(getplusses(getuid_sid($sid))<100)
{
echo "Ai nevoie de macar 100 de plusuri pentru a posta un mesaj live!enjoy...";
}else{
if(istrashed(getuid_sid($sid)))
{
echo "Ai fost aruncat la gunoi nu poti da mesaje live!enjoy...";
}else{
echo "Text: ";
echo "»Scrie";
echo "
";
echo "«";
}
}
}
echo "