1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
| <?php if(!is_tag()) : ?>
<?php if(!is_category() ) : ?>
<?php if(!is_search() ) : ?>
<?php if(!is_author() ) : ?>
<?php if(!is_home() ) : ?>
<div id="sidebar">
<div class="clear"></div>
<?php if ( !is_page() )
{
?>
<?php
}
?>
<?php $orig_post = $post;
$couv = get_post_meta($post->ID, "couv", true);
if($couv != '')
{
?>
<h3 class="infotitle"><?php _e('','Aggregate'); ?></h3>
<img src="<?php echo $couv; ?>" alt="" width="193" height="300" border ="0" style="box-shadow: 10px 10px 10px 10px #cccccc;" /><br />
<br /><br /><div id="lien-site-vente"><h3 TITLE="Commande passée auprès de la Librairie Egrevilloise">Commander ce livre</h3><br />
<?php echo do_shortcode( '[box type="shadow"] [contact-form-7 id="3525" title="Commande livre"][/box]' ); ?></div>
<?php
$rating = get_post_meta($post->ID, 'rating', true);
if($rating != '')
{
?>
<div id="lien-site-vente">
<h3>Lu par le proprio*</h3><br />
<?php $dispatch = explode ("-", $rating);
echo do_shortcode('[box type="shadow"] [xrr rating=' . $dispatch[0] . '/5 group=note label=Trame : ] [xrr rating=' . $dispatch[1] . '/5 group=note label=Style :] [xrr rating=' . $dispatch[2] . '/5 group=note label=Emotion :] [xrr overall=true group=note label=Note Globale :] [/box]');
?>
<h6><font color="#000000">*Cette évaluation n'est que l'avis du proprio. Faites vous le vôtre en lisant le roman.</font></h6></div>
<?php
}
?>
<div id="lien-site-vente">
<br />
<?php
$URL_site_auteur = get_post_meta($orig_post->ID, 'site_auteur', true);
?>
<?php if($URL_site_auteur != '')
{
?>
<HR size="1" width="80%" align="center">
<br />
<h3><a href="<?php echo $URL_site_auteur;?>" target=_blank>SITE DE L'AUTEUR
</a></h3><br />
<?php
}
?>
</div>
<div id="lien-site-vente">
<?php
$URL_fiche_auteur = get_post_meta($orig_post->ID, 'fiche_auteur', true);
echo '<!-- Fiche auteur : '.$orig_post->ID.'/'.$URL_fiche_auteur.'-->';
if ($URL_fiche_auteur)
{
?>
<HR size="1" width="80%" align="center"><br /><h3 class="infotitle"><?php _e('Fiche auteur sur K-libre','Aggregate'); ?></h3>
<br />
<center><a href="<?php echo $URL_fiche_auteur ?>" target="blank">
<img src="http://www.livresque-du-noir.fr/wp-content/uploads/2010/10/k-libre.png" alt="Fiche auteur" title="Fiche auteur" width="99" height="37" border="0" /></a></center>
<?php
}
$URL_fiche_auteur1 = get_post_meta($orig_post->ID, 'fiche_auteur1', true);
echo '<!-- Fiche auteur1 : '.$orig_post->ID.'/'.$URL_fiche_auteur1.'-->';
if ($URL_fiche_auteur1)
{
?>
<br /><center><a href="<?php echo $URL_fiche_auteur1 ?>" target="blank">
<img src="http://www.livresque-du-noir.fr/wp-content/uploads/2010/10/k-libre.png" alt="Fiche auteur" title="Fiche auteur" width="99" height="37" border="0" /></a></center></div>
<div id="lien-site-vente">
<?php
}
$URL_chronique = get_post_meta($orig_post->ID, 'chronique', true);
echo '<!-- Chronique : '.$orig_post->ID.'/'.$URL_chronique.'-->';
if ($URL_chronique)
{
?>
<br /><HR size="1" width="80%" align="center"><br /><h3 class="infotitle"><?php _e('Chronique sur K-libre','Aggregate'); ?></h3><br />
<center><a href="<?php echo $URL_chronique ?>" target="blank">
<img src="http://www.livresque-du-noir.fr/wp-content/uploads/2010/10/k-libre.png" alt="Chronique" title="Chronique" width="99" height="37" border="0" /></a></center>
<?php
}
$URL_chronique1 = get_post_meta($orig_post->ID, 'chronique1', true);
echo '<!-- Chronique1 : '.$orig_post->ID.'/'.$URL_chronique1.'-->';
if ($URL_chronique1)
{
?>
<br /><center><a href="<?php echo $URL_chronique1 ?>" target="blank">
<img src="http://www.livresque-du-noir.fr/wp-content/uploads/2010/10/k-libre.png" alt="Chronique"
title="Chronique" width="99" height="37" border="0" /></a></center>
</div>
<div id="lien-site-vente">
<?php
}
$URL_forum = get_post_meta($orig_post->ID, 'forum', true);
echo '<!-- Forum : '.$orig_post->ID.'/'.$URL_forum.'-->';
if ($URL_forum)
{
?>
<br /><HR size="1" width="80%" align="center"><br /><h3 class="infotitle"><?php _e('Topic sur Polars Pourpres','Aggregate'); ?></h3><br />
<center><a href="<?php echo $URL_forum ?>" target="blank">
<img src="http://www.livresque-du-noir.fr/wp-content/uploads/2010/10/polarspourpres.png" alt="Forum"
title="Forum" width="99" height="37" border="0" /></a></center>
</div>
<div id="lien-site-vente">
<?php
}
$URL_syblio = get_post_meta($orig_post->ID, 'syblio', true);
echo '<!-- Syblio : '.$orig_post->ID.'/'.$URL_syblio.'-->';
if ($URL_syblio)
{
?>
<br /><HR size="1" width="80%" align="center"><br /><h3 class="infotitle"><?php _e('Le site sur Syblio','Aggregate'); ?></h3><br />
<center><a href="<?php echo $URL_syblio ?>" target="blank">
<img src="http://www.livresque-du-noir.fr/wp-content/uploads/2011/08/syblio.png" alt="Syblio"
title="Syblio" width="99" height="37" border="0" /></a></center>
</div>
<div id="lien-site-vente">
<?php
}
?><br /><HR size="1" width="80%" align="center"><br /><h3 TITLE="Les chroniques de blogueurs">Chroniques de blogueurs</h3><br />
<?php
}
$URL_Le_noir_emoi = get_post_meta($orig_post->ID, 'Le_noir_emoi', true);
echo '<!-- Le noir émoi : '.$orig_post->ID.'/'.$URL_Le_noir_emoi.'-->';
if ($URL_Le_noir_emoi)
{
?>
<center><h4><a href="<?php echo $URL_Le_noir_emoi ?>" target="blank">LE NOIR EMOI</a></h4></center>
<?php
}
$URL_emotions = get_post_meta($orig_post->ID, 'emotions', true);
echo '<!-- Emotions : '.$orig_post->ID.'/'.$URL_emotions.'-->';
if ($URL_emotions)
{
?>
<br /><center><h4><a href="<?php echo $URL_emotions ?>" target="blank">EMOTIONS</a></h4></center>
<?php
}
$URL_loiseau_livre = get_post_meta($orig_post->ID, 'loiseau_livre', true);
echo '<!-- loiseau_livre : '.$orig_post->ID.'/'.$URL_loiseau_livre.'-->';
if ($URL_loiseau_livre)
{
?>
<br /><center><h4><a href="<?php echo $URL_loiseau_livre ?>" target="blank">L'oiseau Livre</a></h4></center></div>
</div>
<?php
wp_reset_query();
$post = $orig_post;
}
?>
<br /><center><?php echo do_shortcode('[button link="#contact_form_pop" class="fancybox"]Soumettre votre chronique[/button]'); ?></center>
<div style="display:none" class="fancybox-hidden">
<div id="contact_form_pop">
<?php echo do_shortcode('[contact-form-7 id="3647" title="Liens Blog"]'); ?></div></div>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : ?>
<?php endif; ?>
</div> <!-- end #sidebar -->
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?> |
Partager