PageRenderTime 195ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/miles/GlobalMBA/mba/sns_00/upload/home/admin/tpl/album.htm

#
HTML | 132 lines | 102 code | 13 blank | 17 comment | 0 complexity | 9d846d135905b413a32079e450e4fd8c MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, LGPL-2.1, BSD-3-Clause
  1. <!--{template admin/tpl/header}-->
  2. <div class="mainarea">
  3. <div class="maininner">
  4. <form method="get" action="admincp.php">
  5. <div class="block style4">
  6. <table cellspacing="3" cellpadding="3">
  7. <tr>
  8. <th>相册名*</th>
  9. <td><input type="text" name="albumname" value="$_GET[albumname]" /></td>
  10. <th>查看权限</th>
  11. <td>
  12. <select name="friend">
  13. <option value="">不限</option>
  14. <option value="0"<!--{if $_GET[friend] == '0'}--> selected<!--{/if}-->>全站用户可见</option>
  15. <option value="1"<!--{if $_GET[friend] == '1'}--> selected<!--{/if}-->>全好友可见</option>
  16. <option value="2"<!--{if $_GET[friend] == '2'}--> selected<!--{/if}-->>仅指定的好友可见</option>
  17. <option value="3"<!--{if $_GET[friend] == '3'}--> selected<!--{/if}-->>仅自己可见</option>
  18. <option value="4"<!--{if $_GET[friend] == '4'}--> selected<!--{/if}-->>凭密码查看</option>
  19. </select>
  20. </td>
  21. </tr>
  22. <tr>
  23. <th>相册ID</th>
  24. <td colspan="3">
  25. <input type="text" name="albumid" value="$_GET[albumid]" />
  26. </td>
  27. </tr>
  28. <!--{if $allowmanage}-->
  29. <tr>
  30. <th>作者UID</th>
  31. <td><input type="text" name="uid" value="$_GET[uid]" /></td>
  32. <th>作者名</th>
  33. <td><input type="text" name="username" value="$_GET[username]" /></td>
  34. </tr>
  35. <!--{/if}-->
  36. <tr>
  37. <th>创建时间</th>
  38. <td colspan="3">
  39. <input type="text" name="dateline1" value="$_GET[dateline1]" size="10" /> ~
  40. <input type="text" name="dateline2" value="$_GET[dateline2]" size="10" />
  41. (YYYY-MM-DD)
  42. </td>
  43. </tr>
  44. <tr>
  45. <th>结果排序</th>
  46. <td colspan="3">
  47. <select name="orderby">
  48. <option value="">默认排序</option>
  49. <option value="dateline"$orderby[dateline]>创建时间</option>
  50. <option value="updatetime"$orderby[updatetime]>更新时间</option>
  51. <option value="picnum"$orderby[picnum]>图片数</option>
  52. </select>
  53. <select name="ordersc">
  54. <option value="desc"$ordersc[desc]>递减</option>
  55. <option value="asc"$ordersc[asc]>递增</option>
  56. </select>
  57. <select name="perpage">
  58. <option value="20"$perpages[20]>每页显示20个</option>
  59. <option value="50"$perpages[50]>每页显示50个</option>
  60. <option value="100"$perpages[100]>每页显示100个</option>
  61. <option value="1000"$perpages[1000]>一次处理1000个</option>
  62. </select>
  63. <input type="hidden" name="ac" value="album" />
  64. <input type="submit" name="searchsubmit" value="搜索" class="submit" />
  65. </td>
  66. </tr>
  67. </table>
  68. </div>
  69. </form>
  70. <!--{if $list}-->
  71. <form method="post" action="admincp.php?ac=album">
  72. <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
  73. <div class="bdrcontent">
  74. <!--{if $perpage>100}-->
  75. <p>总共有满足条件的数据 <strong>$count</strong> </p>
  76. <!--{loop $list $value}-->
  77. <input type="hidden" name="ids[]" value="$value[albumid]">
  78. <!--{/loop}-->
  79. <!--{else}-->
  80. <table cellspacing="0" cellpadding="0" class="formtable">
  81. <tr>
  82. <!--{loop $list $key $value}-->
  83. <td width="105">
  84. <a href="space.php?uid=$value[uid]&do=album&id=$value[albumid]" target="_blank"><img src="$value[pic]" alt="$value[albumname]" width="100" height="90"></a>
  85. <input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[albumid]"> 选择
  86. </td>
  87. <td>
  88. <a href="admincp.php?ac=pic&albumid=$value[albumid]">$value[albumname]</a>
  89. <!--{if $allowmanage}-->
  90. <br />作者: <a href="admincp.php?ac=album&uid=$value[uid]">$value[username]</a>
  91. <!--{/if}-->
  92. <br />时间: <!--{date('Y-m-d',$value[dateline])}-->
  93. <!--{if $value[friend]}--><br />权限: [<a href="admincp.php?ac=album&friend=$value[friend]">$value[friend]</a>]<!--{/if}-->
  94. <br /><a href="admincp.php?ac=pic&albumid=$value[albumid]">管理图片($value[picnum])</a>
  95. </td>
  96. <!--{if $key%2==1}--></tr><tr><!--{/if}-->
  97. <!--{/loop}-->
  98. </tr>
  99. </table>
  100. <!--{/if}-->
  101. </div>
  102. <div class="footactions">
  103. <!--{if $allowbatch && $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<!--{/if}-->
  104. <input type="hidden" name="mpurl" value="$mpurl">
  105. <input type="submit" name="deletesubmit" value="批量删除" onclick="return confirm('本操作不可恢复,确认删除?');" class="submit">
  106. <div class="pages">$multi</div>
  107. </div>
  108. </form>
  109. <!--{else}-->
  110. <div class="bdrcontent">
  111. <p>指定条件下还没有数据</p>
  112. </div>
  113. <!--{/if}-->
  114. </div>
  115. </div>
  116. <div class="side">
  117. <!--{template admin/tpl/side}-->
  118. </div>
  119. <!--{template admin/tpl/footer}-->