Ask your WordPress questions! Pay money and get answers fast! (more info)

Woocommerce Review, Tabs & More Not Showing up on Product Page WordPress

  • REFUNDED

I would like all the Woocommerce information to show up on my product pages:

Here is one page for example:

http://softwarecompanyratings.com/product/software-4/

What do I need to do to make everything show up on the product page?

Thank you :)

- Kate

PS. I created woocommerce.php and put my page template inside of it.
That is what this site told me to do: ((http://docs.woothemes.com/document/third-party-custom-theme-compatibility))

But when I tried to add

<?php woocommerce_content(); ?> it would create an error and the page would not work at all. This was the error message:

Parse error: syntax error, unexpected T_ENDWHILE in /home1/katekate/public_html/softwarecompanyratings.com/wp-content/themes/OptimizePress/woocommerce.php on line 1210

When I delete the woocommerce.php page, everything shows up on the page, but the style is gone and does not have my header image, my nav bar and looks all messed up.

My page looks great better now (with the Woocommerce.php) but lacks all the Woocommerce info I would like to have displayed on the product page. I really want the reviews to show, the other content to show, the other images to show and tabs to show. Maybe I have to delete the Woocommerce.php file and somehow create a styling for the Woocommerce product page? But I want it to look like the styling I have now. I don't want to lose that. I would like to have all the Woocommerce info to show.

I really don't want to have to get a different theme. I love my theme I have now. I bought it and paid really good money for it. So if there is a solution to this problem, please let me know.

Thank you!! :)

Answers (1)

2014-09-23

timDesain Nanang answers:

Hi Sir,
would you like to share your woocommerce.php page here?


DearKate comments:

I'm a woman. :)

Yes, I can share it. Thank you for the quick reply.

Here it is:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">


<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Software Compared - What Software is Right For You?</title>
<link rel="shortcut icon" href="http://softwarecompanyratings.com/wp-content/uploads/2014/09/favicon2.png" type="image/x-icon" /><link href="http://softwarecompanyratings.com/wp-content/themes/OptimizePress/typography.css" rel="stylesheet" type="text/css">
<link href="http://softwarecompanyratings.com/wp-content/themes/OptimizePress/launch002d-style.css" rel="stylesheet" type="text/css">
<link rel="pingback" href="http://softwarecompanyratings.com/xmlrpc.php" />
<link rel='archives' title='September 2014' href='http://softwarecompanyratings.com/2014/09/' />

<!-- This site is optimized with the Yoast WordPress SEO plugin v1.6.1 - https://yoast.com/wordpress/plugins/seo/ -->
<meta name="description" content="Find the Perfect Software. See which software is the best for your business. Read the reviews and compare software today!"/>
<link rel="canonical" href="http://softwarecompanyratings.com/" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Software Compared - What Software is Right For You?" />
<meta property="og:description" content="Find the Perfect Software. See which software is the best for your business. Read the reviews and compare software today!" />
<meta property="og:url" content="http://softwarecompanyratings.com/" />
<meta property="og:image" content="http://softwarecompanyratings.com/wp-content/uploads/2014/07/find.png" />
<script type="application/ld+json">{ "@context": "http://schema.org", "@type": "WebSite", "url": "http://softwarecompanyratings.com/", "potentialAction": { "@type": "SearchAction", "target": "http://softwarecompanyratings.com/?s={search_term}", "query-input": "required name=search_term" } }</script>
<!-- / Yoast WordPress SEO plugin. -->

<link rel='stylesheet' id='contact-form-7-css' href='http://softwarecompanyratings.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=3.9.3' type='text/css' media='all' />
<link rel='stylesheet' id='magnific-css' href='http://softwarecompanyratings.com/wp-content/plugins/displayProduct//plugin/magnific/magnific.css?ver=4.0' type='text/css' media='all' />
<link rel='stylesheet' id='dp_quickview-css' href='http://softwarecompanyratings.com/wp-content/plugins/displayProduct//plugin/magnific/magnific-custom.css?ver=4.0' type='text/css' media='all' />
<link rel='stylesheet' id='woocommerce_chosen_styles-css' href='//softwarecompanyratings.com/wp-content/plugins/woocommerce/assets/css/chosen.css?ver=4.0' type='text/css' media='all' />
<link rel='stylesheet' id='woocommerce-layout-css' href='//softwarecompanyratings.com/wp-content/plugins/woocommerce/assets/css/woocommerce-layout.css?ver=2.2.4' type='text/css' media='all' />
<link rel='stylesheet' id='woocommerce-smallscreen-css' href='//softwarecompanyratings.com/wp-content/plugins/woocommerce/assets/css/woocommerce-smallscreen.css?ver=2.2.4' type='text/css' media='only screen and (max-width: 768px)' />
<link rel='stylesheet' id='woocommerce-general-css' href='//softwarecompanyratings.com/wp-content/plugins/woocommerce/assets/css/woocommerce.css?ver=2.2.4' type='text/css' media='all' />
<script type='text/javascript' src='http://softwarecompanyratings.com/wp-content/themes/OptimizePress/js/js_cookie.js?ver=1.0'></script>
<script type='text/javascript' src='http://softwarecompanyratings.com/wp-includes/js/jquery/jquery.js?ver=1.11.1'></script>
<script type='text/javascript' src='http://softwarecompanyratings.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
<script type='text/javascript' src='http://softwarecompanyratings.com/wp-content/plugins/displayProduct//plugin/magnific/magnific.js?ver=4.0'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var dp_globals = {"gallery_enabled":"1","ajaxurl":"http:\/\/softwarecompanyratings.com\/wp-admin\/admin-ajax.php","nonce":"21fdb085da"};
/* ]]> */
</script>
<script type='text/javascript' src='http://softwarecompanyratings.com/wp-content/plugins/displayProduct//plugin/magnific/magnific-custom.js?ver=4.0'></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://softwarecompanyratings.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://softwarecompanyratings.com/wp-includes/wlwmanifest.xml" />
<meta name="generator" content="WordPress 4.0" />
<meta name="generator" content="WooCommerce 2.2.4" />
<link rel='shortlink' href='http://softwarecompanyratings.com/' />
<!-- Easy Columns 2.1.1 by Pat Friedl http://www.patrickfriedl.com -->
<link rel="stylesheet" href="http://softwarecompanyratings.com/wp-content/plugins/easy-columns/css/easy-columns.css" type="text/css" media="screen, projection" />

<style type="text/css">
span.cufon {margin:2px 0px;}
#launchvideobox{margin:0px auto;
}

#videobox2{margin:0px auto;
}

#videobox3{margin:0px auto;
}

#videobox{margin:0px auto;
}





