*/
define("IN_MYBB", 1); define('THIS_SCRIPT', 'announcements.php');
|
*/
define("IN_MYBB", 1); define('THIS_SCRIPT', 'announcements.php');
|
$templatelist = "announcement,postbit_groupimage,postbit_reputation,postbit_avatar,postbit_online,postbit_offline,postbit_find,postbit_pm,postbit_email,postbit_www,postbit_author_user,announcement_edit,announcement_quickdelete,postbit";
| $templatelist = "announcement,postbit_groupimage,postbit_reputation,postbit_avatar,postbit_online,postbit_offline,postbit_find,postbit_pm,postbit_email,postbit_www,postbit_author_user,announcement_edit,announcement_quickdelete,postbit,postbit_rep_button ";
|
$announcementarray['userusername'] = $announcementarray['username']; $announcement = build_postbit($announcementarray, 3); $lang->forum_announcement = $lang->sprintf($lang->forum_announcement, htmlspecialchars_uni($announcementarray['subject']));
|
$announcementarray['userusername'] = $announcementarray['username']; $announcement = build_postbit($announcementarray, 3); $lang->forum_announcement = $lang->sprintf($lang->forum_announcement, htmlspecialchars_uni($announcementarray['subject']));
|
| if($announcementarray['startdate'] > $mybb->user['lastvisit']) { $setcookie = true; if($mybb->cookies['mybb']['announcements']) { $cookie = my_unserialize(stripslashes($mybb->cookies['mybb']['announcements'])); if(isset($cookie[$announcementarray['aid']])) { $setcookie = false; } }
if($setcookie) { my_set_array_cookie('announcements', $announcementarray['aid'], $announcementarray['startdate'], -1); } }
|