-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththreads.main.php
More file actions
156 lines (135 loc) · 5.54 KB
/
threads.main.php
File metadata and controls
156 lines (135 loc) · 5.54 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
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
<?php
/**
* This is the template that displays the message user form
*
* This file is not meant to be called directly.
* It is meant to be called by an include in the main.page.php template.
* To display a feedback, you should call a stub AND pass the right parameters
* For example: /blogs/index.php?disp=msgform&recipient_id=n
* Note: don't code this URL by hand, use the template functions to generate it!
*
* b2evolution - {@link http://b2evolution.net/}
* Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license}
* @copyright (c)2003-2016 by Francois Planque - {@link http://fplanque.com/}
*
* @package evoskins
* @subpackage bootstrap_blog_skin
*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
global $app_version, $disp, $Blog;
if( evo_version_compare( $app_version, '6.4' ) < 0 )
{ // Older skins (versions 2.x and above) should work on newer b2evo versions, but newer skins may not work on older b2evo versions.
die( 'This skin is designed for b2evolution 6.4 and above. Please <a href="http://b2evolution.net/downloads/index.html">upgrade your b2evolution</a>.' );
}
// This is the main template; it may be used to display very different things.
// Do inits depending on current $disp:
skin_init( $disp );
$map = $Skin->get_setting( 'contact_map_show' );
// -------------------------- HTML HEADER INCLUDED HERE --------------------------
skin_include( '_html_header.inc.php', array() );
// -------------------------------- END OF HEADER --------------------------------
// ---------------------------- SITE HEADER INCLUDED HERE ----------------------------
// If site headers are enabled, they will be included here:
skin_include( '_body_header_page.inc.php' );
// ------------------------------- END OF SITE HEADER --------------------------------
?>
<div id="content">
<div class="<?php if( $map == 1 ) { echo 'container-fluid'; } else { echo 'container'; }; ?>">
<div class="row">
<?php if( $map == 1 ){ ?>
<div class="content_map col-sm-12 col-md-5">
<div class="row">
<div id="maps"></div>
</div>
</div>
<?php } ?>
<div id="main_content" <?php if( $map == 1 ) { echo 'class="col-sm-12 col-md-7"'; }; ?>>
<?php
// ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
messages( array(
'block_start' => '<div class="action_messages">',
'block_end' => '</div>',
) );
// --------------------------------- END OF MESSAGES ---------------------------------
?>
<?php
// ------------------------ TITLE FOR THE CURRENT REQUEST ------------------------
request_title( array(
'title_before' => '<h2 class="evo_title_disp">',
'title_after' => '</h2>',
'title_none' => '',
'title_single_disp' => false,
'title_page_disp' => false,
'format' => 'htmlbody',
'display_edit_links' => false,
'glue' => ' - ',
'category_text' => '',
'categories_text' => '',
'catdir_text' => '',
'comments_text' => T_('Latest Replies'),
'front_text' => '',
'posts_text' => '',
'useritems_text' => T_('User\'s topics'),
'usercomments_text' => T_('User\'s replies'),
'register_text' => '',
'login_text' => '',
'lostpassword_text' => '',
'account_activation' => '',
'msgform_text' => T_('Contact <span>Us</span>'),
'treads_text' => T_('Contact <span>Us</span>'),
'user_text' => '',
'users_text' => '',
) );
// ----------------------------- END OF REQUEST TITLE ----------------------------
?>
<?php
// -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
skin_include( '$disp$' );
// Note: you can customize any of the sub templates included here by
// copying the matching php file into your skin directory.
// ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
?>
</div><!-- .col -->
</div><!-- .row -->
</div><!-- .container -->
<?php if( $Skin->get_setting( 'contact_info_show' ) == 1 ) { ?>
<div class="contact_info container-fluid">
<div class="main_contact_info clearfix">
<div class="main_contact_info_icon">
<i class="ei ei-pin"></i>
</div>
<div class="main_contact_info_text">
<h3>Address</h3>
<p><?php echo $Skin->get_setting( 'contact_info_address' ); ?></p>
</div>
</div>
<div class="main_contact_info clearfix">
<div class="main_contact_info_icon">
<i class="ei ei-mail"></i>
</div>
<div class="main_contact_info_text">
<h3>Email</h3>
<p><?php echo $Skin->get_setting( 'contact_info_email' ); ?></p>
</div>
</div>
<div class="main_contact_info clearfix">
<div class="main_contact_info_icon">
<i class="ei ei-phone"></i>
</div>
<div class="main_contact_info_text">
<h3>Call Us</h3>
<p><?php echo $Skin->get_setting( 'contact_info_number' ); ?></p>
</div>
</div>
</div>
<?php } ?>
</div><!-- #content -->
<?php
// ---------------------------- SITE FOOTER INCLUDED HERE ----------------------------
// If site footers are enabled, they will be included here:
skin_include( '_body_footer.inc.php' );
// ------------------------------- END OF SITE FOOTER --------------------------------
// ------------------------- HTML FOOTER INCLUDED HERE --------------------------
skin_include( '_html_footer.inc.php' );
// ------------------------------- END OF FOOTER --------------------------------
?>