<?PHP
#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|
#|                                                                        #|
#|         JabboCMS - Website and Content Management System               #|
#|         Copyright © 2011 Jor.dan. All rights reserved.                 #|
#|																		  #|
#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|

	include("../global.php");
	$pagename = "Administration";
	
	if(!session_is_registered(username))
	{
		Redirect("".$url."/index.php");
		exit();
	}
	
	if($user['rank'] < 4) {
	Redirect("".$url."/index.php");
	exit();
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link href="./template/style.css" rel="stylesheet" type="text/css">
<title><?PHP echo $sitename; ?>: <?PHP echo $pagename; ?></title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>

<body>
<div id="housekeeping" style="position:absolute; left:200px; top:67px; width:723px; height:725px; z-index:1">
    <tbody>
        <script type="text/javascript">
            //<![CDATA[
            window.onload = function() {
                var f = document.getElementById("main");
                function resize() {
                    var h = "";
                    var w = "";
                    if (f.contentDocument) {
                        h = f.contentDocument.documentElement.offsetHeight + 2 s for the width. OffetWidth doesn't work right either.(f.contentDocument.documentElement,"").getPropertyValue("width");
                    } else if (f.contentWindow) {
                        h = f.contentWindow.document.body.scrollHeight + 500+ "px";
                    } else {
                        return;
                    }
                    f.setAttribute("height",h);
                    f.parentNode.setAttribute("height",h);
                }
                if (window.addEventListener) {
                    f.onload = resize;
                } else if (f.attachEvent) {
                    f.attachEvent("onload", resize);
                } else {
                    return;
                }
                resize();
            }
            //]]>
                    </script><iframe src="client.php" height="1232" width="723" frameborder="0" name="main" id="main"></iframe></td>
      
     </tr>
    </tbody>
  </table>
</div>


<table bgcolor="#000000" width="936">
  <tbody>
    <tr>
    </span></td>

    </tr>
    <tr>
     Connecté sous: <b><?PHP echo $user['username']; ?></b> - <a href="<?PHP echo $url; ?>/logout.php">Déconnexion</a> - <a href="<?PHP echo $url; ?>/me.php" target="_blank">Retour au Site</a>

  <br><br><!--<img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001A.PNG" border="0" /><a href="<?PHP echo $url; ?>/administration/status.php"><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0002A.PNG" border="0" /></a><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" border="0" /><a href="<?PHP echo $url; ?>/administration/statistics.php"><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0003A.PNG" border="0" /></a>--><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" border="0" /><a href="<?PHP echo $url; ?>/administration/"><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0004B.PNG" border="0" /></a><!--<img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" /><a href="<?PHP echo $url; ?>/administration/campaign.php"><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0007A.PNG" border="0" /></a><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" border="0" /><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" border="0" /><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" border="0" /><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" border="0" /><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" border="0" /><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" border="0" /><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" border="0" />--><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" border="0" /><img src="<?PHP echo $imagepath; ?>housekeeping_buttons/0001B.PNG" border="0" />
<table bgcolor="#0066CC" width="187">
  <tbody>
    <tr>
      
  </tbody>
</table>

<tr>      
        </p></td>

    </tr>
  </tbody>
</table>

    <tr>
 

              <tr>
                <td bgcolor="#0066CD">&nbsp;</td>
            </tr>
            </tbody>
        </table>
      </div></td>
    </tr>

  </tbody>

</table>

<table bgcolor="#000000" width="187">
  <tbody>
    <tr>
      <td width="175" bgcolor="#0066CD"><span class="WHITE">Modification Général</span></td>

    </tr>
    <tr>
      <td bgcolor="#ffffff">
	- <a href="client.php" target="main">Configuration du client</a><br>
	- <a href="createhelp.php" target="main">Créer une Question</a><br>
	- <a href="deletehelp.php" target="main">Effacer une Question</a><br>
	- <a href="createarticle.php" target="main">Créer un article</a><br>
	- <a href="deletearticle.php" target="main">Effacer un article</a><br>
	- <a href="une.php" target="main">Créer un évènement à la une</a><br>
	- <a href="deleteune.php" target="main">Effacer un évènement à la une</a><br>
	- <a href="voucher.php" target="main">Créer des codes crédits</a><br>
	- <a href="jetons.php" target="main">Créer des codes jetons</a><br>
       <p>
        </p></td>
    </tr>
  </tbody>
</table><br>

<table bgcolor="#000000" width="187">
  <tbody>
    <tr>
      <td width="175" bgcolor="#0066CD"><span class="WHITE">Modération</span></td>

    </tr>
    <tr>
      <td bgcolor="#ffffff">
	- <a href="<?PHP echo $url; ?>/administration/ban.php" target="main">Bannir des utilisateurs</a><br>
	- <a href="<?PHP echo $url; ?>/administration/deban.php" target="main">Débannir des utilisateurs</a><br>
	- <a href="<?PHP echo $url; ?>/administration/disabled.php" target="main">D&eacute;sactiver des comptes</a><br>
	- <a href="<?PHP echo $url; ?>/administration/enabled.php" target="main">Re-activer des comptes</a><br>
       <p>
        </p></td>
    </tr>
  </tbody>
</table><br>

<table bgcolor="#000000" width="187">
  <tbody>
    <tr>
      <td width="175" bgcolor="#0066CD"><span class="WHITE">Sytème</span></td>

    </tr>
    <tr>
      <td bgcolor="#ffffff">
	- <a href="u1" target="main"></a><br>
	- <a href="u2" target="main"></a><br>
       <p>
        </p></td>
    </tr>
  </tbody>
</table><br>

<table bgcolor="#000000" width="187">
  <tbody>
    <tr>
      <td width="175" bgcolor="#0066CD"><span class="WHITE">Les logs</span></td>

    </tr>
    <tr>
      <td bgcolor="#ffffff">
	- <a href="logs.php" target="main">Les logs des Staff</a><br>
       <p>
        </p></td>
    </tr>
  </tbody>
</table><br>

<table bgcolor="#000000" width="187">
  <tbody>
    <tr>
      <td width="175" bgcolor="#0066CD"><span class="WHITE">Apparts Privé</span></td>

    </tr>
    <tr>
      <td bgcolor="#ffffff">
	- <a href="d1" target="main">Modifier un apparts privé</a><br>
       <p>
        </p></td>
    </tr>
  </tbody>
</table><br>

<table bgcolor="#000000" width="187">
  <tbody>
    <tr>
      <td width="175" bgcolor="#0066CD"><span class="WHITE">-</span></td>

    </tr>
    <tr>
      <td bgcolor="#ffffff">
	- <a href="f1" target="main"></a><br>
       <p>
        </p></td>
    </tr>
  </tbody>
</table><br>

<table bgcolor="#000000" cellpadding="1" cellspacing="1" width="187">
  <tbody>
    <tr>
    
      <td bgcolor="#ffffff"><p>
	<font color="#8D8D8D"><b>Local time:</b> <br>.<br><br>


<b>Server time:</b>.. GMT-0700 (MST)</font>
        <p>
        </p></td>

    </tr>
  </tbody>

      </p></td>
    </tr>
  </tbody>
</table>
<p>
</p>
<p>&nbsp;</p>
</body>
</html>