member_group_add.tpl.php 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?php include mymps_tpl('inc_head');?>
  2. <style>
  3. label{float:left; width:180px}
  4. </style>
  5. <div id="<?=MPS_SOFTNAME?>" style="padding-bottom:0">
  6. <div class="mpstopic-category">
  7. <div class="panel-tab">
  8. <ul class="clearfix tab-list">
  9. <li><a href="?do=group" <?php if($part == 'list'){?>class="current"<?php }?>>会员组类型</a></li>
  10. <li><a href="?do=group&part=add" <?php if($part == 'add'){?>class="current"<?php }?>>增加会员组</a></li>
  11. </ul>
  12. </div>
  13. </div>
  14. </div>
  15. <div id="<?=MPS_SOFTNAME?>">
  16. <table border="0" cellspacing="0" cellpadding="0" class="vbm">
  17. <form name="form1" action="member.php?do=group&part=insert" onSubmit="return checkSubmit();" method="post">
  18. <tr class="firstr">
  19. <td colspan="4">会员用户组基本设置</td>
  20. </tr>
  21. <tr bgcolor="#f5fbff">
  22. <td width="160" height="30">用户组名称:</td>
  23. <td ><input name="levelname" type="text" class="text" size="16" style="width:200px;" value=""/></td>
  24. </tr>
  25. <tr class="firstr">
  26. <td colspan="4">用户组权限设置</td>
  27. </tr>
  28. <?php echo mymps_member_purview();?>
  29. <tr class="firstr">
  30. <td colspan="4">其它设置</td>
  31. </tr>
  32. <tr bgcolor="#f5fbff">
  33. <td height="30">默认拥有金币数</td>
  34. <td ><input name="money_own" type="text" class="txt" value=""/> <img src="../member/images/mymps_icon_incomes.gif" align="absmiddle"> </td>
  35. </tr>
  36. <tr bgcolor="#f5fbff">
  37. <td height="30">可选择的会员模板<br />
  38. <font color="#006acd">(只对商家会员有效)</font></td>
  39. <td>
  40. <select name="allow_tpl[]" multiple="multiple" style="width:100px; height:80px">
  41. <?=get_memtpl_options()?>
  42. </select>
  43. </td>
  44. </tr>
  45. <tr bgcolor="#f5fbff">
  46. <td height="30">每天至多发布信息</td>
  47. <td ><input name="perday_maxpost" type="text" class="text" size="16" style="width:200px;" value="<?=$group['perday_maxpost']?>"/></td>
  48. </tr>
  49. <tr bgcolor="#f5fbff">
  50. <td height="30">分类信息发布总数上限</td>
  51. <td ><input name="info_maxpost" type="text" class="text" size="16" style="width:200px;" value="<?=$group['info_maxpost']?>"/></td>
  52. </tr>
  53. <tr bgcolor="#f5fbff">
  54. <td height="30">机构文章发布总数上限</td>
  55. <td ><input name="article_maxpost" type="text" class="text" size="16" style="width:200px;" value="<?=$group['article_maxpost']?>"/></td>
  56. </tr>
  57. <tr bgcolor="#f5fbff">
  58. <td height="30">机构相片上传总数上限</td>
  59. <td ><input name="album_maxpost" type="text" class="text" size="16" style="width:200px;" value="<?=$group['album_maxpost']?>"/></td>
  60. </tr>
  61. <tr bgcolor="#f5fbff">
  62. <td height="30">升级到当前会员组扣除金币<br /><font color="red">(您至少要选择启用一个升级期限)</font></td>
  63. <td >
  64. <?php foreach(array('month'=>'一个月','halfyear'=>'半年','year'=>'一年','forever'=>'永久') as $k => $v){?>
  65. <div style="width:100%; margin:5px auto; line-height:25px">
  66. <input name="settings[ifopen][<?php echo $k; ?>]" type="checkbox" class="checkbox" value="1" checked="checked">启用 <img src="../member/images/mymps_icon_incomes.gif" align="absmiddle"> <input name="settings[money][<?php echo $k; ?>]" class="txt" value=""> <?php echo $v; ?>
  67. </div>
  68. <?php }?>
  69. </td>
  70. </tr>
  71. <tr bgcolor="#f5fbff">
  72. <td height="30">会员的联系方式显示<br />
  73. <font color="#006acd">(只对商家会员有效)</font></td>
  74. <td><select name="member_contact">
  75. <option value="0">显示为网站的联系方式</option>
  76. <option value="1">显示为会员自己的联系方式</option>
  77. </select></td>
  78. </tr>
  79. <tr bgcolor="#f5fbff">
  80. <td height="60">&nbsp;</td>
  81. <td>
  82. <input type="submit" name="Submit" class="mymps mini" value="确认提交"/>
  83.  <input type="button" onClick=history.back() class="mymps mini" value="返 回"> </td>
  84. </tr>
  85. </form>
  86. </table>
  87. </div>
  88. <?php mymps_admin_tpl_global_foot();?>