<div class="main_content">
  <div class="innercontent_outerbox">
      
      <h1>Training Tools</h1>
      <br />
<br />
<div class="featured_items_boxouter">

<ul class="download">
    <?php if($model!=null):?>
    <?php foreach($model as $eachModel): ?>
    	<li>
		<a alt="<?php echo $eachModel->title ?>" target='_blank' href="<?php echo ($eachModel->isLink=="Y")?$eachModel->href:Yii::app()->baseUrl.'/media/trainingtools/'.$eachModel->file; ?>" class="thumb">
                    <span>
                        <img src="<?php echo Yii::app()->baseUrl; ?>/media/trainingtools/<?php echo $eachModel->image_name; ?>" width="120" height="150" title="<?php echo $eachModel->content ?>" />
                    </span>
                </a>
		<div class="name_box">
                    <?php echo substr($eachModel->content,0,50).'..' ?>
                </div>
	</li>
        <?php endforeach; ?>
        <?php else: echo "<h1>No downloadables found</h1>"; endif; ?>
	
</ul>

</div>

  
  
  
  

 
    </div>
<?php echo $this->renderPartial('_bottom_common_user_product_group'); ?> 