linkage_get_list.tpl.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. include $this->admin_tpl('header');?>
  4. <div class="pad_10">
  5. <form name="myform" action="?m=admin&c=role&a=listorder" method="post">
  6. <div class="table-list">
  7. <table width="100%" cellspacing="0">
  8. <thead>
  9. <tr>
  10. <th width="10%">ID</th>
  11. <th width="20%" align="left" ><?php echo L('linkage_name')?></th>
  12. <th width="30%" align="left" ><?php echo L('linkage_desc')?></th>
  13. </tr>
  14. </thead>
  15. <tbody>
  16. <?php
  17. if(is_array($infos)){
  18. foreach($infos as $info){
  19. ?>
  20. <tr onclick="return_id(<?php echo $info['linkageid']?>)" title="<?php echo L('click_select')?>" class="cu">
  21. <td width="10%" align="center"><?php echo $info['linkageid']?></td>
  22. <td width="20%" ><?php echo $info['name']?></td>
  23. <td width="30%" ><?php echo $info['description']?></td>
  24. </tr>
  25. <?php
  26. }
  27. }
  28. ?>
  29. </tbody>
  30. </table>
  31. </div>
  32. </div>
  33. </form>
  34. <SCRIPT LANGUAGE="JavaScript">
  35. <!--
  36. function return_id(linkageid) {
  37. window.parent.$('#linkageid').val(linkageid);window.parent.art.dialog({id:'selectid'}).close();
  38. }
  39. //-->
  40. </SCRIPT>
  41. </body>
  42. </html>