body{background-color:#E8E8E8;}

#footer-inside{color:#A8A8A8;}

#footer-inside a{color:#A8A8A8;}

.footer-right a{color:#A8A8A8;text-decoration:none;font-weight:normal;}

.footer-right li:first-child {border-left:0px solid #A8A8A8;padding-left:0px;}

.footer-right li:first-child a {border-left:0px solid #A8A8A8;padding-left:0px;}

.footer-right li {color:#A8A8A8;border-left:1px solid #A8A8A8;
}
.main-preheadline{color:#444444 !important;letter-spacing:0px;font-weight:bold;font-style:normal;letter-spacing:-1px;}
.main-preheadline em{color:#CC0000 !important;letter-spacing:0px;font-weight:bold;font-style:normal;letter-spacing:-1px;}

.main-headline{color:#CC0000 !important;letter-spacing:-1px;font-weight:bold;font-style:normal;letter-spacing:-1px;}
.main-headline em{color:#215e8e !important;letter-spacing:-1px;font-weight:bold;font-style:normal;letter-spacing:-1px;}

.main-bottomheadline{color:#CC0000 !important;letter-spacing:0px;font-weight:bold;font-style:normal;letter-spacing:-1px;}
.main-bottomheadline em{color:#CC0000 !important;letter-spacing:0px;font-weight:bold;font-style:normal;letter-spacing:-1px;}

.main-postheadline{color:#444444 !important;letter-spacing:0px;font-weight:bold;font-style:normal;letter-spacing:-1px;}
.main-postheadline em{color:#CC0000 !important;letter-spacing:0px;font-weight:bold;font-style:normal;letter-spacing:-1px;}

.sales-preheadline{color:#444444 !important;letter-spacing:0px;font-weight:bold;font-style:normal;letter-spacing:-1px;}
.sales-preheadline em{color:#CC0000 !important;letter-spacing:0px;font-weight:bold;font-style:normal;letter-spacing:-1px;}

.sales-postheadline{color:#444444 !important;font-weight:bold;font-style:normal;letter-spacing:-1px;}
.sales-postheadline em{color:#CC0000 !important;font-weight:bold;font-style:normal;letter-spacing:-1px;}

.launchtopheadline{ font-weight:bold;font-style:normal;letter-spacing:-1px; }
.launchbottomheadline{ font-weight:bold;font-style:normal;letter-spacing:-1px; }
.sidebar-headline{color:#215E8E !important;letter-spacing:-0px;font-weight:normal;}

#sidebarvideoboximage{height:163px;width:323px;background-image:url(http://softwarecompanyratings.com/wp-content/uploads/images/video1.jpg);}

#maintopbar{background-color:#;}
#footer{background-color:#;}

a {color:#0000ff;text-decoration:none;}




.launchtopheadline{color:#;letter-spacing:-1px;font-weight:normal;}.launchbottomheadline{color:#;letter-spacing:-1px;font-weight:normal;}
.launch1navbar li {
font-size:15px;
letter-spacing:0.15em;
padding:0 20px 0 25px;
text-transform:uppercase;
font-weight:normal;
}
#launchbk p {font-family:Arial, Helvetica, Sans-serif;}
#launchbk h2{font-family:Arial, Helvetica, Sans-serif;}
#launchbk h3{font-family:Arial, Helvetica, Sans-serif;}
#launchbk h1{font-family:Arial, Helvetica, Sans-serif;}
body{font-family:Arial, Helvetica, Sans-serif;background-image:none;}
#launchcommentslink { display:none; }#main li{background-image: url(http://softwarecompanyratings.com/wp-content/themes/OptimizePress/images/style1.png)}#main-lower li{background-image: url(http://softwarecompanyratings.com/wp-content/themes/OptimizePress/images/style1.png) !important;}
#main li{background-position:0 2px;padding-left:39px;}

.launch1navbar a.CurrentLinkActiveClass{color:#}

</style>

<script type="text/javascript" src="http://softwarecompanyratings.com/wp-content/themes/OptimizePress/js/cufon-yui.js"></script>
<script type="text/javascript" src="http://softwarecompanyratings.com/wp-content/themes/OptimizePress/js/qtobject.js"></script>
<script type="text/javascript" src="http://softwarecompanyratings.com/wp-content/themes/OptimizePress/js/flowplayer-3.2.10.min.js"></script>
<script type="text/javascript" src="http://softwarecompanyratings.com/wp-content/themes/OptimizePress/js/flowplayer.ipad-3.2.9.min.js"></script>

<script>
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}
</script>





<meta property="og:title" content="Software Compared - What Software is Right For You?" />
<meta property="og:site_name" content=""/>
<meta property="fb:app_id" content="">





<style>#membersnavbar {

background: url('http://softwarecompanyratings.com/wp-content/uploads/2014/08/back2.png') ;

}


#access li:hover > a, #access ul ul :hover > a {
background: none;
color: #967606;
background-image: none;
background-image: none;
filter:none;
progid:none;
-ms-filter: none;
text-shadow: 0 1px 0 #FCFCFC;
font-size: 17px;


}


input[type="search"]{
width:250;
height:30;
padding:15px;
border-radius:6px;
border:none;
color:#939393;
font-weight:500;
background-color:#fffbf8;
}

button[type="submit"]{
width:35px;
height:30px;
background-image:url(img/search-btn.png);
background-repeat: no-repeat;
background-position: 10px 5px;
background-color:transparent;
background-size:20px 20px;
border:none;
cursor:pointer;
}</style>

</head>
<body>
<div id="maintopbar"></div>















</div>







































<style>

#membersnavbar{height:100px;text-align:center;}
#membersnavbarbk{
background: #E8E8E8;
background-image: -moz-linear-gradient(100% 100% 90deg, #E8E8E8, #E8E8E8);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E8E8E8), to(#E8E8E8));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#E8E8E8, endColorstr=#E8E8E8);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#E8E8E8, endColorstr=#E8E8E8)";
border-bottom:px solid #E8E8E8;height:100px;
}

#access a {color:#545454;text-shadow:0 1px 0 #FFFFFF;font-weight:Bold;line-height:100px}

#access li:hover > a,

#access ul ul :hover > a {
background: #E8E8E8;
color: #805618;
background-image: -moz-linear-gradient(100% 100% 90deg, #E8E8E8, #E8E8E8);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E8E8E8), to(#E8E8E8));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#E8E8E8, endColorstr=#E8E8E8);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#E8E8E8, endColorstr=#E8E8E8)";
text-shadow:0 1px 0 #FCFCFC;
font-size:17px;
}

#access ul ul a {
background:#FFFFFF;
color: #FFFFFF;
background-image: -moz-linear-gradient(100% 100% 90deg, #FFFFFF, #F2F2F2);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F2F2F2), to(#FFFFFF));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F2F2F2, endColorstr=#FFFFFF);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#F2F2F2, endColorstr=#FFFFFF)";
text-shadow:0 1px 0 #FFFFFF;
}

#access ul ul{top:100px}

#access .menu-header, div.menu{font-size:17px}

#access ul li.current-menu-item > a{
font-size:17px;
padding:0 15px;
}

#access .menu-header li, div.menu li{font-size:17px;}
</style>




<style>

#launchheader{height:139px;background-image:url(http://softwarecompanyratings.com/wp-content/uploads/2014/09/Logo3.png);margin:0px auto;}
.launchheaderlogo{background-position:left center;background-image:url();height:139px;width:977px;background-repeat:no-repeat;}
#headertext{line-height:139px;text-align:center;width:977px;height:139px;font-size:48px;letter-spacing:-2px;font-weight:normal;}
#headerfullwidth{background-image:url(1200);margin:0px auto;}

</style>


<style>#membersnavbar {

background: url('http://softwarecompanyratings.com/wp-content/uploads/2014/08/back2.png') ;

}


#access li:hover > a, #access ul ul :hover > a {
background: none;
color: #967606;
background-image: none;
background-image: none;
filter:none;
progid:none;
-ms-filter: none;
text-shadow: 0 1px 0 #FCFCFC;
font-size: 17px;


}


input[type="search"]{
width:250;
height:30;
padding:15px;
border-radius:6px;
border:none;
color:#939393;
font-weight:500;
background-color:#fffbf8;
}

button[type="submit"]{
width:35px;
height:30px;
background-image:url(img/search-btn.png);
background-repeat: no-repeat;
background-position: 10px 5px;
background-color:transparent;
background-size:20px 20px;
border:none;
cursor:pointer;
}</style>



<div id="headerfullwidth">

<div id="launchheader">



</div>

</div>

</div><!--close headerfullwidth-->


<div id="membersnavbarbk">
<div id="membersnavbar">
<div id="access">
<div class="menu-header"><ul id="menu-menu" class="menu"><li id="menu-item-89" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-89"><a href="http://softwarecompanyratings.com">Start Here</a></li>
<li id="menu-item-1255" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1255"><a href="http://softwarecompanyratings.com/review-software/">Review Software</a></li>
<li id="menu-item-1256" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1256"><a href="http://softwarecompanyratings.com/compare-software/">Compare Software</a></li>
<li id="menu-item-1236" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1236"><a href="http://softwarecompanyratings.com/coupons-savings/">Coupons &#038; Savings</a></li>
<li id="menu-item-1238" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1238 has-image"><a href="http://softwarecompanyratings.com/guides/"><img width="217" height="65" src="http://softwarecompanyratings.com/wp-content/uploads/2014/09/SoftwareGuides.png" class="attachment-full wp-post-image" alt="Guides" title="Guides" /></a></li>
</ul></div></div>
</div>
</div>


<div id="launchheaderbottom"></div>

<div id="wrapper">



<div id="launchbk">

<?php if($postcustom['_launchpage_disablecookiecheck']) { ?>

<?php if($postcustom['_launchpage_showheaderlinks']) { ?>

<?php } else { ?>

<div style="display:none;">

<?php } ?>

<?php

include ("inc_pages_links.php");

?>



<?php if($postcustom['_launchpage_showheaderlinks']) { ?>

<?php } else { ?>

</div>

<?php } ?>

<?php } ?>




<!-- Headlines -->
<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Pre-Headline")</script>' : ''; ?><?php echo !empty($postcustom['_launchpage_preheadline']) ? '<h2 class="sales-preheadline">'.stripcslashes($postcustom['_launchpage_preheadline'][0]).'</h2>' : ""; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>

<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Main Headline")</script>' : ''; ?><?php echo ($postcustom['_launchpage_headlineabovevideotext']) ? '<h1 class="launchtopheadline">'.$postcustom['_launchpage_headlineabovevideotext'][0].'</h1>' : ''; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>

<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Sub Headline")</script>' : ''; ?><?php echo !empty($postcustom['_launchpage_subheadline']) ? '<h2 class="sales-postheadline">'. stripcslashes($postcustom['_launchpage_subheadline'][0]) .'</h2>' : ""; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>

<?php echo ($postcustom['_launchpage_headlineabovevideotext']) ? '<div style="width:10px;margin:0px auto;padding-top:10px;"></div>' : ''; ?>
<!-- Close Headlines -->









<!--open launchinnertop-->

<?php if($postcustom['_launchpage_contentblockabovevideo'] && $postcustom['_launchpage_alertbartext']) { ?>

<div id="launchinnertop">

<?php echo nl2br($postcustom['_launchpage_contentblockabovevideo'][0]); ?>

<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Alert Bar")</script>' : ''; ?><?php echo '<div class="launchbanner_'.strtolower($postcustom['_launchpage_alertbarcolor'][0]).'">'.$postcustom['_launchpage_alertbartext'][0].'</div>'; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>

</div>

<?php } else if($postcustom['_launchpage_contentblockabovevideo']) { ?>

<div id="launchinnertop">

<?php echo nl2br($postcustom['_launchpage_contentblockabovevideo'][0]); // adds nl2br( ) to make the line breaks display as is ?>

</div>

<?php } else if($postcustom['_launchpage_alertbartext']) { ?>

<div id="launchinnertop">

<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Alert Bar")</script>' : ''; ?><?php echo '<div class="launchbanner_'.strtolower($postcustom['_launchpage_alertbarcolor'][0]).'">'.$postcustom['_launchpage_alertbartext'][0].'</div>'; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>

</div>

<?php } ?>

<!--close launchinnertop-->







<div id="launchvideocontainer" style="width:<?php echo $launchvideocontainerwidth; ?>; height:<?php echo $launchvideocontainerheight; ?>;">



<?php if(!empty($postcustom['_launchpage_activatevideo'])){ ?>



<div id="launchvideobox">



<?php if($postcustom['_launchpage_externalvideo']) { // start external video ?>

<?php echo $postcustom['_launchpage_externalvideo'][0]; ?>

<?php } else { ?>





<?php if(!empty($postcustom['_launchpage_videourl'])){

$videoheight = !empty($postcustom['_launchpage_videoheight']) ? stripcslashes($postcustom['_launchpage_videoheight'][0])."px" : "478px";

$videowidth = !empty($postcustom['_launchpage_videowidth']) ? stripcslashes($postcustom['_launchpage_videowidth'][0])."px" : "850px";

$myvideo = $postcustom['_launchpage_videourl'][0];

$myvideochangewidth = str_replace('width=','width="'.$videowidth.'"',$myvideo);

$myvideochangeheight = str_replace('height=','height="'.$videoheight.'"',$myvideochangewidth);

echo '<div id="videobox2" style="width:'.$videowidth.';height:'.$videoheight.'">';

echo stripcslashes($myvideochangeheight);

echo '</div>';

}else if(!empty($postcustom['_launchpage_hostedvideourl'])){

$videourl = !empty($postcustom['_launchpage_hostedvideourl']) ? stripcslashes($postcustom['_launchpage_hostedvideourl'][0]) : "";

$videoheight = !empty($postcustom['_launchpage_videoheight']) ? stripcslashes($postcustom['_launchpage_videoheight'][0])."px" : "478px";

$videowidth = !empty($postcustom['_launchpage_videowidth']) ? stripcslashes($postcustom['_launchpage_videowidth'][0])."px" : "850px";

if(!empty($videourl)){

?>

<?php $url = get_bloginfo('template_directory'); ?>

<?php $showcontrol = !empty($postcustom['_launchpage_showvideocontrolbar']) ? "over" : "none"; ?>

<?php $autoplay = !empty($postcustom['_launchpage_autoplay']) ? "true" : "false"; ?>



<!-- This is the Player Codes -->



<style>#launchvideobox{height:<?php echo $videoheight?>;width:<?php echo $videowidth?>;}

#videobox{height:<?php echo $videoheight?>;width:<?php echo $videowidth?>;}</style>



<?php


function isIphone() {



$agent = $_SERVER['HTTP_USER_AGENT'];



if (stristr($agent, 'iPhone') == TRUE || stristr($agent, 'iPod') == TRUE || stristr($agent, 'iPad') == TRUE) {



echo '<!--iPhone or iPod Touch detected-->';



return TRUE;



} else {



echo '<!--iPhone or iPod Touch not detected-->';



return FALSE;



}



}



?>



<?php if(isIphone()): ?>



<div id="player" style="width:<?php echo $videowidth?>;height:<?php echo $videoheight?>;">







<script type="text/javascript">



<!--



var myQTObject = new QTObject("", "<?php echo ($postcustom['_launchpage_mobilevideourl']) ? $postcustom['_launchpage_mobilevideourl'][0] : ''; ?>", "<?php echo $videowidth?>", "<?php echo $videoheight?>");



myQTObject.addParam("href","<?php echo ($postcustom['_launchpage_mobilevideourl']) ? $postcustom['_launchpage_mobilevideourl'][0] : ''; ?>");



myQTObject.addParam("target","myself");



myQTObject.addParam("controller","false");



myQTObject.addParam("autostart","<?php echo $autoplay?>");



myQTObject.addParam("kioskmode","true");



myQTObject.addParam("targetcache","true");



myQTObject.addParam("scale","aspect");



myQTObject.write();



//-->



</script>



</embed>



</div>







<?php else: ?>





<script type='text/javascript' src='<?php echo $url?>/js/swfobject.js'></script>



<div id="videobox3" style="width:<?php echo $videowidth?>;height:<?php echo $videoheight?>;">



<div id='mediaspace'><center>Your browser does not support Flash or does not have it installed. <a href="http://http://www.adobe.com/products/flashplayer/" target="_blank">Click here download Flash Now</a></center></div>



<script type='text/javascript'>

var so = new SWFObject('<?php echo $url?>/js/player.swf','mpl','<?php echo $videowidth?>','<?php echo $videoheight?>','9');

so.addParam('allowfullscreen','true');

so.addParam('allowscriptaccess','always');

so.addParam('wmode','opaque');

so.addVariable('file','<?php echo $videourl?>'); so.addVariable('image','<?php echo ($postcustom['_launchpage_videoimage1']) ? $postcustom['_launchpage_videoimage1'][0] : ''; ?>');

so.addVariable('controlbar','<?php echo $showcontrol?>');

so.addVariable('autostart','<?php echo $autoplay?>');

so.addVariable('stretching','fill');

<?php if($postcustom['_launchpage_videoplayercolor'][0]=='dark') { ?>

so.addVariable('screencolor','FFFFFF');

so.addVariable('backcolor','1b1b1b');

so.addVariable('frontcolor','FFFFFF');

so.addVariable('lightcolor','1173ba');

<?php } ?>

so.write('mediaspace');

</script>



</div>



<?php endif; ?>



<!-- This is the end of the Player Codes -->



<?php
}

}else{

echo '<div style="width:100%;margin:0 auto;text-align:center;">';

echo '<img style="max-width:590px;max-height:375px;" src="'.$postcustom['_launchpage_uploadvideothumbnail_images'][0].'">';

echo '</div>';

}



?>

<?php } // end non-externalvideo ?>





</div>



<?php } ?>

<div class="aclear"></div>

<?php if(!empty($postcustom['_launchpage_showvideodownloadlink'])){ ?>



<div id="videodownloadlink"><a href="<?php echo $postcustom['_launchpage_downloadvideourl'][0]; ?>" target="_blank"><?php echo $postcustom['_launchpage_videodownloadlinktext'][0]; ?></a></div>



<?php } ?>



</div><!--close videocontainer-->

















<?php if($postcustom['_launchpage_activatecalltoaction']) { // if Call to Action enabled *Under Video*

if($postcustom['_launchpage_activatedelaybutton']) {

$timedelay = ($postcustom['_launchpage_calltoactionbuttontimedelay']) ? $postcustom['_launchpage_calltoactionbuttontimedelay'][0]*1000 : 1000; // 1000 = 1 sec

echo '<script type="text/javascript">

jQuery(document).ready(function() {

setTimeout(function(){jQuery(".launchcta").show()}, '.$timedelay.');

});

</script>';

}

?>

<?php if($postcustom['_launchpage_showctabuttonundervideo']) { /*CTA Button Under Video Start*/ ?>

<div id="launchcta" class="launchcta" <?php echo ($postcustom['_launchpage_activatedelaybutton']) ? 'style="display: none;"' : ''; ?>>

<div id="ctastyle" style="height:162px;width:393px;margin:0px auto;background:transparent url(<?php echo $templatedir; ?>/images/ctabuttons/style/<?php echo stripcslashes($postcustom['_launchpage_calltoactionbuttonstyle'][0]); ?>.png) no-repeat scroll 0 0;">

<a <?php echo ($postcustom['_launchpage_ctalinkstarget'][0]) ? 'target="_blank"' : ''; ?> href="<?php echo $postcustom['_launchpage_calltoactionurl'][0]; ?>">

<img src="<?php echo $templatedir; ?>/images/ctabuttons/<?php echo stripcslashes($postcustom['_launchpage_calltoactionbutton'][0]); ?>.png" border="0" style="padding-top:8px;" />

</a>

</div><!--close ctastyle-->

</div><!--close launchcta-->

<?php } /*CTA Button Under Video End*/ ?>

<?php } ?>

<!--OPEN Optin Box #2-->

<?php if($postcustom['_launchpage_activedoubleoptin']) { ?>

<form action="<?php echo !empty($postcustom['_launchpage_optinformurl']) ? stripcslashes($postcustom['_launchpage_optinformurl'][0]) : ""?>" method="post">
<div id="launchoptin" style="margin-top:20px;">
<?php echo ($postcustom['_launchpage_optintitle']) ? '<div class="launchoptin-headline">'.$postcustom['_launchpage_optintitle'][0].'</div>' : ''; ?>

<?php echo ($postcustom['_launchpage_optintextblock']) ? '<div class="launchoptin-text">'.$postcustom['_launchpage_optintextblock'][0].'</div>' : ''; ?>


<div class="launchoptin-boxes">
<?php $namefield_name = !empty($postcustom['_launchpage_optinboxname']) ? stripcslashes($postcustom['_launchpage_optinboxname'][0]) : "" ?>
<?php $emailfield_name = !empty($postcustom['_launchpage_optinboxemail']) ? stripcslashes($postcustom['_launchpage_optinboxemail'][0]) : "" ?>

<?php $name_init = !empty($postcustom['_launchpage_optinboxnametext']) ? 'value="'.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'" name="'.$namefield_name.'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'\') {this.value = \'\';}"' : ' value="Enter your name..." name="'.$namefield_name.'" onblur="if (this.value == \'\') {this.value = \'Enter your name...\';}" onfocus="if (this.value == \'Enter your name...\') {this.value = \'\';}"';
$email_init = !empty($postcustom['_launchpage_optinboxemailtext']) ? 'value="'.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'" name="'.$emailfield_name.'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'\') {this.value = \'\';}"' : ' value="Enter your email..." name="'.$emailfield_name.'" onblur="if (this.value == \'\') {this.value = \'Enter your email...\';}" onfocus="if (this.value == \'Enter your email...\') {this.value = \'\';}"';
?>

<?php echo !empty($postcustom['_launchpage_optinboxnameshow']) ? '<input id="'.$namefield_name.'" class="text" type="text" size="20" '.$name_init.' />' : ""; ?>

<?php echo !empty($postcustom['_launchpage_optinboxemailshow']) ? '<input id="'.$emailfield_name.'" class="text" type="text" size="20" '.$email_init.' />' : ""; ?>

<?php $extra = 1;
while($extra<=5) {
$value_init = !empty($postcustom['_launchpage_extra'.$extra.'value']) ? 'value="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'\') {this.value = \'\';}"' : '';
echo !empty($postcustom['_launchpage_extra'.$extra.'ID']) ? '<input name="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'ID'][0]).'" id="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'ID'][0]).'" class="text" type="text" size="20" '.$value_init.' />' : "";
$extra++;
}
?>

</div>

<?php echo !empty($postcustom['_launchpage_webformhiddenhtml']) ? stripcslashes(eval('?>'.htmlspecialchars_decode($postcustom['_launchpage_webformhiddenhtml'][0]))) : ""; ?>

<center><input class="button1" id="submit_image_5f17aab77d6c" type="image" width="268" src="<?php echo stripcslashes($postcustom['_launchpage_optinbutton'][0]); ?>" name="submit" value=""/></center>

<?php echo !empty($postcustom['_launchpage_spamnoticetext']) ? '<div class="sidebar-padlock">'.stripcslashes($postcustom['_launchpage_spamnoticetext'][0]).'</div>' : ""; ?>

</div><!--close launchoptin-->
</form>

<?php } // End Active Double Optin ?>
<!--CLOSE Optin Box #2-->


<!-- OPEN Headline Under Video -->
<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Headline Below Video")</script>' : ''; ?><?php echo ($postcustom['_launchpage_headlinebelowvideotext']) ? '<h1 class="launchbottomheadline">'.$postcustom['_launchpage_headlinebelowvideotext'][0].'</h1>' : ''; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>
<!-- CLOSE Headline Under Video -->



<?php ?>

<?php if($postcustom['_launchpage_activatedelaycontentbox']) { // if Delayed Content Box Enabled ?>

<?php if($postcustom['_launchpage_showcontentboxtextundervideo']) { // Delayed Content Box Under Video

$contentboxtimedelay = ($postcustom['_launchpage_delaycontentboxtimedelay']) ? $postcustom['_launchpage_delaycontentboxtimedelay'][0]*1000 : 1000; //1000 = 1sec

echo '<script type="text/javascript">

jQuery(document).ready(function() {

setTimeout(function(){jQuery(".delaycontentbox").show()}, '.$contentboxtimedelay.');

});

</script>';

?>

<div id="delayedcontent" class="delaycontentbox" <?php echo ($postcustom['_launchpage_activatedelaycontentbox']) ? 'style="display: none;"' : ''; ?>>

<?php echo ($postcustom['_launchpage_delaycontentboxtext']) ? stripslashes($postcustom['_launchpage_delaycontentboxtext'][0]) : ''; ?>

</div>

<?php } // end Delayed Content Box Under Video

} // end if Delayed Content Box Enabled ?>





<div id="launchinnermain">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>




<?php the_content(); ?>





</div>







<!--close launchinnermain-->







<?php if($postcustom['_launchpage_activateoptin']) { ?>



<form action="<?php echo !empty($postcustom['_launchpage_optinformurl']) ? stripcslashes($postcustom['_launchpage_optinformurl'][0]) : ""?>" method="post">

<div id="launchoptin">

<?php echo ($postcustom['_launchpage_optintitle']) ? '<div class="launchoptin-headline">'.$postcustom['_launchpage_optintitle'][0].'</div>' : ''; ?>



<?php echo ($postcustom['_launchpage_optintextblock']) ? '<div class="launchoptin-text">'.$postcustom['_launchpage_optintextblock'][0].'</div>' : ''; ?>





<div class="launchoptin-boxes">

<?php $namefield_name = !empty($postcustom['_launchpage_optinboxname']) ? stripcslashes($postcustom['_launchpage_optinboxname'][0]) : "" ?>

<?php $emailfield_name = !empty($postcustom['_launchpage_optinboxemail']) ? stripcslashes($postcustom['_launchpage_optinboxemail'][0]) : "" ?>



<?php // nick 10/29/2010

$name_init = !empty($postcustom['_launchpage_optinboxnametext']) ? 'value="'.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'" name="'.$namefield_name.'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'\') {this.value = \'\';}"' : ' value="Enter your name..." name="'.$namefield_name.'" onblur="if (this.value == \'\') {this.value = \'Enter your name...\';}" onfocus="if (this.value == \'Enter your name...\') {this.value = \'\';}"';

$email_init = !empty($postcustom['_launchpage_optinboxemailtext']) ? 'value="'.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'" name="'.$emailfield_name.'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'\') {this.value = \'\';}"' : ' value="Enter your email..." name="'.$emailfield_name.'" onblur="if (this.value == \'\') {this.value = \'Enter your email...\';}" onfocus="if (this.value == \'Enter your email...\') {this.value = \'\';}"';

?>



<?php echo !empty($postcustom['_launchpage_optinboxnameshow']) ? '<input id="'.$namefield_name.'" class="text" type="text" size="20" '.$name_init.' />' : ""; ?>



<?php echo !empty($postcustom['_launchpage_optinboxemailshow']) ? '<input id="'.$emailfield_name.'" class="text" type="text" size="20" '.$email_init.' />' : ""; ?>









<?php $extra = 1;

while($extra<=5) {

$value_init = !empty($postcustom['_launchpage_extra'.$extra.'value']) ? 'value="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'\') {this.value = \'\';}"' : '';

echo !empty($postcustom['_launchpage_extra'.$extra.'ID']) ? '<input name="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'ID'][0]).'" id="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'ID'][0]).'" class="text" type="text" size="20" '.$value_init.' />' : "";

$extra++;

}

?>





</div>



<?php echo !empty($postcustom['_launchpage_webformhiddenhtml']) ? stripcslashes(eval('?>'.htmlspecialchars_decode($postcustom['_launchpage_webformhiddenhtml'][0]))) : ""; ?>

<center><input class="button1" id="submit_image_5f17aab77d6c" type="image" width="268" src="<?php echo stripcslashes($postcustom['_launchpage_optinbutton'][0]); ?>" name="submit" value=""/></center>

<?php echo !empty($postcustom['_launchpage_spamnoticetext']) ? '<div class="sidebar-padlock">'.stripcslashes($postcustom['_launchpage_spamnoticetext'][0]).'</div>' : ""; ?>



</div><!--close launchoptin-->

</form>



<?php } ?>









<?php if($postcustom['_launchpage_activatecalltoaction']) { // if Call to Action enabled *After Content* ?>

<?php if($postcustom['_launchpage_showctabuttonaftercontent']) { /*CTA Button After Content Start*/ ?>

<div id="launchcta" class="launchcta" <?php echo ($postcustom['_launchpage_activatedelaybutton']) ? 'style="display: none;"' : ''; ?>>

<div id="ctastyle" style="height:162px;width:393px;margin:0px auto;background:transparent url(<?php echo $templatedir; ?>/images/ctabuttons/style/<?php echo stripcslashes($postcustom['_launchpage_calltoactionbuttonstyle'][0]); ?>.png) no-repeat scroll 0 0;">

<a <?php echo ($postcustom['_launchpage_ctalinkstarget'][0]) ? 'target="_blank"' : ''; ?> href="<?php echo $postcustom['_launchpage_calltoactionurl'][0]; ?>">

<img src="<?php echo $templatedir; ?>/images/ctabuttons/<?php echo stripcslashes($postcustom['_launchpage_calltoactionbutton'][0]); ?>.png" border="0" style="padding-top:8px;" />

</a>

</div><!--close ctastyle-->

</div><!--close launchcta-->

<?php } /*CTA Button After Content End*/ ?>

<?php } ?>



<?php ?>

<?php if($postcustom['_launchpage_activatedelaycontentbox']) { // if Delayed Content Box Enabled ?>

<?php if($postcustom['_launchpage_showcontentboxtextaftercontent']) { // Delayed Content Box After Content

$contentboxtimedelay = ($postcustom['_launchpage_delaycontentboxtimedelay']) ? $postcustom['_launchpage_delaycontentboxtimedelay'][0]*1000 : 1000; //1000 = 1sec

echo '<script type="text/javascript">

jQuery(document).ready(function() {

setTimeout(function(){jQuery(".delaycontentbox").show()}, '.$contentboxtimedelay.');

});

</script>';

?>

<div id="delayedcontent" class="delaycontentbox" <?php echo ($postcustom['_launchpage_activatedelaycontentbox']) ? 'style="display: none;"' : ''; ?>>

<?php echo ($postcustom['_launchpage_delaycontentboxtext']) ? stripslashes($postcustom['_launchpage_delaycontentboxtext'][0]) : ''; ?>

</div>

<?php } // end Delayed Content Box After Content

} // end if Delayed Content Box Enabled ?>


<!--OPEN COMMENTS-->
<?php if($postcustom['_launchpage_activatecomments']) { ?>
<div id="launchcommentslink">
<div id="launchcommentsarrow"></div>
<?php echo ($postcustom['_launchpage_commentscalltoactiontext']) ? '<div id="launchcommentstext">'.$postcustom['_launchpage_commentscalltoactiontext'][0].'</div>' : ''; ?>
</div>
<?php } ?>

<div id="launchcommentsblock">

<?php if($postcustom['_launchpage_activatecomments']) {
switch($postcustom['_launchpage_commentssystem'][0]) {
case "Wordpress" : { ?>
<div id="wpcomments">

<div class="commenticon"></div><div class="commenttitle"><h2><?php echo ($postcustom['_launchpage_wpcommentstitle']) ? $postcustom['_launchpage_wpcommentstitle'][0] : 'Leave A Reply'; ?> (<?php comments_number('No comments', 'One comment', '% comments'); ?> so far)</h2></div><div class="aclear"></div><div class="aclear"></div>

<?php comments_template(); // Get wp-comments.php template ?>

</div>
<?php break; }
case "Facebook" : { ?>
<div id="fbcomments">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php echo $thesharelink; ?>" show_faces="true" send="true" width="850" font=""></fb:like>
<div id="fb-root" style="padding-top:8px;"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=<?php echo $facebookappid; ?>";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-comments" data-href="<?php echo $thesharelink; ?>" data-num-posts="<?php echo ($postcustom['_launchpage_fbcommentnum']) ? $postcustom['_launchpage_fbcommentnum'][0] : '20'; ?>" data-width="850" publish_feed="true"></div>


</div>

<?php break; }

case "Both" : { ?>

<?php if($postcustom['_launchpage_commentsorder'][0]=="fbwp") : ?>
<div id="fbcomments">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php echo $thesharelink; ?>" show_faces="true" send="true" width="850" font=""></fb:like>
<div id="fb-root" style="padding-top:8px;"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=<?php echo $facebookappid; ?>";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-comments" data-href="<?php echo $thesharelink; ?>" data-num-posts="<?php echo ($postcustom['_launchpage_fbcommentnum']) ? $postcustom['_launchpage_fbcommentnum'][0] : '20'; ?>" data-width="850" publish_feed="true"></div>


</div>
<div id="wpcomments">

<div class="commenticon"></div><div class="commenttitle"><h2><?php echo ($postcustom['_launchpage_wpcommentstitle']) ? $postcustom['_launchpage_wpcommentstitle'][0] : 'Leave A Reply'; ?> (<?php comments_number('No comments', 'One comment', '% comments'); ?> so far)</h2></div><div class="aclear"></div><div class="aclear"></div>

<?php comments_template(); // Get wp-comments.php template ?>

</div>
<?php elseif($postcustom['_launchpage_commentsorder'][0]=="wpfb") : ?>
<div id="wpcomments">

<div class="commenticon"></div><div class="commenttitle"><h2><?php echo ($postcustom['_launchpage_wpcommentstitle']) ? $postcustom['_launchpage_wpcommentstitle'][0] : 'Leave A Reply'; ?> (<?php comments_number('No comments', 'One comment', '% comments'); ?> so far)</h2></div><div class="aclear"></div><div class="aclear"></div>

<?php comments_template(); // Get wp-comments.php template ?>

</div>
<div id="fbcomments">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php echo $thesharelink; ?>" show_faces="true" send="true" width="850" font=""></fb:like>
<div id="fb-root" style="padding-top:8px;"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=<?php echo $facebookappid; ?>";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-comments" data-href="<?php echo $thesharelink; ?>" data-num-posts="<?php echo ($postcustom['_launchpage_fbcommentnum']) ? $postcustom['_launchpage_fbcommentnum'][0] : '20'; ?>" data-width="850" publish_feed="true"></div>


</div>
<?php endif; ?>
<?php break; }
} //end switch
} //end if comment enabled ?>
</div><!--close launchcommentsblock-->
<?php endwhile; ?>

<!--CLOSE COMMENTS-->


<div class="aclear"></div>



</div><!--Close launchbk-->

<div id="launchfooter"></div>

</div><!--Close launchwrapper-->

<div id="wrapper">







</div><!--Close wrapper-->

<div id="footer">



<div id="footer-inside">



<?php if(!$postcustom['_launchpage_disabledisclaimermsg']) { // On-Page disabled ?>

<?php if($activatefooterdisclaimermsg) { // if Footer Disclaimer Message Activated ?>

<div id="footer-disclaimer">

<?php echo ($footerdisclaimermsg) ? stripslashes($footerdisclaimermsg) : ""; ?>

</div>

<?php } ?>

<?php } // end On-Page disabled ?>


<div class="footer-right">
<?php if($postcustom['_launchpage_showfooterlinks'][0]) { ?>
<?php if($footer_include) { ?>
<ul>
<?php
function new_nav_menu_items($items) {
return str_replace('<a', '<a target="_blank"', $items);
}
($footerlinkstarget) ? add_filter( 'wp_list_pages', 'new_nav_menu_items' ) : '';
?>
<?php wp_list_pages("depth=0&sort_column=menu_order&include=".$footer_include."&title_li="); ?>
</ul>
<?php } ?>
<?php } ?>
</div>
<div class="footer-left">Copyright &copy; <?php echo ($footer_text) ? stripslashes($footer_text) : ""; ?>
<?php echo ($footer_poweredby) ? ( ($footer_afflink) ? '<a href="'.$footer_afflink.'">Powered by OptimizePress</a>' : 'Powered by OptimizePress' ) : ''; ?>
</div>
</div>

</div><!--close footer-->

<?php include ("exit-redirect.php"); ?>



<?php // custom tracking code

echo ($customtrackingcodefooter) ? eval('?>'.stripcslashes(stripslashes($customtrackingcodefooter))) : ""; ?>

<?php echo ($postcustom['_seo_footertrackingjscode']) ? eval('?>'.stripcslashes($postcustom['_seo_footertrackingjscode'][0])) : ""; ?>





<?php wp_footer(); ?>

<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>

</body>

<?php // only loads the cufon style that are going to use
$loadfontsarray = array('Arial'=>'Arial_400-Arial_700-Arial_italic_400-Arial_italic_700.font','Impact'=>'Impact_400.font','Georgia'=>'Georgia_400-Georgia_700.font','Tahoma'=>'Tahoma_400-Tahoma_700.font','Vegur'=>'Vegur_300-Vegur_700.font','Arial Narrow'=>'Arial_Narrow_400-Arial_Narrow_700.font');
$hlactiv8d = array(); // get activated headline/header options
($postcustom['_launchpage_activatepreheadline']) ? $hlactiv8d[] = "postcustom['_launchpage_preheadlinefont'][0]" : "";
($postcustom['_launchpage_activatesubheadline']) ? $hlactiv8d[] = "postcustom['_launchpage_subheadlinefont'][0]" : "";
($postcustom['_launchpage_activateh1abovevideotext']) ? $hlactiv8d[] = "postcustom['_launchpage_headlineabovevideofont'][0]" : "";
($postcustom['_launchpage_activateh1belowvideotext']) ? $hlactiv8d[] = "postcustom['_launchpage_headlinebelowvideofont'][0]" : "";
($postcustom['_launchpage_activateheadertext']) ? $hlactiv8d[] = "postcustom['_launchpage_headertextfont'][0]" : "";
$hlactiv8d[] = "postcustom['_launchpage_subheadcufonfont'][0]";
$activatednum = count($hlactiv8d);
$cond = implode('==&#36;key || ', $hlactiv8d);
$cond = $cond.'==&#36;key';
function getcond($cond, $key, $counts, $test) {
global $post;
$actv8d = explode("'", $cond);
$i = 1; $miketest = array(); $condactv8 = array(); $counts = $counts*2;
while ( $i <= $counts ) {
$condactv8[$i] = get_post_meta($post->ID, $actv8d[$i], true);
if($condactv8[$i]==$key) { $thisistrue = 'true'; }
$i = $i+2;
}
return ($thisistrue=='true') ? true : false;
}
foreach ($loadfontsarray as $key => $value) {
echo (getcond($cond, $key, $activatednum, $test)) ? '<script type="text/javascript" src="'.$templatedir.'/js/fonts/'.$value.'.js"></script>' : '';
}
// since there are fields that uses Hand of Sean fonts let's load it automatically
echo '<script type="text/javascript" src="'.$templatedir.'/js/fonts/Hand_Of_Sean_400.font.js"></script>'
?>

<script type="text/javascript">
Cufon.replace('.sales-preheadline', { fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_preheadlinefont'][0]); ?>' });
Cufon.replace('.sales-postheadline', { fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_subheadlinefont'][0]); ?>' });
Cufon.replace('.launchtop-preheadline', { fontFamily: 'Arial' });
Cufon.replace('.launchtopheadline', {fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_headlineabovevideofont'][0]); ?>' });
Cufon.replace('.launchbottomheadline', { fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_headlinebelowvideofont'][0]); ?>' });
Cufon.replace('.sharetext', { fontFamily: 'Hand Of Sean' });
Cufon.replace('#launchcommentstext', { fontFamily: 'Hand Of Sean' });
Cufon.replace('.launchoptin-headline', { fontFamily: 'Hand Of Sean' });
Cufon.replace('#headertext', {
fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_headertextfont'][0]); ?>' ,
textShadow: '1px 1px #<?php echo stripcslashes($postcustom['_launchpage_headertextshadowcolor'][0]); ?>'
});
Cufon.replace('.subheadcufonfont', { fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_subheadcufonfont'][0]); ?>' });
</script>
</html>


timDesain Nanang comments:

ups, I am sorry.

btw, your theme (page.php) looks weird.
It should be:

<?php get_header(); ?>

the content is here:
- single page
- woocommerce
- archive
- etc

<?php get_sidebar(); ?>
<?php get_footer(); ?>


and I can't find the <strong><?php woocommerce_content(); ?></strong>


timDesain Nanang comments:

<strong>wp_head()</strong> and <strong>wp_footer()</strong> are needed by WooCommerce's hook to work.

wp_head() located in header.php and will be rendered by get_header().
wp_footer() located in footer.php and will be rendered by get_footer().

but, your theme has lack both of them.


DearKate comments:

This is the page info I added to the woocommerce.php before I edited it:

I re-added this tonight and it has the wp_head and wp_footer info in it:


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<?php /*
Template Name: Sales Style 2 (Sales Letter Standard)
*/
?>
<?php $postcustom = get_post_custom($post->ID);
$templatedir = get_bloginfo('template_directory');
include 'inc_user_direct_access.php';
($postcustom['_launchpage_disablecookiecheck']) ? include 'inc_pages_links_check.php' : ''; // Enable/Disable Cookie Check
?>

<?php get_header();?>
<?php include ("exit-pop.php"); ?>



<?php require(OPTPRESS_INCLUDES . "/var.php"); ?>

<?php if($postcustom['_launchpage_shownavbar']) { ?>

<style>

#membersnavbar{<?php echo ($salesletterpagenavbarheight) ? 'height:'.$salesletterpagenavbarheight.'px' : ""; ?>;<?php echo ($salesletternavbaralignment) ? 'text-align:'.stripslashes($salesletternavbaralignment).';' : ""; ?>}
#membersnavbarbk{
background: #<?php echo ($salesletternavbarmainbggradienttopcolor) ? $salesletternavbarmainbggradienttopcolor : ""; ?>;
background-image: -moz-linear-gradient(100% 100% 90deg, #<?php echo ($salesletternavbarmainbggradientbotcolor) ? $salesletternavbarmainbggradientbotcolor : ""; ?>, #<?php echo ($salesletternavbarmainbggradienttopcolor) ? $salesletternavbarmainbggradienttopcolor : ""; ?>);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#<?php echo ($salesletternavbarmainbggradienttopcolor) ? $salesletternavbarmainbggradienttopcolor : ""; ?>), to(#<?php echo ($salesletternavbarmainbggradientbotcolor) ? $salesletternavbarmainbggradientbotcolor : ""; ?>));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#<?php echo ($salesletternavbarmainbggradienttopcolor) ? $salesletternavbarmainbggradienttopcolor : ""; ?>, endColorstr=#<?php echo ($salesletternavbarmainbggradientbotcolor) ? $salesletternavbarmainbggradientbotcolor : ""; ?>);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#<?php echo ($salesletternavbarmainbggradienttopcolor) ? $salesletternavbarmainbggradienttopcolor : ""; ?>, endColorstr=#<?php echo ($salesletternavbarmainbggradientbotcolor) ? $salesletternavbarmainbggradientbotcolor : ""; ?>)";
border-bottom:<?php echo ($salesletternavbarbottomlinethickness) ? $salesletternavbarbottomlinethickness : ""; ?>px solid #<?php echo ($salesletternavbarbottomlinecolor) ? $salesletternavbarbottomlinecolor : ""; ?>;<?php echo ($salesletterpagenavbarheight) ? 'height:'.$salesletterpagenavbarheight.'px' : ""; ?>;
}

#access a {color:#<?php echo ($salesletternavbartextcolor) ? $salesletternavbartextcolor : ""; ?>;text-shadow:0 1px 0 #<?php echo ($salesletternavbartextshadow) ? $salesletternavbartextshadow : ""; ?>;<?php echo ($salesletterpagenavbarfontw8) ? 'font-weight:'.$salesletterpagenavbarfontw8 : ""; ?>;<?php echo ($salesletterpagenavbarheight) ? 'line-height:'.$salesletterpagenavbarheight.'px' : ""; ?>}

#access li:hover > a,

#access ul ul :hover > a {
background: #<?php echo ($salesletternavbarmainbggradientbotcolor) ? $salesletternavbarmainbggradientbotcolor : ""; ?>;
color: #<?php echo ($salesletternavbartexthovercolor) ? $salesletternavbartexthovercolor : ""; ?>;
background-image: -moz-linear-gradient(100% 100% 90deg, #<?php echo ($salesletternavbarmainbggradienthoverbotcolor) ? $salesletternavbarmainbggradienthoverbotcolor : ""; ?>, #<?php echo ($salesletternavbarmainbggradienthovertopcolor) ? $salesletternavbarmainbggradienthovertopcolor : ""; ?>);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#<?php echo ($salesletternavbarmainbggradienthovertopcolor) ? $salesletternavbarmainbggradienthovertopcolor : ""; ?>), to(#<?php echo ($salesletternavbarmainbggradienthoverbotcolor) ? $salesletternavbarmainbggradienthoverbotcolor : ""; ?>));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#<?php echo ($salesletternavbarmainbggradienthovertopcolor) ? $salesletternavbarmainbggradienthovertopcolor : ""; ?>, endColorstr=#<?php echo ($salesletternavbarmainbggradienthoverbotcolor) ? $salesletternavbarmainbggradienthoverbotcolor : ""; ?>);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#<?php echo ($salesletternavbarmainbggradienthovertopcolor) ? $salesletternavbarmainbggradienthovertopcolor : ""; ?>, endColorstr=#<?php echo ($salesletternavbarmainbggradienthoverbotcolor) ? $salesletternavbarmainbggradienthoverbotcolor : ""; ?>)";
text-shadow:0 1px 0 #<?php echo ($salesletternavbartexthovercolorshadow) ? $salesletternavbartexthovercolorshadow : ""; ?>;
font-size:<?php echo ($salesletternavbarfontsize) ? $salesletternavbarfontsize : ""; ?>px;
}

#access ul ul a {
background:#<?php echo ($salesletternavbarsubbggradientbotcolor) ? $salesletternavbarsubbggradientbotcolor : ""; ?>;
color: #<?php echo ($salesletternavbarsubtextcolor) ? $salesletternavbarsubtextcolor : ""; ?>;
background-image: -moz-linear-gradient(100% 100% 90deg, #<?php echo ($salesletternavbarsubbggradientbotcolor) ? $salesletternavbarsubbggradientbotcolor : ""; ?>, #<?php echo ($salesletternavbarsubbggradienttopcolor) ? $salesletternavbarsubbggradienttopcolor : ""; ?>);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#<?php echo ($salesletternavbarsubbggradienttopcolor) ? $salesletternavbarsubbggradienttopcolor : ""; ?>), to(#<?php echo ($salesletternavbarsubbggradientbotcolor) ? $salesletternavbarsubbggradientbotcolor : ""; ?>));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#<?php echo ($salesletternavbarsubbggradienttopcolor) ? $salesletternavbarsubbggradienttopcolor : ""; ?>, endColorstr=#<?php echo ($salesletternavbarsubbggradientbotcolor) ? $salesletternavbarsubbggradientbotcolor : ""; ?>);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#<?php echo ($salesletternavbarsubbggradienttopcolor) ? $salesletternavbarsubbggradienttopcolor : ""; ?>, endColorstr=#<?php echo ($salesletternavbarsubbggradientbotcolor) ? $salesletternavbarsubbggradientbotcolor : ""; ?>)";
text-shadow:0 1px 0 #<?php echo ($salesletternavbarsubtextshadow) ? $salesletternavbarsubtextshadow : ""; ?>;
}

#access ul ul{<?php echo ($salesletterpagenavbarheight) ? 'top:'.$salesletterpagenavbarheight.'px' : ""; ?>}

#access .menu-header, div.menu{font-size:<?php echo ($salesletternavbarfontsize) ? $salesletternavbarfontsize : ""; ?>px}

#access ul li.current-menu-item > a{
font-size:<?php echo ($salesletternavbarfontsize) ? $salesletternavbarfontsize : ""; ?>px;
padding:0 15px;
}

#access .menu-header li, div.menu li{font-size:<?php echo ($salesletternavbarfontsize) ? $salesletternavbarfontsize : ""; ?>px;}
</style>

<?php } ?>

<?php if($postcustom['_launchpage_shownavbar'] && $postcustom['_launchpage_navbarposition'][0]=="Above Header") { ?>
<div id="membersnavbarbk">
<div id="membersnavbar">
<div id="access">
<?php wp_nav_menu(array('theme_location' => 'sales_menu', 'container_class' => 'menu-header')); ?>
</div>
</div>
</div>
<?php } ?>

<?php if($postcustom['_launchpage_showheader']) { ?>
<?php if($launchheader) { ?>
<?php $launchheader = ($postcustom['_launchpage_pageheaderurl']) ? stripslashes($postcustom['_launchpage_pageheaderurl'][0]) : $launchheader; ?>
<?php $launchheaderlogo = ($postcustom['_launchpage_pagelogo']) ? stripslashes($postcustom['_launchpage_pagelogo'][0]) : $launchheaderlogo; ?>
<?php $header_fullwidth = ($postcustom['_launchpage_pageheaderurlfullwidth']) ? stripslashes($postcustom['_launchpage_pageheaderurlfullwidth'][0]) : $header_fullwidth; ?>
<?php $header_height = ($postcustom['_launchpage_pageheader_height']) ? stripslashes($postcustom['_launchpage_pageheader_height'][0]) : $header_height; ?>
<?php $logo_align = ($postcustom['_launchpage_pagelogo_align']) ? stripslashes($postcustom['_launchpage_pagelogo_align'][0]) : $logo_align; ?>

<style>

#launchheader{<?php echo ($header_height) ? "height:".$header_height."px" : ""; ?>;background-image:url(<?php echo $launchheader; ?>);margin:0px auto;}
.launchheaderlogo{background-position:<?php echo $logo_align; ?> center;background-image:url(<?php echo $launchheaderlogo; ?>);<?php echo ($header_height) ? "height:".$header_height."px" : ""; ?>;width:977px;background-repeat:no-repeat;}
#headertext{<?php echo ($header_height) ? "line-height:".$header_height."px" : ""; ?>;text-align:center;width:977px;<?php echo ($header_height) ? "height:".$header_height."px" : ""; ?>;font-size:<?php echo ($postcustom['_launchpage_headertextsize']) ? $postcustom['_launchpage_headertextsize'][0].'px' : '48px'; ?>;letter-spacing:-2px;font-weight:normal;}
#headerfullwidth{<?php echo ($header_fullwidth) ? "background-image:url(".$header_fullwidth.");" : ""; ?>margin:0px auto;}

</style>


<?php if($customcss) {
echo '<style>';
echo stripslashes($customcss);
echo '</style>';}
?>

<?php if($postcustom['_seo_onpagecustomcss']) {
echo '<style>';
echo stripslashes($postcustom['_seo_onpagecustomcss'][0]);
echo '</style>';}
?>



<div id="headerfullwidth">

<div id="launchheader"<?php echo ($postcustom['_launchpage_showheaderhyperlink']) ? ' onclick="location.href=\''.$postcustom['_launchpage_headerhyperlink'][0].'\';" style="cursor: pointer;"' : ''; ?>>

<?php echo ($postcustom['_launchpage_showlogo']) ? '<div class="launchheaderlogo"></div>' : ''; ?>

<?php if($postcustom['_launchpage_activateheadertext']) { echo ($postcustom['_launchpage_headertext']) ? '<div id="headertext">'.stripslashes($postcustom['_launchpage_headertext'][0]).'</div>' : ''; } ?>

</div>

</div><!--close headerfullwidth-->

<?php } ?>

<?php } ?>

<?php if($postcustom['_launchpage_shownavbar'] && $postcustom['_launchpage_navbarposition'][0]=="Below Header") { ?>
<div id="membersnavbarbk">
<div id="membersnavbar">
<div id="access">
<?php wp_nav_menu(array('theme_location' => 'sales_menu', 'container_class' => 'menu-header')); ?>
</div>
</div>
</div>
<?php } ?>


<div id="launchheaderbottom"></div>

<div id="wrapper">



<div id="launchbk">

<?php if($postcustom['_launchpage_disablecookiecheck']) { ?>

<?php if($postcustom['_launchpage_showheaderlinks']) { ?>

<?php } else { ?>

<div style="display:none;">

<?php } ?>

<?php

include ("inc_pages_links.php");

?>



<?php if($postcustom['_launchpage_showheaderlinks']) { ?>

<?php } else { ?>

</div>

<?php } ?>

<?php } ?>




<!-- Headlines -->
<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Pre-Headline")</script>' : ''; ?><?php echo !empty($postcustom['_launchpage_preheadline']) ? '<h2 class="sales-preheadline">'.stripcslashes($postcustom['_launchpage_preheadline'][0]).'</h2>' : ""; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>

<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Main Headline")</script>' : ''; ?><?php echo ($postcustom['_launchpage_headlineabovevideotext']) ? '<h1 class="launchtopheadline">'.$postcustom['_launchpage_headlineabovevideotext'][0].'</h1>' : ''; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>

<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Sub Headline")</script>' : ''; ?><?php echo !empty($postcustom['_launchpage_subheadline']) ? '<h2 class="sales-postheadline">'. stripcslashes($postcustom['_launchpage_subheadline'][0]) .'</h2>' : ""; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>

<?php echo ($postcustom['_launchpage_headlineabovevideotext']) ? '<div style="width:10px;margin:0px auto;padding-top:10px;"></div>' : ''; ?>
<!-- Close Headlines -->









<!--open launchinnertop-->

<?php if($postcustom['_launchpage_contentblockabovevideo'] && $postcustom['_launchpage_alertbartext']) { ?>

<div id="launchinnertop">

<?php echo nl2br($postcustom['_launchpage_contentblockabovevideo'][0]); ?>

<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Alert Bar")</script>' : ''; ?><?php echo '<div class="launchbanner_'.strtolower($postcustom['_launchpage_alertbarcolor'][0]).'">'.$postcustom['_launchpage_alertbartext'][0].'</div>'; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>

</div>

<?php } else if($postcustom['_launchpage_contentblockabovevideo']) { ?>

<div id="launchinnertop">

<?php echo nl2br($postcustom['_launchpage_contentblockabovevideo'][0]); // adds nl2br( ) to make the line breaks display as is ?>

</div>

<?php } else if($postcustom['_launchpage_alertbartext']) { ?>

<div id="launchinnertop">

<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Alert Bar")</script>' : ''; ?><?php echo '<div class="launchbanner_'.strtolower($postcustom['_launchpage_alertbarcolor'][0]).'">'.$postcustom['_launchpage_alertbartext'][0].'</div>'; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>

</div>

<?php } ?>

<!--close launchinnertop-->







<div id="launchvideocontainer" style="width:<?php echo $launchvideocontainerwidth; ?>; height:<?php echo $launchvideocontainerheight; ?>;">



<?php if(!empty($postcustom['_launchpage_activatevideo'])){ ?>



<div id="launchvideobox">



<?php if($postcustom['_launchpage_externalvideo']) { // start external video ?>

<?php echo $postcustom['_launchpage_externalvideo'][0]; ?>

<?php } else { ?>





<?php if(!empty($postcustom['_launchpage_videourl'])){

$videoheight = !empty($postcustom['_launchpage_videoheight']) ? stripcslashes($postcustom['_launchpage_videoheight'][0])."px" : "478px";

$videowidth = !empty($postcustom['_launchpage_videowidth']) ? stripcslashes($postcustom['_launchpage_videowidth'][0])."px" : "850px";

$myvideo = $postcustom['_launchpage_videourl'][0];

$myvideochangewidth = str_replace('width=','width="'.$videowidth.'"',$myvideo);

$myvideochangeheight = str_replace('height=','height="'.$videoheight.'"',$myvideochangewidth);

echo '<div id="videobox2" style="width:'.$videowidth.';height:'.$videoheight.'">';

echo stripcslashes($myvideochangeheight);

echo '</div>';

}else if(!empty($postcustom['_launchpage_hostedvideourl'])){

$videourl = !empty($postcustom['_launchpage_hostedvideourl']) ? stripcslashes($postcustom['_launchpage_hostedvideourl'][0]) : "";

$videoheight = !empty($postcustom['_launchpage_videoheight']) ? stripcslashes($postcustom['_launchpage_videoheight'][0])."px" : "478px";

$videowidth = !empty($postcustom['_launchpage_videowidth']) ? stripcslashes($postcustom['_launchpage_videowidth'][0])."px" : "850px";

if(!empty($videourl)){

?>

<?php $url = get_bloginfo('template_directory'); ?>

<?php $showcontrol = !empty($postcustom['_launchpage_showvideocontrolbar']) ? "over" : "none"; ?>

<?php $autoplay = !empty($postcustom['_launchpage_autoplay']) ? "true" : "false"; ?>



<!-- This is the Player Codes -->



<style>#launchvideobox{height:<?php echo $videoheight?>;width:<?php echo $videowidth?>;}

#videobox{height:<?php echo $videoheight?>;width:<?php echo $videowidth?>;}</style>



<?php


function isIphone() {



$agent = $_SERVER['HTTP_USER_AGENT'];



if (stristr($agent, 'iPhone') == TRUE || stristr($agent, 'iPod') == TRUE || stristr($agent, 'iPad') == TRUE) {



echo '<!--iPhone or iPod Touch detected-->';



return TRUE;



} else {



echo '<!--iPhone or iPod Touch not detected-->';



return FALSE;



}



}



?>



<?php if(isIphone()): ?>



<div id="player" style="width:<?php echo $videowidth?>;height:<?php echo $videoheight?>;">







<script type="text/javascript">



<!--



var myQTObject = new QTObject("", "<?php echo ($postcustom['_launchpage_mobilevideourl']) ? $postcustom['_launchpage_mobilevideourl'][0] : ''; ?>", "<?php echo $videowidth?>", "<?php echo $videoheight?>");



myQTObject.addParam("href","<?php echo ($postcustom['_launchpage_mobilevideourl']) ? $postcustom['_launchpage_mobilevideourl'][0] : ''; ?>");



myQTObject.addParam("target","myself");



myQTObject.addParam("controller","false");



myQTObject.addParam("autostart","<?php echo $autoplay?>");



myQTObject.addParam("kioskmode","true");



myQTObject.addParam("targetcache","true");



myQTObject.addParam("scale","aspect");



myQTObject.write();



//-->



</script>



</embed>



</div>







<?php else: ?>





<script type='text/javascript' src='<?php echo $url?>/js/swfobject.js'></script>



<div id="videobox3" style="width:<?php echo $videowidth?>;height:<?php echo $videoheight?>;">



<div id='mediaspace'><center>Your browser does not support Flash or does not have it installed. <a href="http://http://www.adobe.com/products/flashplayer/" target="_blank">Click here download Flash Now</a></center></div>



<script type='text/javascript'>

var so = new SWFObject('<?php echo $url?>/js/player.swf','mpl','<?php echo $videowidth?>','<?php echo $videoheight?>','9');

so.addParam('allowfullscreen','true');

so.addParam('allowscriptaccess','always');

so.addParam('wmode','opaque');

so.addVariable('file','<?php echo $videourl?>'); so.addVariable('image','<?php echo ($postcustom['_launchpage_videoimage1']) ? $postcustom['_launchpage_videoimage1'][0] : ''; ?>');

so.addVariable('controlbar','<?php echo $showcontrol?>');

so.addVariable('autostart','<?php echo $autoplay?>');

so.addVariable('stretching','fill');

<?php if($postcustom['_launchpage_videoplayercolor'][0]=='dark') { ?>

so.addVariable('screencolor','FFFFFF');

so.addVariable('backcolor','1b1b1b');

so.addVariable('frontcolor','FFFFFF');

so.addVariable('lightcolor','1173ba');

<?php } ?>

so.write('mediaspace');

</script>



</div>



<?php endif; ?>



<!-- This is the end of the Player Codes -->



<?php
}

}else{

echo '<div style="width:100%;margin:0 auto;text-align:center;">';

echo '<img style="max-width:590px;max-height:375px;" src="'.$postcustom['_launchpage_uploadvideothumbnail_images'][0].'">';

echo '</div>';

}



?>

<?php } // end non-externalvideo ?>





</div>



<?php } ?>

<div class="aclear"></div>

<?php if(!empty($postcustom['_launchpage_showvideodownloadlink'])){ ?>



<div id="videodownloadlink"><a href="<?php echo $postcustom['_launchpage_downloadvideourl'][0]; ?>" target="_blank"><?php echo $postcustom['_launchpage_videodownloadlinktext'][0]; ?></a></div>



<?php } ?>



</div><!--close videocontainer-->





<!-- Start Share bar-->

<?php $thesharelink = ($postcustom['_launchpage_customshareurl'][0]!="") ? $postcustom['_launchpage_customshareurl'][0] : get_permalink($postcustom['_launchpage_page2share'][0]); ?>

<?php if($postcustom['_launchpage_activatesocialmedia']) { ?>

<div id="sharebarnew">

<div id="sharebarnew-left"></div>

<div id="sharebarnew-text"><img src="<?php echo ($postcustom['_launchpage_socialmediacalltoactiontext']) ? $templatedir.'/images/share/sharetext-'.$postcustom['_launchpage_socialmediacalltoactiontext'][0].'.png' : ''; ?>" style="border:0;"></div>

<div id="sharebarnew-fb"><?php echo ($postcustom['_launchpage_facebookshare']) ? '<a target="_blank" href="http://www.facebook.com/sharer.php?u='.$thesharelink.'&t='.$postcustom['_launchpage_facebookshare'][0].'"><img src="'.$templatedir.'/images/'.$postcustom['_launchpage_socialmeduabutton'][0].'fbsmall.png" border="0" /></a>' : ''; ?></div>

<div id="sharebarnew-twitter"><?php echo ($postcustom['_launchpage_twitterurl']) ? '<a target="_blank" href="http://twitter.com/share?text='.$postcustom['_launchpage_twitterurl'][0].' &url='.$thesharelink.'"><img src="'.$templatedir.'/images/'.$postcustom['_launchpage_socialmeduabutton'][0].'twittersmall.png" border="0" /></a>' : ''; ?></div>

<div id="sharebarnew-right"></div>

<div class="aclear"></div>

</div><!--close sharebar outer-->

<?php } ?>



<!--End Share Bar-->





<?php if($postcustom['_launchpage_activatecalltoaction']) { // if Call to Action enabled *Under Video*

if($postcustom['_launchpage_activatedelaybutton']) {

$timedelay = ($postcustom['_launchpage_calltoactionbuttontimedelay']) ? $postcustom['_launchpage_calltoactionbuttontimedelay'][0]*1000 : 1000; // 1000 = 1 sec

echo '<script type="text/javascript">

jQuery(document).ready(function() {

setTimeout(function(){jQuery(".launchcta").show()}, '.$timedelay.');

});

</script>';

}

?>

<?php if($postcustom['_launchpage_showctabuttonundervideo']) { /*CTA Button Under Video Start*/ ?>

<div id="launchcta" class="launchcta" <?php echo ($postcustom['_launchpage_activatedelaybutton']) ? 'style="display: none;"' : ''; ?>>

<div id="ctastyle" style="height:162px;width:393px;margin:0px auto;background:transparent url(<?php echo $templatedir; ?>/images/ctabuttons/style/<?php echo stripcslashes($postcustom['_launchpage_calltoactionbuttonstyle'][0]); ?>.png) no-repeat scroll 0 0;">

<a <?php echo ($postcustom['_launchpage_ctalinkstarget'][0]) ? 'target="_blank"' : ''; ?> href="<?php echo $postcustom['_launchpage_calltoactionurl'][0]; ?>">

<img src="<?php echo $templatedir; ?>/images/ctabuttons/<?php echo stripcslashes($postcustom['_launchpage_calltoactionbutton'][0]); ?>.png" border="0" style="padding-top:8px;" />

</a>

</div><!--close ctastyle-->

</div><!--close launchcta-->

<?php } /*CTA Button Under Video End*/ ?>

<?php } ?>

<!--OPEN Optin Box #2-->

<?php if($postcustom['_launchpage_activedoubleoptin']) { ?>

<form action="<?php echo !empty($postcustom['_launchpage_optinformurl']) ? stripcslashes($postcustom['_launchpage_optinformurl'][0]) : ""?>" method="post">
<div id="launchoptin" style="margin-top:20px;">
<?php echo ($postcustom['_launchpage_optintitle']) ? '<div class="launchoptin-headline">'.$postcustom['_launchpage_optintitle'][0].'</div>' : ''; ?>

<?php echo ($postcustom['_launchpage_optintextblock']) ? '<div class="launchoptin-text">'.$postcustom['_launchpage_optintextblock'][0].'</div>' : ''; ?>


<div class="launchoptin-boxes">
<?php $namefield_name = !empty($postcustom['_launchpage_optinboxname']) ? stripcslashes($postcustom['_launchpage_optinboxname'][0]) : "" ?>
<?php $emailfield_name = !empty($postcustom['_launchpage_optinboxemail']) ? stripcslashes($postcustom['_launchpage_optinboxemail'][0]) : "" ?>

<?php $name_init = !empty($postcustom['_launchpage_optinboxnametext']) ? 'value="'.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'" name="'.$namefield_name.'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'\') {this.value = \'\';}"' : ' value="Enter your name..." name="'.$namefield_name.'" onblur="if (this.value == \'\') {this.value = \'Enter your name...\';}" onfocus="if (this.value == \'Enter your name...\') {this.value = \'\';}"';
$email_init = !empty($postcustom['_launchpage_optinboxemailtext']) ? 'value="'.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'" name="'.$emailfield_name.'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'\') {this.value = \'\';}"' : ' value="Enter your email..." name="'.$emailfield_name.'" onblur="if (this.value == \'\') {this.value = \'Enter your email...\';}" onfocus="if (this.value == \'Enter your email...\') {this.value = \'\';}"';
?>

<?php echo !empty($postcustom['_launchpage_optinboxnameshow']) ? '<input id="'.$namefield_name.'" class="text" type="text" size="20" '.$name_init.' />' : ""; ?>

<?php echo !empty($postcustom['_launchpage_optinboxemailshow']) ? '<input id="'.$emailfield_name.'" class="text" type="text" size="20" '.$email_init.' />' : ""; ?>

<?php $extra = 1;
while($extra<=5) {
$value_init = !empty($postcustom['_launchpage_extra'.$extra.'value']) ? 'value="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'\') {this.value = \'\';}"' : '';
echo !empty($postcustom['_launchpage_extra'.$extra.'ID']) ? '<input name="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'ID'][0]).'" id="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'ID'][0]).'" class="text" type="text" size="20" '.$value_init.' />' : "";
$extra++;
}
?>

</div>

<?php echo !empty($postcustom['_launchpage_webformhiddenhtml']) ? stripcslashes(eval('?>'.htmlspecialchars_decode($postcustom['_launchpage_webformhiddenhtml'][0]))) : ""; ?>

<center><input class="button1" id="submit_image_5f17aab77d6c" type="image" width="268" src="<?php echo stripcslashes($postcustom['_launchpage_optinbutton'][0]); ?>" name="submit" value=""/></center>

<?php echo !empty($postcustom['_launchpage_spamnoticetext']) ? '<div class="sidebar-padlock">'.stripcslashes($postcustom['_launchpage_spamnoticetext'][0]).'</div>' : ""; ?>

</div><!--close launchoptin-->
</form>

<?php } // End Active Double Optin ?>
<!--CLOSE Optin Box #2-->


<!-- OPEN Headline Under Video -->
<?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '<script>utmx_section("Headline Below Video")</script>' : ''; ?><?php echo ($postcustom['_launchpage_headlinebelowvideotext']) ? '<h1 class="launchbottomheadline">'.$postcustom['_launchpage_headlinebelowvideotext'][0].'</h1>' : ''; ?><?php echo !empty($postcustom['_seo_activategoogleweboptimizermv']) ? '</noscript>' : ''; ?>
<!-- CLOSE Headline Under Video -->



<?php ?>

<?php if($postcustom['_launchpage_activatedelaycontentbox']) { // if Delayed Content Box Enabled ?>

<?php if($postcustom['_launchpage_showcontentboxtextundervideo']) { // Delayed Content Box Under Video

$contentboxtimedelay = ($postcustom['_launchpage_delaycontentboxtimedelay']) ? $postcustom['_launchpage_delaycontentboxtimedelay'][0]*1000 : 1000; //1000 = 1sec

echo '<script type="text/javascript">

jQuery(document).ready(function() {

setTimeout(function(){jQuery(".delaycontentbox").show()}, '.$contentboxtimedelay.');

});

</script>';

?>

<div id="delayedcontent" class="delaycontentbox" <?php echo ($postcustom['_launchpage_activatedelaycontentbox']) ? 'style="display: none;"' : ''; ?>>

<?php echo ($postcustom['_launchpage_delaycontentboxtext']) ? stripslashes($postcustom['_launchpage_delaycontentboxtext'][0]) : ''; ?>

</div>

<?php } // end Delayed Content Box Under Video

} // end if Delayed Content Box Enabled ?>





<div id="launchinnermain"> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>





</div><!--close launchinnermain-->







<?php if($postcustom['_launchpage_activateoptin']) { ?>



<form action="<?php echo !empty($postcustom['_launchpage_optinformurl']) ? stripcslashes($postcustom['_launchpage_optinformurl'][0]) : ""?>" method="post">

<div id="launchoptin">

<?php echo ($postcustom['_launchpage_optintitle']) ? '<div class="launchoptin-headline">'.$postcustom['_launchpage_optintitle'][0].'</div>' : ''; ?>



<?php echo ($postcustom['_launchpage_optintextblock']) ? '<div class="launchoptin-text">'.$postcustom['_launchpage_optintextblock'][0].'</div>' : ''; ?>





<div class="launchoptin-boxes">

<?php $namefield_name = !empty($postcustom['_launchpage_optinboxname']) ? stripcslashes($postcustom['_launchpage_optinboxname'][0]) : "" ?>

<?php $emailfield_name = !empty($postcustom['_launchpage_optinboxemail']) ? stripcslashes($postcustom['_launchpage_optinboxemail'][0]) : "" ?>



<?php // nick 10/29/2010

$name_init = !empty($postcustom['_launchpage_optinboxnametext']) ? 'value="'.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'" name="'.$namefield_name.'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_optinboxnametext'][0]).'\') {this.value = \'\';}"' : ' value="Enter your name..." name="'.$namefield_name.'" onblur="if (this.value == \'\') {this.value = \'Enter your name...\';}" onfocus="if (this.value == \'Enter your name...\') {this.value = \'\';}"';

$email_init = !empty($postcustom['_launchpage_optinboxemailtext']) ? 'value="'.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'" name="'.$emailfield_name.'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_optinboxemailtext'][0]).'\') {this.value = \'\';}"' : ' value="Enter your email..." name="'.$emailfield_name.'" onblur="if (this.value == \'\') {this.value = \'Enter your email...\';}" onfocus="if (this.value == \'Enter your email...\') {this.value = \'\';}"';

?>



<?php echo !empty($postcustom['_launchpage_optinboxnameshow']) ? '<input id="'.$namefield_name.'" class="text" type="text" size="20" '.$name_init.' />' : ""; ?>



<?php echo !empty($postcustom['_launchpage_optinboxemailshow']) ? '<input id="'.$emailfield_name.'" class="text" type="text" size="20" '.$email_init.' />' : ""; ?>









<?php $extra = 1;

while($extra<=5) {

$value_init = !empty($postcustom['_launchpage_extra'.$extra.'value']) ? 'value="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'" onblur="if (this.value == \'\') {this.value = \''.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'\';}" onfocus="if (this.value == \''.stripcslashes($postcustom['_launchpage_extra'.$extra.'value'][0]).'\') {this.value = \'\';}"' : '';

echo !empty($postcustom['_launchpage_extra'.$extra.'ID']) ? '<input name="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'ID'][0]).'" id="'.stripcslashes($postcustom['_launchpage_extra'.$extra.'ID'][0]).'" class="text" type="text" size="20" '.$value_init.' />' : "";

$extra++;

}

?>





</div>



<?php echo !empty($postcustom['_launchpage_webformhiddenhtml']) ? stripcslashes(eval('?>'.htmlspecialchars_decode($postcustom['_launchpage_webformhiddenhtml'][0]))) : ""; ?>

<center><input class="button1" id="submit_image_5f17aab77d6c" type="image" width="268" src="<?php echo stripcslashes($postcustom['_launchpage_optinbutton'][0]); ?>" name="submit" value=""/></center>

<?php echo !empty($postcustom['_launchpage_spamnoticetext']) ? '<div class="sidebar-padlock">'.stripcslashes($postcustom['_launchpage_spamnoticetext'][0]).'</div>' : ""; ?>



</div><!--close launchoptin-->

</form>



<?php } ?>









<?php if($postcustom['_launchpage_activatecalltoaction']) { // if Call to Action enabled *After Content* ?>

<?php if($postcustom['_launchpage_showctabuttonaftercontent']) { /*CTA Button After Content Start*/ ?>

<div id="launchcta" class="launchcta" <?php echo ($postcustom['_launchpage_activatedelaybutton']) ? 'style="display: none;"' : ''; ?>>

<div id="ctastyle" style="height:162px;width:393px;margin:0px auto;background:transparent url(<?php echo $templatedir; ?>/images/ctabuttons/style/<?php echo stripcslashes($postcustom['_launchpage_calltoactionbuttonstyle'][0]); ?>.png) no-repeat scroll 0 0;">

<a <?php echo ($postcustom['_launchpage_ctalinkstarget'][0]) ? 'target="_blank"' : ''; ?> href="<?php echo $postcustom['_launchpage_calltoactionurl'][0]; ?>">

<img src="<?php echo $templatedir; ?>/images/ctabuttons/<?php echo stripcslashes($postcustom['_launchpage_calltoactionbutton'][0]); ?>.png" border="0" style="padding-top:8px;" />

</a>

</div><!--close ctastyle-->

</div><!--close launchcta-->

<?php } /*CTA Button After Content End*/ ?>

<?php } ?>



<?php ?>

<?php if($postcustom['_launchpage_activatedelaycontentbox']) { // if Delayed Content Box Enabled ?>

<?php if($postcustom['_launchpage_showcontentboxtextaftercontent']) { // Delayed Content Box After Content

$contentboxtimedelay = ($postcustom['_launchpage_delaycontentboxtimedelay']) ? $postcustom['_launchpage_delaycontentboxtimedelay'][0]*1000 : 1000; //1000 = 1sec

echo '<script type="text/javascript">

jQuery(document).ready(function() {

setTimeout(function(){jQuery(".delaycontentbox").show()}, '.$contentboxtimedelay.');

});

</script>';

?>

<div id="delayedcontent" class="delaycontentbox" <?php echo ($postcustom['_launchpage_activatedelaycontentbox']) ? 'style="display: none;"' : ''; ?>>

<?php echo ($postcustom['_launchpage_delaycontentboxtext']) ? stripslashes($postcustom['_launchpage_delaycontentboxtext'][0]) : ''; ?>

</div>

<?php } // end Delayed Content Box After Content

} // end if Delayed Content Box Enabled ?>


<!--OPEN COMMENTS-->
<?php if($postcustom['_launchpage_activatecomments']) { ?>
<div id="launchcommentslink">
<div id="launchcommentsarrow"></div>
<?php echo ($postcustom['_launchpage_commentscalltoactiontext']) ? '<div id="launchcommentstext">'.$postcustom['_launchpage_commentscalltoactiontext'][0].'</div>' : ''; ?>
</div>
<?php } ?>

<div id="launchcommentsblock">

<?php if($postcustom['_launchpage_activatecomments']) {
switch($postcustom['_launchpage_commentssystem'][0]) {
case "Wordpress" : { ?>
<div id="wpcomments">

<div class="commenticon"></div><div class="commenttitle"><h2><?php echo ($postcustom['_launchpage_wpcommentstitle']) ? $postcustom['_launchpage_wpcommentstitle'][0] : 'Leave A Reply'; ?> (<?php comments_number('No comments', 'One comment', '% comments'); ?> so far)</h2></div><div class="aclear"></div><div class="aclear"></div>

<?php comments_template(); // Get wp-comments.php template ?>

</div>
<?php break; }
case "Facebook" : { ?>
<div id="fbcomments">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php echo $thesharelink; ?>" show_faces="true" send="true" width="850" font=""></fb:like>
<div id="fb-root" style="padding-top:8px;"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=<?php echo $facebookappid; ?>";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-comments" data-href="<?php echo $thesharelink; ?>" data-num-posts="<?php echo ($postcustom['_launchpage_fbcommentnum']) ? $postcustom['_launchpage_fbcommentnum'][0] : '20'; ?>" data-width="850" publish_feed="true"></div>


</div>

<?php break; }

case "Both" : { ?>

<?php if($postcustom['_launchpage_commentsorder'][0]=="fbwp") : ?>
<div id="fbcomments">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php echo $thesharelink; ?>" show_faces="true" send="true" width="850" font=""></fb:like>
<div id="fb-root" style="padding-top:8px;"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=<?php echo $facebookappid; ?>";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-comments" data-href="<?php echo $thesharelink; ?>" data-num-posts="<?php echo ($postcustom['_launchpage_fbcommentnum']) ? $postcustom['_launchpage_fbcommentnum'][0] : '20'; ?>" data-width="850" publish_feed="true"></div>


</div>
<div id="wpcomments">

<div class="commenticon"></div><div class="commenttitle"><h2><?php echo ($postcustom['_launchpage_wpcommentstitle']) ? $postcustom['_launchpage_wpcommentstitle'][0] : 'Leave A Reply'; ?> (<?php comments_number('No comments', 'One comment', '% comments'); ?> so far)</h2></div><div class="aclear"></div><div class="aclear"></div>

<?php comments_template(); // Get wp-comments.php template ?>

</div>
<?php elseif($postcustom['_launchpage_commentsorder'][0]=="wpfb") : ?>
<div id="wpcomments">

<div class="commenticon"></div><div class="commenttitle"><h2><?php echo ($postcustom['_launchpage_wpcommentstitle']) ? $postcustom['_launchpage_wpcommentstitle'][0] : 'Leave A Reply'; ?> (<?php comments_number('No comments', 'One comment', '% comments'); ?> so far)</h2></div><div class="aclear"></div><div class="aclear"></div>

<?php comments_template(); // Get wp-comments.php template ?>

</div>
<div id="fbcomments">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php echo $thesharelink; ?>" show_faces="true" send="true" width="850" font=""></fb:like>
<div id="fb-root" style="padding-top:8px;"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=<?php echo $facebookappid; ?>";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-comments" data-href="<?php echo $thesharelink; ?>" data-num-posts="<?php echo ($postcustom['_launchpage_fbcommentnum']) ? $postcustom['_launchpage_fbcommentnum'][0] : '20'; ?>" data-width="850" publish_feed="true"></div>


</div>
<?php endif; ?>
<?php break; }
} //end switch
} //end if comment enabled ?>
</div><!--close launchcommentsblock-->
<?php endwhile; ?>

<!--CLOSE COMMENTS-->


<div class="aclear"></div>



</div><!--Close launchbk-->

<div id="launchfooter"></div>

</div><!--Close launchwrapper-->

<div id="wrapper">







</div><!--Close wrapper-->

<div id="footer">



<div id="footer-inside">



<?php if(!$postcustom['_launchpage_disabledisclaimermsg']) { // On-Page disabled ?>

<?php if($activatefooterdisclaimermsg) { // if Footer Disclaimer Message Activated ?>

<div id="footer-disclaimer">

<?php echo ($footerdisclaimermsg) ? stripslashes($footerdisclaimermsg) : ""; ?>

</div>

<?php } ?>

<?php } // end On-Page disabled ?>


<div class="footer-right">
<?php if($postcustom['_launchpage_showfooterlinks'][0]) { ?>
<?php if($footer_include) { ?>
<ul>
<?php
function new_nav_menu_items($items) {
return str_replace('<a', '<a target="_blank"', $items);
}
($footerlinkstarget) ? add_filter( 'wp_list_pages', 'new_nav_menu_items' ) : '';
?>
<?php wp_list_pages("depth=0&sort_column=menu_order&include=".$footer_include."&title_li="); ?>
</ul>
<?php } ?>
<?php } ?>
</div>
<div class="footer-left">Copyright &copy; <?php echo ($footer_text) ? stripslashes($footer_text) : ""; ?>
<?php echo ($footer_poweredby) ? ( ($footer_afflink) ? '<a href="'.$footer_afflink.'">Powered by OptimizePress</a>' : 'Powered by OptimizePress' ) : ''; ?>
</div>
</div>

</div><!--close footer-->

<?php include ("exit-redirect.php"); ?>



<?php // custom tracking code

echo ($customtrackingcodefooter) ? eval('?>'.stripcslashes(stripslashes($customtrackingcodefooter))) : ""; ?>

<?php echo ($postcustom['_seo_footertrackingjscode']) ? eval('?>'.stripcslashes($postcustom['_seo_footertrackingjscode'][0])) : ""; ?>





<?php wp_footer(); ?>

<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>

</body>

<?php // only loads the cufon style that are going to use
$loadfontsarray = array('Arial'=>'Arial_400-Arial_700-Arial_italic_400-Arial_italic_700.font','Impact'=>'Impact_400.font','Georgia'=>'Georgia_400-Georgia_700.font','Tahoma'=>'Tahoma_400-Tahoma_700.font','Vegur'=>'Vegur_300-Vegur_700.font','Arial Narrow'=>'Arial_Narrow_400-Arial_Narrow_700.font');
$hlactiv8d = array(); // get activated headline/header options
($postcustom['_launchpage_activatepreheadline']) ? $hlactiv8d[] = "postcustom['_launchpage_preheadlinefont'][0]" : "";
($postcustom['_launchpage_activatesubheadline']) ? $hlactiv8d[] = "postcustom['_launchpage_subheadlinefont'][0]" : "";
($postcustom['_launchpage_activateh1abovevideotext']) ? $hlactiv8d[] = "postcustom['_launchpage_headlineabovevideofont'][0]" : "";
($postcustom['_launchpage_activateh1belowvideotext']) ? $hlactiv8d[] = "postcustom['_launchpage_headlinebelowvideofont'][0]" : "";
($postcustom['_launchpage_activateheadertext']) ? $hlactiv8d[] = "postcustom['_launchpage_headertextfont'][0]" : "";
$hlactiv8d[] = "postcustom['_launchpage_subheadcufonfont'][0]";
$activatednum = count($hlactiv8d);
$cond = implode('==&#36;key || ', $hlactiv8d);
$cond = $cond.'==&#36;key';
function getcond($cond, $key, $counts, $test) {
global $post;
$actv8d = explode("'", $cond);
$i = 1; $miketest = array(); $condactv8 = array(); $counts = $counts*2;
while ( $i <= $counts ) {
$condactv8[$i] = get_post_meta($post->ID, $actv8d[$i], true);
if($condactv8[$i]==$key) { $thisistrue = 'true'; }
$i = $i+2;
}
return ($thisistrue=='true') ? true : false;
}
foreach ($loadfontsarray as $key => $value) {
echo (getcond($cond, $key, $activatednum, $test)) ? '<script type="text/javascript" src="'.$templatedir.'/js/fonts/'.$value.'.js"></script>' : '';
}
// since there are fields that uses Hand of Sean fonts let's load it automatically
echo '<script type="text/javascript" src="'.$templatedir.'/js/fonts/Hand_Of_Sean_400.font.js"></script>'
?>

<script type="text/javascript">
Cufon.replace('.sales-preheadline', { fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_preheadlinefont'][0]); ?>' });
Cufon.replace('.sales-postheadline', { fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_subheadlinefont'][0]); ?>' });
Cufon.replace('.launchtop-preheadline', { fontFamily: 'Arial' });
Cufon.replace('.launchtopheadline', {fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_headlineabovevideofont'][0]); ?>' });
Cufon.replace('.launchbottomheadline', { fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_headlinebelowvideofont'][0]); ?>' });
Cufon.replace('.sharetext', { fontFamily: 'Hand Of Sean' });
Cufon.replace('#launchcommentstext', { fontFamily: 'Hand Of Sean' });
Cufon.replace('.launchoptin-headline', { fontFamily: 'Hand Of Sean' });
Cufon.replace('#headertext', {
fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_headertextfont'][0]); ?>' ,
textShadow: '1px 1px #<?php echo stripcslashes($postcustom['_launchpage_headertextshadowcolor'][0]); ?>'
});
Cufon.replace('.subheadcufonfont', { fontFamily: '<?php echo stripcslashes($postcustom['_launchpage_subheadcufonfont'][0]); ?>' });
</script>
</html>


DearKate comments:

I can't add the <?php woocommerce_content(); ?>

When I do, I get this error:

Parse error: syntax error, unexpected T_ENDWHILE in /home1/katekate/public_html/softwarecompanyratings.com/wp-content/themes/OptimizePress/woocommerce.php on line 966

And now my page does not show up at all.

this is the part I edited:


<div id="launchinnermain"> <?php woocommerce_content(); ?>




<?php the_content(); ?>





</div><!--close launchinnermain-->


DearKate comments:

Nothing has helped yet. Still not working :(


timDesain Nanang comments:

I am sorry, I was away.

1. just <strong>ignore</strong> the doc (http://docs.woothemes.com/document/third-party-custom-theme-compatibility) and woocommerce_content();
2. delete the woocommerce.php from theme's folder
3. put this code into theme's functions.php
add_theme_support( 'woocommerce' );
4. create a new page, then put this shortcode into editor
[recent_products per_page="12" columns="6"]
5. The recent products should be shown up on that page

This should be work even with minimum theme.


DearKate comments:

Adding that to my functions and deleting Woocommerce.php did not make my page look nice. And did not put the reviews and everything in there like I wanted. I said in the beginning that I want to keep the look that I had, but wanted the Woocommerce to work on my page. Fully work.

That didn't work. I have been searching all over the internet. Many people are having trouble making Woocommerce work with OptimizePress Wordpress Theme. And I did add the plugin they mentioned and that didn't work as well. And I don't have the newer version of OptimizePress. They don't let you update OptimizePress for free like other wordpress themes. You have to purchase newer versions of it. Which I don't think is fair. Since I already paid so much money for it already!

I don't think anyone is going to be able to help me on this...


DearKate comments:

I figured it out all on my own. I don't need anyones help. Everything is the way I want it to be. I found the answer this morning.

:)

- Kate


DearKate comments:

I solved my own problem and my website page is exactly the way I want it to be by adding this code to my Woocommerce.php

<div id="launchinnermain">

<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>










<div id="container"><div id="content" role="main" class="woocommerce">';




<?php
/**
* woocommerce_before_single_product hook
*
* @hooked wc_print_notices - 10
*/
do_action( 'woocommerce_before_single_product' );

if ( post_password_required() ) {
echo get_the_password_form();
return;
}
?>

<div itemscope itemtype="<?php echo woocommerce_get_product_schema(); ?>" id="product-<?php the_ID(); ?>" <?php post_class(); ?>>

<?php
/**
* woocommerce_before_single_product_summary hook
*
* @hooked woocommerce_show_product_sale_flash - 10
* @hooked woocommerce_show_product_images - 20
*/
do_action( 'woocommerce_before_single_product_summary' );
?>

<div class="summary entry-summary">

<?php
/**
* woocommerce_single_product_summary hook
*
* @hooked woocommerce_template_single_title - 5
* @hooked woocommerce_template_single_rating - 10
* @hooked woocommerce_template_single_price - 10
* @hooked woocommerce_template_single_excerpt - 20
* @hooked woocommerce_template_single_add_to_cart - 30
* @hooked woocommerce_template_single_meta - 40
* @hooked woocommerce_template_single_sharing - 50
*/
do_action( 'woocommerce_single_product_summary' );
?>

</div><!-- .summary -->



<?php
/**
* woocommerce_after_single_product_summary hook
*
* @hooked woocommerce_output_product_data_tabs - 10
* @hooked woocommerce_upsell_display - 15
* @hooked woocommerce_output_related_products - 20
*/
do_action( 'woocommerce_after_single_product_summary' );
?>

<meta itemprop="url" content="<?php the_permalink(); ?>" />

</div><!-- #product-<?php the_ID(); ?> -->

<?php do_action( 'woocommerce_after_single_product' ); ?>



</div>






</div>


</div>












<!--close launchinnermain-->