<%@ page contentType="text/html; charset=GBK"%>
<%@ page import="java.sql.*,gbase.db.*" %>
<HTML><HEAD><TITLE>产品介绍</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="project_images/aptitude.css" type=text/css rel=stylesheet>
<SCRIPT src="project_images/aptitude.js" type=text/javascript></SCRIPT>

<STYLE type=text/css>.sel_td {
	BACKGROUND-COLOR: #ffffcc
}
</STYLE>

<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<%
String type_id=request.getParameter("type_id")==null?"":request.getParameter("type_id");
%>
<TABLE cellSpacing=0 cellPadding=0 width=830 align=center border=0>
  <TBODY>
  <TR>
    <TD vAlign=top width=184>
      <TABLE height=631 cellSpacing=0 cellPadding=0 width=184 border=0>
        <TBODY>
        <TR>
          <TD><IMG height=44 alt="" src="project_images/l_001.gif" 
width=184></TD></TR>
        <TR>
          <TD width=184 background=project_images/l_002.gif height=561>
            <TABLE cellSpacing=0 cellPadding=6 width="90%" align=center 
border=0>
              <TBODY>
               <TR>
                <TD><IMG height=9 src="project_images/ico_class.gif" 
                  width=9>&nbsp;<A 
                  href="project_select.jsp?type_id=">全部网站</A></TD></TR>
               <%
	          DBOperation theSelectDBOperation = new DBOperation();
	          String select_sql = "select * from web_type order by type_id asc";
                  ResultSet select_rs =theSelectDBOperation.getResultSet(select_sql);
                  while(select_rs.next()){
	       %>
	      <TR>
                <TD><IMG height=9 src="project_images/ico_class.gif" 
                  width=9>&nbsp;<A 
                  href="project_select.jsp?type_id=<%=select_rs.getString("type_id")%>"><%=select_rs.getString("type_name")%></A></TD></TR>
              <%}%>
              </TBODY></TABLE></TD></TR>
        <TR>
          <TD><IMG height=26 alt="" src="project_images/l_003.gif" 
        width=184></TD></TR></TBODY></TABLE></TD>
    <TD vAlign=top align=right width=646>
      <TABLE height="100%" cellSpacing=0 cellPadding=0 width=633>
        <TBODY>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=0 width=633 border=0>
              <TBODY>
              <TR>
                <TD><IMG src="project_images/R_M_top.gif"></TD></TR>
              <TR>
                <TD 
                style="BORDER-RIGHT: #adc0c9 1px solid; PADDING-RIGHT: 16px; PADDING-LEFT: 16px; PADDING-BOTTOM: 4px; BORDER-LEFT: #adc0c9 1px solid; PADDING-TOP: 4px" 
                align=left>
                  <TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
                    <TBODY>
<%
String sql1="select a.*,c.type_name,c.type_id,d.web_url from web_project a,sys_project b,web_type c,web_info d  where a.web_account=d.web_account and b.web_type=c.type_id and b.web_type like '%"+type_id+"%' and a.web_account=b.sys_account and a.flag=0 order by b.sys_account desc";
PageManager thePageManager1 = new PageManager();
int row_size=3;
thePageManager1.setPageSize(3*3);
ResultSet rs1 = thePageManager1.gePageData(request, sql1);
request.setAttribute("LIST_PageManager", thePageManager1);
request.setAttribute("LIST_PAGE", rs1);
int img_i=0;
while(rs1.next())
{
String old_web_url="http://"+rs1.getString("web_account")+".it3838.com";
String web_url=(rs1.getString("web_url")==null || rs1.getString("web_url").equals(""))?old_web_url:rs1.getString("web_url");
String img_url="/"+rs1.getString("web_account")+rs1.getString("content");
String web_type=rs1.getString("type_id");
String type_name=rs1.getString("type_name");
String web_account=rs1.getString("web_account");
String project_id=rs1.getString("id");
String project_name=rs1.getString("title");
img_i++;
%>
<%if(img_i%3==1){%><TR><%}%>
                      <TD>
                        <TABLE 
                        style="BORDER-RIGHT: #adc0c9 1px solid; BORDER-TOP: #adc0c9 1px solid; BORDER-LEFT: #adc0c9 1px solid; BORDER-BOTTOM: #adc0c9 1px solid" 
                        cellSpacing=0 cellPadding=5 width=180 border=0>
                          <TBODY>
                          <TR>
                            <TD align=middle><A 
                              href="<%=web_url%>" 
                              target=_blank><IMG height=149 
                              src="<%=img_url%>"
                              border=0></A></TD></TR>
                          <TR>
                            <TD align=middle bgColor=#f5f5f5><IMG 
                              src="project_images/icon_view.gif" align=absMiddle><A 
                              class=font_orange 
                              href="register.jsp?web_type=<%=web_type%>&project_account=<%=web_account%>&project_id=<%=project_id%>" 
                              ><FONT 
                              color=#ff0000>开始建站</FONT></A>&nbsp;&nbsp;<IMG 
                              src="project_images/icon_ie.gif" align=absMiddle><A 
                              href="<%=web_url%>" 
                              target=_blank>浏览</A></TD></TR>
                          <TR>
                            <TD><SPAN class=imginfo><SPAN 
                              class=imgname>名称:</SPAN><%=project_name%></SPAN></TD></TR>
                          <TR>
                            <TD><SPAN class=imginfo><SPAN 
                              class=imgname>行业:</SPAN><%=type_name%></SPAN></TD></TR></TBODY>
                      </TABLE>
                     </TD>
                    
<%if(img_i%row_size==0){%></TR><%}%>
<%}%>
<%if(img_i%row_size!=0){%></TR><%}%>

                    <TR></TR></TBODY></TABLE>
                  <TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
                    <TBODY>
                    <TR>
                    <td>
                    <%
                      request.setAttribute("OLD_URL","project_select.jsp?type_id="+type_id);
                    %>
                    <jsp:include page="include/page.jsp" flush="true"/>
                    </td>
                    </TR></TBODY></TABLE></TD></TR>
              <TR>
                <TD><IMG 
          src="project_images/R_M_bottom.gif"></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<SCRIPT language=javascript>
overWeb(1);
</SCRIPT>
</BODY></HTML>
