<include file="themes/Phonegame/template1/public/scripts.html"/>
<script type="text/javascript" src="__PUBLIC__/Phonegame/js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/Phonegame/js/domain.js"></script>
<style type="text/css">
#erwei_bottom {
	display: none !important;
}
.search button{
	width:41px;
	height:39px;
	border-radius:3px;
	color:rgba(69,161,236,0.800);
	}
.ui_dialog_wrap {
	visibility: hidden
}
.ui_title_icon, .ui_content, .ui_dialog_icon, .ui_btns span {
	display: inline-block;
*zoom:1;
*display:inline
}
.ui_dialog {
	text-align: left;
	position: absolute;
	top: 0
}
.ui_dialog table {
	border: none;
	margin: 0;
	border-collapse: collapse;
}
.ui_dialog td {
	padding: 0
}
.ui_title_icon, .ui_dialog_icon {
	vertical-align: middle;
	_font-size: 0
}
.ui_title_text {
	overflow: hidden;
	cursor: default
}
.ui_close {
	display: block;
	position: absolute;
	outline: none
}
.ui_content_wrap {
	text-align: center;
	border-top: none;
	border-left: 2px solid;
	border-right: 2px solid;
	border-bottom: none;
	border-color: #828282;
}
.ui_content {
	margin: 0px;
	text-align: left
}
.ui_iframe .ui_content {
	margin: 0;
*padding:0;
	display: block;
	height: 100%;
	position: relative
}
.ui_iframe .ui_content iframe {
	overflow: auto
}
.ui_content_mask {
	visibility: hidden;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: #FFF;
	filter: alpha(opacity=0);
	opacity: 0
}
.ui_bottom {
	position: relative
}
.ui_resize {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 1;
	cursor: nw-resize;
	_font-size: 0
}
.ui_btns {
	text-align: right;
	white-space: nowrap
}
.ui_btns span {
	margin: 5px 10px
}
.ui_btns button {
	cursor: pointer
}
* .ui_ie6_select_mask {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	filter: alpha(opacity=0)
}
.ui_loading .ui_content_wrap {
	position: relative;
	min-width: 9em;
	min-height: 3.438em
}
.ui_loading .ui_btns {
	display: none
}
.ui_loading_tip {
	visibility: hidden;
	width: 5em;
	height: 1.2em;
	text-align: center;
	line-height: 1.2em;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -0.6em 0 0 -2.5em
}
.ui_loading .ui_loading_tip, .ui_loading .ui_content_mask {
	visibility: visible
}
.ui_loading .ui_content_mask {
	filter: alpha(opacity=100);
	opacity: 1
}
.ui_move .ui_title_text {
	cursor: move
}
.ui_page_move .ui_content_mask {
	visibility: visible
}
.ui_move_temp {
	visibility: hidden;
	position: absolute;
	cursor: move
}
.ui_move_temp div {
	height: 100%
}
html>body .ui_fixed .ui_move_temp {
	position: fixed
}
html>body .ui_fixed .ui_dialog {
	position: fixed
}
* .ui_ie6_fixed {
	background: url(*) fixed
}
* .ui_ie6_fixed body {
	height: 100%
}
* html .ui_fixed {
	width: 100%;
	height: 100%;
	position: absolute;
left:expression(documentElement.scrollLeft+documentElement.clientWidth-this.offsetWidth);
top:expression(documentElement.scrollTop+documentElement.clientHeight-this.offsetHeight)
}
* .ui_page_lock select, * .ui_page_lock .ui_ie6_select_mask {
	visibility: hidden
}
* .ui_page_lock .ui_content select {
	visibility: visible;
}
.ui_overlay {
	visibility: hidden;
	_display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	filter: alpha(opacity=0);
	opacity: 0;
	_overflow: hidden
}
.ui_lock .ui_overlay {
	visibility: visible;
	_display: block
}
.ui_overlay div {
	height: 100%
}
* html body {
	margin: 0
}
</style>
<!--[if lte IE 6]>
<script type="text/javascript" src="style/js/iepng.js"></script>
<script type="text/javascript">
   //png透明图
   EvPNG.fix('div, ul, h1, h3, img, li, input, span, p, a');
