-
Notifications
You must be signed in to change notification settings - Fork 5
/
app_list.php
53 lines (43 loc) · 1.44 KB
/
app_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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php include 'template/header.php'; ?>
<!-- Title area -->
<div class="titleArea">
<div class="wrapper">
<div class="pageTitle">
<h5>Applications</h5>
<span>This is a list of all your applications.</span>
</div>
<div class="clear"></div>
</div>
</div>
<div class="line"></div>
<!-- Main content wrapper -->
<div class="wrapper">
<!-- Dynamic table -->
<?php
include_once 'functions.php';
$result = mysql_query('SELECT * FROM apps') or die(mysql_error());
echo '<div class="widget">
<div class="title"><img src="images/icons/dark/full2.png" alt="" class="titleIcon" /><h6>Application List</h6></div>';
echo '<table cellpadding="0" cellspacing="0" border="0" class="display dTable">';
echo '<thead>';
echo '<tr>';
echo '<th>Icon</th>';
echo '<th>App Name</th>';
//echo '<th>Comments</th>';
echo '</tr>';
echo '</thead>';
echo '<tbody>';
while ($row = mysql_fetch_row($result))
{
echo '<tr class="gradeA">';
echo '<td class="center"><a href="#"><img src="'. $row[2] .'" height="32"/></a></td>';
echo '<td><a href="dash.php?appid='.$row[0].'"><h5>'. $row[0] .'</h5></a></td>';
//echo '<td>' . $row[3] . '</td>';
echo '</tr>';
}
echo '</tbody>';
echo '</table>';
echo '</div>';
?>
</div>
<?php include("template/footer.php"); ?>