forked from xibijj/Bugscan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask_list.php
23 lines (23 loc) · 865 Bytes
/
task_list.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
require(dirname(__FILE__).'/include/config.inc.php');
$tablename = "##_report";
if ($_SESSION["user"])
{
$query = $db->query("select * from {$tablename} where taskid='{$id}'");
while ($fs = $db->fetch_array($query))
{
$type = $fs["type"];
$time = $fs["addtime"];
$info = $fs["info"];
$le = $db->fetch_assoc("select color,level from ##_exploit where title='{$type}'");
$color=$le["color"];
$level = $le["level"];
$loopstr .= "<tr>
<td align=center><span class=\"price\"><font size=\"+1\">{$type}</font><span></td>
<td align=center style=\"{$color}\"><span class=\"price\"><font size=\"+1\">{$info}</font><span></td>
<td align=center style=\"{$color}\"><span class=\"price\"><font size=\"+1\">{$level}</font><span></td>
<td align=center>".ld_select_date($time)."</td>";
}
}
include('html/task_list.html');
?>