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

	include("./global.php");
	$pagename = "Question Fr&eacute;quente";
	$pageid = "help";
	
if(!session_is_registered(username))
	{
		Redirect("".$url."/index.php");
	}
	
	$id = Securise($_GET['id']);
?>
<!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="fr" lang="fr">
<head> 
<meta http-equiv="content-type" content="text/html; charset=ISO 5589-1" /> 
<title><?PHP echo $sitename; ?>: <?PHP echo $pagename; ?></title> 
 
<script type="text/javascript"> 
var andSoItBegins = (new Date()).getTime();
var ad_keywords = "";
document.habboLoggedIn = true;
var habboName = "<?PHP echo $user['username']; ?>";
var habboReqPath = "<?PHP echo $url; ?>";
var habboStaticFilePath = "<?PHP echo $imagepath; ?>";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?PHP echo $url; ?>/client";
window.name = "habboMain";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "uberClientWnd"; }
</script> 



<link rel="shortcut icon" href="<?PHP echo $imagepath; ?>favicon.ico" type="image/vnd.microsoft.icon" /> 
<script src="<?PHP echo $imagepath; ?>static/js/libs2.js" type="text/javascript"></script>
<script src="<?PHP echo $imagepath; ?>static/js/visual.js" type="text/javascript"></script>
<script src="<?PHP echo $imagepath; ?>static/js/libs.js" type="text/javascript"></script>
<script src="<?PHP echo $imagepath; ?>static/js/common.js" type="text/javascript"></script>

<script src="<?PHP echo $imagepath; ?>static/js/fullcontent.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/style.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/tooltips.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/personal.css" type="text/css" />
<script src="<?PHP echo $imagepath; ?>static/js/habboclub.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/minimail.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/myhabbo/control.textarea.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/newcredits.css" type="text/css" />
<script src="<?PHP echo $imagepath; ?>static/js/minimail.js" type="text/javascript"></script>

 

<meta name="description" content="<?PHP echo $description; ?>" /> 
<meta name="keywords" content="<?PHP echo $keyword; ?>" />  
<!--[if IE 8]>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/ie8.css" type="text/css" />
<![endif]--> 
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/ie.css" type="text/css" />
<![endif]--> 
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/ie6.css" type="text/css" />
<script src="<?PHP echo $imagepath; ?>static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
 
<style type="text/css">
body { behavior: url(http://www.habbo.com/js/csshover.htc); }
</style>
<![endif]--> 
<meta name="build" content="<?PHP echo $build; ?> >> <?PHP echo $version; ?>" /> 
</head>


	 <body id="faq" class="plain-template">

<script src="<?PHP echo $imagepath; ?>static/js/faq.js" type="text/javascript"></script>

<div id="faq" class="clearfix">

<div id="faq-header" class="clearfix"><img src="<?PHP echo $imagepath; ?>v2/images/faq/faq_header.png" /><form method="post" action="" class="search-box"><input type="text" id="faq-search" name="query" class="search-box-query search-box-onfocus" size="50" value="Rechercher......."/><input type="submit" value="" title="Rechercher...." class="search" /></form></div>

<div id="faq-container" class="clearfix">

<div id="faq-category-list">

<ul class="faq">
<?PHP
$sql = mysql_query("SELECT * FROM cms_help ORDER BY id DESC LIMIT 0,30");
	while($a = mysql_fetch_array($sql)) {
	echo '
<li><a href="'.$url.'/help.php?id='.$a['id'].'" name=""><span class="faq-link">'.utf8_decode($a['sujet']).'</span></a></li>
';
	}
?>
</ul>

</div>

<div id="faq-category-content" class="clearfix" >
<?PHP
if(isset($id)) {
	if(is_numeric($id)) {
	$sql = mysql_query("SELECT * FROM cms_help WHERE id = '".$id."'");
	$row = mysql_num_rows($sql);
	$h = mysql_fetch_assoc($sql);
	if($row > 0) {
	?>
<p class="faq-category-description"></p>

<h4 id="faq-item-header-2" class="faq-item-header faq-toggle "><span class="faq-toggle selected" id="faq-header-text-2"><?PHP echo utf8_decode($h['question']); ?></span></h4>

	<div id="faq-item-content-2" class="faq-item-content clearfix">
Par: <?PHP echo utf8_decode($h['auteur']); ?> le: <?PHP echo utf8_decode($h['date']); ?>
	    <div class="faq-item-content clearfix"><?PHP echo $h['article']; ?></div>

	<div class="faq-close-container">

	<div id="faq-close-button-2" class="faq-close-button clearfix faq-toggle" style="display:none">Fermer les FAQs <img id="faq-close-image-2" class="faq-toggle" src="http://habbnight.free-h.fr/web-gallery/v2/images/faq/close_btn.png"/></div>

	</div>
<?PHP } else {?>
<p class="faq-category-description"></p>

<h4 id="faq-item-header-2" class="faq-item-header faq-toggle "><span class="faq-toggle selected" id="faq-header-text-2">La question n'existe pas.</span></h4>

	<div id="faq-item-content-2" class="faq-item-content clearfix">
Par: ---- le: 00-00-00
	    <div class="faq-item-content clearfix">La question est introuvable! Selectionne une question dans la liste qui ce trouve à gauche.<br><br>-<b>Cosmik, Hotel Owner.</div>

	<div class="faq-close-container">

	<div id="faq-close-button-2" class="faq-close-button clearfix faq-toggle" style="display:none">Fermer les FAQs <img id="faq-close-image-2" class="faq-toggle" src="<?PHP echo $imagepath; ?>v2/images/faq/close_btn.png"/></div>

	</div>


 <?PHP } } } ?>
	</div>



	<script type="text/javascript">

	    

	    $("faq-close-button-2").show();

	</script> 
<script type="text/javascript">

    FaqItems.init();

    SearchBoxHelper.init();

</script>

</div>



</div>

</div>



</div>


<!--[if lt IE 7]>
<script type="text/javascript">
Pngfix.doPngImageFix();
</script>
<![endif]--> 
<!-- FOOTER -->
<?PHP include("./template/footer.php"); ?>
<!-- FIN FOOTER -->


<div style="clear: both;"></div>


</div></div></div></div>

 
<script type="text/javascript"> 
HabboView.run();

</script>


</body> 
</html> 


