| <?php | 
| include_once "/Account/User.php"; | 
| include_once "/Common/CommFunc.php"; | 
| include_once "/language/lang.php"; | 
| include_once "/Common/Logging.php"; | 
|   | 
| \Logging\CreateLogging("queryBillboard.php"); | 
|   | 
| $Permission = \User\Permission::P_FamilyTransfer; | 
| $spid = $_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><?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="FamilyTransfer" name="FamilyTransfer" action="/Common/GMCmdProcess.php" method="post"> | 
|         <dl> | 
|             <dt><?php echo \Lang\gettext("转让仙盟"); ?></dt> | 
|             <dd class="def_dd"> | 
|                 <div> | 
|                     <input type="radio" name="queryType" value="FamilyName" checked /> | 
|                     <span><?php echo \Lang\gettext("按仙盟名称"); ?></span> | 
|                     <input type="radio" name="queryType" value="FamilyID" /> | 
|                     <span><?php echo \Lang\gettext("按仙盟ID"); ?></span> | 
|                 </div> | 
|                 <?php echo \Lang\gettext("查询仙盟"); ?>: <input class="long_input" type="text" name="familyName" id="familyName" value="" /> | 
|                 <p class="clear"></p> | 
|             </dd> | 
|   | 
|             <dd class="def_dd"> | 
|                 <div> | 
|                     <input type="radio" name="queryTagType" value="PlayerName" checked /> | 
|                     <span><?php echo \Lang\gettext("按玩家名称"); ?></span> | 
|                     <input type="radio" name="queryTagType" value="PlayerID" /> | 
|                     <span><?php echo \Lang\gettext("按玩家ID"); ?></span> | 
|                 </div> | 
|                 <?php echo \Lang\gettext("转让玩家"); ?>: <input class="long_input" type="text" name="queryTag" id="queryTag" value="" /> | 
|                 <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" value="GMT_FamilyTransfer" /> | 
|             <dd class="submit_dd"> | 
|                 <input type="submit" name="submit" value="<?php echo \Lang\gettext("转让"); ?>" onclick="return CheckFamilyTransfer();" /> | 
|             </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"> | 
|         function CheckFamilyTransfer() { | 
|             if (!CheckKey("key")) { | 
|                 return false; | 
|             } | 
|   | 
|             if (!document.getElementById("familyName").value) { | 
|                 alert("<?php echo \Lang\gettext("请输入仙盟"); ?>"); | 
|                 document.getElementById("familyName").focus(); | 
|                 return false; | 
|             } | 
|   | 
|             if (!document.getElementById("queryTag").value) { | 
|                 alert("<?php echo \Lang\gettext("请输入玩家"); ?>"); | 
|                 document.getElementById("queryTag").focus(); | 
|                 return false; | 
|             } | 
|   | 
|             var br = getbr(); | 
|             var confirmStr = ""; | 
|             confirmStr += "<?php echo \Lang\gettext("目标仙盟") . ": "; ?>" + document.getElementById("familyName").value + br + br; | 
|             confirmStr += "<?php echo \Lang\gettext("转让玩家") . ": "; ?>" + document.getElementById("queryTag").value + br + br; | 
|             confirmStr += "<?php echo \Lang\gettext("确定转让?"); ?>"; | 
|             if (!window.confirm(confirmStr)) { | 
|                 return false; | 
|             } | 
|   | 
|             return true; | 
|         } | 
|     </script> | 
| </body> | 
|   | 
| </html> |