AnnounceME › Announcements + Add
prefix."announceme (`announce`,`cat`,`img`,`active`,`author`,`date`,`c1`,`c2`,`c3`,`dsa`) VALUES ('".$_POST['announce']."', '".$_POST['cat']."', '".$img[$_POST['cat']]."', '".$act."', '".get_current_user_id()."', NOW(), '".$_POST['c1']."', '".$_POST['c2']."', '".$_POST['c3']."','".$_POST['dsa']."')") or die(mysql_error());
?>prefix."announceme SET `announce` = '".$_POST['announce']."',`cat` = '".$_POST['cat']."',`img` = '".$img[$_POST['cat']]."',`active` = '".$act."',`author` = '".get_current_user_id()."', `c1` = '".$_POST['c1']."', `c2` = '".$_POST['c2']."', `c3` = '".$_POST['c3']."', `dsa` = '".$_POST['dsa']."' WHERE id = '".$_POST['id']."'");
?>prefix."announceme WHERE id = '".$id."'"));
$t = $q1['announce'];
$c = $q1['cat'];
$d = $q1['dsa'];
} else {
$title = "New Announcement";
$id = "new";
$t = "";
$c = "1";
$d = "1";
}
?>
AnnounceME ›
prefix."announceme WHERE active = '1'");
$t = 0;
while($q2=mysql_fetch_array($q1)) { if(!isset($_COOKIE['announceme-'.$q2['id']])) { $t += 41; } }
?>
prefix."announceme WHERE active = '1'");
while($q2 = mysql_fetch_array($q1)) { if(!isset($_COOKIE['announceme-'.$q2['id']])) {
?>
style="background: #; border-bottom: 1px solid #; color: #;">
style="color: #;">X
Don't show this again