2 require('../conf/config.php3');
7 if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php3"))
8 include_once("../lib/sql/drivers/$config[sql_type]/functions.php3");
11 <title>User Groups</title>
12 <meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
13 <link rel="stylesheet" href="style.css">
17 <b>Could not include SQL library functions. Aborting</b>
23 if ($config[general_lib_type] != 'sql'){
25 <title>User Groups</title>
26 <meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
27 <link rel="stylesheet" href="style.css">
31 <b>This page is only available if you are using sql as general library type</b>
39 <title>User Groups</title>
40 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>">
41 <link rel="stylesheet" href="style.css">
45 <table border=0 width=550 cellpadding=0 cellspacing=0>
47 <td align=center><img src="images/title2.gif"></td>
52 <table border=0 width=540 cellpadding=1 cellspacing=1>
55 <td bgcolor="black" width=45%>
56 <table border=0 width=100% cellpadding=2 cellspacing=0>
57 <tr bgcolor="#907030" align=right valign=top><th>
58 <font color="white">User Groups</font>
62 <tr bgcolor="black" valign=top><td colspan=2>
63 <table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
65 <font size=-2>Only groups with members are shown</font><p>
66 <table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
67 <tr bgcolor="#d0ddb0">
68 <th>#</th><th>group</th><th># of members</th>
74 include_once("../lib/$config[general_lib_type]/group_info.php3");
75 if (isset($existing_groups)){
76 foreach ($existing_groups as $group => $num_members){
78 $Group = urlencode($group);
82 <td><a href="group_admin.php3?login=$Group" title="Edit group $group">$group</a></td>
89 echo "<b>Could not find any groups</b><br>\n";