$subLinks) {
$buttonLink = current($subLinks);
$menuScript = ' onmouseover="showMenu(\'subMenu_'.$buttonId.'\');" onmouseout="hideMenu();"';
print(
'
'.NL
);
}
}
?>
'.sprint_img('titles/new_at_ca.png').'
');
require_once('./engine/libraries/news.lib.php');
$previously = new news(&$db, 0);
$previously -> limit_by_date(0, time());
$previously -> limit_by_range(0, 3);
if (is_array($p_data = $previously -> get_data())) {
if (count($p_data)) {
print(
'
News'.
'
');
}
} else {
# Tehniline viga!
}
if ($res = $db -> query('SELECT * FROM `'.TABLE_DISCUSSION_TOPICS.'` ORDER BY last_comment DESC LIMIT 3', __FILE__, __LINE__)) {
print(
'
Discussion'.
'
');
}
if (USER_LOGGED_IN) {
print(
'
You have logged in as '.CURRENT_USER_REAL_NAME.'.
'.NL.
'
'.NL.
' » View your profile
'.NL.
' » Edit your profile
'.NL.
' » Log out');
} else {
print(
'
'.NL.
' '.NL.
'
'.NL.
'
'
);
}
?>
'.sprint_img('titles/'.$strImgName.(defined('TITLE_SUFFIX') ? TITLE_SUFFIX : '').'.png').'
');
}
if (defined('CONTENT_HTML')) {
print('