<th>审核时间</th> <th>产品</th> <th>状态</th> <th>备注</th> <th>详情</th> <th>审核</th> </tr> <?php while ($row = $result->fetchRow()) { if (in_array($product, $_SESSION['Products'], true)) { $product = $row[strtolower('Product')]; $status = $row[strtolower('Status')]; echo "<tr>"; echo "<td>" . $row[strtolower('ID')] . "</td>"; echo "<td>" . $row[strtolower('User1')] . "</td>"; echo "<td>" . $row[strtolower('Time1')] . "</td>"; echo "<td>" . $row[strtolower('User2')] . "</td>"; echo "<td>" . $row[strtolower('Time2')] . "</td>"; echo "<td>" . $product . "</td>"; echo "<td>" . EnumStatusToString($status) . "</td>"; echo "<td>" . $row[strtolower('Remark')] . "</td>"; echo "<td><a href='LicenseInfoView.php?ID=" . $row[strtolower('ID')] . "' target='_blank'>查看或下载</a></td>"; echo "<td><a href='LicenseInfoReview.php?ID=" . $row[strtolower('ID')] . "' target='_blank'>审核</a></td>"; echo "</tr>"; } } ?> </table> </body> </html>
<hr/> <p>状态: <select name="Status"> <option value ="1"><?php echo EnumStatusToString(1); ?> </option> <option value ="2"><?php echo EnumStatusToString(2); ?> </option> <option value ="3"><?php echo EnumStatusToString(3); ?> </option> <!--<option value ="4"><?php echo EnumStatusToString(4); ?> </option>--> </select>状态信息决定了是否审核完成,用户是否可下载,不要改错了</p> <p>备注: <textarea rows="5" cols="60" name="Remark"><?php echo $row[strtolower('Remark')]; ?> </textarea>备注,需告知审核员或用户的消息</p> <input type="submit" value="Submit" name="Review_Left" /> </form> <?php } ?> </body> </html>
<tr> <th>申请内容</th> <td><pre><?php print_r($json_content1); ?> </pre></td> <th>审核内容</th> <td><pre><?php print_r($json_content2); ?> </pre></td> </tr> <tr> <th>状态</th> <td><?php echo EnumStatusToString($row[strtolower('Status')]); ?> </td> <th>备注</th> <td><?php echo $row[strtolower('Remark')]; ?> </td> </tr> </table> <?php // 审核员也可以下载,因为可能需要检查一下是否可用 if ($row[strtolower('Status')] >= 3) { ?> <hr/> <h1>下载</h1>