<?php
/**************************************************************************
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
@Authors: Ryan Thompson(hide@address.com)
***************************************************************************/
//DEPRECATED??
//NOT UPDATED FOR ENGINE (v0.2.5 - 28-Nov-03)
?>
<h3 class="input_header">Select Group</h1>
<form action="<?php echo $_SERVER['PHP_SELF']. "?x=". $_GET['x']. "&s=". $_GET['s']?>" method="post">
<table border="0" cellspacing="0">
<tr>
<td class="list_header" width="75">Group ID</td><td class="list_header" width="150">Group Name:</td>
<td class="list_header" width="75">Owner</td><td class="list_header" width="150">Created</td>
</tr>
<?php
$sql = "SELECT o_groups.*,o_users.username FROM o_groups, o_users WHERE o_groups.owner=o_users.user_id";
$db->query($sql, __FILE__, __LINE__);
while($db->fetch_results())
{
if($class == "list_light")
{
$class = "list_dark";
} else {
$class = "list_light";
}
echo "<tr>";
echo "<td class=\"$class\" style=\"text-align:right\">". $db->record['group_id']."</td>";
echo "<td class=\"$class\" style=\"padding-left:10pt\">";
$link = "/admin?x=". $_GET['x'] ."&s=eg&g=". $db->record['group_id'];
$title = $db->record['group_name'];
//$class = "dark";
echo $O->create_link($link, $title, $class);
echo "</td>";
echo "<td class=\"$class\">". $db->record['username']. "</td>";
echo "<td class=\"$class\" style=\"text-align:right\">". date($O->date->long_date, $db->record['created']). "</td>";
echo "</tr>\n";
}
?>
<tr>
</tr>
</table>