";
echo "Nu esti autentificat
";
echo "Sau sesiunea ta a expirat
";
echo "Autentificare";
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 "Sterge notificari
---";
echo "
";
$items = mysql_query($sql);
echo mysql_error();
while ($item = mysql_fetch_array($items))
{
if($item[3]=="1")
{
$iml = "";
}else{
$iml = "";
}
/// pm extra ///
$pminfo = mysql_fetch_array(mysql_query("SELECT text FROM lib3rtymrc_notificare WHERE id='".$item[1]."'"));
//$titlu = mysql_fetch_array(mysql_query("SELECT titlu FROM lib3rtymrc_notificare WHERE id='".$item[1]."'"));
$pmtext = htmlspecialchars($pminfo[0]);
$pmdet = substr($pmtext,0,15);
//////////////// pana aici
//// pm necitit
$neciti = mysql_fetch_array(mysql_query("SELECT unread FROM lib3rtymrc_notificare WHERE id='".$item[1]."'"));
if($neciti[0]==1){
$pmex = "";
}else{
$pmex = "
$pmdet";
}
//////////////// pana aici
$lnk = "$iml".$pmr."Notificare
";
echo "$lnk";
}
echo "-----
";
echo "
";
$npage = $page+1;
///echo "Trimite PM nou la
";
if($page>1)
{
$ppage = $page-1;
echo "«inapoi
";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "inainte»";
}
if($num_pages>1){
echo "
Pagina $page din $num_pages
";
}
if($num_pages>2)
{
$rets = "pagina:";
$rets .= "
";
}
echo "
"; echo "(cutia de notificar goala)"; echo "
"; } ////// UNTILL HERE >> echo "";
echo "Meniu Posta
";
echo "Acasa";
echo "
"; $pminfo = mysql_fetch_array(mysql_query("SELECT text, byuid, timesent, touid FROM lib3rtymrc_notificare WHERE id='".$pmid."'")); if(getuid_sid($sid)==$pminfo[3]) { $chread = mysql_query("UPDATE lib3rtymrc_notificare SET unread='0' WHERE id='".$pmid."'"); } if(($pminfo[3]==getuid_sid($sid))||($pminfo[1]==getuid_sid($sid))) { if(isonline($pminfo[1])) { $iml = ""; }else{ $iml = ""; } $ptxt = "NOTIFICARE MagicWorld"; //$bylnk = "".getsimbol($pminfo[1])."".getnick_uid($pminfo[1]).""; //// $tmstamp = $pminfo[2]; // zilele saptamanii echo "
";
echo "
Meniu Notificari
";
echo "";
echo "Acasa";
echo "
";
echo "Nu stiu cum ai ajuns aici, dar nu ai ce vedea
";
echo "";
echo "Prim";
echo "