<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?=global_cfg_sitename?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="Comsenz Inc." name="Copyright" />
<link href="<?=BASEURL?>public/admin/css/report.css" rel="stylesheet" type="text/css" />
<link href="<?=BASEURL?>public/admin/css/main.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="<?=BASEURL?>public/share/jquery.js"></script>
<script language="javascript" src="<?=BASEURL?>public/admin/js/common.js"></script>
<script language="javascript" src="<?=BASEURL?>public/admin/js/reporting.js"></script>
</head>
<body scroll="no">
<script language="javascript">
	$(document).ready(
		function(){
		$(".left_menu .menu_title span").click(function(){ $(".left_menu .menu_title span").removeClass('menu_title_hover'); $(this).removeClass("menu_title"); $(this).addClass('menu_title_hover');});
		//$(".left_menu .menu_title span").mouseout(function(){ $(this).addClass("menu_title"); $(this).removeClass('menu_title_hover');});
		}
	);
</script>
<table cellpadding="0" cellspacing="0" width="100%" height="100%" >
  <tr>
    <td colspan="3" height="70">
    	<div class="top">
            <table width="200" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td><div class="logo"></div></td>
                <td>
                <div class="top_left">
                    <div class="user_info">
                      <ul>
                        <li>管理员信息:</li>
                        <li>用户名[<?=@$user->user_name?>]</li>
                        <li>用户组[<?=$user->group_value?>]</li>
                        <li>|</li>
                        <LI><a href="<?=BASEURI?>login/loginout/admin">退出登录</a></li>
                        <li>|</li>
                        <li><a href="<?=BASEURL?>help/tpl.html" target="_blank">帮助</a></li>
                        <li>|</li>
                        <li><a href="<?=BASEURL?>" target="_blank">网站首页</a></li>
                        <li>|</li>
                        <li><a href="http://bbs.lmpic.cn" target="_blank">官方论坛</a></li>
                      </ul>
                    </div>
                    <div class='main_menu'>
                      <!--主菜单-->
                      <dl>
                        <?php 
                        $i		=	0	;
                        foreach($menu_1 as $tmp){
                            $i++;
                            if($i==1){
                   		?>
                            <dd class="active" id="main_menu_<?=$i?>" onClick="menuGroup('group_menu_<?=$tmp['menu_id']?>',null,<?=$i?>,'<?=$tmp['menu_name']?>','<?=$tmp['menu_url']?>')">
                              <?=$tmp['menu_name']?>
                            </dd>
                        <?php }
                            else{
                    	?>
                        <dd id="main_menu_<?=$i?>" onClick="menuGroup('group_menu_<?=$tmp['menu_id']?>',null,<?=$i?>,'<?=$tmp['menu_name']?>','<?=$tmp['menu_url']?>')">
                          <?=$tmp['menu_name']?>
                        </dd>
                        <?php 
                            }
                        }
                    ?>
                      </dl>
                    </div>
                </div>
                </td>
              </tr>
            </table>
            <div class="top_border"></div>
     	</div>
    </td>
  </tr>
  <tr>
    <td valign="top" width="1%"><!--次菜单-->
        <div  class="left">
          <div class="main_menu_title">
            <div class="main_menu_title_left">
                控制面板
            </div>
            <div class="main_menu_title_right" id="off">
                
            </div>
            <div class="none"></div>
          </div>    
          <div class="left_menu">
            <?php 
                foreach($menu_1 as $tmp){
            ?>
            <ul class="group_menu_<?=$tmp['menu_id']?>" style="display:<?php if(!@$a){$a=true;echo "block;";}else{echo "none;";}?>">
              <?php 
                    if(count(@$menu_2[$tmp['menu_id']])>0)
                    foreach($menu_2[$tmp['menu_id']] as $tmpII){
            ?>
                  <li class="menu_title" onClick="main_frame_src('<?=$tmpII['menu_url']?>')">
                    <span><?=html::anchor(BASEURI.$tmpII['menu_url'],$tmpII['menu_name'],array("target"=>"main"))?></span>
                  </li>
              <?php }?>
            </ul>
            <?php }?>
          </div>
        </div>
    </td>
    <td valign="top" style="padding:0px;"><iframe src="<?=BASEURI?>admin/main" name="main" width="100%" height="100%" frameborder="0" scrolling="auto" style="overflow: visible;" id="main"></iframe></td>
  </tr>
</table>
<!--信息提示-->
<div id="shield" class="shield" onClick="hidden_reporing()"></div>
<div id="reporting" class="reporting">
  <div class="wd_8 he_219 report_bg1 float_left"></div>
  <div class="wd_341 he_219 report_bg2 float_left">
    <div class="wd_301 he_36 line_he_36 report_bg4 padding_left_40 fz_14">提示信息</div>
    <div class="wd_270 he_128 margin_left_40 fz_14" style="overflow:auto">
      <table width="100%" height="128" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td align="left" valign="middle" id='clew_bg' width="25%" class="report_what"></td>
          <td align="left" valign="top" class="fz_12 fc_1" width="75%" id="message" style="padding:10px; overflow:auto; font-size:14px; font-weight:bold;"></td>
        </tr>
      </table>
    </div>
    <div class="wd_341 he_51 align_center ul_1" id="input_action">
      <ul>
        <li style="text-align:right; width:60%; margin-right:10px;"> </li>
        <li style="width:30%">
          <input type="button" value="返回" class="submit"  onClick="hidden_reporing()">
        </li>
      </ul>
    </div>
  </div>
  <div class="wd_9 he_219 report_bg3 float_left"></div>
</div>
<script language="javascript">
//统计站点
$.getJSON("<?=BASEURI?>index/installsite", function(json){
}); 

</script>

<!--信息提示结束-->
</body>
</html>
