=1 && $errno<=4) { ec_msg(false, $locale['EC115'][$errno]); } } /* * GUI */ //eec_show_menu(); if($event['ev_status']) { ec_msg(false, $locale['EC301']); } opentable($locale['EC300']); $query_id = dbquery("SELECT user_name" ." FROM ".DB_PREFIX."users" ." WHERE user_id='".$event['user_id']."'"); if(dbrows($query_id)) { $username = array_shift(dbarray($query_id)); } else { echo "

".$locale['EC302']; $username = $locale['EC303']; } echo "\n
".$event['ev_start']."
".$event['ev_title']."
"; if($event['ev_private']) { echo ""; } else { echo "".$locale['EC116'].": " .getgroupname($event['ev_access']); } echo "
\n"; $body = str_replace(EC_BREAK, "", $event['ev_body']); if(!$event['ev_no_smileys']) { $body = parsesmileys($event['ev_body']); } echo "

".nl2br(parseubb($body)); echo "

"; if($is_admin) { echo ""; } echo "\n\n
$username"." - " .showdate("shortdate", $event['ev_timestamp'])."" ."".$locale['EC304'] ." | " .$locale['EC305'].""; echo "
\n"; closetable(); require_once("include/event_logins.php"); require_once(BASEDIR."side_right.php"); require_once(BASEDIR."footer.php"); ?>