-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprinter_list.php
More file actions
45 lines (40 loc) · 1.16 KB
/
printer_list.php
File metadata and controls
45 lines (40 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
$show_title="$MSG_ERROR_INFO - $OJ_NAME";
if(isset($OJ_MEMCACHE)) include(dirname(__FILE__)."/header.php");
if($mark==100) {
$ui_class="positive";
$ui_icon="check";
}else{
$ui_class="negative";
$ui_icon="remove";
}
?>
<div class="ui <?php echo $ui_class?> icon message">
<?php include("template/$OJ_TEMPLATE/nav.php");?>
<!-- Main component for a primary marketing message or call to action -->
<div class="container">
<form action="printer.php" method="post" onsubmit="return confirm('Delete All Tasks?');">
<input type="hidden" name="clean" >
<input type="submit" class='btn btn-danger' value="Clean">
<?php require_once(dirname(__FILE__)."/../../include/set_post_key.php")?>
</form>
<table class="table table-striped content-box-header">
<tr><td>id<td><?php echo $MSG_USER_ID?><td><?php echo $MSG_STATUS?><td></tr>
<?php
foreach($view_printer as $row){
echo "<tr>\n";
foreach($row as $table_cell){
echo "<td>";
echo $table_cell;
echo "</td>";
}
$i++;
echo "</tr>\n";
}
?>
</table>
<p>
</p>
</div>
</div>
<?php include(dirname(__FILE__)."/footer.php");?>