What's New?Terminal {$_SESSION['instance']['prefix']} 

\n"; $r = sqlSelect("news", "story != '' and readBy not like '%|{$_SESSION['user']['empNo']}|%'", "", "lastmod desc"); if ($r['n']) { echo "\n"; while ($l = mysql_fetch_assoc($r['r'])) { $author = sqlSelect("employees", "empNo = '".$l['empNo']."'"); $author = mysql_fetch_assoc($author['r']); echo " \n"; echo " \n"; echo " \n"; echo " \n"; sqlUpdate("news", "readBy='{$l['readBy']}|{$_SESSION['user']['empNo']}|'", "tid='{$l['tid']}'"); } echo "
".substr($l['tid'], 0, 4).".".substr($l['tid'], 4, 2).".".substr($l['tid'], 6, 2)."
\n"; echo " by ".$author['fName']." ".$author['lName']."
".str_replace("\n", "
\n", stripslashes($l['story']))."
\n"; } echo "
\n"; if ($_SESSION['instance']['prefix'] != "000") { echo "
\n"; if ($LinkStatus) { echo "Synchronous transactions are enabled "; if ($rLink) { echo "and"; $control = ""; } else { echo "but not"; $control = ""; } echo " available\n"; } else { echo "Synchronous transactions are disabled"; $control = ""; } echo "

$control"; echo "
\n"; } ?>