-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patharticle.php
More file actions
44 lines (40 loc) · 2.23 KB
/
article.php
File metadata and controls
44 lines (40 loc) · 2.23 KB
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
<?php include(dirname(__FILE__).'/header.php'); ?>
<?php include(dirname(__FILE__).'/sidebar.php'); ?>
<div class="s-12 l-9">
<div class="box">
<section>
<article itemscope itemtype="http://schema.org/Article" class="line">
<div class="s-12 l-2 date">
<i class="icon-calendar"></i>
<p>
<meta itemprop="datePublished" content="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>">
<span><?php $plxShow->artDate('#num_day</span><br />#month #num_year(4)'); ?></span>
</p>
</div>
<div class="s-12 l-10">
<header>
<h2><?php $plxShow->artTitle(''); ?></h2>
<p>
<span><i class="icon-user"></i><?php $plxShow->lang('WRITTEN_BY'); ?>
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name"><?php $plxShow->artAuthor() ?></span></span>
<a href="<?php $plxShow->artUrl(); ?>#comments" title="<?php $plxShow->artNbCom(); ?>"><i class="icon-discussion"></i><?php $plxShow->artNbCom(); ?></a>
<i class="icon-clock"></i>
<?php $plxShow->lang('ARTICLES_DATE_UPDATE'); ?>
<meta itemprop="dateModified" content="<?php $plxShow->artUpdateDate('#num_year(4)-#num_month-#num_day'); ?>">
<?php $plxShow->artUpdateDate('#num_day/#num_month/#num_year(4)'); ?>
</p>
</header>
<section itemprop="articleBody">
<?php $plxShow->artThumbnail('<img itemprop="image" class="lazy art_thumbnail full-img" src="#img_url" alt="#img_alt" title="#img_title" />'); ?>
<?php $plxShow->artContent(); ?>
</section>
<footer>
<p><span><i class="icon-newspaper"></i><?php $plxShow->lang('CLASSIFIED_IN') ?> : <span itemprop="articleSection"><?php $plxShow->artCat(); ?></span> <i class="icon-label"></i><?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags(); ?></span></p>
</footer>
</div>
</article>
<?php $plxShow->artAuthorInfos('<div class="author-infos">#art_authorinfos</div>'); ?>
<?php include(dirname(__FILE__).'/commentaires.php'); ?>
</section>
</div>
<?php include(dirname(__FILE__).'/footer.php'); ?>