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

	include("./global.php");
	$pagename = "Communaut&eacute;";
	$pageid = "communaute";
	
if(!session_is_registered(username))
	{
		Redirect("".$url."/index.php");
	}
?>
<!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" />
<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="home" class=" "> 
<div id="overlay"></div> 
<!-- MENU -->
<?PHP include("./template/header.php"); ?>
<!-- FIN MENU -->
<div id="container"> 

	<div id="content" style="position: relative" class="clearfix"> 

    <div id="column1" class="column"> 

		     		

				<div class="habblet-container ">		

						<div class="cbb clearfix default "> 

	

							<h2 class="title">Page Facebook Officiel

							</h2> 

						

<div class="box-content"> 
<script src="http://connect.facebook.net/fr_FR/all.js#xfbml=1"></script><fb:like-box href="http://www.facebook.com/pages/Jabbo-Hotel/162326453816890?ref=ts" width="420" show_faces="true" stream="false" header="true"></fb:like-box>
</div> 

	

						

					</div> 

				</div> 

				<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> 

			 

 

</div>
<div id="column2" class="column"><div class="habblet-container news-promo">		
				
				
	<div class="cbb clearfix notitle "> 				
		<div id="newspromo"> 
		
        <div id="topstories"> 
		<?PHP
	$sql = mysql_query("SELECT * FROM site_news ORDER BY id DESC LIMIT 0,3");
	while($news = mysql_fetch_array($sql)) { ?>
		<div class="topstory" style="background-image: url(<?PHP echo $news['topstory_image']; ?>); display: block;"> 
	            <h4>DERNI&Egrave;RES INFOS</h4> 
	            <h3><a href="articles.php?id=<?PHP echo $news['id']; ?>"><?PHP echo $news['title']; ?></a></h3> 
	            <p class="summary"> 
	            <?PHP echo $news['snippet']; ?>
	            </p>
	            
	            <p> 
	                <a href="articles.php?id=<?PHP echo $news['id']; ?>">En savoir plus &raquo;</a> 
	            </p> 
	        </div><?PHP } ?><div id="topstories-nav" style="display: none"><a href="#" class="prev">&laquo; Pr&eacute;c&eacute;dent</a><span>1</span> / 3<a href="#" class="next">Suivant &raquo;</a></div>		
		</div>

		
        <ul class="widelist">
			<?PHP
			$i = 1;
$sql = mysql_query("SELECT * FROM site_news ORDER BY id DESC LIMIT 3,2");
while($news = mysql_fetch_array($sql)) { 
	$i++;
	if(IsEven($i)) {
	$oddeven = "even";
	} else {
	$oddeven = "odd";
	}?>
<li class="<?PHP echo $oddeven; ?>">
                <a href="articles.php?id=<?PHP echo $news['id']; ?>"><?PHP echo $news['title']; ?></a><br><div class="newsitem-date"><?PHP echo $news['snippet']; ?></div>
				</li>
<?PHP } ?>
            <li class="last"><a href="/articles">Plus d'infos &raquo;</a></li>            
        </ul>

</div> 

<script type="text/javascript"> 
	document.observe("dom:loaded", function() { NewsPromo.init(); });
</script> 
	
						
					</div> </div>
				</div> 
				<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> 
<!--[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> 
	


