mobile.tpl.php 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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="?" class="current">基本设置</a></li>
  12. <!--<li><a href="?type=nav">文字导航设置</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"><td colspan="2">手机版全局设置</td></tr>
  25. <tbody style="display: yes; background-color:white">
  26. <tr>
  27. <td class="altbg1" ><b>开启手机版:</b><br /><span class="smalltxt">开启本功能,用户将能访问手机版</span></td><td class="altbg2">
  28. <label for="allowmobile1"><input class="radio" type="radio" name="settings[allowmobile]" value="1" id="allowmobile1" onclick="$('hidden_settings_mobile').style.display = '';" <? if($mobile[allowmobile] == 1) echo 'checked';?>> 是</label> &nbsp; &nbsp;
  29. <label for="allowmobile0"><input class="radio" type="radio" name="settings[allowmobile]" value="0" id="allowmobile0" onclick="$('hidden_settings_mobile').style.display = 'none';" <? if(empty($mobile[allowmobile])) echo 'checked';?>> 否</label>
  30. </td>
  31. </tr>
  32. <tbody>
  33. <tbody id="hidden_settings_mobile" style="background-color:white;<?php if(empty($mobile[allowmobile])) echo 'display:none;'?>">
  34. <!--<tr>
  35. <td class="altbg1" ><b>开启手机浏览器自动跳转:</b><br /><span class="smalltxt">开启后用户使用手机浏览器访问网站功能页以外页面时自动跳转到网站首页进行访问。</span></td><td class="altbg2"><label for="autorefresh1"><input class="radio" type="radio" name="settings[autorefresh]" value="1" id="autorefresh1" <?php if($mobile[autorefresh] == 1){echo 'checked';} ?>> 是</label> &nbsp; &nbsp;
  36. <label for="autorefresh0"><input class="radio" type="radio" name="settings[autorefresh]" value="0" id="autorefresh0" <?php if(empty($mobile[autorefresh])){echo 'checked';} ?>> 否</label>
  37. </td>
  38. </tr>-->
  39. <tr>
  40. <td class="altbg1" ><b>是否允许手机版注册:</b><br /><span class="smalltxt">是否开启手机版注册功能,手机注册不会对用户栏目中的注册页必填项进行检测<br />请谨慎开启</span></td><td class="altbg2"><label for="register1"><input class="radio" type="radio" name="settings[register]" value="1" id="register1" <?php if($mobile[register] == 1){echo 'checked';} ?>> 是</label> &nbsp; &nbsp;
  41. <label for="register0"><input class="radio" type="radio" name="settings[register]" value="0" id="register0" <?php if(empty($mobile[register])){echo 'checked';} ?>> 否</label>
  42. </td>
  43. </tr>
  44. <tr>
  45. <td class="altbg1" ><b>是否允许手机版发布信息:</b><br /><span class="smalltxt">是否开启手机版发布信息功能<br />请谨慎开启</span></td><td class="altbg2"><label for="post1"><input class="radio" type="radio" name="settings[post]" value="1" id="post1" <?php if($mobile[post] == 1){echo 'checked';} ?>> 是</label> &nbsp; &nbsp;
  46. <label for="post0"><input class="radio" type="radio" name="settings[post]" value="0" id="post0" <?php if(empty($mobile[post])){echo 'checked';} ?>> 否</label>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td class="altbg1" ><b>每页显示主题数:</b><br /><span class="smalltxt">主题列表页每页显示主题个数,推荐值为10</span></td><td class="altbg2"><input name="settings[mobiletopicperpage]" value="<?php echo $mobile[mobiletopicperpage] ? $mobile[mobiletopicperpage] : 10 ;?>" type="text" class="txt" />
  51. </td>
  52. </tr>
  53. <tr>
  54. <td class="altbg1" ><b>手机版访问域名:</b><br /><span class="smalltxt">如http://wap.mymps.com.cn<br />需将您指定的二级域名绑定/wap目录</span></td><td class="altbg2"><input name="settings[mobiledomain]" type="text" class="text" value="<?php echo $mobile[mobiledomain]; ?>"/>
  55. </td>
  56. </tr>
  57. <!--<tr>
  58. <td class="altbg1" ><b>手机版logo路径:</b><br /><span class="smalltxt">默认<font color="red">/logowap.png</font><br />建议尺寸111*26<br /><font color="blue">如没有可留空</font></span></td><td class="altbg2"><input name="settings[mobilelogo]" type="text" class="text" value="<?php echo $mobile[mobilelogo]; ?>"/>
  59. </td>
  60. </tr>-->
  61. </tbody>
  62. </table>
  63. </div>
  64. <center><input name="<?=CURSCRIPT?>_submit" type="submit" value="提 交" class="mymps large"/></center>
  65. </form>
  66. <?php mymps_admin_tpl_global_foot();?>