Show
Ignore:
Timestamp:
02/17/07 15:24:06 (14 years ago)
Author:
exi
Message:

Changed default td width for options to 160px.
Added the appropiate timeframe to the fast contractlisttable.
Events now can also return a reference to a variable containing additional information.
Killlists now return a non formatted isk-value for losses/kills, please report any errors on other pages.
Added a custom user menu, able to be shownon every page.
Added some code for user logins, please ignore it for now.
Added a small battle statistics frame to the battle overview.
To login as admin now just leave user blank and use the admin password.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/class.session.php

    r181 r188  
    11<?php 
    2 require_once('db.php'); 
    32 
    43class Session 
     
    98        { 
    109            session_start(); 
     10            if (isset($_SESSION['user'])) 
     11            { 
     12                user::loggedin(true); 
     13            } 
    1114        } 
    1215    } 
     
    2225    } 
    2326 
    24     function create($super) 
     27    function create($admin = false) 
    2528    { 
    2629        session_start(); 
    27         $_SESSION['admin'] = 1; 
    28         $_SESSION['admin_super'] = $super; 
     30        $_SESSION['admin'] = $admin; 
    2931    } 
    3032