<? session_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
	require_once('inc/conn.php');
	require_once('inc/constant.php');
	require_once('inc/ls_syscode.php');
	$opendb=new mydb();
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
  <!-- Font Awesome -->
<link rel="stylesheet" href="font-awesome/css/font-awesome.min.css" />
  <!-- Ionicons -->
<link rel="stylesheet" href="css/ionicons.min.css">
  <!-- Theme style -->
<link rel="stylesheet" href="css/AdminLTE.min.css">
  <!-- AdminLTE Skins. Choose a skin from the css/skins
       folder instead of downloading all of them to reduce the load. -->
  <link rel="stylesheet" href="css/_all-skins.min.css" />
  <!-- Morris chart -->
  <link rel="stylesheet" href="css/morris.css">
  <!-- jvectormap -->
  <link rel="stylesheet" href="css/jquery-jvectormap.css">
  <!-- Date Picker -->
  <link rel="stylesheet" href="css/bootstrap-datepicker.min.css">
  <!-- Daterange picker -->
  <link rel="stylesheet" href="css/daterangepicker2.css">
  <!-- bootstrap wysihtml5 - text editor -->
  <link rel="stylesheet" href="css/bootstrap3-wysihtml5.min.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script type="text/javascript"src="js/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
  $.widget.bridge('uibutton', $.ui.button);
</script>
<!-- Bootstrap 3.3.7 -->
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<!-- Morris.js charts -->
<script type="text/javascript" src="js/raphael.min.js"></script>
<script type="text/javascript" src="js/morris.min.js"></script>
<!-- Sparkline -->
<script type="text/javascript" src="js/jquery.sparkline.min.js"></script>
<!-- jvectormap -->
<script type="text/javascript" src="js/jquery-jvectormap-1.2.2.min.js"></script>
<script type="text/javascript" src="js/jquery-jvectormap-world-mill-en.js"></script>
<!-- jQuery Knob Chart -->
<script type="text/javascript" src="js/jquery.knob.min.js"></script>
<!-- daterangepicker -->
<script type="text/javascript" src="js/moment.min2.js"></script>
<script type="text/javascript" src="js/daterangepicker.js"></script>
<!-- datepicker -->
<script type="text/javascript" src="js/bootstrap-datepicker.min.js"></script>
<!-- Bootstrap WYSIHTML5 -->
<script type="text/javascript" src="js/bootstrap3-wysihtml5.all.min.js"></script>
<!-- Slimscroll -->
<script type="text/javascript" src="js/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script type="text/javascript" src="js/fastclick.js"></script>
<!-- AdminLTE App -->
<script type="text/javascript" src="js/adminlte.min.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script type="text/javascript" src="js/dashboard.js"></script>
<!-- AdminLTE for demo purposes -->
<script type="text/javascript" src="js/demo.js"></script>
<style>
body{ font-family:"微软雅黑";}
</style>
</head>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript">
setInterval(function() {
    var now = (new Date()).toLocaleString();
    $('#current-time').text(now);
}, 1000);
</script>

<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<header class="main-header">
    <nav class="navbar navbar-static-top">
<div class="navbar-custom-menu1">
       
        <ul class="nav navbar-nav">
                      <li class="dropdown"><a href="temp_index.php?ls=all" style="cursor:hand; "target="right">生成整站</a></li>
          <li class="dropdown"><a href="temp_index.php?ls=products&productsall=ok" style="cursor:hand;" target="right">生成产品页</a></li> 
            <li class="dropdown"><a href="help.html" target="right">帮助</a></li>

        </ul>
      </div>
                
      <div class="navbar-custom-menu">
       
        <ul class="nav navbar-nav">
        <li class="dropdown user user-menu">
            <a class="dropdown-toggle" >
              <img src="images/timg2.jpg" class="user-image" alt="User Image">
              <span class="hidden-xs"><?php echo $_SESSION['adlans']; ?></span>
            </a>
          </li>
                     <li class="dropdown">
          <a href="modipwd.php" target="right">修改密码</a></li>

			

			<?php

			$menu_sql="select * from ls_menu order by menuNum desc";

				$menu_query=$opendb->query($menu_sql);

				while ($menu_rows=mysql_fetch_assoc($menu_query))

	 			{

	 					if($menu_rows['menuLink']=="products.htm" && $menu_rows['enable']==1)

	 					{

				?>


			  <li class="dropdown"><a href="products.php" target="right">产品管理</a></li>

			<?php
						}
						if($menu_rows['menuLink']=="news.htm" && $menu_rows['enable']==1)
			 			{
				?>
			  <li class="dropdown"><a href="news.php" target="right">新闻管理</a></li>
			<?php
						}
					if($menu_rows['menuLink']=="download.htm" && $menu_rows['enable']==1)
					 	{
				?>

  <li class="dropdown">			<a href="download.php" target="right">下载</a></li>
			<?php
				}
			}
			?>

			  <li class="dropdown"><a href='loginout.php' target='_top'>[退出系统]</a></li>
          
          <li>
            <a href="indexadl.php" target="right" style="    padding-top: 18px;
    padding-bottom: 18px;
}"><i class="fa fa-xt"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
</div>

</body>
</html>