<?php get_header(); ?>
<!--START LEFT SIDE-->
<div id="feature" class="column span-15 colborder">
<!--BEGIN FEATURED POST-->
 <?php query_posts('name=home'); ?>
    <?php while (have_posts()) : the_post(); ?>
	<div id="maincontent" class="column span-15 colborder first">
		<div class="contentHome">
			<div class="category-page-header">
				<div id="p2c-header">
					<?php the_content(); ?>
				</div>
			</div>
		</div>
	</div>
    <?php endwhile; ?>
</div>
<!--END FEATURED POST-->
<!-- BEGIN THREE AT RIGHT -->
<div class="column span-7 last">
<div id="home_right">

<!-- RESEARCH BOX
	<div class="box">
		<div>
			<h6>Recherche</h6>
			<?php getSearch(); ?>
		</div>
		<div class="cleaner"></div>		
	</div> 
-->
	
<!-- ACTU BOX -->
	<div>
		<h3><?php _e("Prochains &eacute;v&egrave;nements"); ?></h3>
		<?php ec3_get_events_home(1); ?>
		
		<!-- -->
		 <?php /*query_posts('cat=16&posts_per_page=2'); ?>
			<ul>
			<?php while (have_posts()) : the_post(); ?>
					<li>
						<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>" class="title" target="_blank"><?php the_title(); ?></a>
					</li>
			<?php endwhile; */?>
		<!--</ul>-->
	
	</div>
	<hr></hr>
	
<!-- AGENDA  BOX -->
	<h3><?php _e("Agenda "); ?>
	<?
	  // iCalendar link.
		$webcal = get_option('home') . "/?ec3_ical";
	  // Macintosh always understands webcal:// protocol.
	  // It's hard to guess on other platforms, so stick to http://
	  if(strstr($_SERVER['HTTP_USER_AGENT'],'Mac OS X'))
		  $webcal = preg_replace('/^http:/','webcal:',$webcal);
	  echo "\t    <a id='ec3_publish' href='$webcal'"
		 . " title='Cliquer ici pour vous abonner au Icalendar de l&quot;Institut de recherche et d&quot;innovation.'>\n"
		 . "\t     <img src='".get_option('home')."/wp-content/plugins/event-calendar/publish.gif' alt='iCalendar' />\n"
		 . "\t    </a>\n";
	?>

	</h3>
	<?php  ec3_get_calendar();  ?>
	

<!--END OF THIS AREA -->

<!-- SOCIAL AREA --> 
		<div id="social">
		<?php _e("R&eacute;seaux sociaux"); ?> &nbsp;
		<ul class="addtoany_list">
		<li><a target="_blank" rel="nofollow" href="http://twitter.com/IRILive" title="Cliquez ici pour acc&eacute;der au compte Twitter de l Institut de recherche et d innovation (IRI) "><img width="16" height="16" alt="Twitter" src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/twitter.png"/></a> </li>
		<li><a target="_blank" rel="nofollow" href="http://www.facebook.com/home.php?#/pages/Institut-de-recherche-et-dinnovation-IRI/259317533466" title="Cliquez ici pour souscrire a la page Facebook de l Institut de recherche et d innovation (IRI) "><img width="16" height="16" alt="Facebook" src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/facebook.png"/></a></li>
		<li><a target="_blank" rel="nofollow" href="http://delicious.com/iri_institute" title="Cliquez ici pour acc&eacute;der au compte Delicious de l Institut de recherche et d innovation (IRI) "><img width="16" height="16" alt="Delicous" src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/delicious.png"/></a></li>
		<li><a target="_blank" rel="nofollow" href="http://www.flickr.com/photos/iri_institute/" title="Cliquez ici pour acc&eacute;der au compte flick R de l Institut de recherche et d innovation (IRI) "><img width="16" height="16" alt="FlickR" src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/flickr.gif"/></a></li>
	</div>
<!--END OF THIS AREA -->	
	</div>
</div>
<hr></hr>

<?php get_sidebar(); ?>
<?php get_footer(); ?>