<!--#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_mp 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("lxrname")%>[<%=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" colspan="4"><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="661" 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="1" width="100%" cellpadding="0" bgcolor="#FFFFFF" bordercolorlight="#D9EBE5" bordercolordark="#D9EBE5" style="border-collapse: collapse">
<%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 width="4%" height="22">
		<img border="0" src="images/dot8.gif" width="14" height="14"></td>
		<td height="25" width="69%">
		[发布者：<%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>
		<td height="25" width="27%">浏览： <font color="#FF0000"> <%=rs("llcs")%></font> 次</td>
	</tr>
<tr>
		<td height="22" colspan="3">
	<table border="1" cellpadding="4" style="border-collapse: collapse" width="100%" id="table182" bordercolorlight="#EEFAFF" bordercolordark="#EEEEEE" bordercolor="#008000" cellspacing="3">
		<tr>
			<td width="409" background="images/mmbg.gif" height="200">
<div align="center">
<TABLE cellSpacing=0 cellPadding=0 border=0 width="400" id="table183">
  <TR> 
     <TD height=22 width="15%" align="center">公司：</TD>
     <TD height=22 width="85%" colspan="3"><%=rs("company")%></TD>
   </TR>
      <TR height=22> 
      <TD width="15%" align="center">　</TD>
      <TD width="85%" colspan="3" align="right"><a href="mpindex.asp?sheng=<%=rs("sheng")%>"><%=shengc%></a> -> 
		<a href="mpindex.asp?shi=<%=rs("shi")%>"> <%=shic%></a>&nbsp;&nbsp; </TD>
    </TR>
      <TR height=22> 
      <TD width="15%" align="center">姓名：</TD>
      <TD width="53%" colspan="2"><FONT style="FONT-SIZE: 26pt; FILTER: shadow(color=#af2dco); WIDTH: 100%; COLOR: #730404; LINE-HEIGHT: 100%; FONT-FAMILY: 华文行楷" size=6><%=rs("lxrname")%></FONT></TD>
      <TD noWrap width="32%">
		　</TD>
    </TR>
    <TR height=22> 
       <TD width="100%" colspan="4" height="5" align="center"></TD>  
     </TR>
    <TR height=22> 
       <TD width="15%" align="center">电话：</TD>  
       <TD width="37%"><%=rs("usertel")%></TD>  
       <TD width="16%" align="center">邮政编码：</TD>
       <TD width="32%"><%=rs("code")%></TD>
     </TR>
    <TR height=22> 
       <TD width="15%" align="center">地址：</TD>  
       <TD width="87%" colspan="3"><%=rs("dizhi")%></TD>  
     </TR>
       <TR height=22> 
       <TD width="15%" align="center">手机：</TD>
       <TD width="37%"><%=rs("phone")%></TD>
       <TD width="16%" align="center">加入时间：</TD>
       <TD width="32%"><%=rs("fbsj")%></TD>
     </TR>
     </TABLE>
	</div>
			</td>
			<td>
			<table border="1" width="99%" id="table184" bordercolorlight="#FFC49B" bordercolordark="#FFC49B" style="border-collapse: collapse">
				<tr>
					<td>
					<p align="center"><b><font color="#CC5200">会 员 名 片</font></b></td>
				</tr>
				<tr>
					<td>一、个性魅力，展示自我形象；<br>
					二、轻松注册，轻松拥有；<br>
					三、完全免费，互联传播；<br>
					四、全世界都知道<p>你还没有么？<b><a href="addmp.asp"><font color="#CC5200">赶快拥有！</font></a></b></td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
		</td>
	</tr>
	<tr>
		<td width="4%" height="22" bgcolor="#D9EBE5">
		<img border="0" src="images/dot8.gif" width="14" height="14"></td>
		<td height="25" width="96%" colspan="2" bgcolor="#D9EBE5">
		<b>名片相关介绍：</b></td>
	</tr>
	<tr>
		<td width="4%" height="22">
		　</td>
		<td height="25" width="96%" colspan="2" class="tdtxt07">
		　<%=HTMLEncode(rs("memo"))%></td>
	</tr>
	<tr>
		<td height="22" colspan="3" bgcolor="#D9EBE5">
		&nbsp; 
		[友情提示]信誉度依次为：<font color="#FF0000"><%=cname%>会员</font> ＞ <font color="#FF0000"><%=bname%>会员</font> ＞ <font color="#FF0000"><%=aname%>会员</font></td>
	</tr>
	</table>
<%rst.close
set rst=nothing
rs.close
set rs=nothing%>
</td>
			<td  height="25" bgcolor="#FFFFFF" width="45" valign="top" align="center">
<img border="0" src="<%=css%>bgfox6.jpg"></td>
			<td  height="25" bgcolor="#FFFFFF" width="4">　</td>
			<td  height="25" bgcolor="#FFFFFF" width="252" valign="top">
		<table cellSpacing="0" cellPadding="0" width="100%" bgColor="#ff6c3b" class="table2" border="0" id="table71">
			<tr>
				<td class="tdtxt02" bgColor="#f5f5f5" valign="top">
				<table width="100%"><tr>
					<td class="tdbg2" height="24">最新加入名片
　</td></tr>
<%dim rsfox,sqlfox,ns1
set rsfox=server.createobject("adodb.recordset")
sqlfox="select top 12 * from FOX_mp where yz=1 order by fbsj desc"
rsfox.open sqlfox,conn,1,1
if rsfox.eof then
response.write "还没有...！"
else
do while not rsfox.eof
%>
<%dim rsfoxf,sqlfoxf
set rsfoxf=server.createobject("adodb.recordset")
sqlfoxf="select sheng from FOX_sheng where id="&rsfox("sheng")&""
rsfoxf.open sqlfoxf,conn,1,1
%><tr><td class="tdtxt06">
<font color="#FF6C3B">·</font>[<a href="mpindex.asp?sheng=<%=rsfox("sheng")%>"><font color="#FF0000"><%=rsfoxf("sheng")%></font></a>] <A href="mpinfo.asp?fox=<%=rsfox("id")%>" title="<%=rsfox("lxrname")%>[<%=rsfox("company")%>]"><%=rsfox("lxrname")%></a>
</td></tr><tr><td class="tdtxt06" align="right"><%=left(rsfox("company"),12)%>
　</td></tr><%
ns1=ns1+1
if ns1>=12 then exit do
rsfox.movenext
loop
end if
rsfoxf.close
set rsfoxf=nothing
rsfox.close
set rsfox=nothing
%></table></td>
			</tr>
			</table>
		</td>
		</tr>
		
</table>
</div>

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