-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathunder-construction.php
169 lines (143 loc) · 5.53 KB
/
under-construction.php
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
<?php
/**
* Template Name: Under Construction
*
* @package Betheme
* @author Muffin Group
*/
?><!DOCTYPE html>
<html class="no-js<?php echo mfn_user_os(); ?>" <?php language_attributes(); ?>>
<!-- head -->
<head>
<!-- meta -->
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<?php if( mfn_opts_get('responsive') ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">'; ?>
<?php do_action('wp_seo'); ?>
<link rel="shortcut icon" href="<?php mfn_opts_show('favicon-img',THEME_URI .'/images/favicon.ico'); ?>" type="image/x-icon" />
<!-- wp_head() -->
<?php wp_head(); ?>
</head>
<?php
$translate['days'] = mfn_opts_get('translate') ? mfn_opts_get('translate-days','days') : __('days','betheme');
$translate['hours'] = mfn_opts_get('translate') ? mfn_opts_get('translate-hours','hours') : __('hours','betheme');
$translate['minutes'] = mfn_opts_get('translate') ? mfn_opts_get('translate-minutes','minutes') : __('minutes','betheme');
$translate['seconds'] = mfn_opts_get('translate') ? mfn_opts_get('translate-seconds','seconds') : __('seconds','betheme');
$customID = mfn_opts_get('construction-page');
$body_class = 'under-construction';
if( $customID ) $body_class .= ' custom-uc';
?>
<!-- body -->
<body <?php body_class( $body_class ); ?>>
<!-- #Content -->
<div id="Content">
<div class="content_wrapper clearfix">
<?php if( $customID ): ?>
<!-- .sections_group -->
<div class="sections_group">
<?php
mfn_builder_print( $customID, true ); // Content Builder & WordPress Editor Content
?>
</div>
<?php else: ?>
<!-- .sections_group -->
<div class="sections_group">
<div class="section center section-uc-1">
<div class="section_wrapper clearfix">
<div class="items_group clearfix">
<div class="column one column_column">
<?php
$logo_src = mfn_opts_get( 'logo-img', THEME_URI .'/images/logo/logo.png' );
echo '<a id="logo" href="'. get_home_url() .'" title="'. get_bloginfo( 'name' ) .'">';
echo '<img class="scale-with-grid" src="'. $logo_src .'" alt="'. get_bloginfo( 'name' ) .'" />';
echo '</a>';
?>
</div>
</div>
</div>
</div>
<div class="section section-border-top section-uc-2">
<div class="section_wrapper clearfix">
<div class="items_group clearfix">
<div class="column one column_fancy_heading">
<div class="fancy_heading fancy_heading_icon">
<div data-anim-type="bounceIn" class="animate bounceIn">
<span class="icon_top"><i class=" icon-clock"></i></span>
<h2><?php mfn_opts_show('construction-title'); ?></h2>
<div class="inside">
<span class="big"><?php mfn_opts_show('construction-text'); ?></span>
</div>
</div>
</div>
</div>
<?php if( mfn_opts_get('construction-date') ): ?>
<div class="downcount" data-date="<?php mfn_opts_show('construction-date'); ?>" data-offset="<?php mfn_opts_show('construction-offset'); ?>">
<div class="column one-fourth column_quick_fact">
<div class="quick_fact">
<div data-anim-type="zoomIn" class="animate zoomIn">
<div class="number-wrapper">
<div class="number days">00</div>
</div>
<h3 class="title"><?php echo $translate['days']; ?></h3>
<hr class="hr_narrow">
</div>
</div>
</div>
<div class="column one-fourth column_quick_fact">
<div class="quick_fact">
<div data-anim-type="zoomIn" class="animate zoomIn">
<div class="number-wrapper">
<div class="number hours">00</div>
</div>
<h3 class="title"><?php echo $translate['hours']; ?></h3>
<hr class="hr_narrow">
</div>
</div>
</div>
<div class="column one-fourth column_quick_fact">
<div class="quick_fact">
<div data-anim-type="zoomIn" class="animate zoomIn">
<div class="number-wrapper">
<div class="number minutes">00</div>
</div>
<h3 class="title"><?php echo $translate['minutes']; ?></h3>
<hr class="hr_narrow">
</div>
</div>
</div>
<div class="column one-fourth column_quick_fact">
<div class="quick_fact">
<div data-anim-type="zoomIn" class="animate zoomIn">
<div class="number-wrapper">
<div class="number seconds">00</div>
</div>
<h3 class="title"><?php echo $translate['seconds']; ?></h3>
<hr class="hr_narrow">
</div>
</div>
</div>
</div>
<?php endif; ?>
</div>
</div>
</div>
<div class="section section-border-top section-uc-3">
<div class="section_wrapper clearfix">
<div class="items_group clearfix">
<div class="column one-fourth column_column"></div>
<div class="column one-second column_column">
<div data-anim-type="fadeInUpLarge" class="animate fadeInUpLarge">
<?php echo do_shortcode( mfn_opts_get('construction-contact') ); ?>
</div>
</div>
<div class="column one-fourth column_column"></div>
</div>
</div>
</div>
</div>
<?php endif; ?>
</div>
</div>
<!-- wp_footer() -->
<?php wp_footer(); ?>
</body>
</html>