<?php get_header(); ?>
<!--START LEFT SIDE-->
<div id="feature" class="column span-15 colborder">
<!--BEGIN FEATURED POST-->
 <?php 
	$PostHomeId = xilimlSam_other_posts(3);
	query_posts("p=".$PostHomeId);
	?>
    <?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("Next Events",'IriTheme'); ?></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("Calendar",'IriTheme'); ?>
	<?php
	  // 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.','IriTheme').">\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("Networks",'IriTheme'); ?> &nbsp; :
		<ul class="addtoany_list">
		<li><a target="_blank" rel="nofollow" href="http://twitter.com/IRILive" title="<?php __("Click here to access IRI&apos;s Twitter account",'IriTheme')?>"><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="<?php _e("Click here to access IRI&apos;s Facebook account",'IriTheme'); ?>"><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="<?php __("Click here to access IRI&apos;s Delicious account",'IriTheme')?>"><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="<?php __("Click here to access IRI&apos;s FlickR account",'IriTheme')?>"><img width="16" height="16" alt="FlickR" src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/flickr.gif"/></a></li>
		<li><a target="_blank" rel="nofollow" href="http://www.linkedin.com/groups?home=&gid=2718850" title="<?php __("Click here to access IRI&apos;s LinkedIn account",'IriTheme')?>"><img width="16" height="16" alt="FlickR" src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/linkedin.png"/></a></li>
		<ul>
	</div>
<!--END OF THIS AREA -->	
	</div>
</div>
<hr></hr>

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