<?php
/*
Thème     : Storka
Date      : Avril 2012
NK        : 1.7.9 et SP 4.6
Créateur  : Homax

Valid xHTML 1.0 strict

*/
defined("INDEX_CHECK") or die ("<div style=\"text-align: center;\">Accès interdit</div>");

function top()
{
global $nuked, $user, $page;

include(dirname(__FILE__) . '/admin/preferences.php');
?>							 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
    <head>
    <meta name="keywords" content="<?php echo $nuked['keyword'] ?>" />
    <meta name="Description" content="<?php echo $nuked['description'] ?>" />
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	<meta http-equiv="content-style-type" content="text/css" />
	<title><?php echo $nuked['name'] ?> - <?php echo $nuked['slogan'] ?></title>
	<!-- Favicon -->
	<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
	<!-- Rss -->
    <link rel="alternate" title="<?php echo $GLOBALS['nuked']['name']; ?> : Les 20 derniéres news" href="<?php echo rtrim( $GLOBALS['nuked']['url'], '/' ); ?>/rss/news_rss.php" type="application/rss+xml" />
	<link rel="alternate" title="<?php echo $GLOBALS['nuked']['name']; ?> : Les 20 derniers articles" href="<?php echo rtrim( $GLOBALS['nuked']['url'], '/' ); ?>/rss/sections_rss.php" type="application/rss+xml" />
	<link rel="alternate" title="<?php echo $GLOBALS['nuked']['name']; ?> : Les 20 derniers téléchargements" href="<?php echo rtrim( $GLOBALS['nuked']['url'], '/' ); ?>/rss/download_rss.php" type="application/rss+xml" />
	<link rel="alternate" title="<?php echo $GLOBALS['nuked']['name']; ?> : Les 20 derniers liens" href="<?php echo rtrim( $GLOBALS['nuked']['url'], '/' ); ?>/rss/links_rss.php" type="application/rss+xml" />
	<link rel="alternate" title="<?php echo $GLOBALS['nuked']['name']; ?> : Les 20 derniéres images" href="<?php echo rtrim( $GLOBALS['nuked']['url'], '/' ); ?>/rss/gallery_rss.php" type="application/rss+xml" />
	<link rel="alternate" title="<?php echo $GLOBALS['nuked']['name']; ?> : Les 20 derniers sujets" href="<?php echo rtrim( $GLOBALS['nuked']['url'], '/' ); ?>/rss/forum_rss.php" type="application/rss+xml" />
	<!-- Css -->	
	<link title="css" rel="stylesheet" type="text/css" href="themes/Storka/css/main.css" media="screen" />
	<!-- Chargement des scripts -->
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>		
	<script type="text/javascript" src="themes/Storka/js/menu.js"></script>
    <script type="text/javascript" src="themes/Storka/js/slides.min.jquery.js"></script>
	<script type="text/javascript" src="themes/Storka/js/slides.jquery.js"></script>

    </head>
    <body>
       <div id="page">   
		 <div id="header">
		 <div id="header-wrapper">
		 <div class="user">
		 <a href="index.php?file=User"><img src="themes/Storka/images/account.png" width="40" height="31" title="Mon Compte" alt="" /></a>
		 <?php if ($user[1] >= 2) { ?>
		 <a href="index.php?file=Admin"><img src="themes/Storka/images/admin.png" width="40" height="31" title="Administration" alt="" /></a><?php } ?></div>
		 <h2><?php echo $nuked['name']; ?></h2>
         <h3><?php echo $nuked['slogan']; ?></h3>
	    </div>
	   </div>
				
				<div id="menu"><?php include('themes/Storka/blocks/menu.php'); ?></div>
			    <div id="sub"><p><?php echo $topmess; ?></p></div>
				
				<?php if ($_REQUEST['file'] == $nuked['index_site']) { ?>
				<div id="slider"><?php include('themes/Storka/blocks/slider.php'); ?></div><?php } ?>
		
		<div id="content">			
	     <div id="content-wrapper">
       <div id="center">	   
	
<?php 
				
get_blok('centre');

}
function news($data)
{
        $comment = $data['nb_comment'];
		$plus   = $data['id'];
?>
                         <div class="news-block">
						   <h3 class="title-n"><?php echo $data['titre']; ?></h3>
                           <div class="cat-pics"><?php echo $data['image']; ?></div>
                           <div class="news-content"><?php echo $data['texte']; ?></div>
						   <div class="info">
						   <p>Le&nbsp;<?php echo $data['date']; ?></p> / <p>Catégorie:&nbsp;<span><?php echo $data['cat']; ?></span></p> / <p>Commentaires&nbsp;<a href="index.php?file=News&amp;op=index_comment&amp;news_id=<?php echo $data['id']; ?>">( <span><?php echo $data['nb_comment']; ?></span> )</a></p></div>
						   <div class="news-bottom"></div>
						 </div> 
<?php
}
function block_centre($block)
{
?>
                        <div class="block-nk">
                           <h2 class="title-nk"><?php echo $block['titre']; ?></h2>
                           <div class="content-block"><?php echo $block['content']; ?></div>
						</div>

<?php
}					
function block_bas($block)
{
?>
                        <div class="block-nk">
                           <h2 class="title-nk"><?php echo $block['titre']; ?></h2>
                           <div class="content-block"><?php echo $block['content']; ?></div>
						</div>


<?php
}
function block_gauche($block) 
{}
function block_droite($block)
{
?>
                    <h2 class="title">
					    <?php echo $block['titre']; ?></h2>
                    <div class="contentR">
					    <?php echo $block['content']; ?></div>				

<?php 
}
function footer()
{
global $nuked, $file, $page;
include(dirname(__FILE__) . '/admin/preferences.php');
include(dirname(__FILE__) . '/admin/social.php'); 
?>
<?php get_blok('bas'); ?>
</div>	
				<div id="unique_right">
				       	<div id="right">
						     <?php include('themes/Storka/blocks/blocks.php'); ?></div>
				       </div>
					  </div>
					 </div>	 		 
             <div id="footer">
			   <div id="footer-wrapper">
			   
				  <div class="footer-pos">
				           <?php include('themes/Storka/blocks/fast_menu.php'); ?>
				  
				    <div class="about">
					       <?php include('themes/Storka/blocks/about.php'); ?></div>
				  
                      <div class="t-copy"><p>Design &amp; developpement <span>Homax</span> - &copy; 2012 <?php echo $nuked['name'] ?>&nbsp;- Tous droits réservés. - <a href="#top">Top</a></p></div>
  
		   <div class="powered"><a href="http://www.nuked-klan.org" onclick="window.open(this.href); return false;"><img src="themes/Storka/images/nk-powered.jpg" width="63" height="37" title="Propulsé par Nuked-Klan" alt="nk" /></a></div></div>
		 </div>
        </div>
       </div>
  </body>  
</html>
<?php
die();
}
function opentable() {}
function closetable() {}
?>