<!--#include file="geditop.asp"-->
<%function HTMLEncode(fString)
if not isnull(fString) then
    fString = replace(fString, ">", "&gt;")
    fString = replace(fString, "<", "&lt;")
    fString = Replace(fString, CHR(32), "&nbsp;")
    fString = Replace(fString, CHR(9), "&nbsp;")
    fString = Replace(fString, CHR(34), "&quot;")
    fString = Replace(fString, CHR(39), "&#39;")
    fString = Replace(fString, CHR(13), "")
    fString = Replace(fString, CHR(10) & CHR(10), "</P><P> ")
    fString = Replace(fString, CHR(10), "<BR> ")
    HTMLEncode = fString
end if
end function
dim fox
fox=request("fox")
dim rs,sql
set rs=server.createobject("adodb.recordset")
sql = "select * from FOX_meng where id="&fox&" and yz=1"
rs.open sql,conn,1,3
if rs.eof then
response.write "该纪录未通过或者已被删除！"
response.end
end if
rs("llcs")=rs("llcs")+1
rs.update
%>
<script language="JavaScript">
function DrawImage(ImgD){
   var image=new Image();
   image.src=ImgD.src;
   if(image.width>0 && image.height>0){
    flag=true;
    if(image.width/image.height>= 120/80){
     if(image.width>120){  
     ImgD.width=80;
     ImgD.height=(image.height*80)/image.width;
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }

     }
    else{
     if(image.height>80){  
     ImgD.height=80;
     ImgD.width=(image.width*80)/image.height;     
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }

     }
    }
   /*else{
    ImgD.src="";
    ImgD.alt=""
    }*/
   }
function CheckAll(form)
  {
  for (var i=0;i<form.elements.length;i++)
    {
    var e = form.elements[i];
    if (e.name != 'chkall' )
       e.checked = form.chkall.checked;
    }
  }
 function loadThreadFollow(t_id,b_id){
	var targetImg =eval("document.all.followImg" + t_id);
	var targetDiv =eval("document.all.follow" + t_id);
	
	if ("object"==typeof(targetImg)){
		if (targetDiv.style.display!='block'){
			targetDiv.style.display="block";
			
		}else{
			targetDiv.style.display="none";
		}
	}
}
</script>

<script LANGUAGE="JavaScript">
<!--
function checkMobile(){
	var sMobile = document.mobileform.mobile.value
	if(!(/^13[0-9]\d{4,8}$/.test(sMobile))){
		alert("不是完整的11位手机号或者正确的手机号前七位");
		document.mobileform.mobile.focus();
		return false;
	}
	window.open('', 'mobilewindow', 'height=197,width=350,status=yes,toolbar=no,menubar=no,location=no')
}
//-->
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>[<%=rs("company")%>]--市场联盟--<%=title%>--<%=web%></title>
</head>

<body>

<div align="center">
<table cellSpacing="0" cellPadding="0" width="930" border="0" id="table1" class="tdtop">
		<tr>
			<td  height="25"><b>&nbsp;<img border="0" src="images/z1.gif" width="50" height="18"> 您的位置  
			<font color="#FFFFFF">-></font> <a class="scap1" href="index.htm"><%=title%></a>
			<font color="#FFFFFF">-></font> 市场联盟频道： <%=rs("company")%></b>
			</td>
		</tr>
		
		<tr bgColor="#d9ebe5">
			<td  height="25" bgcolor="#FFFFFF" width="100%" valign="top">
<table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table63">
			<tr>
				<td height="24" class="tdbg2">
				&nbsp;详细内容：</td>
			</tr>
			</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#C0C0C0" style="border-collapse: collapse" id="table169">
            <tr bgcolor="#CCCCCC">
              <td height="1"></td>
            </tr> 
            </table>
<table border="0" width="126%" cellpadding="0" bgcolor="#FFFFFF" bordercolorlight="#D9EBE5" bordercolordark="#D9EBE5" style="border-collapse: collapse" class="table2">
<%dim rsq,sqlq,class1c,class2c,leixingc,shengc,shic
set rsq=server.createobject("adodb.recordset") 
sqlq = "select sheng from [FOX_sheng] where id="&rs("sheng")&""
rsq.open sqlq,conn,1,1
shengc=rsq("sheng")
rsq.close
set rsq=nothing
set rsq=server.createobject("adodb.recordset") 
sqlq = "select shi from [FOX_shi] where id="&rs("shi")&""
rsq.open sqlq,conn,1,1
shic=rsq("shi")
rsq.close
set rsq=nothing
%>	

	<tr>
		<td height="22" bgcolor="#D9EBE5">
		&nbsp; 
		[友情提示]信誉度依次为：<font color="#FF0000"><%=cname%>会员</font> ＞ <font color="#FF0000"><%=bname%>会员</font> ＞ <font color="#FF0000"><%=aname%>会员</font></td>
	</tr>
	</table>
	<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#C0C0C0" style="border-collapse: collapse" id="table172">

 <%'dim rsq,sqlq,class1c,class2c,leixingc,shengc,shic
