<div class="sidebar_model">
            <ul class="menu collapsible">
              <li class="expand"> <a class="sidebar_head" href="#">{lang='栏目管理'}</a>
                <ul class="acitem">
                  <li><a href="__APP__/channel" target="frame_content">{lang='栏目设置'}</a></li>
                  <?php if(module('common')->auth_if(7)) { ?>
                  <?php  if(!empty($menu)) foreach($menu as $menu) { ?>
                  <li><a  href="__APP__{$menu['add_url']}-{$menu['id']}" target="frame_content">{$menu['add_name']}</a></li>
                  <?php }?>
                  <?php }?>
                </ul>
              </li>
  
            </ul>
          </div>
          <div style="clear:both; height:10px"></div>
<script>
var url=$(".expand li:first a").attr("href");
if(url==undefined){
asyncbox.error('{lang='模块不存在,已经关闭或无权限！'}','{lang='提示信息'}'); 
}else{
window.frames['frame_content'].location.href=url;
}
</script>  