File: /var/www/vhosts/plasmak.com.tr/httpdocs/wp-content/themes/buliten/tpl-coming_soon.php
<?php /* Template Name: Comming Soon Page */
$options = _WSH()->option();
get_header('comming-soon') ;
$cs_bg = (buliten_set($options, 'cs_section_img')) ? buliten_set($options, 'cs_section_img') : get_template_directory_uri().'/images/background/12.jpg';
$logo_img = (buliten_set($options, 'cs_logo_img')) ? buliten_set($options, 'cs_logo_img') : get_template_directory_uri().'/images/logo-small.png';
$title = buliten_set($options, 'cs_section_title');
$count = buliten_set($options, 'cs_section_count');
$text = buliten_set($options, 'cs_section_text');
$text2 = buliten_set($options, 'cs_section_form_des');
$id = buliten_set($options, 'cs_id');
$cs_social_icons = buliten_set($options, 'cs_social_icons_show');
?>
<!-- Comming soon Section -->
<section class="commingsoon-section">
<div class="auto-container">
<div class="clearfix">
<!-- Left Column -->
<div class="left-column">
<div class="inner-column">
<div class="logo">
<a href="<?php echo esc_url(home_url('/')); ?>"><img src="<?php echo esc_url($logo_img);?>" alt="<?php esc_html_e('Awesome Image', 'buliten'); ?>" /></a>
</div>
<h2><?php if ($title) { echo wp_kses_post($title); } else { esc_html_e('Under <br> Construction', 'buliten'); }?></h2>
<div class="text"><?php if ($text): echo wp_kses_post($text); else : esc_html_e('Website is under construction. We will be here soon with new <br> awesome site, Subscribe to be notified.', 'buliten'); endif;?></div>
<!-- Notify Form-->
<div class="notify-form">
<form method="post" action="http://feedburner.google.com/fb/a/mailverify" accept-charset="utf-8">
<div class="form-group">
<input type="hidden" id="uri2" name="uri" value="<?php echo wp_kses_post($id); ?>">
<input type="email" name="email" value="" placeholder="<?php esc_attr_e('Enter your email', 'buliten');?>" required>
<button type="submit" class="theme-btn btn-style-three"><span class="txt"><?php esc_attr_e('Notify Us', 'buliten');?></span></button>
</div>
</form>
</div>
<!-- Sign Up -->
<div class="signup"><?php if ($text2): echo wp_kses_post($text2); else : esc_html_e('Sign up now to get early notification of our launch date!', 'buliten'); endif;?></div>
<?php if ($cs_social_icons): ?>
<?php if (buliten_set($options, 'social_media') && is_array(buliten_set($options, 'social_media'))): ?>
<!-- Social Box -->
<ul class="social-boxed">
<li class="touch"><?php esc_html_e('Stay in Touch:', 'buliten'); ?></li>
<?php $social_icons = buliten_set($options, 'social_media');
foreach (buliten_set($social_icons, 'social_media') as $social_icon):
if (isset($social_icon['tocopy' ])) {
continue;
} ?>
<li><a href="<?php echo esc_url(buliten_set($social_icon, 'social_link')); ?>"><span class="fa <?php echo esc_attr(buliten_set($social_icon, 'social_icon')); ?>"></span></a></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
<!-- Right Column -->
<div class="right-column">
<div class="inner-column" style="background-image:url(<?php echo esc_url($cs_bg);?>)">
<div class="content-box">
<div class="time-counter"><div class="time-countdown clearfix" data-countdown="<?php if ($count) { echo esc_attr($count); } else { esc_html_e('2021/8/22', 'buliten'); }?>"></div></div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End Comming soon Section -->
<?php while (have_posts()): the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
<?php get_footer('comming-soon') ; ?>