set rsq=server.createobject("adodb.recordset") 
sqlq = "select class1 from [FOX_shang1] where id="&rs("class1")&""
rsq.open sqlq,conn,1,1
class1c=rsq("class1")
rsq.close
set rsq=nothing
set rsq=server.createobject("adodb.recordset") 
sqlq = "select class2 from [FOX_shang2] where id="&rs("class2")&""
rsq.open sqlq,conn,1,1
class2c=rsq("class2")
rsq.close
set rsq=nothing
set rsq=server.createobject("adodb.recordset") 
sqlq = "select sheng from [FOX_sheng] where id="&rsfoxf("sheng")&""
rsq.open sqlq,conn,1,1
shengc=rsq("sheng")
rsq.close
set rsq=nothing
set rsq=server.createobject("adodb.recordset") 
sqlq = "select shi from [FOX_shi] where id="&rsfoxf("shi")&""
rsq.open sqlq,conn,1,1
shic=rsq("shi")
rsq.close
set rsq=nothing
%>
            
            <tr>
              <td height="22" class="tdbg2">
				<table border="0" width="100%" id="table173" cellspacing="0" cellpadding="0" class="table2">
            <tr>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="70%" colspan="5">
				　[发布者：<%if rs("huitype")=0 then%><font color="#FF0000"><%=aname%>会员</font><%elseif rs("huitype")=1 then%><font color="#FF0000"><%=bname%>会员</font><%else%><font color="#FF0000"><%=cname%>会员</font><%end if%>]</td>
            </tr>            

            <tr>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="70%" colspan="5">
				　<img border="0" src="images/dot3.gif" width="11" height="11"><font class="z4"><b><a href="scinfo.asp?fox=<%=rs("id")%>"><%=rs("company")%></a></b></font></strong>&nbsp;&nbsp;发布时间：<font color="#666666"><%=rs("fbsj")%></font></td>
            </tr>            

            <tr>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="8%">
				　</td>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="8%">
				市场所属：</td>
              <td height="30" width="54%" class="p9t" colspan="3">
				　<a href="scindex.asp?class1=<%=class1%>&class2=<%=rs("class2")%>&sheng=<%=sheng%>&shi=<%=shi%>&leixing=<%=leixing%>"><%=class2c%></a> 
				&lt;- <a href="scindex.asp?class1=<%=rs("class1")%>&class2=<%=class2%>&sheng=<%=sheng%>&shi=<%=shi%>&leixing=<%=leixing%>"><%=class1c%></a></td>
            </tr>            

            <tr>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="8%">
				　</td>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="8%">
				市场属地：</td>
              <td height="30" width="54%" class="p9t" colspan="3">
				<a href="scindex.asp?class1=<%=class1%>&class2=<%=class2%>&sheng=<%=sheng%>&shi=<%=rs("shi")%>&leixing=<%=leixing%>"><%=shic%></a> 
				&lt;- <a href="scindex.asp?class1=<%=class1%>&class2=<%=class2%>&sheng=<%=rs("sheng")%>&shi=<%=shi%>&leixing=<%=leixing%>"><%=shengc%></a></td>
            </tr>            

            <tr>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="8%">
				　</td>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="8%">
				经营范围：</td>
              <td height="30" width="54%" class="p9t" colspan="3">
				　<font color="#FF0000"><%=rs("memo")%></font></td>
            </tr>                        
				</table>
				<table border="1" width="100%" class="table2" bordercolorlight="#D9EBE5" bordercolordark="#D9EBE5">
		<tr>
<td height="30" class="tdbg4" width="8%">
				　</td>
              <td height="30" class="tdbg4" width="8%">
				推荐产品：</td>
              <td height="30" width="31%" class="tdbg4" colspan="2">
				<%=rs("chanpen")%></td>
              <td height="30" width="38%" class="tdbg4"><%=rs("leixing")%>&nbsp; <%if rs("jiage")=0 then%><font color="#008080"> 
				面 议</font><%else%><font color="#FF0000"><%=rs("jiage")%></font> 
				元<%end if%>
				　</td>
            </tr>                                    

            <tr>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="8%">
				　</td>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="8%">
				<font color="#008080">联系人：</font></td>
              <td height="30" width="38%" class="p9t">
				<p align="left"><font color="#008080">  &nbsp;  <%=rs("lxrname")%> 
				</font> </td>
              <td height="30" width="8%" class="p9t">
				<font color="#008080">电话： </font> </td>
              <td height="30" width="38%" class="p9t">
				<font color="#008080"><%=left(rs("usertel"),12)%></font></td>
            </tr> 
           <tr>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="11%">
				　</td>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="11%">
				<font color="#008080">手机：</font></td>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="38%">
				　<font color="#008080"><%=rs("phone")%></font></td>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="8%">
				<font color="#008080">EMAIL：</font></td>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="21%">
				　<font color="#008080"><%=rs("email")%></font></td>
            </tr>
           <tr>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="8%">
				　</td>
              <td height="30" class="p9t" bgcolor="#F5F5F5" width="8%">
				<font color="#008080">联系地址：</font></td>
              <td height="30" width="69%" class="p9t" colspan="3">
				<font color="#008080">　<%=rs("dizhi")%>（<%=rs("code")%>）</font></td>
		</tr>
	</table>
				</td>
            </tr>

            
            </table>
<%rst.close
set rst=nothing
rs.close
set rs=nothing%>
</td>
		</tr>
		
</table>
</div>

</body>
<!--#include file="ffbottom.asp"-->