query("SELECT * FROM alerts WHERE userid ='{$User->Id}' ORDER BY id DESC" );
*****************************************************************************************************/
/************************ WRITTEN BY KAILASH ****************************************************/
$ac_alerts = $Db->query("SELECT * FROM alerts WHERE ((userid = '{$User->Id}' and entry_type = 'unique') OR (userid = '0' and entry_type = 'common')) ORDER BY id DESC");
/************************************************************************************************/
while ($data = mysql_fetch_array($ac_alerts, MYSQL_ASSOC)){
?>
=date('F j, Y',$data['timestamp']);?> =$data['alert']?> |