Template_images.html 1.6 KB

1234567891011121314151617181920212223242526
  1. <style>
  2. .table-list ul.pic { }
  3. .table-list ul.pic li {float:left;position:relative;margin:5px 10px;_margin:5px 8px;width:82px;}
  4. .table-list ul.pic li span { width:82px;height:82px;}
  5. .table-list ul.pic li span a {border:1px solid #eee;width:80px;height:80px;*font-size: 75px;}
  6. .table-list ul.pic li img {max-height:80px;max-width:80px ;_width:80px;_height:80px;}
  7. .table-list ul.pic li b {display:block;line-height:20px;height:20px;font-weight:normal;width:82px;overflow:hidden;}
  8. .table-list ul.pic li em {position:absolute;right:0;bottom:20px;}
  9. </style>
  10. <div class="table-list">
  11. <ul class="pic">
  12. <if condition="$leve"><li><span><a href="{:U($module_name.'/images?folder=')}{$uppath}"><img src="./Public/Images/upback.gif"></a></span><b><font color="#665aff">{:L(goback)}</font></b></li>
  13. </if>
  14. <volist name="folders" id="vo">
  15. <li><span><a href="{:U($module_name.'/images?folder='.$_GET['folder'])}{$vo.filename}/"><img src="./Public/Images/folder.gif"></a></span><b>{$vo.filename}</b><em><a href="javascript:confirm_delete('{:U($module_name.'/images?delete=1&folder='.$_GET['folder'].'&filename='.$vo[filename])}')">{:L(delete)}</a></em></li>
  16. </volist>
  17. <volist name="files" id="vo">
  18. <li><span><a href="../Public/images/{$_GET['folder']}{$vo.filename}" target="_blank"><if condition="!empty($vo['ico'])"><img src="./Public/Images/ext/{$vo['ext']}.png"><else /><img src="{$Public}images/{$_GET['folder']}{$vo.filename}" ></if></a></span><b>{$vo.filename}</b><em><a href="javascript:confirm_delete('{:U($module_name.'/images?delete=1&folder='.$_GET['folder'].'&filename='.$vo[filename])}')">{:L(delete)}</a></em></li>
  19. </volist>
  20. </ul>
  21. </div>