<?php
//.....................
if ($_GET[adminbar] == On)
	$_SESSION[adminbar] = '';
if ($_GET[adminbar] == Off)
	$_SESSION[adminbar] = '1';
if (!empty($_SESSION[adminusername]) && empty($_SESSION[adminbar])) {
//.....................
?>

<table width="100%">

<tr>

<td colspan="2" class="adminbar">

<?PHP /* (LANGUAGE) */ $t = "You are currently logged is as an administrator. Special editing options are available. To view this page normally, <a href=index.php?logout=1>log out</a>."; $f = "aploggedin"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?>

</td>

</tr>

<tr>

<td width="100%" valign="top" align="center">&nbsp;

</td>

<td nowrap align="right">


<?PHP /* (LANGUAGE) */ $t = ""; $f = "ap"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?>


<?PHP if (!empty($_GET[designmode]) || !empty($_GET[htmlmode])) { ?>

<a title="<?PHP /* (LANGUAGE) */ $t = "Upload Photos"; $f = "apuploadphotos"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?>" href="#" onMouseDown="MM_showHideLayers('pulbox','','show')"> <img class="apps" src="http://<?php echo $_SERVER[HTTP_HOST]; ?>/webifycore/images/photos.png" width="48" height="48" border="0"></a>

<a title="<?PHP /* (LANGUAGE) */ $t = "Close Design Mode"; $f = "apclose"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?>" href="index.php?page=<?php echo $_GET[page]; ?>&id=<?php echo $_GET[id]; ?>&ln=<?php echo $_GET[ln]; ?>"> <img class="apps" src="http://<?php echo $_SERVER[HTTP_HOST]; ?>/webifycore/images/exit.png" width="48" height="48" border="0"></a>

<?PHP } else { ?>

<a title="<?PHP /* (LANGUAGE) */ $t = "$script_title Control Panel"; $f = "apcontrolpanel"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?>" href="admin/"> <img class="apps" src="http://<?php echo $_SERVER[HTTP_HOST]; ?>/webifycore/images/<?php echo $script_title; ?>.png" width="48" height="48" border="0"></a>

<a title="<?PHP /* (LANGUAGE) */ $t = "Upload Photos"; $f = "apuploadphotos"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?>" href="#" onMouseDown="MM_showHideLayers('pulbox','','show')"> <img class="apps" src="http://<?php echo $_SERVER[HTTP_HOST]; ?>/webifycore/images/photos.png" width="48" height="48" border="0"></a>

<a title="<?PHP /* (LANGUAGE) */ $t = "CSS Theme Design Mode"; $f = "apdesignmode"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?>" href="index.php?page=<?php echo $_GET[page]; ?>&id=<?php echo $_GET[id]; ?>&designmode=on&ln=<?php echo $_GET[ln]; ?>"> <img class="apps" src="http://<?php echo $_SERVER[HTTP_HOST]; ?>/webifycore/images/design.png" width="48" height="48" border="0"></a>

<a title="<?PHP /* (LANGUAGE) */ $t = "HTML Design Mode"; $f = "aphtmlmode"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?>" href="index.php?page=<?php echo $_GET[page]; ?>&id=<?php echo $_GET[id]; ?>&htmlmode=on&ln=<?php echo $_GET[ln]; ?>"> <img class="apps" src="http://<?php echo $_SERVER[HTTP_HOST]; ?>/webifycore/images/html.png" width="48" height="48" border="0"></a>

<a title="<?PHP /* (LANGUAGE) */ $t = "New Entry"; $f = "apnewentry"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?>" href="admin/index.php?page=addobjects&return=home-"> <img class="apps" src="http://<?php echo $_SERVER[HTTP_HOST]; ?>/webifycore/images/pencil.png" width="48" height="48" border="0"></a>

<?PHP } ?>

</td>

</tr>

</table>

<?PHP } ?>
