<?php
// QuickTalk Guestbook 2.5 build:20100731
$arrMenu = array('Security'=>'qtg_adm.php',
'Configuration'=>'qtg_adm_conf.php',
'Messages'=>'qtg_adm_msg.php',
'Multiple_edits'=>'qtg_adm_medit.php',
'Map'=>'qtg_adm_map.php',
'Statistics'=>'qtg_adm_stat.php',
'Exit'=>'qtg_index.php');
echo '<table class="menu" cellspacing="0">
<tr class="menu">
';
foreach($arrMenu as $key=>$url) echo '<td class="menu">',($pg_url==$url ? $L[$key] : '<a class="menu" href="'.Href($url).'" onclick="return qtEdited(bEdited,\''.$L['E_editing'].'\');">'.$L[$key].'</a>'),'</td>';
echo '</tr>
</table>
<!-- title -->
<table class="hidden" cellspacing="0">
<tr class="hidden">
<td class="hidden" style="width:250px"><h1>',$pg_name,'</h1></td>
<td class="hidden" style="vertical-align:bottom">',(!empty($error) ? '<span class="error">'.$error.'</span><br/>': ''),(isset($strInfo) ? '<span id="infomessage" style="color:#007F11"><b>'.$strInfo.'</b></span>' : ''),'</td>
<tr>
</table>
';
// animation of the infomessage (errors remains on screen)
if ( isset($strInfo) )
{
echo '
<script type="text/javascript">
<!--
setTimeout(\'document.getElementById("infomessage").style.color="#bbbbbb"\',3000);
setTimeout(\'document.getElementById("infomessage").style.color="#cccccc"\',3300);
setTimeout(\'document.getElementById("infomessage").style.color="#dddddd"\',3600);
setTimeout(\'document.getElementById("infomessage").innerHTML=" "\',3900);
-->
</script>
';
}
?>