uawdijnntqw1x1x1
IP : 216.73.216.237
Hostname : webd009.cluster130.gra.hosting.ovh.net
Kernel : Linux webd009.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pressec
/
www
/
..
/
www
/
presselib
/
wp-content
/
themes
/
monjournal
/
accueil.php
/
/
<?php /* Template Name: accueil */ get_header(); /*$today = getdate(); if(date('N')==7) { $veille=time()-(60*60*24); $today["mday"]=date('j',$veille); } query_posts($query_string . '&cat=-2,-3,-4,-5,-6'.'&posts_per_page=20'.'&year='.$today["year"].'&monthnum='.$today["mon"].'&day='.$today["mday"]);*/ query_posts($query_string . '&cat=395'.'&posts_per_page=-1'); ?> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <?php /* The loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php if(is_sticky()) : ?> <article id="post-<?php the_ID(); ?>" <?php post_class('sticky'); ?> style="padding-bottom:0; background-color: #2a2a2a"> <header class="entry-header"> <div class="entry-container accueil"> <?php $terms = get_the_terms($post->ID, "surtitre"); /*$term_link = get_term_link( $post->ID, "surtitre" );*/ if($terms && !is_wp_error($terms)){ foreach($terms as $term){ $surtitre = $term->name; $term_link = get_term_link($term,"surtitre"); break; } } ?> <?php if(esc_attr($surtitre)) : ?> <h2 class="entry-sur-title"><a href="<?php echo $term_link; ?>"><?php echo esc_attr($surtitre); ?></a></h2> <?php endif; ?> <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?> <div class="entry-thumbnail accueil"> <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('large'); ?></a> </div> <?php endif; ?> <h1 class="entry-title accueil"> <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a> </h1> <!-- <div class="entry-meta"> <?php twentythirteen_entry_meta(); ?>. <?php twentythirteen_entry_meta_bottom(); ?> <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> </div>.entry-meta --> </div> </header><!-- .entry-header --> <div class="sticker entry-content"> <?php $parts = simtic_explode_excerpt($post); ?> <?php if($parts["excerpt"]) : ?> <div class="chapo"><?php echo $parts["excerpt"]; ?></div> <div id="suite"><a href="#">Cliquez ici pour plus d'infos...</a></div> <div class="contenu"><?php echo $parts["main"]; ?></div> <?php else : ?> <div class="chapo"><?php echo $parts["main"]; ?></div> <?php endif; ?> </div> <div class="social"> <a class="fb-share" href="https://www.facebook.com/sharer/sharer.php?u=<?php the_permalink(); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/logo-fb.png" title="Partagez sur FaceBook" /></a> <a class="tt-share" href="https://twitter.com/share?url=<?php the_permalink(); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/logo-tt.png" title="Partagez sur Twitter" /></a> <a class="gg-share" href="https://plus.google.com/share?url=<?php the_permalink(); ?>" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img src="https://www.gstatic.com/images/icons/gplus-32.png" alt="Partagez sur Google+"/></a> <p>Partagez cet article</p> </div> <div class="clearer"><!-- --></div> </article><!-- #post --> <?php else : ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?> style="padding-bottom:0; background-color: #e5e1df"> <header class="entry-header"> <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?> <div class="entry-thumbnail"> <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('thumbnail'); ?></a> </div> <?php endif; ?> <div class="entry-container"> <?php $terms = get_the_terms($post->ID, "surtitre"); /*$term_link = get_term_link( $post->ID, "surtitre" );*/ if($terms && !is_wp_error($terms)){ foreach($terms as $term){ $surtitre = $term->name; $term_link = get_term_link($term,"surtitre"); break; } } ?> <?php if(esc_attr($surtitre)) : ?> <h2 class="entry-sur-title"><a href="<?php echo $term_link; ?>"><?php echo esc_attr($surtitre); ?></a></h2> <?php endif; ?> <h1 class="entry-title accueil"> <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a> </h1> <!-- <div class="entry-meta"> <?php twentythirteen_entry_meta(); ?>. <?php twentythirteen_entry_meta_bottom(); ?> <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> </div>.entry-meta --> </div> </header><!-- .entry-header --> <div class="clearer"><!-- --></div> </article><!-- #post --> <?php endif; ?> <?php endwhile; ?> </div><!-- #content --> <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">'. '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?> </div><!-- #primary --> <?php wp_reset_query(); ?> <?php //get_sidebar( 'main' ); ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
/home/pressec/www/../www/presselib/wp-content/themes/monjournal/accueil.php