";
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 Aud Culori
";
//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."'");
}
///
////////////////////////////////////////////////////// Useri Online
if($action=="online")
{
addonline(getuid_sid($sid),"Lista conectati","conectati.php?action=$action");
echo "";
//////ALL LISTS SCRIPT <<
if($page=="" || $page<=0)$page=1;
$num_items = getnumonline(); //changable
$items_per_page= 17;
$num_pages = ceil($num_items/$items_per_page);
if($page>$num_pages)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
//changable sql
$sql = "SELECT
a.name, a.hidden, b.place, b.userid FROM lib3rtymrc_users a
INNER join lib3rtymrc_online b ON a.id = b.userid
GROUP BY 1,2
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 "
";
$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 "