<script type="text/javascript" src="<?php echo base_url();?>assets/js/jquery.min.js"></script>
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/slimbox2.css" type="text/css" media="screen" /> 
<script type="text/JavaScript" src="<?php echo base_url();?>assets/js/slimbox2.js"></script>
<div class="body_midv">

            	<!--Middle Top Part-->
          		<div style="width:100%; float:left">
                
                	<div class="box3tl">&nbsp;</div>
					 <?php
    $query = $this->main_model->album_infos($album_id);
    foreach ($query as $rowwelcome):
        ?>
                    <div class="box3tmwd"><p class="notice_home">  
<?php echo $rowwelcome['name']; ?> </p></div>

					  <?php endforeach; ?>
                    <div class="box3tr">&nbsp;</div>
                
                </div>
                <div class="boxbodyd">
                	<p style="margin-bottom:-7px;">&nbsp;</p>
                	<p style="padding-left:15px; padding-right:15px;">
                	<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <?php
    $query = $this->main_model->gallery_infos($album_id);
    foreach ($query as $row):
        ?>
                	<div style="width:178px; border:1px solid #CCCCCC; float:left; text-align:center; font-family:Verdana, Geneva, sans-serif; line-height:25px; font-size:12px; font-weight:bold; height:180px; margin-left:9px; margin-bottom:9px;"><a style="border:0px; text-decoration:none;" href="<?php echo base_url();?>admin/uploads/<?php echo $row['image']; ?>" title="<?php echo $row['title']; ?>" rel="lightbox[portfolio]"><img width="172" height="140" style="padding:3px;" src="<?php echo base_url();?>admin/uploads/<?php echo $row['image']; ?>"></a><br><?php echo $row['title']; ?></div>
                    
                     <?php endforeach; ?>  
                   
                     
</td>
  </tr>
</table>

                    </p>
                	
                
                </div>
                <div style="width:100%; float:left">
                
                	<div class="box3bl">&nbsp;</div>
                    <div class="box3bmwui">&nbsp;</div>
                    <div class="box3br">&nbsp;</div>
                
                </div>
                <!--Middle Top Part-->
               
            	
            
            
            </div>