* [5] =>[end_time] * [6] =>[lock_board_time] * [7] =>[hide_others] * [8] => [board_make] * [9] =>[isvirtual] * [10] => [owner] * [11] => [report] * */ $basetime = strtotime(contest_get_val($cid, "start_time")); $ctype = contest_get_val($cid, "type"); // 查询 并存入二维表 OK // 联合查询,带出名字uu $ary = array(); //初始化二维表 if ($has_cha == "0") { $show_contests = contest_get_comparable_list($cid); } else { $show_contests[] = $cid; } foreach ($show_contests as $ccid) { if ($_GET['cid_' . $ccid] != "on") { continue; } $map4 = array(); foreach ($map as $pid => $lable) { $mres = contest_get_problem_from_title($ccid, $titles[$pid]); if ($ccid != $cid) { $map4[$mres["pid"]] = $pid; } else { $map4[$pid] = $pid; }
<div width="0px" id="temp_standing" style="display:none"></div> <div id="csetdlg" class="modal hide fade"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3>Standing Settings</h3> </div> <form id="csetform" action="#" method="post"> <div class="modal-body"> <table width="100%" id="csettable" class="table table-striped table-hover table-condensed basetable"> <thead> <tr><th width="5%"><input type="checkbox" id="csetall"/></th><th width="10%">CID</th><th width="45%">Title</th><th width="20%">Start Time</th><th width="20%">End Time</th></tr> </thead> <tbody> <?php foreach ((array) contest_get_comparable_list($cid) as $value) { ?> <tr><td><input type="checkbox" name="cid_<?php echo $value; ?> " <?php echo $value == $cid ? "checked='checked'" : "class='othc'"; ?> /></td><td><?php echo $value; ?> </td><td><a href='contest_show.php?cid=<?php echo $value; ?> ' target="_blank"><?php if (contest_get_val($value, "type") == 99) {