<!--#include file="conn.asp"-->
<%if request.ServerVariables("REQUEST_METHOD")="POST" then%>
<%
username=request("username")
password=request("password")
sqlcheck="select * from user_info where username='"&username&"' and password ='"&password&"'"
set recheck=conn_user.execute(sqlcheck)
if not  recheck.eof then
  
  if  password=recheck("password") then 
  	  if  recheck("state")="0" then 
      chkfalse="登录失败!!你已经申请加入,管理员正在审核中..."
	  else
	  session("userlogin")=username
	  session("state1")=recheck("state")
	  end if 
 
     
  else
     chkfalse="登录失败!!错误提示:用户名或密码错误!!"
	 
  end if
  

  
else
  chkfalse="登录失败!!错误提示:用户名或密码错误!!"
  
end if

%>
<%end if%>

<%
if chkfalse<>"" then 
%>

<script language="JavaScript">
alert("<%=chkfalse%>");
</script>

<%end if%>

<script language="JavaScript">
<!--
function check()
{

var aa=document.myform.username.value
var name=document.myform.password.value

  

if (aa=="")
	{
	alert("请输入用户名!!");
		document.myform.username.focus();
		return false;
	
	}
	
	if (name=="")
	{
		alert("密码不能为空！");
		document.myform.password.focus();
		return false;
	}

	return true;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<html>
<head>
<title>湖南百润医药有限公司节电中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css.css">
<style type="text/css">
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" rightmargin="0" bottommargin="0" background="images/bj.gif">
<div align="center">
<table width="760" border="0" cellpadding="0" cellspacing="0" id="Table_01" bgcolor="#FFFFFF" bordercolor="#FFFFFF">
<tr>
      <td> 
	  <!--#include file="top.asp"--></td>
	  </tr>
	  <tr>
	  <td valign="top"> 
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
            <td valign="top"> 
              <table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
                <tr> 
                  <td width="20%" valign="top" > 
				  	<!--#include file="login.asp"-->
                    <!--#include file="left.asp"-->
                  </td>
                  <td width="80%" valign="top"><TABLE width=100% height="463" border=0 align="center" cellPadding=0 cellSpacing=0 
                  >
                      <TBODY>
                        <TR> 
                          <TD valign="top" width="542"> 
                            <!--------------------------------产品列表 开始---------------------------------->
                            <br>
                            <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber1" height="132" align="right">
                              <tr> 
                                <td height="12" colspan="3"> 
                                  <%
  dim size,small
  SitcomID=clng(Request("SitcomID"))
  '连接数据库
  if not isnumeric(SitcomID) then Response.end
  Set objRs=Server.CreateObject ("ADODB.RecordSet")
  strSQL="SELECT * FROM SitcomInfo Where SitcomID=" & SitcomID
  objRs.Open strSQL,conn,1,1,1
  '判断是否存在该剧
  If objRs.BOF Then
  	Response.Write "<h4 align=center>对不起，您要查看的产品不存在</h4>"
  	'Response.Write "<input type=button  value=关闭本窗口 align=center onclick='return window.close()' id=button1 name=button1>"
  	'Response.End 
  Else
%>
                                </td>
                              </tr>
                              <tr> 
                                <td width="173" height="122" align="center"> <a href="/manage/showpic1.asp?SitcomID=<%=objRS("SitcomID")%>" target=_blank> 
                                  <%if len(objRs("smallpicture"))<> 0 then%>
                                  <img border="0" src="/manage/showpic.asp?SitcomID=<%=objRS("SitcomID")%>&Size=Small" width="173" height="150" alt="<%=objRs("SitcomName")%>"> 
                                  <% else %>
                                  <%end if %>
                                  </a> </td>
                                <td width="7" height="122" rowspan="2" valign="top"></td>
                                <td width="353" height="122" rowspan="2" valign="top"><br> 
                                  <b>产品简介</b>：<br> &nbsp;&nbsp;&nbsp;&nbsp;<font color="#5499B5"><%=objRs("BriefIntroduction")%></font></td>
                              </tr>
                              <tr> 
                                <td width="173" height="16" align="center"><p align="center"><%=objRs("SitcomName")%> 
                                    <font color="#5499B5">　</font></p></td>
                              </tr>
                              <tr> 
                                <td colspan="3"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="27">
                                    <tr> 
                                      <td width="5%" height="5">&nbsp;</td>
                                      <td width="95%" height="30">&nbsp;</td>
                                    </tr>
                                    <tr> 
                                      <td width="5%" height="7"><img src="/images/yns_ico_commend.gif" width="16" height="16" border="0"></td>
                                      <td height="7"><b>详细信息</b> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</td>
                                    </tr>
                                    <tr> 
                                      <td height="1" colspan="2"></td>
                                    </tr>
                                  </table></td>
                              </tr>
                              <tr valign="top"> 
                                <td height="40" colspan="3">&nbsp;&nbsp;<br> &nbsp;&nbsp;<font color="#5499B5"><%=objRs("detail")%><br>
                                  <br>
                                  </font></td>
                              </tr>
                              <tr valign="middle"> 
                                <td height="50" colspan="3">&nbsp; </td>
                              </tr>
                              <tr valign="middle"> 
                                <td height="50" colspan="3">&nbsp; </td>
                              </tr>
                            </table>
                            <% 
end if
%>
                            <%  
Conn.Close   
Set Conn=Nothing  
%>
                          </TD>
                        </TR>
                        <tr> 
                          <TD height="20" valign="top" width="542"> <hr color="cccccf" size="1"> 
                          </TD>
                        </tr>
                        <tr> 
                          <TD height="16" width="542"> <p align="right"><A class=a2 
                        href="acindex.asp"><font color="#4A7100">返回页首</font></A></TD>
                        </tr>
                      </TBODY>
                    </TABLE></td>
                </tr>
              </table></td>
</tr>
<tr>
<td>
<span style="font-size: 3pt">&nbsp;</span></td>
</tr>
<tr>
<td>
<table border="1" cellpadding="0" cellspacing="0" width="100%" style="border: 1px solid #C0C0C0" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td rowspan="2" width="81">
<img border="0" src="images/hz.jpg" width="81" height="56"></td>
<td><font color="#000000">&nbsp;长沙康曼德信息技术有限公司 
长沙康曼德信息技术有限公司 长沙康曼德信息技术有限公司 长沙康曼德信息技术有限公司</font></td>
</tr>
<tr>
<td><font color="#000000">&nbsp;长沙康曼德信息技术有限公司 
长沙康曼德信息技术有限公司 长沙康曼德信息技术有限公司 长沙康曼德信息技术有限公司</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="110">
<p align="center">
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="755" height="100">
<param name="movie" value="images/banner2.swf">
<param name="quality" value="High">
<embed src="images/banner2.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="755" height="100" quality="High"></embed></object>
</td>
</tr>
<tr>
<td>
<table border="1" cellpadding="0" cellspacing="0" width="100%" style="border: 1px solid #C0C0C0" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td rowspan="2" width="81">
<img border="0" src="images/yq.jpg" width="81" height="56"></td>
<td><font color="#000000">&nbsp;长沙康曼德信息技术有限公司 
长沙康曼德信息技术有限公司 长沙康曼德信息技术有限公司 长沙康曼德信息技术有限公司</font></td>
</tr>
<tr>
<td><font color="#000000">&nbsp;长沙康曼德信息技术有限公司 
长沙康曼德信息技术有限公司 长沙康曼德信息技术有限公司 长沙康曼德信息技术有限公司</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><span style="font-size: 3pt">&nbsp;</span></td>
</tr>
<tr>
<td background="images/dh-bj4.jpg" height="99">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td rowspan="4">
<img border="0" src="images/dh-logo.jpg" width="247" height="52"></td>
<td height="20"><font color="#000000">
copyrighst @ 2005 | 关于我们 | 友情链接 | </font> <a href="conus.htm">
<font color="#000000">联系我们</font></a></td>
</tr>
<tr>
<td height="20"><font color="#000000">管理员信箱：<a href="mailto:管理员信箱:webmaster@hunanjn.com"><font color="#FF6600">webmaster@hunanjn.com</font></a> 
联系电话:0731-4411982</font></td>
</tr>
<tr>
<td height="20"><font color="#000000">
地址：长沙市黄兴中路１６８号新大新A栋１１楼D座 邮政编码：410007</font></td>
</tr>
<tr>
<td height="20"><font color="#000000">版权所有@ 
2005 湖南百润医药有限公司节电中心</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td>
</td>
</tr>
</table>
</div>
</body>
</html>