web_config.index.php 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php defined('InShopNC') or exit('Access Invalid!');?>
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <h3><?php echo $lang['nc_web_index'];?></h3>
  6. <ul class="tab-base">
  7. <li><a href="JavaScript:void(0);" class="current"><span><?php echo '板块区';?></span></a></li>
  8. <li><a href="index.php?act=web_api&op=focus_edit"><span><?php echo '焦点区';?></span></a></li>
  9. <li><a href="index.php?act=web_api&op=sale_edit&use=web"><span><?php echo '促销区';?></span></a></li>
  10. <li><a href="index.php?act=web_api&op=sale_edit&use=mobile"><span><?php echo '手机促销区';?></span></a></li>
  11. </ul>
  12. </div>
  13. </div>
  14. <div class="fixed-empty"></div>
  15. <table class="table tb-type2" id="prompt">
  16. <tbody>
  17. <tr class="space odd">
  18. <th colspan="12"><div class="title"><h5><?php echo $lang['nc_prompts'];?></h5><span class="arrow"></span></div></th>
  19. </tr>
  20. <tr>
  21. <td>
  22. <ul>
  23. <li><?php echo $lang['web_config_index_help1'];?></li>
  24. <li><?php echo $lang['web_config_index_help2'];?></li>
  25. <li><?php echo $lang['web_config_index_help3'];?></li>
  26. </ul></td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. <table class="table tb-type2 nobdb">
  31. <thead>
  32. <tr class="thead">
  33. <th><?php echo $lang['nc_sort'];?></th>
  34. <th><?php echo $lang['web_config_web_name'];?></th>
  35. <th><?php echo $lang['web_config_style_name'];?></th>
  36. <th class="align-center"><?php echo $lang['web_config_update_time'];?></th>
  37. <th class="align-center"><?php echo $lang['nc_display'];?></th>
  38. <th class="align-center"><?php echo $lang['nc_handle'];?></th>
  39. </tr>
  40. </thead>
  41. <tbody>
  42. <?php if(!empty($output['web_list']) && is_array($output['web_list'])){ ?>
  43. <?php foreach($output['web_list'] as $k => $v){ ?>
  44. <tr class="hover">
  45. <td class="w48 sort"><?php echo $v['web_sort'];?></td>
  46. <td><?php echo $v['web_name'];?></td>
  47. <td><?php echo $output['style_array'][$v['style_name']];?></td>
  48. <td class="w150 align-center"><?php echo date('Y-m-d H:i:s',$v['update_time']);?></td>
  49. <td class="w150 align-center"><?php echo $v['web_show']==1 ? $lang['nc_yes'] : $lang['nc_no'];?></td>
  50. <td class="w150 align-center"><a href="index.php?act=web_config&op=web_edit&web_id=<?php echo $v['web_id'];?>"><?php echo $lang['web_config_web_edit'];?></a> |
  51. <a href="index.php?act=web_config&op=code_edit&web_id=<?php echo $v['web_id'];?>"><?php echo $lang['web_config_code_edit'];?></a></td>
  52. </tr>
  53. <?php } ?>
  54. <?php }else { ?>
  55. <tr class="no_data">
  56. <td colspan="15"><?php echo $lang['nc_no_record'];?></td>
  57. </tr>
  58. <?php } ?>
  59. </tbody>
  60. <tfoot>
  61. <?php if(!empty($output['web_list']) && is_array($output['web_list'])){ ?>
  62. <tr class="tfoot">
  63. <td colspan="16">
  64. <div class="pagination"> <?php echo $output['page'];?> </div></td>
  65. </tr>
  66. <?php } ?>
  67. </tfoot>
  68. </table>
  69. </div>