| | |
| | | //显示表格字段配置 key-参数名,value-说明 |
| | | $tableArray = array( |
| | | "Num" => array(\Lang\gettext("编号"), "3%", "center"), |
| | | "OrderID" => array(\Lang\gettext("订单ID"), "15%", "center"), |
| | | "AccountGroup" => array(\Lang\gettext("分组"), "3%", "center"), |
| | | "AccountID" => array(\Lang\gettext("游戏账号"), "15%", "center"), |
| | | "PlayerName" => array(\Lang\gettext("玩家名"), "5%", "center"), |
| | | "AccountID" => array(\Lang\gettext("游戏账号"), "14%", "center"), |
| | | "OrderInfo" => array(\Lang\gettext("商品编号"), "8%", "center"), |
| | | "OrderAmount" => array(\Lang\gettext("支付金额"), "5%", "center"), |
| | | "OriginalAmount" => array(\Lang\gettext("下单金额"), "5%", "center"), |
| | | "Createtime" => array(\Lang\gettext("订单时间"), "11%", "center"), |
| | | "OrderID" => array(\Lang\gettext("订单ID"), "13%", "center"), |
| | | "OrderIDSDK" => array(\Lang\gettext("SDK订单ID"), "13%", "center"), |
| | | "PayTime" => array(\Lang\gettext("支付时间"), "11%", "center"), |
| | | "OrderIDSDK" => array(\Lang\gettext("SDK订单ID"), "15%", "center"), |
| | | "Createtime" => array(\Lang\gettext("订单时间"), "11%", "center"), |
| | | "State" => array(\Lang\gettext("状态"), "3%", "center"), |
| | | "" => array(\Lang\gettext("操作"), "", "center"), |
| | | "" => array(\Lang\gettext("操作"), "3", "center"), |
| | | ); |
| | | |
| | | // 保存cookie |
| | |
| | | } |
| | | |
| | | $Num = $skip; |
| | | $roleInfoArray = array(); |
| | | foreach ($orderArray as $info) { |
| | | $Num += 1; |
| | | echo "<tr class='trc'>"; |
| | |
| | | $tdContent = $Num; |
| | | } elseif ($key == "AccountID") { |
| | | $tdContent = $info["AccountID"] . "@" . $info["Channel"] . "@s" . $info["ServerID"]; |
| | | } elseif ($key == "PlayerName") { |
| | | $accountKey = $info["AccountID"] . "@" . $info["Channel"]; |
| | | $find = array("Channel" => $info["Channel"], "AccountID" => $info["AccountID"]); |
| | | if (!$roleInfoArray[$accountKey] && \DBOper\FindOne("GameRoles", $find, $findData) && isset($findData)) { |
| | | $roleInfoArray[$accountKey] = $findData; |
| | | } |
| | | $tdContent = ""; |
| | | if ($roleInfoArray[$accountKey] && $roleInfoArray[$accountKey]["s" . $info["ServerID"]]) { |
| | | $tdContent = $roleInfoArray[$accountKey]["s" . $info["ServerID"]]["PlayerName"]; |
| | | } |
| | | } elseif ($key == "AccountGroup") { |
| | | $Coupontype = \DataMgr\GetCoupontypeGroup($info["Channel"], $info["AccountID"], $info["ServerID"]); |
| | | $tdContent = array_key_exists($Coupontype, $CoupontypeGroup) ? $CoupontypeGroup[$Coupontype] : ""; |