-
Notifications
You must be signed in to change notification settings - Fork 933
Expand file tree
/
Copy pathblog_inner.php
More file actions
69 lines (56 loc) · 2.89 KB
/
blog_inner.php
File metadata and controls
69 lines (56 loc) · 2.89 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
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
<?php include template_dir() . "header.php"; ?>
<div id="blog-content-<?php print CONTENT_ID; ?>">
<?php $post = get_content_by_id(CONTENT_ID); ?>
<section class="blog-post">
<div class="blog-post__title bg--secondary">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 text-center">
<h1><?php print content_title(); ?></h1>
<?php if ($post['created_by']): ?>
<div class="blog-post__author">
<span>
<em><?php _lang("by", "templates/dream"); ?> </em>
</span>
<span class="h6"><?php print user_name($post['created_by']); ?></span>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm-10 col-sm-offset-1">
<module type="pictures" rel="content"/>
</div>
<div class="col-sm-8 col-sm-offset-2">
<div class="edit dropcap" field="content" rel="content">
<div class="element">
<p align="justify"><?php _lang("This text is set by default and is suitable for edit in real time. By default the drag and drop core feature will allow you to position it anywhere on the site. Get creative, Make Web.", "templates/dream"); ?></p>
</div>
</div>
<hr/>
</div>
</div>
<div class="row">
<div class="col-sm-12 text-center">
<div class="blog-post__share">
<h5><?php _lang("Share this article", "templates/dream"); ?></h5>
<module type="sharer" id="share-post"/>
</div>
</div>
</div>
<div class="row">
<div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1">
<div class="blog-post__comments">
<div class="edit" rel="content" field="comments">
<module type="comments" data-content-id="<?php print CONTENT_ID; ?>"/>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<?php include template_dir() . "footer.php"; ?>