forked from devryan/GamePanelX-V3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.php
26 lines (24 loc) · 995 Bytes
/
default.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
// Check logged-in
error_reporting(E_ERROR);
session_start();
if(!isset($_SESSION['gpx_userid'])) die('Please login');
// Setup database
require(DOCROOT.'/includes/classes/core.php');
$Core = new Core;
$Core->dbconnect();
?>
<div id="homeic_boxes_client">
<div class="homeic_box_client" onClick="javascript:mainpage('servers','g');">
<img src="images/icons/medium/servers.png" /><?php echo $lang['game_servers']; ?>
</div>
<div class="homeic_box_client" onClick="javascript:mainpage('servers','v');">
<img src="images/icons/medium/servers.png" /><?php echo $lang['voice_servers']; ?>
</div>
<div class="homeic_box_client" onClick="javascript:mainpage('settings','');">
<img src="images/icons/medium/edit.png" /><?php echo $lang['settings']; ?>
</div>
<div class="homeic_box_client" onClick="javascript:window.location='logout.php';">
<img src="images/icons/medium/logout.png" /><?php echo $lang['logout']; ?>
</div>
</div>