<!--#include file="Inc/EnSysProduct.asp" -->
<!--#include file="inc/Skin_CSS.asp"-->
<%
function cutstr(tempstr,tempwid)
if len(tempstr)>tempwid then
cutstr=left(tempstr,tempwid)&"..."
else
cutstr=tempstr
end if
end function%>
<!-- #include file="EnHead.asp" -->
<TABLE width="850" border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
  <TR>
    <TD height="5"></TD>
  </TR>
  <TR> 
    <TD height="172" ><table width="843" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="190" valign="top" class="tdbg_left"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="34" class="title_left">&nbsp;&nbsp;&nbsp;<img src="Images/smallbook.jpg" width="10" height="10">&nbsp;User 
                  login</td>
              </tr>
              <tr> 
                <td height="5"></td>
              </tr>
              <tr> 
                <td height="10"><table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td> <% call ShowUserLogin() %> </td>
                    </tr>
                  </table></td>
              </tr>
			  <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="34" class="title_left">&nbsp;&nbsp;&nbsp;<img src="Images/smallbook.jpg" width="10" height="10">&nbsp;&nbsp;Prouduct 
                  search</td>
              </tr>
              <tr> 
                <td height="5"></td>
              </tr>
              <tr> 
                <td height="10"><table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td> 
                        <% call ShowSearch(1) %>
                      </td>
                    </tr>
                  </table></td>
              </tr>
			  <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="34" class="title_left">&nbsp;&nbsp;&nbsp;<img src="Images/smallbook.jpg" width="10" height="10">&nbsp;&nbsp;&nbsp;Prouduct 
                  list</td>
              </tr>
              <tr> 
                <td height="5"></td>
              </tr>
              <tr> 
                <td height="10"><table width="79%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td> <% call ShowSmallClass_Tree() %> </td>
                    </tr>
                  </table></td>
              </tr>
			  <tr> 
                <td height="5"></td>
              </tr>
            </table>
            
          </td>
          <td width="6" bgcolor="#FFFFFF">&nbsp;</td>
		  
<td Class=border valign="top"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td class="title_right" width="23%" height="32">&nbsp;&nbsp;&nbsp;<img src="Images/smallbook.jpg" width="10" height="10">&nbsp;&nbsp;News</td> 
               
                <td class="title_right" width="77%">

                </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="49%">¡¡Co News&gt;&gt;</td>
                <td width="51%">¡¡O News&gt;&gt;</td>
              </tr>
              <tr> 
                <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="100" colspan="2"> 
                        <%
set rs_news=server.createobject("adodb.recordset")
sqltext4="select top " & New_count & " * from ennews where BigClassName='Co.News' order by AddDate desc"
rs_news.open sqltext4,conn,1,1				 	
%>
                        <table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <tr> 
                            <td width="7%" height="8"></td>
                            <td width="93%"></td>
                          </tr>
                          <%i=0
do while not rs_news.eof%>
                          <tr align="center"> 
                            <td><img src="Img/arrow_6.gif" width="11" height="11"> 
                            </td>
                            <td style='BORDER-bottom: #999999 1px dotted'> <div align="left"> 
                                <p style='line-height:150%'><a href="enshownews.asp?id=<%=rs_news("id")%>" target="_blank"> 
                                  <%=cutstr(rs_news("title"),22)%></a><br>
                              </div></td>
                          </tr>
                          <%rs_news.movenext
i=i+1
loop
rs_news.close %>
                          <tr> 
                            <td height="8"></td>
                            <td></td>
                          </tr>
                        </table></td>
                      <td width="51%" colspan="2"> 
                        <%
set rs_news=server.createobject("adodb.recordset")
sqltext4="select top " & New_count & " * from ennews where BigClassName='o News' order by AddDate desc"
rs_news.open sqltext4,conn,1,1				 	
%>
                        <table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <tr> 
                            <td width="6%" height="8"></td>
                            <td width="94%"></td>
                          </tr>
                          <%i=0
