Просмотр файла wapbuilder/admin/includes/header.php

Размер файла: 3.75Kb
<HTML>

<HEAD>
<TITLE><?php echo TITLE; ?></TITLE>
<META http-equiv="Content-Type" content="text/html; charset=windows-1251">
<META name="keywords" content="">
<LINK rel="stylesheet" type="text/css" href="style.css">
<script language="javascript">
<!--

// Submit for buttons

function Submit () {

if(confirm("<?php echo ARE_YOU_SURE; ?>")) return true;
else        return false;

}

// Decision for links

function decision(url){
        if(confirm('<?php echo ARE_YOU_SURE; ?>'))
                location.href = url;
}


// Show modal window

function showPopUp( url, winx, winy, scroll, confirmation ) {

        scrx=window.screen.availWidth;
        scry=window.screen.availHeight;
        vleft=(scrx-winx)/2;
        vtop=(scry-winy)/2;

        if ( confirmation ) {

                if( confirm('<?php echo ARE_YOU_SURE; ?>') ) {

                        PopUpWin = window.open(url, "PopWin", "width="+winx+",height="+winy+",left="+vleft+",top="+vtop+",modal=1,fullscreen=0,directories=0,location=0, menubar=0,resizable=1,scrollbars="+scroll+",status=0,toolbar=0");

                }
        }
        else        PopUpWin = window.open(url, "PopWin", "width="+winx+",height="+winy+",left="+vleft+",top="+vtop+",modal=1,fullscreen=0,directories=0,location=0, menubar=0,resizable=1,scrollbars="+scroll+",status=0,toolbar=0");

}

-->
</script>

</HEAD>

<BODY bgcolor="#fefefe" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">

<!-- Header -->
<table width="100%" height="9%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="200" rowspan="2" align="center" bgcolor="f4efe4"><img src="images/test_01.gif" width="127" height="55"></td>
<td width="4" rowspan="2" align="center" nowrap background="images/t2.gif"></td>
<td height="42" background="images/t1.gif" align="center">

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="42" nowrap><img src="images/t1log.gif" width="16" height="42"></td>
    <td width="99%"><div align="center">
      <table width="100%"  border="0" cellspacing="6" cellpadding="0">
        <tr>
          <td width="25%">

          </td>
          <td width="50%"><div align="right">&nbsp;</div></td>

          <td width="1%"><div align="right">&nbsp;</div></td>
          <td width="1%"></td>
          <td width="4%"></td>
          <td width="1%"><img src="images/logout.gif" width="10" height="10"></td>
          <td width="2%"><div align="right"><a href="logout.php" class="menu_item"><?php echo LOGOFF; ?></a></div></td>
          <td width="2%">&nbsp;</td>
        </tr>
      </table>
    </div></td>
  </tr>
</table></td>
</tr>
<tr>
<?php
$baseDir="http://".$_SERVER["HTTP_HOST"] . preg_replace('/admin\/.*$/i', '', $_SERVER['SCRIPT_NAME']) . 'index.php';
?>
  <td align="left" font class="site_link"><?php echo SITE_VIEW; ?> <a href="<?php echo $baseDir; ?>" target="_blank" class="site_link"><?php echo $baseDir; ?></a></td>
</tr>
</table>

<!-- Menu -->
<table width="100%" height="91%" border="0" cellspacing="0" cellpadding="0" background="images/t4.gif" align="center">
<tr>
<td width="200" valign="top">

<br>
<p class="menu_header">&nbsp;<b>Управление</b></p>
&nbsp;&nbsp;<a href="sites.php" class="menu_item">Сайты</a><br><br>
&nbsp;&nbsp;<a href="links.php" class="menu_item">Ссылки</a><br><br>
&nbsp;&nbsp;<a href="addlink.php" class="menu_item">Добавить ссылку</a><br><br>
&nbsp;&nbsp;<a href="banners.php" class="menu_item">Все баннеры</a><br><br>

<p class="menu_header">&nbsp;<b>Настройки</b></p>
&nbsp;&nbsp;<a href="editpassword.php" class="menu_item">Изменить пароль</a><br><br>
&nbsp;&nbsp;<a href="editblocklimit.php" class="menu_item">Условие блокировки</a><br>

</td>
<td valign="top">