<?php
/*
Template Name: تبلیغات
*/
?><?php
global $options;
foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<?php 
	$itbl_ads_link1 = $itbl_ads_link1 == '' ? get_bloginfo('url') : $itbl_ads_link1;
	$itbl_ads_link2 = $itbl_ads_link1 == '' ? get_bloginfo('url') : $itbl_ads_link2;
	$itbl_ads_img1 = $itbl_ads_img1 == '' ? get_bloginfo('template_url')."/img/ads.gif" : $itbl_ads_img1;
	$itbl_ads_img2 = $itbl_ads_img2 == '' ? get_bloginfo('template_url')."/img/ads.gif" : $itbl_ads_img2;
 ?>
        <h4 class="side-h4"></h4>
		<div class="space"></div>
        <!--end subscribe-->
        <div class="sidebar-ads"> 
<a href="<?php echo $itbl_ads_link1; ?>"><img src="<?php echo $itbl_ads_img1; ?>" width="125" height="125" alt="" /></a>
<a href="<?php echo $itbl_ads_link2; ?>"><img src="<?php echo $itbl_ads_img2; ?>" width="125" height="125" alt="" /></a><br />
<!--lotfan logo haie ma ro hazf nakonid, va az ma hemaiat konid -->
     <!--لطفا لوگوهای ما رو حذف نکنید و از ما حمایت کنید-->
<a href="http://1itblog.com"><img src="<?php bloginfo('template_url'); ?>/img/side-itblog.gif" width="125" height="125" alt="" /></a>
<a href="http://parspack.com/cloud-hosting"><img src="http://parspack.com/images/stories/chosting/theme/freeHost_125x125.jpg" width="125" height="125" alt="" /></a>
		</div>