do while not rs_news.eof%>
                          <tr align="center"> 
                            <td><img src="Img/arrow_6.gif" width="11" height="11"> 
                            </td>
                            <td style='BORDER-bottom: #999999 1px dotted'> <div align="left"> 
                                <p style='line-height:150%'><a href="enshownews.asp?id=<%=rs_news("id")%>" target="_blank"> 
                                  <%=cutstr(rs_news("title"),20)%></a> <br>
                              </div></td>
                          </tr>
                          <%rs_news.movenext
i=i+1
loop
rs_news.close %>
                          <tr> 
                            <td height="8"></td>
                            <td></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td height="15"> <div align="right"><img src="Images/more_1.gif" width="85" height="27" border="0" usemap="#Map2Map"> 
                                <map name="Map2Map">
                                  <area shape="rect" coords="20,15,70,25" href="enNewsClass.asp?BigClass=Co.News">
                                </map>
                              </div></td>
                          </tr>
                        </table></td>
                      <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td><div align="right"><img src="Images/more_1.gif" width="85" height="27" border="0" usemap="#Map2"></div></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table>
                  <map name="Map2">
                    <area shape="rect" coords="22,15,72,25" href="enNewsClass.asp?BigClass=o News">
                  </map></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td class="title_right" height="32">&nbsp;&nbsp;&nbsp;<img src="Images/smallbook.jpg" width="10" height="10">&nbsp;&nbsp;New 
                  Product Show</td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><!--#include file="EnNewsProduct.asp"--></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="6">&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td class="title_right" height="32">&nbsp;&nbsp;&nbsp;<img src="Images/smallbook.jpg" width="10" height="10">&nbsp;&nbsp;Product 
                  List</td>
               
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td> <%i=1 
set rs_Product=server.createobject("adodb.recordset")
sqltext="select top " & Product_count & " * from Product where Passed=True And Elite=True order by UpdateTime desc"
rs_Product.open sqltext,conn,1,1				 	
%> <table width="100%" border="0" cellspacing="1" cellpadding="0">
                    <tr> 
                      <td></td>
                    </tr>
                    <tr align="center"> 
                      <td><table  width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#999999" >
                          <tr Class=tdbg > 
                            <td  width="34%" height="29"> 
                              <div align="center">Product Name</div></td>
                            <td  width="18%"> 
                              <div align="center">Spec</div></td>
                            <td  width="9%"> 
                              <div align="center">Unit</div></td>
                            <td  width="39%"> 
                              <div align="center">Memo</div></td>
                          </tr>
                          <%
do while not rs_Product.eof
%>
                          <% if i mod 2 =0 then%>
                          <tr Class=tdbg> 
                            <% else %>
                          <tr bgcolor="#ffffff"> 
                            <% end if %>
                            <td height="22"><a href="EnProductShow.asp?ID=<%=rs_Product("ID")%>" target="_blank"><%=cutstr(rs_Product("EnTitle"),15)%></a></td>
                            <td > <div align="center"><%=cutstr(rs_Product("EnSpec"),6)%></div></td>
                            <td> <div align="center"><%=rs_Product("EnUnit")%></div></td>
                            <td> <div align="left"><%=cutstr(rs_Product("EnMemo"),15)%></div></td>
                          </tr>
                          <% 
i=i+1
rs_Product.movenext 
loop 
rs_Product.close  
%>
                        </table></td>
                    </tr>
                    <tr> 
                      <td></td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td> <div align="right"><a href="EnProduct.asp">More ProductS&gt;&gt;&gt;</a></div></td>
              </tr>
            </table></td>
        </tr>		
      </table></TD>
  </TR>
</TABLE>
<!-- #include file="Inc/EnFoot.asp" -->
<map name="Map">
  <area shape="rect" coords="18,14,69,24" href="News.asp">
</map>
</BODY></HTML>
