人人商城

common.tpl.php 652B

1234567
  1. <?php defined('IN_IA') or exit('Access Denied');?><ul class="we7-page-tab">
  2. <?php if(is_array($active_sub_permission)) { foreach($active_sub_permission as $active_menu) { ?>
  3. <?php if(permission_check_account_user($active_menu['permission_name'], false) && (empty($active_menu['is_display']) || is_array($active_menu['is_display']) && in_array($_W['account']['type'], $active_menu['is_display']))) { ?>
  4. <li <?php if($do == $active_menu['active']) { ?>class="active"<?php } ?>><a href="<?php echo $active_menu['url'];?>&version_id=<?php echo $_GPC['version_id'];?>"><?php echo $active_menu['title'];?></a></li>
  5. <?php } ?>
  6. <?php } } ?>
  7. </ul>