* When checking the weekly limit check first that $remaining is numeric before doing any comparisons
* Add a usage_summary parameter in user_finger. If it is passed then we only output a text like:
"Online: <num> Free: <num>" which can be used in outside pages
+* Use $config[sql_usergroup_table] in show_groups.php3
Ver 1.62:
* Remove one sql query from user_admin which was not needed.
* Instead of a query like "LIKE 'YYYY-MM-DD%'" use "AcctStopTime >= 'YYYY-MM-DD 00:00:00 AND AcctStopTime
$link = @da_sql_pconnect($config);
if ($link){
$search = @da_sql_query($link,$config,
- "SELECT COUNT(*),GroupName FROM usergroup GROUP BY GroupName;");
+ "SELECT COUNT(*),GroupName FROM $config[sql_usergroup_table] GROUP BY GroupName;");
if ($search){
if (@da_sql_num_rows($search,$config)){
while( $row = @da_sql_fetch_array($search,$config) ){