if ($page_no == 1) {
         $return_string = $return_string . "style=\"display:block;\"";
     } else {
         $return_string = $return_string . "style=\"display:none;\"";
     }
     $return_string = $return_string . ">" . "<table id=\"search_table\" class=\"report\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">" . "<colgroup>" . "<col class=\"num\"/>" . "<col class=\"ProbType\"/>" . "<col class=\"ProbDesc\"/>" . "<col class=\"ProbCategory\"/>" . "<col class=\"ProbLevel\"/>" . "<col class=\"ProbMemo\"/>" . "<col class=\"ProbStatus\"/>" . "<col class=\"ProbAction\"/>" . "</colgroup>" . "<tr>" . "<th>编号</th>" . "<th>类型</th>" . "<th>描述</th>" . "<th>分类</th>" . "<th>难易</th>" . "<th>备注</th>" . "<th>状态</th>" . "<th>动作</th>" . "</tr>";
 }
 if ($page_count < $page_size) {
     $row = mysqli_fetch_assoc($result);
     $ProbId = $row["ProblemId"];
     $ProbType = $row["ProblemType"];
     $ProbTypeStr = get_type_name_from_id($ProbType);
     $ProbDesc = $row["ProblemDesc"];
     $ProbCategory = $row["ProblemCategory"];
     $funcs_id = get_function_id($ProbCategory);
     $funcs_name = get_funcs_name($funcs_id);
     $funcs_name_str = get_funcs_name_str($funcs_name);
     $ProbLevel = $row["ProblemLevel"];
     $ProbLevelStr = get_level_name($ProbLevel);
     $ProbMemo = $row["ProblemMemo"];
     $ProbStatus = $row["Status"];
     $StatusStr = $ProbStatus == 0 ? "下架" : "上架";
     $StatusAction = $ProbStatus == 1 ? "下架" : "上架";
     $page_count_display = $page_count + 1;
     $return_string = $return_string . "<tr>" . "<td>{$page_count_display}</td>" . "<td><span class=\"ProbType fixWidth\">{$ProbTypeStr}</span></td>" . "<td><span class=\"ProbDesc fixWidth\">{$ProbDesc}</span></td>" . "<td><span class=\"ProbCategory fixWidth\">{$funcs_name_str}</span></td>" . "<td><span class=\"ProbLevel fixWidth\">{$ProbLevelStr}</span></td>" . "<td><span class=\"ProbMemo fixWidth\">{$ProbMemo}</span></td>" . "<td>{$StatusStr}</td>" . "<td><A OnClick=\"actionSearchProbs({$ProbId},{$ProbStatus});\">{$StatusAction}</A><br/>" . "<A OnClick=\"modifySearchProbs({$ProbId});\">修改</A><br/>" . "<A OnClick=\"deleteSearchProbs({$ProbId});\">删除</A></td>" . "</tr>";
     $i++;
     $page_count++;
     if ($page_count == $page_size) {
         $return_string = $return_string . "</table>" . "</div>\n";
         $page_no++;
         $page_count = 0;
     if ($page_no == 1) {
         $return_string = $return_string . "style=\"display:block;\"";
     } else {
         $return_string = $return_string . "style=\"display:none;\"";
     }
     $return_string = $return_string . ">" . "<table id=\"search_table\" class=\"report\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">" . "<colgroup>" . "<col class=\"num\"/>" . "<col class=\"ProbType\"/>" . "<col class=\"ProbDesc\"/>" . "<col class=\"ProbCategory\"/>" . "<col class=\"CreatedTime\"/>" . "<col class=\"ProbStatus\"/>" . "<col class=\"ProbAction\"/>" . "</colgroup>" . "<tr>" . "<th>编号</th>" . "<th>类型</th>" . "<th>描述</th>" . "<th>分类</th>" . "<th>创建时间</th>" . "<th>状态</th>" . "<th>动作</th>" . "</tr>";
 }
 if ($page_count < $page_size) {
     $row = mysqli_fetch_assoc($result);
     $ProbId = $row["ProblemId"];
     $ProbType = $row["ProblemType"];
     $ProbTypeStr = get_type_name_from_id($ProbType);
     $ProbDesc = $row["ProblemDesc"];
     $ProbCategory = $row["ProblemCategory"];
     $funcs_id = get_function_id($ProbCategory);
     $funcs_name = get_funcs_name($funcs_id, $funcs_id_name_mapping);
     $funcs_name_str = get_funcs_name_str($funcs_name);
     $CreatedTime = $row["CreatedTime"];
     $ProbStatus = $row["Status"];
     $StatusStr = $ProbStatus == 0 ? "下架" : "上架";
     $StatusAction = $ProbStatus == 1 ? "下架" : "上架";
     $page_count_display = $page_count + 1;
     $return_string = $return_string . "<tr>" . "<td>{$page_count_display}</td>" . "<td><span class=\"ProbType fixWidth\">{$ProbTypeStr}</span></td>" . "<td><span class=\"ProbDesc fixWidth\">{$ProbDesc}</span></td>" . "<td><span class=\"ProbCategory fixWidth\">{$funcs_name_str}</span></td>" . "<td><span class=\"ProbCategory fixWidth\">{$CreatedTime}</span></td>" . "<td>{$StatusStr}</td>" . "<td><A OnClick=\"actionSearchProbs({$ProbId},{$ProbStatus});\">{$StatusAction}</A><br/>" . "<A OnClick=\"modifySearchProbs({$ProbId});\">修改</A><br/>" . "<A OnClick=\"deleteSearchProbs({$ProbId});\">删除</A></td>" . "</tr>";
     $i++;
     $page_count++;
     if ($page_count == $page_size) {
         $return_string = $return_string . "</table>" . "</div>\n";
         $page_no++;
         $page_count = 0;
     }
 }