<div id="mc_menu">
  <ul>
    <li id="mc_welcome"<?php if ($this->_var['mc_selected'] == 'welcome'): ?> class="selected"<?php endif; ?>><a href="index.php?app=member&amp;act=home">欢迎页</a></li>
    <li id="mc_profile"<?php if ($this->_var['mc_selected'] == 'profile'): ?> class="selected"<?php endif; ?>><a href="index.php?app=member&amp;act=profile">个人资料</a></li>
    <li id="mc_order_view"<?php if ($this->_var['mc_selected'] == 'order_view'): ?> class="selected"<?php endif; ?>><a href="index.php?app=member&amp;act=order_view">我的订单</a></li>
    <li id="mc_favorite"<?php if ($this->_var['mc_selected'] == 'favorite'): ?> class="selected"<?php endif; ?>><a href="index.php?app=member&amp;act=favorite">收藏夹</a></li>
    <li id="mc_my_message"<?php if ($this->_var['mc_selected'] == 'my_message'): ?> class="selected"<?php endif; ?>><a href="index.php?app=member&amp;act=message">我的留言/评论</a></li>
    <li id="mc_address"<?php if ($this->_var['mc_selected'] == 'address'): ?> class="selected"<?php endif; ?>><a href="index.php?app=member&amp;act=address">收货地址</a></li>
    <li id="mc_credit"<?php if ($this->_var['mc_selected'] == 'credit'): ?> class="selected"<?php endif; ?>><a href="index.php?app=member&amp;act=credit">信用评价</a></li>
    <?php if ($_SESSION['admin_store'] > - 1): ?>
    <li id="mc_store_entrance">
        <a href="./admin.php" target="_blank">
        <?php if ($_SESSION['admin_store'] == 0): ?>
            管理网站
        <?php else: ?>
            管理我的店铺
        <?php endif; ?>
        </a></li>
    <?php endif; ?>
  </ul>
</div>
