album_video_list.tpl.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. include $this->admin_tpl('header', 'admin');
  4. ?>
  5. <div class="pad-lr-10">
  6. <form name="myform" action="?m=special&c=album&a=import" method="post">
  7. <table width="100%" cellspacing="0" class="table-list nHover">
  8. <thead>
  9. <tr>
  10. <th width="33%">&nbsp;</th><th width="33%">&nbsp;</th><th width="33%">&nbsp;</th>
  11. </tr>
  12. </thead>
  13. <tbody>
  14. <?php
  15. if(is_array($infos)){
  16. $n = 0;
  17. foreach($infos as $info){
  18. $n++;
  19. ?>
  20. <?php if($n%3==1){?><tr><?php }?>
  21. <td><div class="col-left mr10" style="width:146px; height:112px"><img src="<?php echo format_url($info['video']['picPath'])?>" width="146" height="112" style="border:1px solid #eee" align="left" title="<?php echo $info['video']['title'];?>"></div>
  22. <div class="col-auto">
  23. <h2 class="title-1 f14 lh28 mb6 blue" title="<?php echo $info['video']['title'];?>"><?php echo str_cut($info['video']['title'], 26)?></h2>
  24. <div class="lh22"><?php echo $info['video']['desc']?></div>
  25. <p class="gray4">上传时间:<?php echo format::date(substr(trim($info['video']['uploadTime']), 0, 10), 1)?></p>
  26. <p class="gray4">播放次数:<?php echo $info['video']['videoTime']?></p>
  27. </div>
  28. </td>
  29. <?php if($n%3==0){?></tr><?php }?>
  30. <?php
  31. }
  32. }
  33. ?>
  34. </tbody>
  35. </table>
  36. <div class="btn"></div>
  37. <div id="pages"><?php echo $pages;?></div><script>window.top.$("#display_center_id").css("display","none");</script>
  38. </form>
  39. </div>
  40. </body>
  41. </html>