album_list.tpl.php 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. include $this->admin_tpl('header', 'admin');
  4. ?>
  5. <div id="searchid" >
  6. <form name="searchform" action="" method="get" >
  7. <input type="hidden" value="special" name="m">
  8. <input type="hidden" value="album" name="c">
  9. <input type="hidden" value="import" name="a">
  10. <input type="hidden" value="1" name="search">
  11. <input type="hidden" value="<?php echo $_GET['menuid']?>" name="menuid">
  12. <input type="hidden" value="<?php echo $_GET['pc_hash'];?>" name="pc_hash">
  13. <table width="100%" cellspacing="0" class="search-form">
  14. <tbody>
  15. <tr>
  16. <td>
  17. <div class="explain-col">
  18. 添加时间:
  19. <?php echo form::date('start_time',$_GET['start_time'],0,0,'false');?>- &nbsp;<?php echo form::date('end_time',$_GET['end_time'],0,0,'false');?>
  20. <?php echo form::select($ku6channels, $_GET['categoryid'], 'name="categoryid" id="categoryid"', '请选择频道')?>
  21. 标题:
  22. <input name="keyword" type="text" value="<?php if(isset($_GET['keyword'])) echo $_GET['keyword'];?>" class="input-text" />
  23. <input type="submit" name="search" class="button" value="<?php echo L('search');?>" />
  24. </div>
  25. </td>
  26. </tr>
  27. </tbody>
  28. </table>
  29. </form>
  30. </div>
  31. <div class="pad-lr-10">
  32. <form name="myform" action="?m=special&c=album&a=import&page=<?php echo $_GET['page'];?>" method="post">
  33. <table width="100%" cellspacing="0" class="table-list nHover">
  34. <thead>
  35. <tr>
  36. <th width="40"><input type="checkbox" value="" id="check_box" onclick="selectall('id[]');"></th>
  37. <th width="40" align="center">ID</th>
  38. <th >专辑信息</th>
  39. <th width="160"><?php echo L('operations_manage')?></th>
  40. </tr>
  41. </thead>
  42. <tbody>
  43. <?php
  44. if(is_array($infos)){
  45. foreach($infos as $info){
  46. ?>
  47. <tr>
  48. <td align="center" width="40"><input class="inputcheckbox" <?php if (!empty($imported) && in_array($info['id'], $imported)){?>disabled<?php }?> name="id[]" value="<?php echo $info['id'];?>" type="checkbox"></td>
  49. <td width="40" align="center"><?php echo $info['id']?></td>
  50. <td><div class="col-left mr10" style="width:146px; height:112px"><img src="<?php echo format_url($info['coverurl'])?>" width="146" height="112" style="border:1px solid #eee" align="left"></div>
  51. <div class="col-auto">
  52. <h2 class="title-1 f14 lh28 mb6 blue"><?php echo $info['title']?></h2>
  53. <div class="lh22"><?php echo $info['desc']?></div>
  54. <p class="gray4"><?php echo L('create_time')?>:<?php echo format::date(substr(trim($info['createtime']), 0, 10), 1)?></p>
  55. <p class="gray4">播放次数:<?php echo $info['videocount']?></p>
  56. </div>
  57. </td>
  58. <td align="center"><span style="height:22"><?php if (!empty($imported) && in_array($info['id'], $imported)){?><font color="red">专辑已载入<?php } else {?><a href='?m=special&c=album&a=import&id=<?php echo $info['id']?>&page=<?php echo $_GET['page'];?>&pc_hash=<?php echo $_GET['pc_hash'];?>'>载入此专辑</a><?php }?></span><br /><span style="height:22"><a href="?m=special&c=album&a=content_list&id=<?php echo $info['id']?>&menuid=<?php echo $_GET['menuid']?>&pc_hash=<?php echo $_GET['pc_hash'];?>">查看专辑下的视频</a></span></td>
  59. </tr>
  60. <?php
  61. }
  62. }
  63. ?>
  64. </tbody>
  65. </table>
  66. <div class="btn"><label for="check_box"><?php echo L('selected_all')?>/<?php echo L('cancel')?></label>
  67. <input name='dosubmit' type='submit' class="button" value='载入'>&nbsp;
  68. </div>
  69. <div id="pages"><?php echo $pages;?></div><script>window.top.$("#display_center_id").css("display","none");</script>
  70. </form>
  71. </div>
  72. </body>
  73. </html>
  74. <script type="text/javascript">
  75. </script>