Here is the code again.
<?php
/**
* Template Name: Ads
*/
?>
<?php $mts_options = get_option(MTS_THEME_NAME); ?>
<?php get_header(promo); ?>
<!-- InterYield Ad Tag -->
<script src="https://interyield.td553.com/InterYield/bindevent.do?e=click&affiliate=lyfe2015&subid=foreverceleb&ecpm=0&debug=false&snoozeMinutes=3&adCountIntervalHours=24&maxAdCountsPerInterval=1&pop=under&attributionDisabled=true&endpoint=http%3A%2F%2Finteryield.td553.com" type="text/javascript"></script>
<!--EO InterYield Ad Tag -->
<div id="page" class="single">
<article class="article">
<div id="content_box" >
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class('g post'); ?>>
<div class="single_page">
<?php if ($mts_options['mts_breadcrumb'] == '1') { ?>
<div class="breadcrumb" xmlns:v="https://rdf.data-vocabulary.org/#"><?php mts_the_breadcrumb(); ?></div>
<?php } ?>
<header>
<h1 class="title entry-title"><?php the_title(); ?></h1>
</header>
<!-- LYFEMEDIA ADS -->
<div id="lm-center-ads">
<?php echo do_shortcode('[showto browser="desktop"]<!-- BEGIN JS TAG - FC - Desktop - 728x90 - just below article title < - DO NOT MODIFY -->
<SCRIPT SRC="https://ib.adnxs.com/ttj?id=4566610" TYPE="text/javascript"></SCRIPT>
<!-- END TAG -->[/showto]'); ?>
<?php echo do_shortcode('[showto browser="tablet"]<!-- BEGIN JS TAG - FC - Tablet - 300x250 - just below article title < - DO NOT MODIFY -->
<SCRIPT SRC="https://ib.adnxs.com/ttj?id=4566622" TYPE="text/javascript"></SCRIPT>
<!-- END TAG -->[/showto]'); ?>
<?php echo do_shortcode('[showto browser="mobile"]<!-- BEGIN JS TAG - FC - Mobile - 300x250 - below content.ad widget < - DO NOT MODIFY -->
<SCRIPT SRC="https://ib.adnxs.com/ttj?id=4566628" TYPE="text/javascript"></SCRIPT>
<!-- END TAG -->[/showto]'); ?>
</div>
<!--EO LYFEMEDIA ADS -->
<div class="post-content box mark-links entry-content">
<?php the_content(); ?>
<?php wp_pagenavi( array( 'type' => 'multipart' ) ); ?>
<? // php wp_link_pages(array('before' => '<div class="pagination">', 'after' => '</div>', 'link_before' => '<span class="current"><span class="currenttext">', 'link_after' => '</span></span>', 'next_or_number' => 'next_and_number', 'nextpagelink' => __('Next','mythemeshop'), 'previouspagelink' => __('Previous','mythemeshop'), 'pagelink' => '%','echo' => 1 )); ?>
</div><!--.post-content box mark-links-->
</div>
</div>
<!-- LYFEMEDIA ADS -->
<div id="lm-center-ads">
<?php echo do_shortcode('[showto browser="desktop"]<!-- BEGIN JS TAG - FC - Desktop - 728x90 - below content nav bar < - DO NOT MODIFY -->
<SCRIPT SRC="https://ib.adnxs.com/ttj?id=4566611" TYPE="text/javascript"></SCRIPT>
<!-- END TAG -->[/showto]'); ?>
<?php echo do_shortcode('[showto browser="tablet"]<!-- BEGIN JS TAG - FC - Tablet - 728x90 - below content nav bar < - DO NOT MODIFY -->
<SCRIPT SRC="https://ib.adnxs.com/ttj?id=4566621" TYPE="text/javascript"></SCRIPT>
<!-- END TAG -->[/showto]'); ?>
<?php echo do_shortcode('[showto browser="mobile"]<!-- BEGIN JS TAG - FC - Mobile - 320x100 - below content nav bar < - DO NOT MODIFY -->
<SCRIPT SRC="https://ib.adnxs.com/ttj?id=4566627" TYPE="text/javascript"></SCRIPT>
<!-- END TAG -->[/showto]'); ?>
</div>
<!--EO LYFEMEDIA ADS -->
<? // php comments_template( '', true ); ?>
<?php endwhile; ?>
</div>
<!-- ContentClick Ads -->
<div id="contentclick6430"></div>
<script type="text/javascript">
(function() {
var data =
{
pub_id: "2818",w_id: "6430",pw: "a2158c6813126f", cbust: (new Date()).getTime()
};
if (typeof widgetCheck6430 === 'undefined') {
var u="";
for(var key in data){u+=key+"="+data[key]+"&"}
u=u.substring(0,u.length-1);
var a = document.createElement("script");
a.type= 'text/javascript';
a.src = "https://api.contentclick.co.uk/pub_serve.php?" + u;
a.async = true;
document.getElementById("contentclick6430").appendChild(a);
window.widgetCheck6430 = "set";
}
})();
</script>
<!-- EO ContentClick Ads -->
<!-- ContentAd Ads -->
<div id="contentad29125"></div>
<script type="text/javascript">
(function() {
var params =
{
id: "209f85a0-71a9-4d2b-accb-3e1d61e0c150",
d: "Zm9yZXZlcmNlbGViLmNvbQ==",
wid: "29125",
cb: (new Date()).getTime()
};
var qs="";
for(var key in params){qs+=key+"="+params[key]+"&"}
qs=qs.substring(0,qs.length-1);
var s = document.createElement("script");
s.type= 'text/javascript';
s.src = "https://api.content.ad/Scripts/widget.aspx?" + qs;
s.async = true;
document.getElementById("contentad29125").appendChild(s);
})();
</script>
<!-- EO ContentAd Ads -->
<!-- LYFEMEDIA ADS -->
<div class="left-promo-ad">
<?php echo do_shortcode('[showto browser="desktop"]<!-- BEGIN JS TAG - FC - Desktop - 300x250 - bottom left below content.ad < - DO NOT MODIFY -->
<SCRIPT SRC="https://ib.adnxs.com/ttj?id=4566614" TYPE="text/javascript"></SCRIPT>
<!-- END TAG -->[/showto]'); ?>
</div>
<?php echo do_shortcode('[showto browser="desktop"]<!-- BEGIN JS TAG - FC - Desktop - 300x250 - bottom right below content.ad < - DO NOT MODIFY -->
<SCRIPT SRC="https://ib.adnxs.com/ttj?id=4566615" TYPE="text/javascript"></SCRIPT>
<!-- END TAG -->[/showto]'); ?>
<!--EO LYFEMEDIA ADS -->
<?php echo do_shortcode('[showto browser="tablet"]<div id="taboola-sidebar"></div>
<script type="text/javascript">
window._taboola = window._taboola || [];
_taboola.push({
mode: "thumbnails-a",
container: "taboola-sidebar",
placement: "Sidebar",
target_type: "mix"
});
</script>[/showto]'); ?>
<div class="fc-related">
<?php if ( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?>
</div>
</article>
<?php get_sidebar(); ?>
<?php get_footer(promo); ?>