Location: PHPKode > projects > Game Panel X > GamePanelX/Main.php
<?php
/*

GamePanelX

Description:  Main page for standard users

Author:       Ryan D. Gehrig
License:      GNU General Public License (GPL)

*/
include_once('include/config.php'); 
include_once('include/auth.php');
include_once('include/statusInfo.php');
include_once('include/SqlCon.php');
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/<?php echo $config['theme']; ?>/main.css">
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW, NOARCHIVE, NOSNIPPET">
</head>

<body leftmargin="0px" topmargin="0px" marginwidth="0px" marginheight="0px" onLoad="init()">

<div id="loading" style="position:absolute; top:60px; left:5px; overflow: hidden;"><img src="images/loading.gif" border="0"></div>
<script src="include/loading.js"></script>

<div align="center">
<font face="verdana">
<br />
<?php
// Get user's first name for greeting
$query="SELECT first_name FROM users WHERE username='$GPXuserName'";
sqlCon($query);
$first_name = $row['first_name'];

if(!empty($first_name))
{
    echo 'Hello, <b>' . $first_name . '</b>!';
}
else
{
    echo 'Hello, <b>' . $GPXuserName . '</b>!';
}

?>
<br />
Welcome to the GamePanelX Control Panel
</font>
</div>

<br><br>

<table border="0" width="300" cellpadding="2" cellspacing="2" align="center">
  <tr align="center">
    <td width="20" align="center"><a href="ServerManager.php?type=game" target="_self" style="color:black"><img src="images/main/supported_games.png" border="0"></a></td>
    <td width="20" align="center"><a href="ServerManager.php?type=voip" target="_self" style="color:black"><img src="images/main/supported_voip.png" border="0"></a></td>
  </tr>
  <tr align="center">
    <td width="20" align="center"><a href="ServerManager.php?type=game" target="_self" style="color:black"><b>Game Servers</b></a></td>
    <td width="20" align="center"><a href="ServerManager.php?type=voip" target="_self" style="color:black"><b>Voip Servers</b></a></td>
  </tr>
</table>

<br />

<table border="0" width="500" cellpadding="2" cellspacing="2" align="center">
  <tr align="center">
    <td width="20" align="center"><a href="MyInfo.php" target="_self" style="color:black"><img src="images/main/my-info.png" border="0"></a></td>
    <td width="20" align="center"><a href="Settings.php" target="_self" style="color:black"><img src="images/main/settings.png" border="0"></a></td>
    <td width="20" align="center"><a href="About.php" target="_self" style="color:black"><img src="images/main/about-64.png" border="0"></a></td>
  </tr>
  <tr align="center">
    <td width="20" align="center"><a href="MyInfo.php" target="_self" style="color:black"><b>My Information</b></a></td>
    <td width="20" align="center"><a href="Settings.php" target="_self" style="color:black"><b>Settings</b></a></td>
    <td width="20" align="center"><a href="About.php" target="_self" style="color:black"><b>About GamePanelX</b></a></td>
  </tr>
</table>

</body>
</html>
Return current item: Game Panel X