<?php
  include("session.php");
  include("security.php");
  include_once("admin.config.inc.php");
if(isset($_SESSION['UsErOfAdMiN']))
$UsErOfAdMiN=$_SESSION['UsErOfAdMiN'];
$active=$_GET['active'];
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>拍客网站后台管理系统</title>
<link href="../style/css/main.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="header">
	<div class="header-wrap">
		<div class="logo"><a href="innerhome.php"><img src="../style/images/logo.gif"></a></div>
    	<div class="info">
    		<div class="top-info">
			欢迎到 
              <?php echo $ADMIN_MAIN_SITE_NAME ?>!当前用户:<span><? echo $UsErOfAdMiN; ?></span> 
    		</div> 
	        <div class="top-nav">
			 <?php
			  include("headlinks.txt.php");

  		$MainLinksSize = sizeof($HeadLinksArray);

		  for($i=0;$i<$MainLinksSize;$i++)
		  {
			
			$LinkTitle = $HeadLinksArray[$i][0];
			$HREF = $HeadLinksArray[$i][1];
   		 ?>
          
            
					<A class="<? if($active==$LinkTitle) echo "tab_o"; else echo "tab";?>" 
                  href="<?php echo $HREF ?>" 
                  target="_top"><?php echo $LinkTitle; ?></A>|
		
	<?
  }
  ?>
    	    	<a href="../index.php" target=_bank>网站首页</a>|  
        	    <a href="innerhome.php" target=_top>后台首页</a>|  
            	<A href="logout.php" target=_top>退出系统</a>
	        </div>
    	</div>
    </div>
    <div class="clear"></div>    
</div>
</BODY></HTML>

