UC_MODERATOR) { stdhead("Peasants"); begin_main_frame(); // =================================== $res=do_mysql_query("SELECT id,username,email,added FROM users WHERE class='0' ORDER BY id") or print(mysql_error()); //$peasant = number_format(get_row_count("users", "WHERE class='0'")); $peasant = mysql_num_rows($res); begin_frame( _("Peasants")." ($peasant)", true); begin_table(); ?>
// ------------------ end_table(); end_frame(); // =================================== end_main_frame(); stdfoot(); } else { stderr(_("Error"), _("Permission denied!") ); } ?>