| <?php | 
| header("Content-type: text/html; charset=utf-8"); | 
| include_once "/Common/CommFunc.php"; | 
| include_once "/Account/User.php"; | 
| include_once "/language/lang.php"; | 
|   | 
| $Permission = \User\Permission::P_ForbidLogin; | 
| $spid = $_SESSION['spid']; | 
| $user = new \User\User($_SESSION['UserAccount']); | 
| if (!$user->HavePermission($Permission)) { | 
|     exit; | 
| } | 
|   | 
| ?> | 
|   | 
| <!DOCTYPE html> | 
| <html> | 
|   | 
| <head> | 
|     <meta charset="utf-8"> | 
|     <title><?php echo \Lang\gettext("封号/解封"); ?></title> | 
|     <link rel="gettext" type="application/x-po" href="../language/<?php echo \Lang\getLang(); ?>/LC_MESSAGES/<?php echo \Lang\getjspodomain(); ?>.po" /> | 
| </head> | 
|   | 
| <body> | 
|     <form id="forbitLogin" name="forbitLogin" action="/Common/GMCmdProcess.php" method="post"> | 
|         <dl> | 
|             <dt><?php echo \Lang\gettext("封号/解封"); ?></dt> | 
|             <dd class="def_dd"> | 
|                 <label><?php echo \Lang\gettext("按账号"); ?>:</label> | 
|                 <input class="long_input" type="text" name="accID" id="accID" /> | 
|                 <p class="clear"></p> | 
|             </dd> | 
|             <dd class="def_dd"> | 
|                 <label><?php echo \Lang\gettext("角色名"); ?>:</label> | 
|                 <input class="long_input" type="text" name="playerName" id="playerName" /> | 
|                 <p class="clear"></p> | 
|             </dd> | 
|             <dd class="def_dd"> | 
|                 <label><?php echo \Lang\gettext("按IP"); ?>   :</label> | 
|                 <input class="long_input" type="text" name="IP" id="IP" /> | 
|                 <p class="clear"></p> | 
|             </dd> | 
|             <dd> | 
|                 <input type="radio" name="forbidType" id="forbidType" value="1" checked /> | 
|                 <span><?php echo \Lang\gettext("封号"); ?></span> | 
|                 <input type="radio" name="forbidType" id="forbidType" value="0" /> | 
|                 <span><?php echo \Lang\gettext("解封"); ?></span> | 
|                 <p class="clear"></p> | 
|             </dd> | 
|             <?php | 
|             if ($user->NeedCheckKey()) { | 
|                 echo "<dd class=\"def_dd\">"; | 
|                 echo \Lang\gettext("授权码(key)") . ":"; | 
|                 echo "<input type=\"text\" name=\"key\" id=\"key\" />"; | 
|                 echo "<p class=\"clear\"></p>"; | 
|                 echo "</dd>"; | 
|             } else { | 
|                 echo "<input type=\"hidden\" name=\"key\" id=\"key\" />"; | 
|             } | 
|             ?> | 
|             <input type="hidden" name="Permission" value="<?php echo $Permission; ?>" /> | 
|             <input type="hidden" name="pack_type" id="pack_type" value="GMT_ForbidLogin" /> | 
|             <dd class="submit_dd"> | 
|                 <input type="submit" name="submit" value="<?php echo \Lang\gettext("提交"); ?>" onclick="return CheckForbidLogin()" /> | 
|             </dd> | 
|         </dl> | 
|     </form> | 
|   | 
|     <script type='text/javascript' src='/language/gettext.js'></script> | 
|     <script type='text/javascript' src="/js/common.js"></script> | 
|     <script type='text/javascript' src="forbidPlayer.js"></script> | 
| </body> | 
|   | 
| </html> |