<?php
$this->load_template('_header.php');
$this->load_template('_top.php');
?>
<script type="text/javascript" src="<?php echo $C->SITE_URL?>themes/<?php echo $C->THEME ?>/js/js_admin.js"></script>
<div id="generalspace">
        
    <div id="container">
    
    	<div id="column1-admin"><?php $this->load_template('_verticalmenu-admin.php'); ?></div>
        
        <div id="column2-admin">
		
            <div id="dashboard-admin2">
                
                <div class="editarea">
                	
                    <div class="boxdash">
                
	                    <div class="title"><?php echo $this->lang('admin_ads_title');?></div>
                        
                        <div class="spaceinfo">
                    
							<?php $this->load_template('__admin-smenu-ads.php');?>
                            
                            <div class="subtitle mrg20T mrg20B"><?php echo $this->lang('admin_ads_userads_title'); ?></div>
                            
                            <?php if (empty($D->htmlAds)) { ?>
                            
                            <div><?php echo $this->lang('admin_ads_userads_noads'); ?></div>
                            
                            <?php } else { ?>
                            
                            <?php echo $D->htmlAds?>
                            
                            <?php } ?>
                    
                    	</div>
                        
                    </div>
                    
				</div>

            </div>
        
        
        </div>
        
        <div class="sh"></div>
    
    </div>
            
</div> 

<?php
$this->load_template('_foot.php');
$this->load_template('_footer.php');
?>