1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Adding options to have a minimally loaded class2.php, for use mainly with ajax pages. Move online class to it's own file

This commit is contained in:
mcfly
2008-01-06 22:16:37 +00:00
parent 075cc748b6
commit 625fc0a5ca
4 changed files with 278 additions and 216 deletions

View File

@@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
| $Revision: 1.10 $
| $Date: 2007-05-17 20:14:57 $
| $Author: e107steved $
| $Revision: 1.11 $
| $Date: 2008-01-06 22:16:37 $
| $Author: mcfly_e107 $
+---------------------------------------------------------------+
*/
@@ -58,6 +58,12 @@ $sql->db_Mark_Time('(Header Top)');
// A: Admin Defines and Links
//
require_once(e_ADMIN.'ad_links.php');
if (isset($pref['del_unv']) && $pref['del_unv'] && $pref['user_reg_veri'] != 2)
{
$threshold=(time() - ($pref['del_unv'] * 60));
$sql->db_Delete("user", "user_ban = 2 AND user_join < '{$threshold}' ");
}
//
// B: Send HTTP headers (these come before ANY html)
//