Slide_picmanage.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <div id="infobox" >
  2. <a href="{:U('Slide/index')}" style="float:right;">{:L(gobacklist)}</a>
  3. {$slide[name]} : <a href="{:U('Slide/addpic?fid='.$slide[id])}" class="ui-btn">{:L(add_pic)}</a>
  4. </div>
  5. <form name="myform" id="myform" action="" method="post">
  6. <div class="table-list">
  7. <table width="100%" cellspacing="0">
  8. <thead>
  9. <tr>
  10. <th width="30">{:L('listorder')}</th>
  11. <th width="40">ID</th>
  12. <th width="180" align="left">{:L(TITLE)}</th>
  13. <th align="left">{:L(THUMB)}</th>
  14. <th width="50" align="center">{:L(STATUS)}</th>
  15. <th width="140" align="center">{:L('manage')}</th>
  16. </tr>
  17. </thead>
  18. <tbody>
  19. <volist name="list" id="vo" key="k">
  20. <tr>
  21. <td width="40" align='center'><input name='listorders[{$vo.id}]' type='text' size='3' value='{$vo.listorder}' class='input-text-c'></td>
  22. <td align="center">{$vo['id']}</td>
  23. <td align="left">{$vo['title']}</td>
  24. <td align="left"><img src="{$vo['pic']}" width="240"></td>
  25. <td align="center"><eq name="vo['status']" value="1">
  26. {:L('display_yes')}
  27. <else />
  28. {:L('display_no')}
  29. </eq></td>
  30. <td align="center">
  31. <a href="{:U('Slide/editpic',array(fid=>$fid,id=>$vo['id']))}">{:L('edit')}</a> | <a href="javascript:confirm_delete('{:U('Slide/deletepic',array(id=>$vo['id']))}')">{:L('delete')}</a></td>
  32. </tr>
  33. </volist>
  34. </tbody>
  35. </table>
  36. <div class="btn">
  37. <input type="button" class="button" name="dosubmit" value="<?php echo L('listorder')?>" onclick="myform.action='{:U($module_name.'/listorder')}';$('#myform').submit();"/> </div>
  38. </div>
  39. </div>
  40. </form>
  41. <div id="pages" class="page">{$page}</div>
  42. </body></html>