-
Notifications
You must be signed in to change notification settings - Fork 0
/
account.php
39 lines (38 loc) · 1.15 KB
/
account.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
<?php
include("logincheck.php");
include("dbconnect.php");
include("header.inc.php");
?>
<div id="main-content">
<div id="feature-content">
<div id="feature-left">
<h1><a href="#">Accounts</a></h1>
<p>
<table id="newspaper-a" summary="2007 Major IT Companies' Profit">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Account</th>
<th scope="col">Type</th>
<th scope="col">Group</th>
<th scope="col">Action</th>
</tr>
</thead>
<tbody>
<?php
$ergebnis = mysql_query("SELECT ffvw_acclogin.name AS a, ffvw_acclogin.type AS t, ffvw_acclogin.user AS u, ffvw_group.name AS g FROM ffvw_acclogin LEFT JOIN ffvw_isacc ON ffvw_acclogin.id = ffvw_isacc.accid RIGHT JOIN ffvw_group ON ffvw_group.id = ffvw_isacc.groupid");
while($row = mysql_fetch_object($ergebnis))
{
echo "<tr><td>".$row->a."</td><td>".$row->u."</td><td>".$row->t."</td><td>".$row->g."</td><td></td></tr>";
}
?>
</tbody>
</table>
</p>
</div>
<div class="clear"></div>
</div>
</div>
<?php
include("footer.inc.php");
?>