"; //User panel in header - start if (!iMEMBER){ if (file_exists(THEME."locale/".$settings['locale'].".php")) { include THEME."locale/".$settings['locale'].".php"; } else { include THEME."locale/English.php"; } echo "


".$locale['063']."
".$locale['so01'].""; if ($settings['enable_registration']) { echo " ".$locale['so00'].""; } echo ""; echo"
"; } else { echo"
".$locale['024'].": ".$userdata['user_name']."
"; echo ($userdata['user_avatar'] ? "avatar" : "NoAvatar image")."

".$locale['080']."
".$locale['081']."
".$locale['082']."
"; if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { echo " ".$locale['083']."
"; } echo " ".$locale['084']."
"; $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'"); if ($msg_count) echo "
".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."
"; } //User panel in header - end echo"
".showsublinks(" o ")."
\n"; } function render_footer($license=false) { global $theme_width,$settings; echo "
"; } function render_news($subject, $news, $info) { echo "
$subject
$news
\n"; } function render_article($subject, $article, $info) { echo "
$subject
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
\n"; } function opentable($title) { echo "
$title
\n
\n"; } function closetable() { echo "
"; } function openside($title) { echo "
$title
\n"; } function closeside() { echo "
\n"; tablebreak(); } function opensidex($title,$state="on") { $boxname = str_replace(" ", "", $title); echo "
$title
".panelbutton($state,$boxname)."
\n"; } function closesidex() { echo "
\n"; tablebreak(); } function tablebreak() { echo "
\n
\n"; } ?>