The Soda Pop
0) { $sql ="SELECT * FROM lib3rtymrc_pops where touid='".$uid."' AND unread = '1' ORDER BY id LIMIT 1"; $pd = mysql_query($sql); while ($pop = mysql_fetch_array($pd)) { $id = mysql_fetch_array(mysql_query("SELECT touid FROM lib3rtymrc_pops WHERE touid='".$uid."'")); if($uid==$id[0]) { $chread = mysql_query("UPDATE lib3rtymrc_pops SET unread='0' WHERE id='".$pop[0]."'"); } $dtop = date("d/m/y - H:i:s",$pop[5]); $by = getnick_uid($pop[2]); $msg = htmlspecialchars($pop[1]); $msg = parsepm($pop[1], $sid); if(isonline($pop[2])) { $iml = "\"+\"/"; }else{ $iml = "\"-\"/"; } echo "
(!)Alerta
$iml $by
$dtop
$msg
"; if(getplusses(getuid_sid($sid))<250) { echo "\"*\"/Iti trebuiesc 250 de plusuri pentru a trimite alerte"; }else{ if(istrashed(getuid_sid($sid))) { echo "
\"X\"/Ai fost aruncat la gunoi nu poti raspunde la alerte!enjoy..."; }else{ echo "
"; echo "Trimite"; echo ""; echo "
"; } } echo "
-----
"; } } ?>