<?xml version="1.0" encoding="[$charset]"?>
<tree>

<loop $NodeInfo key=key var=var>
  <if $var.NodeType == 1>
	<tree text="[@htmlspecialchars($var.Name)]" action="admin_site.php?op=sId::[$sId];o::view;NodeID::[$var.NodeID]"   cId="[$var.NodeID]" target="panelWork" extra="recycle_bin"/>

<elseif $var.NodeType == 2>

	<tree icon="../html/tree/images/xp/folder_2.png" text="[@htmlspecialchars($var.Name)]" action="admin_site.php?op=sId::[$sId];o::view;NodeID::[$var.NodeID]"  target="panelWork"  cId="[$var.NodeID]" extra="recycle_bin"/>

   <elseif $var.NodeType == 3>

  	<tree icon="../html/tree/images/xp/folder_3.png"text="[@htmlspecialchars($var.Name)]" action="admin_site.php?op=sId::[$sId];o::view;NodeID::[$var.NodeID]"  target="panelWork"  cId="[$var.NodeID]" extra="recycle_bin"/>
<else>
	<tree text="[@htmlspecialchars($var.Name)]" action="admin_site.php?op=sId::[$sId];o::view;NodeID::[$var.NodeID]"  cId="[$var.NodeID]" target="panelWork"  extra="recycle_bin"/>

   </if>


</loop>
</tree>