| | |
| | | } |
| | | |
| | | $find = array("Channel" => $spid); |
| | | $showTypeInfo = array("all" => "全部", "bug" => "玩家反馈", "system" => "系统反馈"); |
| | | $showType = $_POST["showType"] ? $_POST["showType"] : "bug"; |
| | | if ($showType == "bug") { |
| | | $find["AccountID"] = array('$nin' => array("system")); |
| | | } elseif ($showType == "system") { |
| | | $find["AccountID"] = "system"; |
| | | } |
| | | \DBOper\Find("EventReportBug", $find, $bugArray, null, array("Time" => -1), $limit, $skip); |
| | | $totalCount = count($bugArray); |
| | | if ($totalCount >= $limit || $page > 1) { |
| | |
| | | </center> |
| | | |
| | | <form id="BugReport" action="BugReport.php" method="post"> |
| | | <?php |
| | | echo "<select name=\"showType\">"; |
| | | foreach ($showTypeInfo as $key => $value) { |
| | | echo "<option value=\"" . $key . "\""; |
| | | if ($showType == $key) { |
| | | echo " selected"; |
| | | } |
| | | echo ">" . $value . "</option>"; |
| | | } |
| | | echo "</select>"; |
| | | ?> |
| | | <input type="submit" name="submit" value="<?php echo \Lang\gettext("查询"); ?>" class="button green medium" /> |
| | | <hr /> |
| | | <table width="100%"> |
| | | <?php |