// Initialize session data session_start(); // Don't allow guests if( empty($_SESSION['id']) ) { header( 'Location: index.php' ); exit(); } ?>
| Home | Register | Guide | Forgot Pass? | Contact Us | About Us |
|---|
| include ("config.php"); include_once("class_db_mysql.php"); $db->query( 'SELECT COUNT(user_id) AS c FROM users WHERE commander="'.$_SESSION['user_id'].'" AND state="'.STATE_ACTIVE.'" AND rank>0' ); $row = $db->fetch(); $db->free(); $b = $result['username']; ?> Player Information | Stats |
| Username:= $b; ?> |
| © 2007-2008 Lord Warriors |