 
<?php 
 if(isdmmobile()){
	  $file = SYSBLOCKROOT.'album/album_shop_mobile.php';
     if(checkfile($file))  require($file);
}
else{
//pre($row_abm[0]);

$tid=$row_abm[0]['id'];
 $title=$row_abm[0]['title'];			  
 $kvsm=$row_abm[0]['kvsm'];
 //$img=get_thumb($kvsm,$title,'nodiv');
  

//if($langalbum =='')  $imgbig=get_img($kvsm,$title,'nodiv');
//else $imgbig = UPLOADPATH.'image/'.$langalbum.'/'.$kvsm;
 
 $imgbig=get_img_lang($kvsm,$langalbum,$title,'nodiv');
?>



 <div class="large_area">
			
	<div id="large_imgmid">
		<img    src="<?php echo $imgbig;?>" alt="<?php echo $title;?>" />
		<div id="winSelector" style="display: none;" ></div>
	</div>
	<div id="bigView" style="display:none" ><img src="<?php echo $imgbig;?>" alt="<?php echo $title;?>" /></div>

</div>

 


 
 <div class="large_list" >
<a href="javascript:void(0)" id="prev" class="poa"></a>
 <a href="javascript:void(0)" id="next" class="poa"></a>
 <div class="large_list_inc" style="height:55px;overflow:hidden">
     <ul>
   
            <?php

 foreach($row_abm as $k=>$v){
               
			$tid=$v['id'];
			$title=$v['title'];			  
            $kvsm=$v['kvsm'];
	 	 
          //  if($langalbum=='') { //$imglangrel is in leftright.php
            		$img=get_thumb_lang($kvsm,$langalbum,$title,'nodiv');
    				$imgbig=get_img_lang($kvsm,$langalbum,$title,'nodiv');
           // }
           // else{            	 
			     // $imgtype = gl_imgtype($kvsm);
			     // $imgfirstpart=gl_img_s($kvsm);
			     //  $img = UPLOADPATH.'image/'.$langalbum.'/'.$imgfirstpart.'_s.'.$imgtype;

			     //  $imgbig = UPLOADPATH.'image/'.$langalbum.'/'.$kvsm;		 

           // }
     
 
      

?>
   <li><img class="" src="<?php echo $img;?>"  data-imgmid="<?php echo $imgbig;?>"  data-imgbig="<?php echo $imgbig;?>" alt="<?php echo $title;?>" /></li>
   
   <?php
		}
   ?>
        

     </ul>
 </div>
 </div>


 <?php
getcssjs('assets/vendor/albumlarge/albumlarge.css');
getcssjs('assets/vendor/albumlarge/albumlarge.js');
}
?>


 