<%@ page contentType="text/html; charset=GBK"%>
<%@ page import="gbase.db.*,gbase.util.*,java.sql.*" %>
<HTML>
<HEAD>
<TITLE>JAVACMS自助建站网</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="css/gdtel.css" type=text/css rel=stylesheet>
<LINK href="css/other.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<Script Language="javaScript">
    function isSpace(str) {
      var len = str.length;

      for(var i=0; i< len; i++) {
        temp = str.substring(i,i+1);
        if (temp != " ") {
            return false;
        }
      }
    return true;
    }
    function  check_validate(theForm) {
        if (isSpace(theForm.web_account.value)) {
            alert("网站帐号不能为空！");
            theForm.web_account.focus();
            return false;
        }
        if (isSpace(theForm.user_account.value)) {
            alert("用户帐号不能为空！");
            theForm.user_account.focus();
            return false;
        }
        if (isSpace(theForm.password.value)) {
            alert("密码不能为空！");
            theForm.password.focus();
            return false;
        }
        return true;
    }
    
</Script>
<%@ include file="top.htm" %>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
  <TBODY>
  <TR>
    <TD style="HEIGHT: 10px"></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
  <TBODY>
  <TR vAlign=top>
    <TD style="WIDTH: 194px; BACKGROUND-COLOR: #f8f8f8" height=300>
      <TABLE cellSpacing=0 cellPadding=0 width=194 border=0>
        <TBODY>
        <TR>
          <TD><IMG height=32 src="images/kehulogin.jpg" 
        width=194></TD></TR></TBODY></TABLE>
      <TABLE style="BACKGROUND-COLOR: #ffffff" cellSpacing=0 cellPadding=0 
      width=194 border=0>
        <FORM name=loginForm onsubmit="return check_validate(this)" action="../cmsweb/login_save.jsp" method=post>
        <INPUT type=hidden value=null name=loginOldUri> 
        <TBODY>
        <TR>
          <TD style="WIDTH: 1px; BACKGROUND-COLOR: #d5d5d5"></TD>
          <TD style="HEIGHT: 170px" vAlign=top>
            <TABLE style="MARGIN-TOP: 6px" cellSpacing=1 cellPadding=2 
            width="100%" border=0>
              <TBODY>
              <TR>
                <TD align=right height="22" width="30%">网站帐号:</TD>
                <TD>
                 <SPAN class=text7>
                  <INPUT class=input_l id=web_account style="WIDTH: 113px"  name=web_account> 
                 </SPAN>
                </TD>
              </TR>
              <TR>
                <TD align=right  height="22" width="30%">用户帐号:</TD>
                <TD>
                 <SPAN class=text7>
                  <INPUT class=input_l id=user_account style="WIDTH: 113px"  name=user_account> 
                 </SPAN>
                </TD>
              </TR>
              <TR>
                <TD align=right  height="22" width="30%">密　　码:</TD>
                <TD>
                 <SPAN class=text7>
                  <INPUT type=password class=input_l id=password style="WIDTH: 113px"  name=password> 
                 </SPAN>
                </TD>
              </TR>
            </TBODY></TABLE>
            <TABLE cellSpacing=1 cellPadding=2 width="95%" align=center border=0>
              <TBODY>
              <TR align=middle>
                <TD>&nbsp;&nbsp;<INPUT class=button type=submit value=登录 name=logon></TD>
                <TD>&nbsp;&nbsp;</TD>
                <TD><INPUT class=button_bold4 onclick="top.location.href='/support/support_d_p1.jsp'" type=button value=忘记密码 name=reg>&nbsp;&nbsp;</TD>
               </TR></TBODY></TABLE>
           <TABLE cellSpacing=1 cellPadding=2 width="95%" align=center border=0>
              <TBODY>
              <TR align=middle>
                <TD><A href="register.jsp"><IMG height=50  src="images/reg_but.gif" width=180></a></TD>
               </TR></TBODY></TABLE>
            </TD>
          <TD style="WIDTH: 1px; BACKGROUND-COLOR: #d5d5d5"></TD></TR>
        <TR>
          <TD style="HEIGHT: 1px; BACKGROUND-COLOR: #d5d5d5" colSpan=3 
          height=89></TD></TR></FORM>
          
          </TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD 
      style="HEIGHT: 10px; BACKGROUND-COLOR: #ffffff"></TD></TR></TBODY></TABLE>
     
