File "squeezepage1.php"

Full path: /home5/hallettsvillepow/public_html/wp-content/themes/flexsqueeze151/squeezepage1.php
File size: 0.01 KB (6.04 KB bytes)
MIME-type: text/x-php; charset=us-ascii
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

<?php
/*
Template Name: Squeezepage 1
*/
?>
<!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">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' - '; } ?><?php bloginfo('name'); ?></title>
<?php 
if(get_option('flex_page_noindex')) {
global $wp_query;
$thePostID = $wp_query->post->ID;
$noindex = get_option('flex_page_noindex');
$noindexpageids = explode (",", $noindex);
if (in_array($thePostID, $noindexpageids)) { echo '<meta name="robots" content="noindex, nofollow" />' . "\n";}}?>
<?php
global $blog_id;
if (function_exists('is_multisite')) {
if (is_multisite()) { 
$filename = TEMPLATEPATH. '/style_'. $blog_id . '.css';
if (file_exists($filename)) { ?>
<link href="<?php bloginfo('template_directory'); ?>/style_<?php echo $blog_id; ?>.css" rel="stylesheet" type="text/css" />
<?php } else { ?>
<link href="<?php bloginfo('template_directory'); ?>/style.css" rel="stylesheet" type="text/css" />
<?php }} else { ?>
<link href="<?php bloginfo('template_directory'); ?>/style.css" rel="stylesheet" type="text/css" />
<?php }} else { ?>
<link href="<?php bloginfo('template_directory'); ?>/style.css" rel="stylesheet" type="text/css" />
<?php } ?>
<link rel="shortcut icon" href="<?php if (get_option('flex_favicon')) { echo get_option('flex_favicon'); } else { echo bloginfo('template_url') . '/favicon.ico'; } ?>" type="image/x-icon" />
<?php wp_head(); ?>
<!--[if lte IE 6]>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/iepngfix_tilebg.js"></script> 
 <![endif]-->
<style type="text/css">
#squeeze #spheader {
<?php if (get_option('flex_squeeze_image') == "none") { ?>
background: url(<?php bloginfo('template_url'); ?>/images/squeezeheaders/<?php echo get_option('flex_squeeze_headerbg'); ?>) no-repeat center top;
<?php } else { ?>
background: url(<?php echo get_option('flex_squeeze_image');?>) no-repeat center top;
<?php } ?>	
}
#squeeze {
	margin:0px;
	padding:0px;
	
	min-height: 100%;	
<?php if (get_option('flex_squeeze_bgimage') == "no background image") { ?>
	background-image:none;

<?php } elseif (get_option('flex_squeeze_bgimage') == "custom background image"){ ?>
	background-image: url(<?php echo get_option('flex_squeeze_custombg'); ?>);
	background-repeat: repeat; 
	background-position: center top;
    
<?php } else { ?>
	background-image: url(<?php bloginfo('template_directory'); ?>/images/backgrounds/<?php echo get_option('flex_squeeze_bgimage'); ?>);
	background-repeat: repeat; 
	background-position: center top;

<?php  } ?> background-color: #<?php echo get_option('flex_squeeze_bgcolor'); ?>;
}

</style>
</head>
<body id="squeeze">
<div id="bgwrapper">
<div id="wrap" class="sp1">
    <?php if (get_option('flex_squeeze_nav') == "no") { ?>
    <?php } else { ?>
    <?php if (get_option('flex_squeeze_navpos') == "above") { ?>
<div id="nav" style="clear:both;">
  <ul class="sf-menu">
    <?php if (get_option('flex_nav_home') == "no") { ?>
    <?php } else { ?>
    <li><a href="<?php echo get_option('home'); ?>/"><span><?php echo get_option('flex_nav_hometxt'); ?></span></a></li>
    <?php } ?>
    <?php echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span>$3</span></a>', wp_list_pages('echo=0&orderby=name&exclude=&title_li=')); ?>
  </ul>
  <div class="clearer"></div>
</div>
<?php } else { ?>
<?php } ?>
    <?php } ?>
    <?php if (get_option('flex_squeeze_head') == "no") { ?>
    <?php } else { ?>

<div id="spheader">
  <?php if (get_option('flex_squeeze_title') == "yes") { ?>
  <?php if (get_option('flex_squeeze_titletext') == "") { ?>
<h3><?php the_title(); ?></h3>
 
  <?php } else { ?>
  <h3><?php echo get_option('flex_squeeze_titletext'); ?></h3>
  <p class="tagline"><?php echo get_option('flex_squeeze_tagline'); ?></p>
  <?php } ?>  
  <?php } else { ?>  
  <?php } ?>
 </div>
    <?php } ?>
    <?php if (get_option('flex_squeeze_nav') == "no") { ?>
    <?php } else { ?>
    <?php if (get_option('flex_squeeze_navpos') == "below") { ?>
<div id="nav" style="clear:both;">
  <ul class="sf-menu">
    <?php if (get_option('flex_nav_home') == "no") { ?>
    <?php } else { ?>
    <li><a href="<?php echo get_option('home'); ?>/"><span><?php echo get_option('flex_nav_hometxt'); ?></span></a></li>
    <?php } ?>
    <?php echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span>$3</span></a>', wp_list_pages('echo=0&orderby=name&exclude=&title_li=')); ?>
  </ul>
  <div class="clearer"></div>
</div>
<?php } else { ?>
<?php } ?>
    <?php } ?>
<div id="mainContent">
  <div class="postwrap">
    <div class="post"> <div class="postcontent">
      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
      <?php the_content("<p>__('Read the rest of this page')</p>"); ?>
      <?php edit_post_link(__('Edit'), '<p>', '</p>'); ?>
      <?php endwhile; endif; ?>
    </div></div>
  </div>
</div>
<div id="footer">
  <?php if (get_option('flex_foot_feature') == "no") { ?>
  <?php } else { ?>
  <div id="footerfeature"></div>
  <?php } ?>
  <div id="footerdark">
    <p><?php echo stripslashes(get_option('flex_squeeze_links')); ?></p>
  </div>
</div>
<div class="clearer"></div>
<!-- wrap close -->
</div>
</div>
<?php wp_footer(); ?>
<!-- bgwrapper close -->
<?php if (get_option('flex_analytics_id') == "") { ?>
<?php } else { ?>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("<?php echo get_option('flex_analytics_id'); ?>");
pageTracker._trackPageview();
} catch(err) {}</script>
<?php } ?>
</body></html>