Ingen beskrivning
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.

users_leftmenu.htm 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <ul>
  2. <li>
  3. <div class="title">会员中心</div>
  4. </li>
  5. {eyou:usermenu currentstyle='active'}
  6. <li class="{$field.currentstyle}">
  7. <a href="{$field.url}">{$field.title}</a>
  8. </li>
  9. {/eyou:usermenu}
  10. </ul>
  11. {if isset($usersConfig['shop_open']) && $usersConfig['shop_open'] == 1 && $php_servicemeal > 1}
  12. <ul>
  13. <li>
  14. <div class="title">商城中心</div>
  15. </li>
  16. <li {if $Think.const.MODULE_NAME == 'user' && $Think.const.CONTROLLER_NAME == 'Shop' && $Think.const.ACTION_NAME == 'shop_cart_list'} class="active" {/if}>
  17. <a href="{eyou:url link='user/Shop/shop_cart_list' /}">购物车</a>
  18. </li>
  19. <li {if $Think.const.MODULE_NAME == 'user' && $Think.const.CONTROLLER_NAME == 'Shop' && $Think.const.ACTION_NAME == 'shop_address_list'} class="active" {/if}>
  20. <a href="{eyou:url link='user/Shop/shop_address_list' /}">收货地址</a>
  21. </li>
  22. <li {if $Think.const.MODULE_NAME == 'user' && ($Think.const.CONTROLLER_NAME == 'Shop' && in_array($Think.const.ACTION_NAME, ['shop_centre', 'shop_order_details', 'after_service', 'after_service_details', 'after_service_apply']) || ($Think.const.CONTROLLER_NAME == 'ShopComment' && in_array($Think.const.ACTION_NAME, ['product'])))} class="active" {/if}>
  23. <a href="{eyou:url link='user/Shop/shop_centre' /}">我的订单</a>
  24. </li>
  25. {egt name='$php_servicemeal' value='2'}
  26. <li {if $Think.const.MODULE_NAME == 'user' && $Think.const.CONTROLLER_NAME == 'ShopComment' && in_array($Think.const.ACTION_NAME, ['index'])} class="active" {/if}>
  27. <a href="{eyou:url link='user/ShopComment/index'/}"> 我的评价</a>
  28. </li>
  29. {/egt}
  30. </ul>
  31. {/if}
  32. {if isset($usersConfig['users_open_release']) && $usersConfig['users_open_release'] == 1}
  33. <ul>
  34. <li>
  35. <div class="title">投稿中心</div>
  36. </li>
  37. <li {if $Think.const.MODULE_NAME == 'user' && $Think.const.CONTROLLER_NAME == 'UsersRelease' && $Think.const.ACTION_NAME == 'release_centre'} class="active" {/if}>
  38. <a href="{:url('user/UsersRelease/release_centre', ['list'=>1])}">投稿列表</a>
  39. </li>
  40. <li {if $Think.const.MODULE_NAME == 'user' && $Think.const.CONTROLLER_NAME == 'UsersRelease' && ($Think.const.ACTION_NAME == 'article_add' || $Think.const.ACTION_NAME == 'article_edit')} class="active" {/if}>
  41. <a href="{eyou:url link='user/UsersRelease/article_add'/}">我要投稿</a>
  42. </li>
  43. </ul>
  44. {/if}
  45. <!--footer-hook-->