<!-- 记录页面被点击此次 -->
      <TABLE cellSpacing=0 cellPadding=0 width=194 border=0>
        <TBODY>
        <TR>
          <TD><IMG height=31 src="images/support_left.jpg" 
        width=194></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=194 border=0>
        <TBODY>
        <%@ include file="net_sample.jsp" %>
        <TR>
          <TD style="HEIGHT: 1px; BACKGROUND-COLOR: #d5d5d5" colSpan=3 
          height=10></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD 
      style="HEIGHT: 10px; BACKGROUND-COLOR: #ffffff"></TD></TR></TBODY></TABLE></TD>
    <TD style="WIDTH: 12px"></TD>
    <TD align=right>
      <TABLE cellSpacing=0 cellPadding=0 width=572 border=0>
        <TBODY>
        <TR>
          <TD width=55><IMG height=31 src="images/title_arrow.jpg" 
            width=55></TD>
          <TD style="BACKGROUND-IMAGE: url(images/title_arrow_bg.jpg)" 
          width=101>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD><IMG height=31 src="images/main_title2.jpg" 
                  width=72></TD>
                <TD><IMG height=31 src="images/arrow01.jpg" width=11></TD>
                <TD>&nbsp;</TD></TR></TBODY></TABLE></TD>
          <TD style="BACKGROUND-IMAGE: url(images/ban_bg_01.jpg)" 
          width=407></TD>
          <TD width=9><IMG height=31 src="images/ban_right_01.jpg" 
            width=8></TD></TR></TBODY></TABLE>
     <TABLE cellSpacing=0 cellPadding=0 width=572 border=0>
        <TBODY>
        <TR>
          <TD style="WIDTH: 1px; BACKGROUND-COLOR: #d5d5d5"></TD>
          <TD style="HEIGHT: 390px" vAlign=top>
            <TABLE 
            style="MARGIN: 10px 0px 25px 20px; VERTICAL-ALIGN: top; WIDTH: 550px" 
            cellSpacing=0 cellPadding=0 border=0>
              <TBODY>
<%String type_listurl="news.jsp";
  String  sql="";
  sql = " select id,title,create_date from web_news  where type=1 order by id desc ";
  PageManager thePageManager = new PageManager();
  thePageManager.setPageSize(15);
        ResultSet rs = thePageManager.gePageData(request, sql);
        request.setAttribute("LIST_PageManager", thePageManager);
        request.setAttribute("LIST_PAGE", rs);
  while(rs.next()){
  String title3=rs.getString("title");
  title3=StringUtils.getStringLength(title3,30);
%> 
              <TR>
                <TD class=text3><IMG 
                  style="PADDING-RIGHT: 12px; VERTICAL-ALIGN: text-bottom" 
                  height=11 alt=fp src="images/text_point.gif" 
                  width=9><A 
                  href="news_content.jsp?id=<%=rs.getString("id")%>"><%=title3%> 
                  <SPAN class=date><%=rs.getString("create_date")%></SPAN></A></TD></TR>
<%
}
%>              
              </TBODY></TABLE>
            <TABLE 
            style="MARGIN: 10px 0px 25px 10px; VERTICAL-ALIGN: top; WIDTH: 550px" 
            cellSpacing=0 cellPadding=0 border=0>
              <TBODY>
              <TR>
                <TD class="subselectbg_i1 text3" 
                style="HEIGHT: 1px; BACKGROUND-COLOR: #d5d5d5" 
colSpan=3></TD></TR>
              <TR>
                <td><%
  request.setAttribute("OLD_URL",type_listurl);
  %>
<td>
                </TR></TBODY></TABLE></TD>
          <TD style="WIDTH: 1px; BACKGROUND-COLOR: #d5d5d5"></TD></TR>
        <TR>
          <TD style="HEIGHT: 1px; BACKGROUND-COLOR: #d5d5d5" 
        colSpan=3></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD>&nbsp;</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>

<%@ include file="bottom.htm" %>
</BODY></HTML>