<?php
include_once("inc/conn.php");
include_once("inc/function.php");
login_check();

if($_GET["act"]=="modify"){
	$str = "card_".intval($_COOKIE["usersid"]);
	if($_FILES['tbUserPhoto']['name']!=''){
			$tmp_file=$_FILES['tbUserPhoto']['tmp_name'];
			$file_types=explode(".",$_FILES['tbUserPhoto']['name']);
			$file_type=$file_types[count($file_types)-1];
			if(strtolower($file_type)!="jpg"&strtolower($file_type)!="gif"&strtolower($file_type)!="bmp"&strtolower($file_type)!="png"){
				  echo "<script language=javascript>alert('格式错误请重新选择图片！');history.go(-1);</script>";
				  exit;
			}
			$file_name=$str.".".$file_type;
			if(!copy($tmp_file,$web_headdir.$file_name)){
				echo "<script language=javascript>alert('上传错误请重试！！');history.go(-1);</script>";
				exit;
			}
	}
	if($_FILES['tbUserPhoto']['name']!=''){
		$UserPhoto=$web_headdir.$file_name;
	}else{
		$UserPhoto=$_POST["tbSysPhoto"];
	}
	if($_POST["tbUserInterested"]){
		$tbUserInterested=implode(",",str_check($_POST["tbUserInterested"]));
	}
	$db->query("update {$web_dbtop}users set name='".str_check($_POST["tbUserNick"])."',sex='".str_check($_POST["tbUserGender"])."',head='".$UserPhoto."',qq='".str_check($_POST["tbUserQQ"])."',birthday='".intval($_POST["tbBirthYear"])."-".intval($_POST["tbBirthMonth"])."-".intval($_POST["tbBirthDay"])."'
	,tel='".str_check($_POST["tbUserPhone"])."',address='".str_check($_POST["tbUserPro"])."-".str_check($_POST["tbUserCity"])."-".str_check($_POST["tbUserAddr"])."',education='".str_check($_POST["tbUserQualifications"])."',job='".str_check($_POST["tbUserJob"])."',bent='".$tbUserInterested."',caption='".str_check($_POST['tbUserDescription'])."' where id=".intval($_COOKIE["usersid"])." and password='".str_check($_COOKIE["password"])."'");
	echo "<script language=javascript>alert('资料修改成功！');location.href='userinfo.php';</script>";
	exit;
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>用户中心-<?=$web_name;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="<?=$web_keywords;?>" />
<meta name="description" content="<?=$web_description;?>" />
<META http-equiv=X-UA-Compatible content=IE=EmulateIE7>
<link href="style/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="inc/area.js"></script>
</head>
<?php include_once("top.php");?>
<script language="javascript">
qiehuan(7);
document.getElementById("qh_con7").getElementsByTagName('li')[8].className="current";
</script>
<DIV class="wrapper">
	<DIV class="page_content">
  		<!--主体右边 Start-->
    	<div class="area260 fl">
			<DIV class="news-title">
				<span><a href="news_lest.php">更多&raquo;</a></span>
				 <H3>站内公告</H3>
			</DIV>
			<ul class="area260-info news-list">
				<?
				$query=$db->query("Select * from {$web_dbtop}news Order by top desc,id desc limit 10");
				while($rs=$db->fetch_array($query)){
				?>
				<LI><A title="<?=$rs["title"]?>" href="news_content.php?id=<?=$rs["id"]?>"><?=$rs["title"]?></A></LI>
				<?
				}
				?>
			</ul>
			 <DIV class="area260-b h5px"></DIV>
			 <DIV class=blank10></DIV>
			 <DIV class="news-title">
				<span><a href="help_lest.php">更多&raquo;</a></span>
				 <H3>用户帮助</H3>
			</DIV>
			<ul class="area260-info news-list">
				<?
				$query=$db->query("Select * from {$web_dbtop}help Order by top desc,id desc limit 10");
				while($rs=$db->fetch_array($query)){
				?>
				<LI><A title="<?=$rs["title"]?>" href="help_content.php?id=<?=$rs["id"]?>"><?=$rs["title"]?></A></LI>
				<?
				}
				?>
			</ul>
			 <DIV class="area260-b h5px"></DIV>
			 <DIV class=blank10></DIV>
		</div>
		<!--主体左边 Start-->
		<div class="area690 fr">
			<DIV class="users-title">
				 <H3>修改资料</H3>
			</DIV>
        	<div class="users-content">
				<?
				$query=$db->query("Select * From {$web_dbtop}users where id=".intval($_COOKIE["usersid"])." and password='".str_check($_COOKIE["password"])."'");
				if($rs=$db->fetch_array($query)){
				$sex=$rs["sex"];
				$head=$rs["head"];
				$qq=$rs["qq"];
				$birthday=explode("-",$rs["birthday"]);
				$authentication=$rs["authentication"];
				$tel=$rs["tel"];
				$address=explode("-",$rs["address"]);
				$education=$rs["education"];
				$job=$rs["job"];
				$bent=$rs["bent"];
				$caption=$rs["caption"];
				}
				?>
        		<form action="?act=modify" method="post" enctype="multipart/form-data">
				<ul class="bgk">
				<li class="b21"><span style="padding-left:55px">用户昵称：</span></li>
				<li class="b22"><span style="padding-left:5px"><input  name="tbUserNick" type="text" id="tbUserNick" value="<?=$rs["name"]?>" size="25" /></span></li>
				<li class="b21"><span style="padding-left:79px">性别：</span></li>
				<li class="b22"><span style="padding-left:5px"><input name="tbUserGender" type="radio" value="M" checked="checked"  <? if($sex=="M") echo"checked";?>/>
									先生
									<input name="tbUserGender" type="radio" value="F" <? if($sex=="F") echo"checked";?> />
								  女士			  </span></li>
				<li class="bh1"><span style="padding-left:43px">自定义头像：</span></li>
				<li class="bh2"><span style="padding-left:5px">
					  <input type="file" name="tbUserPhoto" onpropertychange="$('imgPhoto').src=this.value+'?'+Math.random();" /><img id="imgPhoto" width="150" height="150" src="<?=$head;?>" onerror="this.src='images/head/1_0.jpg'" />
								  <br />
								  <span class="fontred">（只能上传JPG，GIF，BMP的头像，大小限制为2M）</span></span></li>
				<li class="b21"><span style="padding-left:55px">系统头像：</span></li>
				<li class="b22"><span style="padding-left:5px"><select name="tbSysPhoto" onchange="document.getElementById('imgPhoto').src=this.value;">
												<option value="images/head/1_0.jpg" <? if($head=="images/head/1_0.jpg") echo"selected";?>>默认男</option>
												<option value="images/head/1_1.jpg" <? if($head=="images/head/1_1.jpg") echo"selected";?>>男一</option>
												<option value="images/head/1_2.jpg" <? if($head=="images/head/1_2.jpg") echo"selected";?>>男二</option>
												<option value="images/head/1_3.jpg" <? if($head=="images/head/1_3.jpg") echo"selected";?>>男三</option>
												<option value="images/head/1_4.jpg" <? if($head=="images/head/1_4.jpg") echo"selected";?>>男四</option>
												<option value="images/head/1_5.jpg" <? if($head=="images/head/1_5.jpg") echo"selected";?>>男五</option>
												<option value="images/head/1_6.jpg" <? if($head=="images/head/1_6.jpg") echo"selected";?>>男六</option>
												<option value="images/head/1_7.jpg" <? if($head=="images/head/1_7.jpg") echo"selected";?>>男七</option>
												<option value="images/head/1_8.jpg" <? if($head=="images/head/1_8.jpg") echo"selected";?>>男八</option>
												<option value="images/head/0_0.jpg" <? if($head=="images/head/0_0.jpg") echo"selected";?>>默认女</option>
												<option value="images/head/0_1.jpg" <? if($head=="images/head/0_1.jpg") echo"selected";?>>女一</option>
												<option value="images/head/0_2.jpg" <? if($head=="images/head/0_2.jpg") echo"selected";?>>女二</option>
												<option value="images/head/0_3.jpg" <? if($head=="images/head/0_3.jpg") echo"selected";?>>女三</option>
												<option value="images/head/0_4.jpg" <? if($head=="images/head/0_4.jpg") echo"selected";?>>女四</option>
												<option value="images/head/0_5.jpg" <? if($head=="images/head/0_5.jpg") echo"selected";?>>女五</option>
												<option value="images/head/0_6.jpg" <? if($head=="images/head/0_6.jpg") echo"selected";?>>女六</option>
												<option value="images/head/0_7.jpg" <? if($head=="images/head/0_7.jpg") echo"selected";?>>女七</option>
												<option value="images/head/0_8.jpg" <? if($head=="images/head/0_8.jpg") echo"selected";?>>女八</option>
												</select></span>
				
				</li>
				<li class="b21"><span style="padding-left:58px">用户QQ：</span></li>
				<li class="b22"><span style="padding-left:5px"><input name="tbUserQQ" id="tbUserQQ" type="text" maxlength="15" value="<?=$qq;?>" size="25" /></span></li>
				<li class="b21"><span style="padding-left:55px">出生日期：</span></li>
				<li class="b22"><span style="padding-left:5px"><select name="tbBirthYear">
				<option label="1969" value="1969" <? if($birthday[0]==1969) echo"selected";?>>1969</option>
				<option label="1970" value="1970" <? if($birthday[0]==1970) echo"selected";?>>1970</option>
				<option label="1971" value="1971" <? if($birthday[0]==1971) echo"selected";?>>1971</option>
				<option label="1972" value="1972" <? if($birthday[0]==1972) echo"selected";?>>1972</option>
				<option label="1973" value="1973" <? if($birthday[0]==1973) echo"selected";?>>1973</option>
				<option label="1974" value="1974" <? if($birthday[0]==1974) echo"selected";?>>1974</option>
				<option label="1975" value="1975" <? if($birthday[0]==1975) echo"selected";?>>1975</option>
				<option label="1976" value="1976" <? if($birthday[0]==1976) echo"selected";?>>1976</option>
				<option label="1977" value="1977" <? if($birthday[0]==1977) echo"selected";?>>1977</option>
				<option label="1978" value="1978" <? if($birthday[0]==1978) echo"selected";?>>1978</option>
				<option label="1979" value="1979" <? if($birthday[0]==1979) echo"selected";?>>1979</option>
				<option label="1980" value="1980" <? if($birthday[0]==1980) echo"selected";?>>1980</option>
				<option label="1981" value="1981" <? if($birthday[0]==1981) echo"selected";?>>1981</option>
				<option label="1982" value="1982" <? if($birthday[0]==1982) echo"selected";?>>1982</option>
				<option label="1983" value="1983" <? if($birthday[0]==1983) echo"selected";?>>1983</option>
				<option label="1984" value="1984" <? if($birthday[0]==1984) echo"selected";?>>1984</option>
				<option label="1985" value="1985" <? if($birthday[0]==1985) echo"selected";?>>1985</option>
				<option label="1986" value="1986" <? if($birthday[0]==1986) echo"selected";?>>1986</option>
				<option label="1987" value="1987" <? if($birthday[0]==1987) echo"selected";?>>1987</option>
				<option label="1988" value="1988" <? if($birthday[0]==1988) echo"selected";?>>1988</option>
				<option label="1989" value="1989" <? if($birthday[0]==1989) echo"selected";?>>1989</option>
				<option label="1990" value="1990" <? if($birthday[0]==1990) echo"selected";?>>1990</option>
				<option label="1991" value="1991" <? if($birthday[0]==1991) echo"selected";?>>1991</option>
				<option label="1992" value="1992" <? if($birthday[0]==1992) echo"selected";?>>1992</option>
				<option label="1993" value="1993" <? if($birthday[0]==1993) echo"selected";?>>1993</option>
				<option label="1994" value="1994" <? if($birthday[0]==1994) echo"selected";?>>1994</option>
				<option label="1995" value="1995" <? if($birthday[0]==1995) echo"selected";?>>1995</option>
				<option label="1996" value="1996" <? if($birthday[0]==1996) echo"selected";?>>1996</option>
				<option label="1997" value="1997" <? if($birthday[0]==1997) echo"selected";?>>1997</option>
				<option label="1998" value="1998" <? if($birthday[0]==1998) echo"selected";?>>1998</option>
				<option label="1999" value="1999" <? if($birthday[0]==1999) echo"selected";?>>1999</option>
				<option label="2000" value="2000" <? if($birthday[0]==2000) echo"selected";?>>2000</option>
				<option label="2001" value="2001" <? if($birthday[0]==2001) echo"selected";?>>2001</option>
				<option label="2002" value="2002" <? if($birthday[0]==2002) echo"selected";?>>2002</option>
				<option label="2003" value="2003" <? if($birthday[0]==2003) echo"selected";?>>2003</option>
				<option label="2004" value="2004" <? if($birthday[0]==2004) echo"selected";?>>2004</option>
				<option label="2005" value="2005" <? if($birthday[0]==2005) echo"selected";?>>2005</option>
				<option label="2006" value="2006" <? if($birthday[0]==2006) echo"selected";?>>2006</option>
				<option label="2007" value="2007" <? if($birthday[0]==2007) echo"selected";?>>2007</option>
				<option label="2008" value="2008" <? if($birthday[0]==2008) echo"selected";?>>2008</option>
				<option label="2009" value="2009" <? if($birthday[0]==2009) echo"selected";?>>2009</option>
				</select>
				<select name="tbBirthMonth">
				<option label="01" value="01" <? if($birthday[1]==1) echo"selected";?>>01</option>
				<option label="02" value="02" <? if($birthday[1]==2) echo"selected";?>>02</option>
				<option label="03" value="03" <? if($birthday[1]==3) echo"selected";?>>03</option>
				<option label="04" value="04" <? if($birthday[1]==4) echo"selected";?>>04</option>
				<option label="05" value="05" <? if($birthday[1]==5) echo"selected";?>>05</option>
				<option label="06" value="06" <? if($birthday[1]==6) echo"selected";?>>06</option>
				<option label="07" value="07" <? if($birthday[1]==7) echo"selected";?>>07</option>
				<option label="08" value="08" <? if($birthday[1]==8) echo"selected";?>>08</option>
				<option label="09" value="09" <? if($birthday[1]==9) echo"selected";?>>09</option>
				<option label="10" value="10" <? if($birthday[1]==10) echo"selected";?>>10</option>
				<option label="11" value="11" <? if($birthday[1]==11) echo"selected";?>>11</option>
				<option label="12" value="12" <? if($birthday[1]==12) echo"selected";?>>12</option>
				</select>
				<select name="tbBirthDay">
				<option label="01" value="1" <? if($birthday[2]==1) echo"selected";?>>01</option>
				<option label="02" value="2" <? if($birthday[2]==2) echo"selected";?>>02</option>
				<option label="03" value="3" <? if($birthday[2]==3) echo"selected";?>>03</option>
				<option label="04" value="4" <? if($birthday[2]==4) echo"selected";?>>04</option>
				<option label="05" value="5" <? if($birthday[2]==5) echo"selected";?>>05</option>
				<option label="06" value="6" <? if($birthday[2]==6) echo"selected";?>>06</option>
				<option label="07" value="7" <? if($birthday[2]==7) echo"selected";?>>07</option>
				<option label="08" value="8" <? if($birthday[2]==8) echo"selected";?>>08</option>
				<option label="09" value="9" <? if($birthday[2]==9) echo"selected";?>>09</option>
				<option label="10" value="10" <? if($birthday[2]==10) echo"selected";?>>10</option>
				<option label="11" value="11" <? if($birthday[2]==11) echo"selected";?>>11</option>
				<option label="12" value="12" <? if($birthday[2]==12) echo"selected";?>>12</option>
				<option label="13" value="13" <? if($birthday[2]==13) echo"selected";?>>13</option>
				<option label="14" value="14" <? if($birthday[2]==14) echo"selected";?>>14</option>
				<option label="15" value="15" <? if($birthday[2]==15) echo"selected";?>>15</option>
				<option label="16" value="16" <? if($birthday[2]==16) echo"selected";?>>16</option>
				<option label="17" value="17" <? if($birthday[2]==17) echo"selected";?>>17</option>
				<option label="18" value="18" <? if($birthday[2]==18) echo"selected";?>>18</option>
				<option label="19" value="19" <? if($birthday[2]==19) echo"selected";?>>19</option>
				<option label="20" value="20" <? if($birthday[2]==20) echo"selected";?>>20</option>
				<option label="21" value="21" <? if($birthday[2]==21) echo"selected";?>>21</option>
				<option label="22" value="22" <? if($birthday[2]==22) echo"selected";?>>22</option>
				<option label="23" value="23" <? if($birthday[2]==23) echo"selected";?>>23</option>
				<option label="24" value="24" <? if($birthday[2]==24) echo"selected";?>>24</option>
				<option label="25" value="25" <? if($birthday[2]==25) echo"selected";?>>25</option>
				<option label="26" value="26" <? if($birthday[2]==26) echo"selected";?>>26</option>
				<option label="27" value="27" <? if($birthday[2]==27) echo"selected";?>>27</option>
				<option label="28" value="28" <? if($birthday[2]==28) echo"selected";?>>28</option>
				<option label="29" value="29" <? if($birthday[2]==29) echo"selected";?>>29</option>
				<option label="30" value="30" <? if($birthday[2]==30) echo"selected";?>>30</option>
				<option label="31" value="31" <? if($birthday[2]==31) echo"selected";?>>31</option>
				</select></span></li>
				<li class="b21"><span style="padding-left:55px">手机号码：</span></li>
				<li class="b22"><span style="padding-left:5px"><input name="tbUserPhone" id="tbUserPhone" maxlength="15" type="text" value="<?=$tel;?>" size="25" /></span></li>
				<li class="b21"><span style="padding-left:55px">联系地址：</span></li>
				<li class="b22"><span style="padding-left:5px"><select name="tbUserPro" id="tbUserPro" onchange="chgPro('tbUserPro','tbUserCity');">
									</select>
								省
								<select name="tbUserCity" id="tbUserCity">
								</select>
								市<script type="text/javascript">initAddr("tbUserPro","tbUserCity","<?=$address[0];?>","<?=$address[1];?>");</script>
									<input name="tbUserAddr"  type="text" value="<?=$address[2];?>" size="30" />
				</span></li>
				<li class="b21"><span style="padding-left:79px">学历：</span></li>
				<li class="b22"><span style="padding-left:5px"><select name="tbUserQualifications" id="tbUserQualifications">
									  <option label="请选择" value="0" selected="selected">请选择</option>
				<option label="初中" value="初中" <? if($education=="初中") echo"selected";?>>初中</option>
				<option label="高中" value="高中" <? if($education=="高中") echo"selected";?>>高中</option>
				<option label="大专" value="大专" <? if($education=="大专") echo"selected";?>>大专</option>
				<option label="本科" value="本科" <? if($education=="本科") echo"selected";?>>本科</option>
				<option label="硕士" value="硕士" <? if($education=="硕士") echo"selected";?>>硕士</option>
				<option label="博士" value="博士" <? if($education=="博士") echo"selected";?>>博士</option>
				<option label="其它" value="其它" <? if($education=="其它") echo"selected";?>>其它</option>
									</select></span></li>
				<li class="b21"><span style="padding-left:79px">职业：</span></li>
				<li class="b22"><span style="padding-left:5px"><select name="tbUserJob" id="tbUserJob">
									  <option label="请选择" value="0">请选择</option>
				<option label="经营/管理" value="经营/管理" <? if($job=="经营/管理") echo"selected";?>>经营/管理</option>
				<option label="计算机/互联网" value="计算机/互联网" <? if($job=="计算机/互联网") echo"selected";?>>计算机/互联网</option>
				<option label="行政/人事/文职" value="行政/人事/文职" <? if($job=="行政/人事/文职") echo"selected";?>>行政/人事/文职</option>
				<option label="公关/市场/广告/会展" value="公关/市场/广告/会展" <? if($job=="公关/市场/广告/会展") echo"selected";?>>公关/市场/广告/会展</option>
				<option label="贸易/销售/客户服务" value="贸易/销售/客户服务" <? if($job=="贸易/销售/客户服务") echo"selected";?>>贸易/销售/客户服务</option>
				<option label="物流/仓储" value="物流/仓储" <? if($job=="物流/仓储") echo"selected";?>>物流/仓储</option>
				<option label="财会/审计/统计/金融" value="财会/审计/统计/金融" <? if($job=="财会/审计/统计/金融") echo"selected";?>>财会/审计/统计/金融</option>
				<option label="机械工程技术" value="机械工程技术" <? if($job=="机械工程技术") echo"selected";?>>机械工程技术</option>
				<option label="建筑/房地产工程技术" value="建筑/房地产工程技术" <? if($job=="建筑/房地产工程技术") echo"selected";?>>建筑/房地产工程技术</option>
				<option label="化工/制药/环境/生物工程" value="化工/制药/环境/生物工程" <? if($job=="化工/制药/环境/生物工程") echo"selected";?>>化工/制药/环境/生物工程</option>
				<option label="电子/通讯/电气/电力工程" value="电子/通讯/电气/电力工程" <? if($job=="电子/通讯/电气/电力工程") echo"selected";?>>电子/通讯/电气/电力工程</option>
				<option label="纺织/服装/食品工程技术" value="纺织/服装/食品工程技术" <? if($job=="纺织/服装/食品工程技术") echo"selected";?>>纺织/服装/食品工程技术</option>
				<option label="纸/印刷/家具家电制造" value="纸/印刷/家具家电制造" <? if($job=="纸/印刷/家具家电制造") echo"selected";?>>纸/印刷/家具家电制造</option>
				<option label="其他工程技术" value="其他工程技术" <? if($job=="其他工程技术") echo"selected";?>>其他工程技术</option>
				<option label="教育/科研/文体/出版/传媒" value="教育/科研/文体/出版/传媒" <? if($job=="教育/科研/文体/出版/传媒") echo"selected";?>>教育/科研/文体/出版/传媒</option>
				<option label="医疗/卫生/护理/保健" value="医疗/卫生/护理/保健" <? if($job=="医疗/卫生/护理/保健") echo"selected";?>>医疗/卫生/护理/保健</option>
				<option label="法律/翻译/咨询服务" value="法律/翻译/咨询服务" <? if($job=="法律/翻译/咨询服务") echo"selected";?>>法律/翻译/咨询服务</option>
				<option label="旅游/酒店/餐饮/商场/娱乐服务" value="旅游/酒店/餐饮/商场/娱乐服务" <? if($job=="旅游/酒店/餐饮/商场/娱乐服务") echo"selected";?>>旅游/酒店/餐饮/商场/娱乐服务</option>
				<option label="农林牧渔" value="农林牧渔" <? if($job=="农林牧渔") echo"selected";?>>农林牧渔</option>
				<option label="规划/设计/园林绿化" value="规划/设计/园林绿化" <? if($job=="规划/设计/园林绿化") echo"selected";?>>规划/设计/园林绿化</option>
				<option label="技工" value="技工" <? if($job=="技工") echo"selected";?>>技工</option>
				<option label="其他" value="其他" <? if($job=="其他") echo"selected";?>>其他</option>
				
															</select></span></li>
				<li class="bh21"><span style="padding-left:55px">兴趣爱好：</span></li>
				<li class="bh22"><table width='100%' cellspacing='2' cellpadding='0'>
				<tr>
				<td height="25">
				<input name="tbUserInterested[]" type="checkbox" value="图书/杂志" <? if(stristr($bent,"图书/杂志")) echo"checked";?>/>图书/杂志
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="音乐/影视" <? if(stristr($bent,"音乐/影视")) echo"checked";?>/>音乐/影视
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="体育/户外运动" <? if(stristr($bent,"体育/户外运动")) echo"checked";?>/>体育/户外运动
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="旅游/出差" <? if(stristr($bent,"旅游/出差")) echo"checked";?>/> 旅游/出差
				</td>
				</tr><tr>
				<td height="25">
				<input type="checkbox" name="tbUserInterested[]" value="美食/酒吧" <? if(stristr($bent,"美食/酒吧")) echo"checked";?>/>美食/酒吧
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="电脑硬件" <? if(stristr($bent,"电脑硬件")) echo"checked";?>/>电脑硬件
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="软件服务" <? if(stristr($bent,"软件服务")) echo"checked";?>/>软件服务
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="网络游戏/电脑游戏" <? if(stristr($bent,"网络游戏/电脑游戏")) echo"checked";?>/>网络游戏/电脑游戏
				</td>
				</tr><tr>
				<td height="25">
				<input type="checkbox" name="tbUserInterested[]" value="网上购物" <? if(stristr($bent,"网上购物")) echo"checked";?>/>网上购物
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="手机/个人电子产品" <? if(stristr($bent,"手机/个人电子产品")) echo"checked";?>/>手机/个人电子产品
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="相机/摄影摄像" <? if(stristr($bent,"相机/摄影摄像")) echo"checked";?>/>相机/摄影摄像
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="家电/影音器材" <? if(stristr($bent,"家电/影音器材")) echo"checked";?>/>家电/影音器材
				</td>
				</tr><tr>
				<td height="25">
				<input type="checkbox" name="tbUserInterested[]" value="汽车/交通工具" <? if(stristr($bent,"汽车/交通工具")) echo"checked";?>/>汽车/交通工具
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="美容/健身" <? if(stristr($bent,"美容/健身")) echo"checked";?>/>美容/健身
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="时尚品/奢侈品" <? if(stristr($bent,"时尚品/奢侈品")) echo"checked";?>/>时尚品/奢侈品
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="打折/特惠购物信息" <? if(stristr($bent,"打折/特惠购物信息")) echo"checked";?>/>打折/特惠购物信息
				</td>
				</tr><tr>
				<td height="25">
				<input type="checkbox" name="tbUserInterested[]" value="礼品/鲜花服务" <? if(stristr($bent,"礼品/鲜花服务")) echo"checked";?>/>礼品/鲜花服务
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="科学育儿/子女教育" <? if(stristr($bent,"科学育儿/子女教育")) echo"checked";?>/>科学育儿/子女教育
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="健康/卫生" <? if(stristr($bent,"健康/卫生")) echo"checked";?>/>健康/卫生
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="宠物/玩具" <? if(stristr($bent,"宠物/玩具")) echo"checked";?>/>宠物/玩具
				</td>
				</tr><tr>
				<td height="25">
				<input type="checkbox" name="tbUserInterested[]" value="教育/培训" <? if(stristr($bent,"教育/培训")) echo"checked";?>/>教育/培训
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="留学/移民" <? if(stristr($bent,"留学/移民")) echo"checked";?>/>留学/移民
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="招聘/猎头" <? if(stristr($bent,"招聘/猎头")) echo"checked";?>/>招聘/猎头
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="交友/约会" <? if(stristr($bent,"交友/约会")) echo"checked";?>/>交友/约会
				</td>
				</tr><tr>
				<td height="25">
				<input type="checkbox" name="tbUserInterested[]" value="投资/理财" <? if(stristr($bent,"投资/理财")) echo"checked";?>/>投资/理财
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="金融/保险" <? if(stristr($bent,"金融/保险")) echo"checked";?>/>金融/保险
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="彩票/博彩" <? if(stristr($bent,"彩票/博彩")) echo"checked";?>/>彩票/博彩
				</td>
				<td>
				<input type="checkbox" name="tbUserInterested[]" value="经商/创业机会" <? if(stristr($bent,"经商/创业机会")) echo"checked";?>/>经商/创业机会
				</td>
				</tr>
				</table></li>
				<li class="bd21"><span style="padding-left:55px">个性说明：</span></li>
				<li class="bd22"><span style="padding-left:5px"><textarea name="tbUserDescription" id="tbUserDescription" cols="40" rows="5" class="table1_text300"><?=$caption;?></textarea></span></li>
				<li class="tj"><input id="btnSubmit" type="image" src="images/an_ljtj_03.gif"  border="0" /></li>
				</ul>
				</form>
			</div>
			<div class="area690-b h5px"></div>
        	<div class="blank10"></div>
		</div>
		<!--主体左边 End-->
	</DIV>
	<!--Flink End-->
	<div class="blank10"></div>
	<!--Footer Start-->
<?php include_once("footer.php");?>
</DIV>