Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if(!defined('PLX_ROOT')) exit; ?>
- <!-- tabbed content -->
- <div class="tabbed-content post-tabs clearfix" id="post-tabs">
- <!-- tab navigation (items must be in reverse order because of the tab-design) -->
- <div class="tabs-wrap clearfix">
- <ul class="tabs">
- <li class="comments"><a href="#section-comments"><span>Commentaires</span></a></li>
- </ul>
- </div>
- <!-- /tab nav -->
- <!-- tab sections -->
- <div class="sections">
- <!-- comments -->
- <div class="section clearfix" id="section-comments">
- <div id="comments-wrap">
- <div class="clearfix">
- <?php # Si on a des commentaires ?>
- <?php if($plxShow->plxMotor->plxGlob_coms->count): ?>
- <ul id="comments" class="comments">
- <?php while($plxShow->plxMotor->plxRecord_coms->loop()): # On boucle sur les commentaires ?>
- <!-- comment entry -->
- <li class="comment even thread-even depth-1 withAvatars" id="comment-<?php $plxShow->comId(); ?>">
- <div class="comment-head">
- <div class="avatar-box"><img alt="Gravatar" src="http://www.gravatar.com/avatar.php?gravatar_id=<?php echo md5( strtolower($plxShow->plxMotor->plxRecord_coms->f('mail')) ) ?>&d=http://0.gravatar.com/avatar/29a258fbb2d69d21b675424f7bf8ae90?s=48&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&r=X" class="avatar" height='48' width='48' /></div>
- <div class="author">
- <span class="by"><a class="comment-id" href="<?php $plxShow->ComUrl() ?>" title="#<?php echo $plxShow->plxMotor->plxRecord_coms->i+1 ?>">#<?php echo $plxShow->plxMotor->plxRecord_coms->i+1 ?></a> <?php $plxShow->comAuthor('link'); ?> à dit :</span><br />
- Le <?php $plxShow->comDate('#num_day #month #num_year(4)'); ?>
- </div>
- </div>
- <div class="comment-body clearfix" id="comment-body-<?php $plxShow->comId(); ?>">
- <div class="comment-text">
- <?php $plxShow->comContent() ?>
- </div><a id="comment-reply-<?php $plxShow->comId(); ?>" name="comment-reply-<?php $plxShow->comId(); ?>"></a>
- </div>
- </li>
- <!-- /comment entry -->
- <?php endwhile; # Fin de la boucle sur les commentaires ?>
- </ul>
- <?php # On affiche le fil Atom de cet article ?>
- <p style="float:right;"><?php $plxShow->comFeed('atom',$plxShow->artId()); ?></p>
- <?php endif; # Fin du if sur la prescence des commentaires ?>
- </div>
- </div>
- <?php # Si on autorise les commentaires ?>
- <?php if($plxShow->plxMotor->plxRecord_arts->f('allow_com') AND $plxShow->plxMotor->aConf['allow_com']): ?>
- <!-- comment form -->
- <div class="comment-form clearfix" id="respond">
- <strong style="color:red;"><?php $plxShow->comMessage(); ?></strong>
- <script type="text/javascript">
- /* <![CDATA[ */
- function checkvalues(){
- if(jQuery('#field-name').val()=='Nom (requis)') jQuery('#field-name').val('');
- if(jQuery('#field-mail').val()=='E-mail (facultatif)') jQuery('#field-mail').val('');
- if(jQuery('#field-site').val()==('Site (facultatif)' || 'http://')) jQuery('#field-site').val('');
- }
- /* ]]> */
- </script>
- <form action="<?php $plxShow->artUrl(); ?>#respond" method="post" id="commentform">
- <p class="comment-form-author"><label for="author">Nom</label> <span class="required">*</span>
- <input id="author" name="name" type="text" value="cookiàmetrici" size="30" aria-required='true' /></p>
- <p class="comment-form-author"><label for="mail">E-mail</label><span class="required">*</span>
- <input id="mail" name="mail" type="text" value="" size="30" aria-required='true' /></p>
- <p class="comment-form-url"><label for="url">Site web</label>
- <input id="url" name="site" type="text" value="http://" size="30" /></p>
- <p class="comment-form-comment"><label for="comment">Commentaire</label><textarea id="comment" name="content" cols="45" rows="8" aria-required="true"></textarea></p>
- <?php # Affichage du capcha anti-spam
- if($plxShow->plxMotor->aConf['capcha']): ?>
- <div class="row">
- <?php $plxShow->capchaQ(); ?> : <input name="rep" type="text" size="1" />
- <input name="rep2" type="hidden" value="<?php $plxShow->capchaR(); ?>" />
- </div>
- <?php endif; # Fin du if sur le capcha anti-spam ?>
- <div class="clearfix"></div>
- <div id="submitbox">
- <input name="submit" type="submit" id="submit" class="button" value="Envoyer" />
- <input name="cancel-reply" type="button" id="cancel-reply" class="button hidden" value="Effacer" />
- </div>
- </form>
- </div>
- <!-- /comment form -->
- </div>
- <!-- /comments -->
- </div>
- <!-- /tab sections -->
- <?php endif; # Fin du if sur l'autorisation des commentaires ?>
- </div>
- <!-- /tabbed content -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement