author | hurons@caf4f556-3d62-0410-8435-a86758001935 |
Mon, 01 Feb 2010 09:53:45 +0000 | |
branch | wordpress |
changeset 124 | 5cb854c0ff5a |
parent 123 | 561aa6d282f6 |
child 125 | 6d47ba214f30 |
permissions | -rw-r--r-- |
109 | 1 |
<?php get_header(); ?> |
2 |
<!--START LEFT SIDE--> |
|
3 |
<div id="feature" class="column span-15 colborder"> |
|
4 |
<!--BEGIN FEATURED POST--> |
|
5 |
<?php query_posts('name=home'); ?> |
|
6 |
<?php while (have_posts()) : the_post(); ?> |
|
7 |
<div id="maincontent" class="column span-15 colborder first"> |
|
8 |
<div class="contentHome"> |
|
9 |
<div class="category-page-header"> |
|
10 |
<div id="p2c-header"> |
|
11 |
<?php the_content(); ?> |
|
12 |
</div> |
|
13 |
</div> |
|
14 |
</div> |
|
15 |
</div> |
|
16 |
<?php endwhile; ?> |
|
17 |
</div> |
|
18 |
<!--END FEATURED POST--> |
|
19 |
<!-- BEGIN THREE AT RIGHT --> |
|
20 |
<div class="column span-7 last"> |
|
21 |
<div id="home_right"> |
|
22 |
||
23 |
<!-- RESEARCH BOX |
|
24 |
<div class="box"> |
|
25 |
<div> |
|
26 |
<h6>Recherche</h6> |
|
27 |
<?php getSearch(); ?> |
|
28 |
</div> |
|
29 |
<div class="cleaner"></div> |
|
30 |
</div> |
|
31 |
--> |
|
32 |
|
|
33 |
<!-- ACTU BOX --> |
|
34 |
<div> |
|
123
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
35 |
<h3><?php _e("Prochains évènements"); ?></h3> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
36 |
<?php ec3_get_events_home(1); ?> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
37 |
|
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
38 |
<!-- --> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
39 |
<?php /*query_posts('cat=16&posts_per_page=2'); ?> |
109 | 40 |
<ul> |
41 |
<?php while (have_posts()) : the_post(); ?> |
|
42 |
<li> |
|
123
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
43 |
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>" class="title" target="_blank"><?php the_title(); ?></a> |
109 | 44 |
</li> |
123
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
45 |
<?php endwhile; */?> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
46 |
<!--</ul>--> |
109 | 47 |
|
48 |
</div> |
|
49 |
<hr></hr> |
|
50 |
|
|
51 |
<!-- AGENDA BOX --> |
|
123
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
52 |
<h3><?php _e("Agenda "); ?> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
53 |
<? |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
54 |
// iCalendar link. |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
55 |
$webcal = get_option('home') . "/?ec3_ical"; |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
56 |
// Macintosh always understands webcal:// protocol. |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
57 |
// It's hard to guess on other platforms, so stick to http:// |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
58 |
if(strstr($_SERVER['HTTP_USER_AGENT'],'Mac OS X')) |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
59 |
$webcal = preg_replace('/^http:/','webcal:',$webcal); |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
60 |
echo "\t <a id='ec3_publish' href='$webcal'" |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
61 |
. " title='Cliquer ici pour vous abonner au Icalendar de l"Institut de recherche et d"innovation.'>\n" |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
62 |
. "\t <img src='".get_option('home')."/wp-content/plugins/event-calendar/publish.gif' alt='iCalendar' />\n" |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
63 |
. "\t </a>\n"; |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
64 |
?> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
65 |
|
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
66 |
</h3> |
109 | 67 |
<?php ec3_get_calendar(); ?> |
68 |
|
|
69 |
||
70 |
<!--END OF THIS AREA --> |
|
71 |
||
123
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
72 |
<!-- SOCIAL AREA --> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
73 |
<div id="social"> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
74 |
<?php _e("Réseaux sociaux"); ?> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
75 |
<ul class="addtoany_list"> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
76 |
<li><a target="_blank" rel="nofollow" href="http://twitter.com/IRILive" title="Cliquez ici pour accé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> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
77 |
<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> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
78 |
<li><a target="_blank" rel="nofollow" href="http://delicious.com/iri_institute" title="Cliquez ici pour accé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> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
79 |
<li><a target="_blank" rel="nofollow" href="http://www.flickr.com/photos/iri_institute/" title="Cliquez ici pour accé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> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
80 |
</div> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
81 |
<!--END OF THIS AREA --> |
109 | 82 |
</div> |
83 |
</div> |
|
84 |
<hr></hr> |
|
85 |
||
86 |
<?php get_sidebar(); ?> |
|
87 |
<?php get_footer(); ?> |