Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

left.htm 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <div class="sidebar-second ">
  2. <ul>
  3. <li class="sidebar-second-title">会员中心</li>
  4. {eq name="'Member@users_index'|is_check_access" value="1"}
  5. <li>
  6. <a {if condition="in_array($Think.const.ACTION_NAME, ['users_index','users_edit'])"}class="active"{/if} href='{:url("Member/users_index")}'>会员列表</a>
  7. </li>
  8. {/eq}
  9. {eq name="'Member@level_index'|is_check_access" value="1"}
  10. <li>
  11. <a {if condition="in_array($Request.action, ['level_index','level_add','level_edit'])"}class="active"{/if} href='{:url("Member/level_index")}'>会员级别</a>
  12. </li>
  13. {/eq}
  14. {eq name="'Member@attr_index'|is_check_access" value="1"}
  15. <li>
  16. <a {if condition="in_array($Request.action, ['attr_index','attr_add','attr_edit'])"}class="active"{/if} href='{:url("Member/attr_index")}'>会员字段</a>
  17. </li>
  18. {/eq}
  19. {eq name="'Member@users_config'|is_check_access" value="1"}
  20. <li>
  21. <a {if condition="in_array($Request.action, ['users_config'])"}class="active"{/if} href='{:url("Member/users_config")}'>功能配置</a>
  22. </li>
  23. {/eq}
  24. {if condition="$php_servicemeal > 1"}
  25. {eq name="'UsersScore@conf'|is_check_access" value="1"}
  26. <li>
  27. <a {if condition="in_array($Think.const.CONTROLLER_NAME, ['UsersScore'])"}class="active"{/if} href='{:url("UsersScore/conf")}'>积分管理</a>
  28. </li>
  29. {/eq}
  30. {/if}
  31. {eq name="'Member@recharge_pack_list'|is_check_access" value="1"}
  32. <li>
  33. <a {if condition="preg_match('/^recharge_/i', $Request.action)"}class="active"{/if} href='{:url("Member/recharge_pack_list")}'>充值套餐</a>
  34. </li>
  35. {/eq}
  36. {eq name="'Member@log_off_index'|is_check_access" value="1"}
  37. <li>
  38. <a {if condition="in_array($Request.action, ['log_off_index'])"}class="active"{/if} href='{:url("Member/log_off_index")}'>会员注销</a>
  39. </li>
  40. {/eq}
  41. </ul>
  42. </div>