72ce911f4e5edc8bcae24ef4dd99ee54ffc114cd
[soho-sigint.git] / server / index.php
1 <?php
2 include("config.php");
3 include("includes.php");
4 ?>
5 <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 
7     <head>
8         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9         <title>Wireless Butler</title>
10         <link rel="stylesheet" type="text/css" media="screen" href="styles/styles.css" />
11         <script type="text/javascript" src="js/jquery-2.1.3.js"></script>
12     </head> 
13     <body>
14         <div id="wrapper">
15             <div id="includedHeader" class="clearfix">
16             <?php include("templates/header.php"); ?>
17             </div>
18
19             <div class="wv_content">
20                 <!-- Feeling a little sneaky are we? -->
21                 <?php
22                 $page=$_GET['wtf'];
23                 $pita=$_GET['pita'];
24                 $logout=$_GET['logout'];
25                 echo $wtf;      
26                 if($page=="wirelessnetworks") {
27                   include("wirelessnetworks.soho");
28                 } else if ($page=="clientdevices") {
29                   include("clientdevices.soho");
30                 } else {
31                   include("index.soho");
32                 }
33                 ?>
34             </div>
35             <div id="includedFooter" class="clearfix">
36             <?php include("templates/footer.php"); ?>
37             </div>
38         </div>
39
40     </body>
41 </html>