Exemple #1
0
                        $bg_style = 'background: url(' . $background_image . ') repeat-x; ';
                    } else {
                        if ($background_style === "repeat-y") {
                            $bg_style = 'background: url(' . $background_image . ') repeat-y; ';
                        } else {
                            if ($background_style === "repeat-y") {
                                $bg_style = 'background: url(' . $background_image . ') repeat-y; ';
                            }
                        }
                    }
                }
            }
        }
        $site_url = "http://" . $_SERVER['HTTP_HOST'];
        $submit = inbound_color_scheme($submit_color, 'hex');
        $test = inbound_color_scheme($background_color, 'hex');
        ?>
<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title><?php 
        wp_title();
Exemple #2
0
        the_post();
        /* Pre-load meta data into variables */
        $content = lp_get_value($post, $key, 'main-content');
        $conversion_area = lp_get_value($post, $key, 'conversion-area-content');
        $content_color = lp_get_value($post, $key, 'content-color');
        $body_color = lp_get_value($post, $key, 'body-color');
        $sidebar_color = lp_get_value($post, $key, 'sidebar-color');
        $text_color = lp_get_value($post, $key, 'content-text-color');
        $sidebar_text_color = lp_get_value($post, $key, 'sidebar-text-color');
        $headline_color = lp_get_value($post, $key, 'headline-color');
        $logo = lp_get_value($post, $key, 'logo');
        $sidebar = lp_get_value($post, $key, 'sidebar');
        $social_display = lp_get_value($post, $key, 'display-social');
        $submit_button_color = lp_get_value($post, $key, 'submit-button-color');
        // Get Colorscheme
        $submit_color_scheme = inbound_color_scheme($submit_button_color, 'int');
        // Get lighter submit color
        $top_grad_submit = inbound_color($submit_color_scheme, 35);
        $RBG_array = inbound_Hex_2_RGB($submit_button_color);
        $red = $RBG_array['r'];
        $green = $RBG_array["g"];
        $blue = $RBG_array["b"];
        $RBG_array_1 = inbound_Hex_2_RGB($top_grad_submit);
        $red_1 = $RBG_array_1['r'];
        $green_1 = $RBG_array_1["g"];
        $blue_1 = $RBG_array_1["b"];
        ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"><head profile="http://gmpg.org/xfn/11"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> 
<title><?php