function starry_extrafooter() { $extrafooter = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafooter') : ''; $extrafooterexept = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafooterexept') : ''; if (!empty($extrafooterexept)) { if (!is_page($extrafooterexept) && $extrafooter == "show") { $extrafootertitle = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafootertitle') : ''; if (!empty($extrafootertitle)) { echo '<div class="container">'; echo '<h2 class="with-breaker animate-me fadeInUp">'; $extrafootersubtitle = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafootersubtitle') : ''; echo esc_html($extrafootertitle) . '<span>' . esc_html($extrafootersubtitle) . '</span>'; echo '</h2>'; echo '</div>'; } echo '<section class="contact-container with-separation-bottom with-separation-top">'; echo '<div class="contact-boxes">'; $extrafooterbox = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafooterbox') : ''; foreach ($extrafooterbox as $value) { echo '<div class="contact-box animate-me zoomIn ' . $value['extrafooterboxicon'] . ' ' . starry_clean($value['extrafooterboxtitle']) . '">'; echo '<style type = "text/css" scoped>'; echo '.' . starry_clean($value['extrafooterboxtitle']) . '{background-color: ' . $value['extrafooterboxbg'] . ';} '; echo '.' . starry_clean($value['extrafooterboxtitle']) . ' a.btn.btn-default:hover{ color: ' . $value['extrafooterboxbg'] . ';}'; echo '</style>'; echo '<h2>' . esc_html($value['extrafooterboxtitle']) . '</h2>'; echo '<p>' . esc_html($value['extrafooterboxcontent']) . '</p>'; echo '<a href="' . esc_url($value['extrafooterboxbuttonlink']) . '" class="btn btn-default" target="_blank"><i class="' . $value['extrafooterboxicon'] . '"></i> ' . esc_html($value['extrafooterboxbuttontitle']) . '</a>'; echo '</div>'; } echo '</div>'; echo '</section>'; } } else { if ($extrafooter == "show") { $extrafootertitle = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafootertitle') : ''; if (!empty($extrafootertitle)) { echo '<div class="container">'; echo '<h2 class="with-breaker animate-me fadeInUp">'; $extrafootersubtitle = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafootersubtitle') : ''; echo esc_html($extrafootertitle) . '<span>' . esc_html($extrafootersubtitle) . '</span>'; echo '</h2>'; echo '</div>'; } echo '<section class="contact-container with-separation-bottom with-separation-top">'; echo '<div class="contact-boxes">'; $extrafooterbox = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafooterbox') : ''; foreach ($extrafooterbox as $value) { echo '<div class="contact-box animate-me zoomIn ' . $value['extrafooterboxicon'] . ' ' . starry_clean($value['extrafooterboxtitle']) . '">'; echo '<style type = "text/css" scoped>'; echo '.' . starry_clean($value['extrafooterboxtitle']) . '{background-color: ' . $value['extrafooterboxbg'] . ';} '; echo '.' . starry_clean($value['extrafooterboxtitle']) . ' a.btn.btn-default:hover{ color: ' . $value['extrafooterboxbg'] . ';}'; echo '</style>'; echo '<h2>' . esc_html($value['extrafooterboxtitle']) . '</h2>'; echo '<p>' . esc_html($value['extrafooterboxcontent']) . '</p>'; echo '<a href="' . esc_url($value['extrafooterboxbuttonlink']) . '" class="btn btn-default" target="_blank"><i class="' . $value['extrafooterboxicon'] . '"></i> ' . esc_html($value['extrafooterboxbuttontitle']) . '</a>'; echo '</div>'; } echo '</div>'; echo '</section>'; } } }
</div><!-- #END .fw-col-sm-12 --> </div><!-- #END .fw-row --> </div><!-- #END .fw-container --> </section> </div><!-- #END .fw-page-builder-content --> </div><!-- #END #POST --> <!-- PARALLAX CONTAINER --> <section class="milestones-container with-separation-bottom with-separation-top"> <div class="milestones-boxes"> <?php if (!empty($atts['milestonebox'])) { $milestonebox = $atts['milestonebox']; foreach ($milestonebox as $value) { echo '<div class="milestone-box animate-me zoomIn ' . $value['milestonebox_icon'] . ' ' . starry_clean($value['milestonebox_title']) . '" >'; echo '<style type = "text/css" scoped>'; echo '.' . starry_clean($value['milestonebox_title']) . '{background-color: ' . $value['milestonebox_bg'] . ';} '; echo '</style>'; echo '<div class="milestone-number">'; echo '<h1 class="timer" data-from="0" data-to="' . esc_html($value['milestonebox_number']) . '"></h1>'; echo '<h1><i class="fa ' . $value['milestonebox_icon'] . '"></i></h1>'; echo '</div>'; if (!empty($value['milestonebox_title'])) { echo '<h2>' . esc_html($value['milestonebox_title']) . '</h2>'; } if (!empty($value['milestonebox_content'])) { echo '<p>' . esc_html($value['milestonebox_content']) . '</p>'; } echo '</div>'; } } ?>
<?php if (!defined('FW')) { die('Forbidden'); } ?> </div><!-- #END .fw-col-sm-12 --> </div><!-- #END .fw-row --> </div><!-- #END .fw-container --> </section> </div><!-- #END .fw-page-builder-content --> </div><!-- #END #POST --> <!-- CUSTOM CONTAINER --> <section class="custom-section-container <?php echo starry_clean($atts['contenttitle']); ?> with-separation-bottom with-separation-top" style="background-color: <?php echo esc_html($atts['color']); ?> "> <?php // IF THERE IS SOME CONTENT EXCEPT THE BUTTONS if (!empty($atts['contenttitle']) && !empty($atts['customcontainercontent'])) { ?> <?php if (!empty($atts['buttonlink2']) && !empty($atts['buttoncontent2'])) { ?> <div class="container"> <?php } elseif (empty($atts['buttonlink2']) && empty($atts['buttoncontent2']) && empty($atts['buttonlink1']) && empty($atts['buttoncontent1'])) {
<div class="controls col-md-9"> <input name="contact_email" type="text" class="input-xlarge form-control"> </div> </div> <!-- TOPIC --> <div class="control-group row"> <label class="control-label col-md-3"><?php _e('Topic', 'starry'); ?> </label> <div class="controls col-md-9"> <select name="contact_topic" class="input-xlarge form-control"> <?php $topics = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('formtopics') : ''; foreach ($topics as $valuetopic) { echo '<option value="' . starry_clean($valuetopic) . '">' . $valuetopic . '</option>'; } ?> </select> </div> </div> <!-- MESSAGE --> <div class="control-group row"> <label class="control-label col-md-3"><?php _e('Message', 'starry'); ?> </label> <div class="controls col-md-9"> <textarea name="contact_message" class=" form-control" rows="5"></textarea> </div> </div>