<!--#include file="conn.asp"-->
<%
if request("userid")<>"" then
	set rs=server.createobject("adodb.recordset")
	sqltext="select * from hotelb where userid='"&request("userid")&"'" 
	rs.open sqltext,conn,1,1
	
	set rsyh=server.createobject("adodb.recordset")
	sqltext="select * from hotelyhb where id="&request("id")&"" 
	rsyh.open sqltext,conn,1,1
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="images/site.css" type=text/css rel=stylesheet>
<script language="JavaScript">
<!--
var imageObject;
function ResizeImage(obj, MaxW, MaxH)
{
    if (obj != null) imageObject = obj;
    var state=imageObject.readyState;
    var oldImage = new Image();
    oldImage.src = imageObject.src;
    var dW=oldImage.width; var dH=oldImage.height;
    if(dW>MaxW || dH>MaxH) {
        a=dW/MaxW; b=dH/MaxH;
        if(b>a) a=b;
        dW=dW/a; dH=dH/a;
    }
    if(dW > 0 && dH > 0)
        imageObject.width=dW;imageObject.height=dH;
    if(state!='complete' || imageObject.width>MaxW || imageObject.height>MaxH) {
        setTimeout("ResizeImage(null,"+MaxW+","+MaxH+")",40);
    }
}
//-->
</script>
<title>上饶折扣网---折扣消费大舞台!</title>
</head>

<body background="../../img/right-bg.jpg" topmargin="0" leftmargin="0">

<table border="0" width="900" cellspacing="0" cellpadding="0" id="table1">
	<tr>
		<td colspan="4">
		<img border="0" src="img/1.jpg" width="841" height="198"></td>
	</tr>
	<tr>
		<td width="150" background="left-bg.jpg" valign="top"><img border="0" src="img/left.jpg"></td>
		<td width="591" bgcolor="#FFFFFF" valign="top">
		<table border="0" width="100%" id="table2">
			<tr>
				<td colspan="2" bgcolor="#DEDEDE" height="26" style="font-size:14px"> &nbsp;您的位置：<a href="hoteldetail.asp?userid=<%=rs("userid")%>" style="font-size:14px"><%=rs("name")%></a> &gt; 
				<a href="hotelyhlist.asp?userid=<%=rs("userid")%>" style="font-size:14px">商家折扣</a> 
				&gt; <%=rsyh("title")%></td>
			</tr>
			<tr>
				<td>您可以通过以下任何一种方式享受此商家的折扣优惠：</td>
				<td rowspan="3">　</td>
			</tr>
			<tr>
				<td>1、打印此页面，消费结帐时向商家出示</td>
			</tr>
			<tr>
				<td>2、抄下本页面的网址，消费结帐时向商家出示，并向商家提及上饶折扣网</td>
			</tr>
<tr>
				<td>
				<div align="center">
					<table cellSpacing="0" cellPadding="0" width="547" border="0" id="table37">
						<tr>
							<td><!-- 郴何/寇何 傈版 捞固瘤 矫累 -->
							<table cellSpacing="3" cellPadding="0" width="547" border="0" id="table38">
							
								<tr>
								
									<td colspan="2" >
									<p align="center">
									<%if rsyh("pic")="" or isnull(rsyh("pic")) then%><%else%><img style="BORDER-RIGHT: #e6e6e6 3px solid; BORDER-TOP: #e6e6e6 3px solid; BORDER-LEFT: #e6e6e6 3px solid; BORDER-BOTTOM: #e6e6e6 3px solid" src="pic/yhpic/<%=rsyh("pic")%>" onload="javascript:ResizeImage(this, 500, 500);"><%end if%>
									</td>
															</tr>
							
								<tr>
								
									<td style="font-size:14px" height="47" width="307">
									<p align="center"><b>有效期：</b><%=rsyh("endtime")%></td>
								
									<td style="font-size:14px" height="47" width="231">
									<b>发布日期：</b><%=rsyh("dateandtime")%></td>
															</tr>
							
								<tr>
								
									<td style="font-size:14px" colspan="2">
									　<%=rsyh("inf")%></td>
															</tr>
							</table>
							<!-- 郴何/寇何 傈版 捞固瘤 场 --></td>
						</tr>
					</table>
				</div>
				</td>
			</tr>
		</table>
		</td>
		<td width="118" valign="top">
		<map name="FPMap0">
		<area href="hoteldetail.asp?userid=<%=request("userid")%>" shape="circle" coords="35, 146, 21">
		<area href="http://www.17zk.cn" shape="circle" coords="36, 91, 21">
		</map>
		<img border="0" src="img/right1.jpg" usemap="#FPMap0"> </td>
		<td width="55">　</td>
	</tr>
	<tr>
		<td background="left-bg.jpg">　</td>
		<td bgcolor="#FFFFFF">　</td>
		<td background="img/right-bg.jpg" width="118">　</td>
		<td width="55">　</td>
	</tr>
	<tr>
		<td  colspan="2">
		<img border="0" src="img/bottom.jpg" height="45"></td>
		<td background="img/right-bg.jpg" width="118">　</td>
		<td width="55">　</td>
	</tr>
</table>

</body>

</html>