</script>
<![endif]-->
<div class="header_bar">
  <div class="header_bar_nei">
    <div class="header_bar_left" style="width:500px;">
    <!--
      <p class="tu1"></p>
      <p><a href="#">放在桌面</a></p>
      -->
      <p class="tu2"></p>
      <p><a href="javascript:;" onclick="AddFavorite(&#39;<!--网址-->&#39;)">加入收藏</a></p>
      <span style="color:red;line-height:34px;font-weight:bold;">本公司游戏仅适合18岁以上玩家!</span> </div>
    <div class="header_bar_left header_bar_right" id="login" style="display:block;">
      <table cellpadding="0" cellspacing="0" border="0" height="34" class="header_bar_table" id="Jq_login_tab">
        <tbody>
          <tr>
            <td class="td01"><span></span></td>
            <td class="td02"><ul class="loginul" id="loginul">
                <li class="Jq_menu"><a href="javascript:;">[登录]</a> 
                  <!--登录开始-->                 
                  <form  action="{:U('login/dologin')}" name="myform">
                  <div id="login" class="login dn">
                    <div class="uidwrap">
                      <input type="text" class="user in_name" name="username" id="user_name" value="" placeholder="用户名">
                    </div>
                    <div class="pwdwrap">
                      <input class="user in_pwd" type="password" name="password" id="user_pwd" value="" placeholder="密码">
                    </div>
                    <div class="zddl_p">
                      <p class="forgetpwd_p1">
                        <label for="save_app">
                          <input type="checkbox" id="saveuser" value="记住帐号" checked="checked"/>
                          <a href="javascript:;">记住账号</a></label>
                      </p>
                      <p class="forgetpwd_p2"><a href="{:U('/login/forgot_password')}">忘记密码？</a> ｜ <a href="{:U('/register')}" onclick="show_regs()">注册帐号</a></p>
                      <div class="clear"></div>
                    </div>
                    <input type="button" id="log_b" class="loginbtn" value="点击登录" />
                    <!--
                    <div class="hezuo_h">
                      <p>使用合作网站帐号登录</p>
                      <a href="javascript:;" class="hezuo_h_qq"></a> <a href="javascript:;" class="hezuo_h_weibo"></a> </div>
                      --> 
                  </div>
                  </form>
                  <!--登录结束--> 
                </li>
              </ul></td>
            <!--
            <td class="td05"><span></span></td>
            <td class="td06"><ul class="wxul" id="wxul">
                <li class="menu2 Jq_menu"><a href="javascript:;">[关注微信]</a>
                  <div class="mardiv pa dn"><img src="__PUBLIC__/Phonegame/images/5591f652763fb.png" width="157" height="157"></div>
                </li>
              </ul></td>
              --> 
          </tr>
        </tbody>
      </table>
    </div>
    <div class="header_bar_left header_bar_right dn" id="loginafter" style="display:none;">
      <table cellpadding="0" cellspacing="0" border="0" height="34" class="header_bar_table">
        <tbody>
          <tr>
            <td class="td01"><span></span></td>
            <td class="td02"><font id="users" class="fl"></font><a href="{:U('users/logout')}">[注销]</a></td>
            <!--
            <td class="td03"><span></span></td>
            <td class="td04"><ul class="wxul" id="wxul2">
                <li class="menu3 Jq_menu"><a href="javasrcript:;">[关注微信]</a>
                  <div class="mardiv pa dn"><img src="__PUBLIC__/Phonegame/images/5591f652763fb.png" width="157" height="157"></div>
                </li>
              </ul></td>
              --> 
          </tr>
        </tbody>
      </table>
    </div>
    <div class="clear"></div>
  </div>
</div>
<div class="header_main">
  <div class="header_main_nei">
    <div class="logo"> <img src="__PUBLIC__/Phonegame/images/logo.png" width="191" height="63"> </div>
    <form action="/game" method="post">
      <div class="search">
        <input name="title" type="text" value="{$title}" placeholder="请输入游戏名">   
        <a href="/game" id="onsearchbtn" type="submit" class="btn btn-primary">
       <button><img src="__PUBLIC__/Phonegame/images/search_icon.jpg" ></button></a>
        </div>  
       
    </form>
    <div class="clear"></div>
  </div>
</div>
<div class="header_nav">
  <div class="header_nav_nei">
    <?php
    					$effected_id="";
      					$filetpl="<a href='\$href' target='\$target'>\$label</a>";
      					$foldertpl="<a href='\$href' target='\$target' class='dropdown-toggle' data-toggle='dropdown'>\$label <b class='caret'></b></a>";
        				$ul_class="dropdown-menu" ;
        				$li_class="" ;
        				$style="";
        				$showlevel=6;
        				$dropdown='dropdown';
        				echo sp_get_menu("1",$effected_id,$filetpl,$foldertpl,$ul_class,$li_class,$style,$showlevel,$dropdown);
                        ?>
  </div>
</div>
