| <?php | 
| include_once "/Account/User.php"; | 
| include_once "/Common/CommFunc.php"; | 
| include_once "/language/lang.php"; | 
|   | 
| $Permission = \User\Permission::P_CrossClientServerMaintain; | 
| $channel = $_SESSION['spid']; | 
| $user = new \User\User($_SESSION['UserAccount']); | 
| if (!$user->HavePermission($Permission)) { | 
|     exit; | 
| } | 
|   | 
| ?> | 
|   | 
| <!DOCTYPE html> | 
| <html> | 
|   | 
| <head> | 
|     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | 
|     <title>跨服子服维护</title> | 
| </head> | 
|   | 
| <body> | 
|   | 
|     <form id="CrossClientServerMaintain" name="CrossClientServerMaintain" action="/Common/GMCmdProcess.php" method="post"> | 
|         <center> | 
|             <p>跨服子服维护</P> | 
|         </center> | 
|   | 
|         <div class="def_dd"></br> | 
|             <label>请选择操作类型</label> | 
|             <div> | 
|                 <input type="radio" name="operate" value="cross_server_state" checked /> | 
|                 <span>查询跨服状态</span><br /> | 
|                 <input type="radio" name="operate" value="cross_pk_state" /> | 
|                 <span>查询跨服PK状态</span><br /> | 
|                 <input type="radio" name="operate" value="reconn_cross_Server" /> | 
|                 <span>重新同步跨服状态</span><br /> | 
|             </div> | 
|         </div> | 
|         <hr> | 
|         <p> | 
|             <input type="hidden" name="Permission" value="<?php echo $Permission; ?>" /> | 
|             <input type="hidden" name="pack_type" value="GMT_CrossClientServerMaintain" /> | 
|             <?php | 
|             if ($user->NeedCheckKey()) { | 
|                 echo \Lang\gettext("授权码(key)") . ":"; | 
|                 echo "<input type=\"text\" name=\"key\" id=\"key\" />"; | 
|             } else { | 
|                 echo "<input type=\"hidden\" name=\"key\" id=\"key\" />"; | 
|             } | 
|             ?> | 
|             <input type="submit" name="submit" value="提交" onclick="return CheckKey('key')" /><br /> | 
|         </p> | 
|         <hr> | 
|     </form> | 
|     <script type='text/javascript' src="/js/common.js"></script> | 
| </body> | 
|   | 
| </html> |