{{if $class[clist].link_color !="" || $class[clist].link_bg !=""}}
<style>
#nav_amin li{width:{{$class[clist].daohang_li}};}

#nav_amin li a{font-weight:normal;color:{{$class[clist].link_color}};font-size:{{$class[clist].fontsize}}}


{{if $class[clist].link_bg !=""}}
#nav_amin li:hover{ background:{{$class[clist].link_bg}};height:54px}
#nav_all ul li:hover{ background:#fff;height:34px;}
#nav_amin li a{text-align:center;background:none;}

{{if $page_no=="1"}}
#nav_amin #M{background:{{$class[clist].link_bg}};}
#nav_amin #M a{color:#fff;}
#nav_amin #M img{display:none;}
{{else}}
#M{{$treestringParentID}}  #M{{$page_id}} {background:none;}


#nav_amin #M{{$page_id}}{background:{{$class[clist].link_bg}};}
 #nav_amin #M{{$page_id}} a{color:#fff}
#M{{$treestringParentID}}  #M{{$page_id}} a{color:#c00;}
 #nav_amin #M{{$page_id}} li a{color:#333}
 #M{{$page_id}} img{display:none;}
#M{background:none;}
#M a{color:none;}
{{/if}}

 

{{/if}}






</style>





{{/if}}


<div id="nav_amin" style="z-index:99999;" class="nav_main"><div id="nav" class="nav menu" >{{$treestring}}</div>{{if $edit==1}}<H6></H6>{{else}}{{/if}}</div>