mobile_nav.tpl.php 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?php include mymps_tpl('inc_head');?>
  2. <style>
  3. .vtop{ background-color:#ffffff}
  4. .smalltxt{ font-size:12px!important; color:#999!important; font-weight:100!important}
  5. .altbg1{ background-color:#f1f5f8; width:45%;}
  6. </style>
  7. <div id="<?=MPS_SOFTNAME?>" style=" padding-bottom:0">
  8. <div class="mpstopic-category">
  9. <div class="panel-tab">
  10. <ul class="clearfix tab-list">
  11. <li><a href="?">基本设置</a></li>
  12. <!--<li><a href="?type=nav" class="current">文字导航设置</a></li>-->
  13. <li><a href="?type=nav_ico">图标导航设置(首页)</a></li>
  14. <li><a href="?type=gg">幻灯片广告设置</a></li>
  15. </ul>
  16. </div>
  17. </div>
  18. </div>
  19. <form method="post" action="?">
  20. <input type="hidden" name="type" value="<?=$type?>">
  21. <input name="return_url" value="<?php echo GetUrl();?>" type="hidden">
  22. <div id="<?=MPS_SOFTNAME?>">
  23. <table border="0" cellspacing="0" cellpadding="0" class="vbm">
  24. <tr class="firstr">
  25. <td colspan="10"><b>手机版导航设置</b></td>
  26. </tr>
  27. <tr style="font-weight:bold; background-color:#F5F8FF">
  28. <td width="50"><input class="checkbox" name="chkall" type="checkbox" onclick="AllCheck('prefix', this.form, 'delids')"/> 删?</td>
  29. <td>启用</td>
  30. <td>文字(<font color="red">*</font>)</td>
  31. <td>窗口打开形式</td>
  32. <td>文字颜色</td>
  33. <td>链接地址(<font color="red">*</font>)</td>
  34. <td>显示顺序</td>
  35. <td>标识</td>
  36. </tr>
  37. <?php foreach($url as $k =>$value){?>
  38. <tr bgcolor="#ffffff">
  39. <td bgcolor="white"><input class="checkbox" type='checkbox' name='delids[]' value='<?=$value[id]?>' id="<?=$value[id]?>"></td>
  40. <td bgcolor="white" width="60px">
  41. <input name="isviewids[<?=$value[id]?>]" value="2" type="checkbox" class="checkbox" <?php if($value['isview'] == '2'){echo 'checked';}?>></td>
  42. <td bgcolor="white">
  43. <input name="navtitle[<?=$value[id]?>]" value="<?=$value[title]?>" type="text" class="text" style="width:80px"/>
  44. </td>
  45. <td bgcolor="white">
  46. <select name="target[<?=$value[id]?>]">
  47. <?=get_target_options($value[target])?>
  48. </select>
  49. </td>
  50. <td bgcolor="white">
  51. <select name="showcolor[<?=$value[id]?>]">
  52. <option value="">默认颜色</option>
  53. <?=get_color_options($value[color])?>
  54. </select>
  55. </td>
  56. <td bgcolor="white">
  57. <input name="navurl[<?=$value[id]?>]" value="<?=$value[url]?>" type="text" class="text" style="width:150px"/>
  58. </td>
  59. <td bgcolor="white"><input name="displayorder[<?=$value[id]?>]" value="<?=$value[displayorder] ? $value[displayorder] : 0?>" type="text" class="txt"/></td>
  60. <td bgcolor="white"><input name="flag[<?=$value[id]?>]" value="<?=$value[flag] ? $value[flag] : 'outlink'?>" type="text" class="txt"/>&nbsp;</td>
  61. </tr>
  62. <?php }?>
  63. <tbody id="secqaabody" bgcolor="white">
  64. <tr bgcolor="#f5fbff">
  65. <td bgcolor="white" align="center">新增<a href="###" onclick="newnode = $('secqaabodyhidden').firstChild.cloneNode(true); $('secqaabody').appendChild(newnode)">[+]</a></td>
  66. <td bgcolor="white"><select name="newisview[]">
  67. <?=get_ifview_options(2)?>
  68. </select></td>
  69. <td bgcolor="white"><input name="newtitle[]" value="" type="text" class="text" style="width:80px;"/></td>
  70. <td bgcolor="white">
  71. <select name="newtarget[]">
  72. <?=get_target_options()?>
  73. </select>
  74. </td>
  75. <td bgcolor="white">
  76. <select name="newshowcolor[]">
  77. <option value="">默认颜色</option>
  78. <?=get_color_options()?>
  79. </select>
  80. </td>
  81. <td bgcolor="white"><input name="newurl[]" value="" type="text" class="text" style="width:150px"/></td>
  82. <td bgcolor="white"><input name="newdisplayorder[]" value="" type="text" class="txt"/></td>
  83. <td bgcolor="white" colspan="2"><input name="newflag[]" value="outlink" type="text" class="txt"></td>
  84. </tr>
  85. </tbody>
  86. <tbody id="secqaabodyhidden" style="display:none">
  87. <tr bgcolor="#f5fbff">
  88. <td align="center" bgcolor="white">&nbsp;</td>
  89. <td bgcolor="white"><select name="newisview[]">
  90. <?=get_ifview_options(2)?>
  91. </select></td>
  92. <td bgcolor="white"><input name="newtitle[]" value="" type="text" class="text" style="width:80px;"/></td>
  93. <td bgcolor="white">
  94. <select name="newtarget">
  95. <?=get_target_options($navurl[target])?>
  96. </select>
  97. </td>
  98. <td bgcolor="white">
  99. <select name="newshowcolor">
  100. <option value="">默认颜色</option>
  101. <?=get_color_options($navurl[color])?>
  102. </select>
  103. </td>
  104. <td bgcolor="white"><input name="newurl[]" value="" type="text" class="text" style="width:150px"/></td>
  105. <td bgcolor="white"><input name="newdisplayorder[]" value="" type="text" class="txt"/></td>
  106. <td bgcolor="white" colspan="2"><input name="newflag[]" value="outlink" type="text" class="txt"></td>
  107. </tr>
  108. </tbody>
  109. </table>
  110. </div>
  111. <center><input name="<?=CURSCRIPT?>_submit" type="submit" value="提 交" class="mymps large"/></center>
  112. </form>
  113. <div class="pagination"><?=page2()?></div>
  114. <?php mymps_admin_tpl_global_foot();?>