query_user_id未生效

This commit is contained in:
2024-10-11 17:48:12 +08:00
parent 51561ccbec
commit a7f8aed637
2 changed files with 3 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
<div class="row" style="white-space: nowrap; ">
<div class="seven wide column">
<form action="" method="get">
<div class="ui search" style="width: 280px; height: 28px; margin-top: -5.3px;float:left ">
<div class="ui search" style="width: 160px; height: 28px; margin-top: -5.3px;float:left ">
<div class="ui left icon input" style="width: 100%; ">
<input class="prompt" style="width: 100%; " type="text" placeholder=" <?php echo $MSG_TITLE; ?> …"
name="search" value="<?php if (isset($_GET['search']))
@@ -30,11 +30,10 @@
<!-- 管理员用来显示指定用户的对错情况 -->
<?php if (isset($_SESSION[$OJ_NAME . '_' . 'administrator'])): ?>
<form action="" method="get">
<div class="ui search" style="width: 280px; height: 28px; margin-top: -5.3px;">
<div class="ui search" style="width: 160px; height: 28px; margin-top: -5.3px;">
<div class="ui icon input" style="width: 100%; ">
<input class="prompt" style="width: 100%; " type="text" placeholder="用户ID" name="query_user_id" value="<?php if (isset($_GET['query_user_id']))
echo htmlentities($_GET['query_user_id'], ENT_QUOTES, 'UTF-8') ?>">
<i class="search icon"></i>
</div>
<div class="results" style="width: 100%; "></div>