<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib uri="/cms4j" prefix="cms4j" %>

<%
String id = "";
String name = "";
boolean child = false;
int depth = 0;
String rootId = "";
%>
<cms4j:class id="${param.id}">
<%
	id = class_info.getARTICLE_CLASS_ID();
	name = class_info.getCLASS_NAME();
	child = class_info.isHasChild();
	depth = class_info.getDEPTH();
	rootId = class_info.getROOT_ID();
%>
</cms4j:class>
<%if(child&&depth==1){%>
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="210" height="31" background="images/left_lmt.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="15%" align="center">&nbsp;</td>
            <td class="title"><%=name%></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td background="images/left_lmb.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="10"></td>
          </tr>
        </table>
		<cms4j:class parent_class="${param.id}" show="1">
		<%if(class_info.getARTICLE_CLASS_ID().equals(id)){%>
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
			  <td><a href="<%=class_info.getURL()%>" class="left_link2"><%=class_info.getCLASS_NAME()%></a></td>
			</tr>
		  </table>
		<%}else{%>
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
			  <td><a href="<%=class_info.getURL()%>" class="left_link"><%=class_info.getCLASS_NAME()%></a></td>
			</tr>
		  </table>
		
		<%}%>
		</cms4j:class>
	    </td>
      </tr>
      <tr>
        <td height="10" valign="bottom" background="images/left_lmb.gif"><img src="images/left_lmd.gif" width="200" height="5"></td>
      </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
	  <td width="100%" height="10"></td>
	</tr>
</table>
<%}else if(depth!=1){%>
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="210" height="31" background="images/left_lmt.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="15%" align="center">&nbsp;</td>
            <td class="title"><%=name%></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td background="images/left_lmb.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="10"></td>
          </tr>
        </table>
		<cms4j:class parent_class="<%=rootId%>" show="1">
		<%if(class_info.getARTICLE_CLASS_ID().equals(id)){%>
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
			  <td><a href="<%=class_info.getURL()%>" class="left_link2"><%=class_info.getCLASS_NAME()%></a></td>
			</tr>
		  </table>
		<%}else{%>
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
			  <td><a href="<%=class_info.getURL()%>" class="left_link"><%=class_info.getCLASS_NAME()%></a></td>
			</tr>
		  </table>
		<%}%>
		</cms4j:class>
	    </td>
      </tr>
      <tr>
        <td height="10" valign="bottom" background="images/left_lmb.gif"><img src="images/left_lmd.gif" width="200" height="5"></td>
      </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
	  <td width="100%" height="10"></td>
	</tr>
</table>
<%}%>
<jsp:include page="hot_commend.jsp"/>