PageRenderTime 75ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/miles/GlobalMBA/mba/sns_00/upload/home/template/default/cp_profile.htm

#
HTML | 640 lines | 521 code | 35 blank | 84 comment | 0 complexity | 28af987fa4de0ed2b030c92d649453cf MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, LGPL-2.1, BSD-3-Clause
  1. <!--{template header}-->
  2. <!--{template cp_header}-->
  3. <div class="l_status c_form">
  4. <a href="cp.php?ac=profile&op=base"$cat_actives[base]>基本资料</a><span class="pipe">|</span>
  5. <a href="cp.php?ac=profile&op=contact"$cat_actives[contact]>联系方式</a><span class="pipe">|</span>
  6. <a href="cp.php?ac=profile&op=edu"$cat_actives[edu]>教育情况</a><span class="pipe">|</span>
  7. <a href="cp.php?ac=profile&op=work"$cat_actives[work]>工作情况</a><span class="pipe">|</span>
  8. <a href="cp.php?ac=profile&op=cv"$cat_actives[cv]>个人简历</a><span class="pipe">|</span>
  9. <a href="cp.php?ac=profile&op=info"$cat_actives[info]>个人信息</a>
  10. </div>
  11. <!--{eval $farr = array(0=>'全用户','1'=>'仅好友','3'=>'仅自己');}-->
  12. <form method="post" action="$theurl&ref" $form_enctype class="c_form">
  13. <!--{if $_GET['op'] == 'base'}-->
  14. <table cellspacing="0" cellpadding="0" class="formtable">
  15. <tr>
  16. <th style="width:10em;">您的登录用户名:</th>
  17. <td>
  18. <!--{eval echo stripslashes($space['username']);}--> (<a href="cp.php?ac=password">修改登录密码</a>)
  19. </td>
  20. <td></td>
  21. </tr>
  22. <!--{if !$_SCONFIG['realname']}-->
  23. <tr>
  24. <th style="width:10em;">真实姓名:</th>
  25. <td>
  26. <input type="text" id="name" name="name" value="<!--{eval echo stripslashes($space['name']);}-->" class="t_input" />
  27. </td>
  28. <td>&nbsp;</td>
  29. </tr>
  30. <!--{else}-->
  31. <tr>
  32. <th style="width:10em;">真实姓名:</th>
  33. <td>
  34. <!--{if $space[name] && empty($_GET['namechange'])}-->
  35. <span style="font-weight:bold;"><!--{eval echo stripslashes($space['name']);}--></span>
  36. <!--{if $_SCONFIG['namechange']}-->[<a href="$theurl&namechange=1">修改</a>]<!--{/if}-->
  37. <!--{if $space[namestatus]}-->[<font color="red">认证通过</font>]<!--{else}--><br>等待验证中您目前将只能使用用户名并且一些操作可能会受到限制<!--{/if}-->
  38. <input type="hidden" name="name" value="<!--{eval echo stripslashes($space['name']);}-->" />
  39. <!--{else}-->
  40. <!--{if $rncredit && $_GET['namechange']}--><img src="image/credit.gif" align="absmiddle"> 本操作需要支付积分 $rncredit 您现在的积分 $space[credit] <br><!--{/if}-->
  41. <!--{if empty($_SCONFIG['namechange'])}-->您的真实姓名一经确认将不再允许再次修改请真实填写<br><!--{/if}-->
  42. <!--{if $_SCONFIG['namecheck']}-->您填写/修改真实姓名后需要等待我们认证后才能有效在认证通过之前您将只能使用用户名并且一些操作可能会受到限制<br><!--{/if}-->
  43. <input type="text" id="name" name="name" value="<!--{eval echo stripslashes($space['name']);}-->" class="t_input" /> (请输入25个汉字)
  44. <!--{/if}-->
  45. </td>
  46. <td>&nbsp;</td>
  47. </tr>
  48. <!--{/if}-->
  49. <tr>
  50. <th style="width:10em;">性别:</th>
  51. <td>
  52. <!--{if empty($space[sex])}-->
  53. <label for="sexm"><input id="sexm" type="radio" value="1" name="sex"$sexarr[1] /></label>
  54. <label for="sexw"><input id="sexw" type="radio" value="2" name="sex"$sexarr[2] /></label>
  55. <span style="font-weight:bold;color:red;">(性别选择确定后将不能再次修改)</span>
  56. <!--{else}-->
  57. <!--{if $space[sex]==1}--><!--{else}--><!--{/if}-->
  58. <!--{/if}-->
  59. </td>
  60. <td>&nbsp;</td>
  61. </tr>
  62. <tr>
  63. <th style="width:10em;">我的身份:</th>
  64. <td>
  65. <!--{if empty($space[employer])}-->
  66. <label for="employee"><input id="employee" type="radio" value="1" name="employer" />求职者</label>
  67. <label for="employer"><input id="employer" type="radio" value="2" name="employer" />招聘方</label>
  68. <br />
  69. <span style="font-weight:bold;color:red;">(此选项设置后不能修改只有招聘方可以发布职位信息)</span>
  70. <!--{else}-->
  71. <!--{if $space[employer]==1}-->求职者<!--{else}-->招聘方<!--{/if}-->
  72. <!--{/if}-->
  73. </td>
  74. <td>&nbsp;</td>
  75. </tr>
  76. <tr>
  77. <th style="width:10em;">婚恋状态:</th>
  78. <td>
  79. <select id="marry" name="marry">
  80. <option value="0">&nbsp;</option>
  81. <option value="1"$marryarr[1]>单身</option>
  82. <option value="2"$marryarr[2]>非单身</option>
  83. </select>
  84. <a href="cp.php?ac=friend&op=search&view=sex" target="_blank">&raquo; 查找男女朋友</a>
  85. </td>
  86. <td>
  87. <select name="friend[marry]">
  88. <option value="0"{$friendarr[marry][0]}>全用户可见</option>
  89. <option value="1"{$friendarr[marry][1]}>仅好友可见</option>
  90. <option value="3"{$friendarr[marry][3]}>仅自己可见</option>
  91. </select>
  92. </td>
  93. </tr>
  94. <tr>
  95. <th>生日:</th>
  96. <td>
  97. <select id="birthyear" name="birthyear" onchange="showbirthday();">
  98. <option value="0">&nbsp;</option>
  99. $birthyeayhtml
  100. </select>
  101. <select id="birthmonth" name="birthmonth" onchange="showbirthday();">
  102. <option value="0">&nbsp;</option>
  103. $birthmonthhtml
  104. </select>
  105. <select id="birthday" name="birthday">
  106. <option value="0">&nbsp;</option>
  107. $birthdayhtml
  108. </select>
  109. <a href="cp.php?ac=friend&op=search&view=birthyear" target="_blank">&raquo; 查找同生日朋友</a>
  110. </td>
  111. <td>
  112. <select name="friend[birth]">
  113. <option value="0"{$friendarr[birth][0]}>全用户可见</option>
  114. <option value="1"{$friendarr[birth][1]}>仅好友可见</option>
  115. <option value="3"{$friendarr[birth][3]}>仅自己可见</option>
  116. </select>
  117. </td>
  118. </tr>
  119. <tr>
  120. <th>血型:</th>
  121. <td>
  122. <select id="blood" name="blood">
  123. <option value="">&nbsp;</option>
  124. $bloodhtml
  125. </select>
  126. </td>
  127. <td>
  128. <select name="friend[blood]">
  129. <option value="0"{$friendarr[blood][0]}>全用户可见</option>
  130. <option value="1"{$friendarr[blood][1]}>仅好友可见</option>
  131. <option value="3"{$friendarr[blood][3]}>仅自己可见</option>
  132. </select>
  133. </td>
  134. </tr>
  135. <tr>
  136. <th>家乡:</th>
  137. <td id="birthcitybox">
  138. <script type="text/javascript" src="source/script_city.js"></script>
  139. <script type="text/javascript">
  140. <!--
  141. showprovince('birthprovince', 'birthcity', '$space[birthprovince]', 'birthcitybox');
  142. showcity('birthcity', '$space[birthcity]', 'birthprovince', 'birthcitybox');
  143. //-->
  144. </script>
  145. <a href="cp.php?ac=friend&op=search&view=birth" target="_blank">&raquo; 查找老乡</a>
  146. </td>
  147. <td>
  148. <select name="friend[birthcity]">
  149. <option value="0"{$friendarr[birthcity][0]}>全用户可见</option>
  150. <option value="1"{$friendarr[birthcity][1]}>仅好友可见</option>
  151. <option value="3"{$friendarr[birthcity][3]}>仅自己可见</option>
  152. </select>
  153. </td>
  154. </tr>
  155. <tr>
  156. <th>居住地:</th>
  157. <td id="residecitybox">
  158. <script type="text/javascript">
  159. <!--
  160. showprovince('resideprovince', 'residecity', '$space[resideprovince]', 'residecitybox');
  161. showcity('residecity', '$space[residecity]', 'resideprovince', 'residecitybox');
  162. //-->
  163. </script>
  164. <a href="cp.php?ac=friend&op=search&view=reside" target="_blank">&raquo; 查找同城</a>
  165. </td>
  166. <td>
  167. <select name="friend[residecity]">
  168. <option value="0"{$friendarr[residecity][0]}>全用户可见</option>
  169. <option value="1"{$friendarr[residecity][1]}>仅好友可见</option>
  170. <option value="3"{$friendarr[residecity][3]}>仅自己可见</option>
  171. </select>
  172. </td>
  173. </tr>
  174. <!--{loop $profilefields $value}-->
  175. <tr>
  176. <th>$value[title]<!--{if $value[required]}-->*<!--{/if}-->:</th>
  177. <td>
  178. $value[formhtml]
  179. <!--{if $value[note]}--> <span class="gray">$value[note]</span><!--{/if}-->
  180. </td>
  181. <td>
  182. <select name="friend[field_{$value[fieldid]}]">
  183. <!--{eval $field_friendarr = $friendarr["field_$value[fieldid]"];}-->
  184. <option value="0"{$field_friendarr[0]}>全用户可见</option>
  185. <option value="1"{$field_friendarr[1]}>仅好友可见</option>
  186. <option value="3"{$field_friendarr[3]}>仅自己可见</option>
  187. </select>
  188. </td>
  189. </tr>
  190. <!--{/loop}-->
  191. <tr>
  192. <th style="width:10em;">&nbsp;</th>
  193. <td>
  194. <input type="submit" name="nextsubmit" value="继续下一项" class="submit" />
  195. <input type="submit" name="profilesubmit" value="保存" class="submit" />
  196. </td>
  197. <td>&nbsp;</td>
  198. </tr>
  199. </table>
  200. <!--{elseif $_GET['op'] == 'contact'}-->
  201. <table cellspacing="0" cellpadding="0" class="formtable">
  202. <!--{if $_GET[editemail]}-->
  203. </table>
  204. <div class="borderbox">
  205. <table cellspacing="0" cellpadding="0" class="formtable">
  206. <tbody>
  207. <tr>
  208. <th style="width:10em;">本网站的登录密码:</th>
  209. <td>
  210. <input type="password" id="password" name="password" value="" class="t_input" />
  211. <br>为了您的账号安全更换新邮箱的时候需要输入您在本网站的密码
  212. </td>
  213. <td></td>
  214. </tr>
  215. <tr>
  216. <th style="width:10em;">新邮箱:</th>
  217. <td>
  218. <input type="text" id="email" class="t_input" name="email" value="$space[email]" />
  219. <!--{if $space['emailcheck']}-->
  220. <br>注意新填写的邮箱只有在验证激活之后才可以生效
  221. <!--{/if}-->
  222. </td>
  223. <td></td>
  224. </tr>
  225. </tbody>
  226. </table>
  227. </div><br>
  228. <table cellspacing="0" cellpadding="0" class="formtable">
  229. <!--{else}-->
  230. <!--{if !$space[email]}-->
  231. <tr>
  232. <th style="width:10em;">本网站的登录密码:</th>
  233. <td>
  234. <input type="password" id="password" name="password" value="" class="t_input" />
  235. <br>为了您的账号安全填写邮箱的时候需要输入您在本网站的密码
  236. </td>
  237. <td></td>
  238. </tr>
  239. <!--{/if}-->
  240. <tr>
  241. <th style="width:10em;">常用邮箱:</th>
  242. <td>
  243. <!--{if $space[email]}-->
  244. $space[email]<br>
  245. <!--{if $space['emailcheck']}-->
  246. 当前邮箱已经验证激活 (<a href="$theurl&editemail=1">更换</a>)
  247. <!--{else}-->
  248. 邮箱等待验证中...<br>
  249. 系统已经向该邮箱发送了一封验证激活邮件请查收邮件进行验证激活<br>
  250. 如果没有收到验证邮件您可以<a href="$theurl&editemail=1">更换一个邮箱</a>或者<a href="$theurl&resend=1">重新接收验证邮件</a>
  251. <!--{/if}-->
  252. <!--{else}-->
  253. <input type="text" id="email" class="t_input" name="email" value="" />
  254. <br>请准确填写取回密码获取通知的时候都会发送到该邮箱
  255. <br>系统同时会向该邮箱发送一封验证激活邮件请注意查收<br>
  256. <!--{/if}-->
  257. <!--{if $space[newemail]}-->
  258. <p>您要更换的新邮箱<strong>$space[newemail]</strong> 需要激活后才能替换当前邮箱并生效<br>
  259. 如果没有收到验证邮件您可以<a href="$theurl&resend=1">重新接收验证邮件</a></p>
  260. <!--{/if}-->
  261. </td>
  262. <td></td>
  263. </tr>
  264. <!--{/if}-->
  265. <tr>
  266. <th style="width:10em;">手机:</th>
  267. <td>
  268. <input type="text" class="t_input" name="mobile" value="$space[mobile]" />
  269. </td>
  270. <td>
  271. <select name="friend[mobile]">
  272. <option value="0"{$friendarr[mobile][0]}>全用户可见</option>
  273. <option value="1"{$friendarr[mobile][1]}>仅好友可见</option>
  274. <option value="3"{$friendarr[mobile][3]}>仅自己可见</option>
  275. </select>
  276. </td>
  277. </tr>
  278. <tr>
  279. <th style="width:10em;">QQ:</th>
  280. <td>
  281. <input type="text" class="t_input" name="qq" value="$space[qq]" />
  282. </td>
  283. <td>
  284. <select name="friend[qq]">
  285. <option value="0"{$friendarr[qq][0]}>全用户可见</option>
  286. <option value="1"{$friendarr[qq][1]}>仅好友可见</option>
  287. <option value="3"{$friendarr[qq][3]}>仅自己可见</option>
  288. </select>
  289. </td>
  290. </tr>
  291. <tr>
  292. <th>MSN:</th>
  293. <td>
  294. <input type="text" class="t_input" name="msn" value="$space[msn]" />
  295. </td>
  296. <td>
  297. <select name="friend[msn]">
  298. <option value="0"{$friendarr[msn][0]}>全用户可见</option>
  299. <option value="1"{$friendarr[msn][1]}>仅好友可见</option>
  300. <option value="3"{$friendarr[msn][3]}>仅自己可见</option>
  301. </select>
  302. </td>
  303. </tr>
  304. <tr>
  305. <th style="width:10em;">&nbsp;</th>
  306. <td>
  307. <input type="submit" name="nextsubmit" value="继续下一项" class="submit" />
  308. <input type="submit" name="profilesubmit" value="保存" class="submit" />
  309. </td>
  310. <td>&nbsp;</td>
  311. </tr>
  312. </table>
  313. <!--{elseif $_GET['op'] == 'edu'}-->
  314. <!--{if $list}-->
  315. <table cellspacing="0" cellpadding="0" class="listtable">
  316. <tr class="title">
  317. <td>学校/班级或院系</td>
  318. <td>学位</td>
  319. <td>入学年份</td>
  320. <td>隐私设置</td>
  321. <td>操作</td>
  322. </tr>
  323. <!--{loop $list $key $value}-->
  324. <!--{if $key%2==1}--><tr class="line"><!--{else}--><tr><!--{/if}-->
  325. <td>$value[title]<br>$value[subtitle]</td>
  326. <td>$value[subtype]</td>
  327. <td>$value[startyear]</td>
  328. <td>{$farr[$value[friend]]}</td>
  329. <td><a href="$theurl&subop=delete&infoid=$value[infoid]" onclick="return confirm('确实要删除此条信息吗?')">删除信息</a><br><a href="cp.php?ac=friend&op=search&searchmode=1&type=edu&title=$value[title_s]" target="_blank">寻找同学</a></td>
  330. </tr>
  331. <!--{/loop}-->
  332. </table>
  333. <br>
  334. <!--{/if}-->
  335. <table cellspacing="0" cellpadding="0" class="formtable">
  336. <!--{if $list}-->
  337. <caption>
  338. <h2>添加新学校</h2>
  339. </caption>
  340. <!--{/if}-->
  341. <tbody id="oldtbody">
  342. <tr>
  343. <th style="width:10em;">学校名称:</th>
  344. <td>
  345. <input type="text" name="title[]" value="" class="t_input">
  346. </td>
  347. </tr>
  348. <tr>
  349. <th>班级或院系:</th>
  350. <td>
  351. <input type="text" name="subtitle[]" value="" class="t_input">
  352. </td>
  353. </tr>
  354. <tr>
  355. <th>入学年份:</th>
  356. <td>
  357. <select name="startyear[]">
  358. $yearhtml
  359. </select>
  360. </td>
  361. </tr>
  362. <tr>
  363. <th>学位:</th>
  364. <td>
  365. <select name="subtype[]">
  366. $degreehtml
  367. </select>
  368. </td>
  369. </tr>
  370. <tr>
  371. <th>隐私设置:</th>
  372. <td>
  373. <select name="friend[]">
  374. <option value="0">全用户可见</option>
  375. <option value="1">仅好友可见</option>
  376. <option value="3">仅自己可见</option>
  377. </select>
  378. </td>
  379. </tr>
  380. </tbody>
  381. <tbody id="newtbody"></tbody>
  382. <tr>
  383. <th style="width:10em;">&nbsp;</th>
  384. <td><a href="javascript:;" onclick="add_tbody();">添加新的学校信息</a></td>
  385. </tr>
  386. <tr>
  387. <th style="width:10em;">&nbsp;</th>
  388. <td>
  389. <input type="submit" name="nextsubmit" value="继续下一项" class="submit" />
  390. <input type="submit" name="profilesubmit" value="保存" class="submit" /></td>
  391. </tr>
  392. </table>
  393. <!--{elseif $_GET['op'] == 'work'}-->
  394. <!--{if $list}-->
  395. <table cellspacing="0" cellpadding="0" class="listtable">
  396. <tr class="title">
  397. <td>公司或机构/部门</td>
  398. <td>工作时间</td>
  399. <td>隐私设置</td>
  400. <td>操作</td>
  401. </tr>
  402. <!--{loop $list $key $value}-->
  403. <!--{if $key%2==1}--><tr class="line"><!--{else}--><tr><!--{/if}-->
  404. <td>$value[title]<br>$value[subtitle]</td>
  405. <td>
  406. {$value[startyear]}{$value[startmonth]} ~
  407. <!--{if $value[endyear]}-->{$value[endyear]}<!--{/if}-->
  408. <!--{if $value[endmonth]}-->{$value[endmonth]}<!--{/if}-->
  409. <!--{if !$value[endyear] && !$value[endmonth]}-->现在<!--{/if}-->
  410. </td>
  411. <td>{$farr[$value[friend]]}</td>
  412. <td><a href="$theurl&subop=delete&infoid=$value[infoid]" onclick="return confirm('确实要删除此条信息吗?')">删除信息</a><br><a href="cp.php?ac=friend&op=search&searchmode=1&type=work&title=$value[title_s]" target="_blank">寻找同事</a></td>
  413. </tr>
  414. <!--{/loop}-->
  415. </table>
  416. <br>
  417. <!--{/if}-->
  418. <table cellspacing="0" cellpadding="0" class="formtable">
  419. <!--{if $list}-->
  420. <caption>
  421. <h2>添加新公司或机构</h2>
  422. </caption>
  423. <!--{/if}-->
  424. <tbody id="oldtbody">
  425. <tr>
  426. <th style="width:10em;">公司或机构:</th>
  427. <td>
  428. <input type="text" name="title[]" value="" class="t_input">
  429. </td>
  430. </tr>
  431. <tr>
  432. <th>部门:</th>
  433. <td>
  434. <input type="text" name="subtitle[]" value="" class="t_input">
  435. </td>
  436. </tr>
  437. <tr>
  438. <th>工作时间:</th>
  439. <td>
  440. <select name="startyear[]">
  441. $yearhtml
  442. </select>
  443. <select name="startmonth[]">
  444. $monthhtml
  445. </select> ~
  446. <select name="endyear[]">
  447. <option value="">现在</option>
  448. $yearhtml
  449. </select>
  450. <select name="endmonth[]">
  451. <option value=""></option>
  452. $monthhtml
  453. </select>
  454. </td>
  455. </tr>
  456. <tr>
  457. <th>隐私设置:</th>
  458. <td>
  459. <select name="friend[]">
  460. <option value="0">全用户可见</option>
  461. <option value="1">仅好友可见</option>
  462. <option value="3">仅自己可见</option>
  463. </select>
  464. </td>
  465. </tr>
  466. </tbody>
  467. <tbody id="newtbody"></tbody>
  468. <tr>
  469. <th style="width:10em;">&nbsp;</th>
  470. <td><a href="javascript:;" onclick="add_tbody();">添加新的公司或机构</a></td>
  471. </tr>
  472. <tr>
  473. <th style="width:10em;">&nbsp;</th>
  474. <td>
  475. <input type="submit" name="nextsubmit" value="继续下一项" class="submit" />
  476. <input type="submit" name="profilesubmit" value="保存" class="submit" /></td>
  477. </tr>
  478. </table>
  479. <!--{elseif $_GET['op'] == 'cv'}-->
  480. <!--{if $list}-->
  481. <table cellspacing="0" cellpadding="0" class="listtable">
  482. <tr class="title">
  483. <td>简历名称</td>
  484. <td>文件格式</td>
  485. <td>隐私设置</td>
  486. <td>操作</td>
  487. </tr>
  488. <!--{loop $list $key $value}-->
  489. <!--{if $key%2==1}--><tr class="line"><!--{else}--><tr><!--{/if}-->
  490. <td>$value[title]</td>
  491. <td><img src="image/cv/<!--{$value[subtype]}-->.gif" alt="$value[subtype] file" /></td>
  492. <td>{$farr[$value[friend]]}</td>
  493. <td><a href="$theurl&subop=delete&infoid=$value[infoid]" onclick="return confirm('确实要删除这个简历吗?')">删除简历</a><br /><a href="#" target="_blank">预览简历</a><br /><a href="$value[subtitle]" target="_blank">下载简历</a></td>
  494. </tr>
  495. <!--{/loop}-->
  496. </table>
  497. <br />
  498. <!--{/if}-->
  499. <table cellspacing="0" cellpadding="0" class="formtable">
  500. <caption>
  501. <h2>添加新简历</h2>
  502. <p>从电脑中选择你要上传的简历<br />只能上传格式为htm,html,doc,docx,pdf,xml,txt,rtf,odt,mht的简历文件且附件大小不能超过3M</p>
  503. </caption>
  504. <tbody>
  505. <tr style="display: none">
  506. <th>
  507. 简历格式:
  508. </th>
  509. <td>
  510. <img id="attachpreview" />
  511. <input type="hidden" id="attachext" name="subtype[]" />
  512. </td>
  513. </tr>
  514. <tr>
  515. <th>
  516. 选择简历:
  517. </th>
  518. <td>
  519. <input type="file" id="attachcv" name="attach" size="25" />
  520. </td>
  521. </tr>
  522. <tr>
  523. <th>
  524. 简历名称:
  525. </th>
  526. <td>
  527. <input type="text" id="attachname" name="title[]" value="" class="t_input">
  528. </td>
  529. </tr>
  530. <tr>
  531. <th>隐私设置:</th>
  532. <td>
  533. <select name="friend[]">
  534. <option value="0">全用户可见</option>
  535. <option value="1">仅好友可见</option>
  536. <option value="3">仅自己可见</option>
  537. </select>
  538. </td>
  539. </tr>
  540. </tbody>
  541. <tbody></tbody>
  542. <script src="source/script_uploadcv.js" type="text/javascript"></script>
  543. <tr>
  544. <th style="width:10em;">&nbsp;</th>
  545. <td>
  546. <input type="submit" name="nextsubmit" value="继续下一项" class="submit" />
  547. <input type="submit" name="profilesubmit" value="保存" class="submit" /></td>
  548. </tr>
  549. </table>
  550. <!--{elseif $_GET['op'] == 'info'}-->
  551. <table cellspacing="0" cellpadding="0" class="formtable">
  552. <!--{eval
  553. $infoarr = array(
  554. 'trainwith' => '我想结交',
  555. 'interest' => '兴趣爱好',
  556. 'book' => '喜欢的书籍',
  557. 'movie' => '喜欢的电影',
  558. 'tv' => '喜欢的电视',
  559. 'music' => '喜欢的音乐',
  560. 'game' => '喜欢的游戏',
  561. 'sport' => '喜欢的运动',
  562. 'idol' => '偶像',
  563. 'motto' => '座右铭',
  564. 'wish' => '最近心愿',
  565. 'intro' => '我的简介'
  566. );
  567. }-->
  568. <tr>
  569. <th>栏目</th>
  570. <td>内容</td>
  571. <td>隐私设置</td>
  572. </tr>
  573. <!--{loop $infoarr $key $value}-->
  574. <tr>
  575. <th>{$value}:</th>
  576. <td>
  577. <textarea name="info[$key]" rows="3" cols="50">{$list[$key][title]}</textarea>
  578. </td>
  579. <td>
  580. <select name="info_friend[$key]">
  581. <option value="0"{$friends[$key][0]}>全用户可见</option>
  582. <option value="1"{$friends[$key][1]}>仅好友可见</option>
  583. <option value="3"{$friends[$key][3]}>仅自己可见</option>
  584. </select>
  585. </td>
  586. </tr>
  587. <!--{/loop}-->
  588. <tr>
  589. <th style="width:10em;">&nbsp;</th>
  590. <td><input type="submit" name="profilesubmit" value="保存" class="submit" /></td>
  591. </tr>
  592. </table>
  593. <!--{/if}-->
  594. <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
  595. </form>
  596. <script>
  597. function add_tbody() {
  598. for(i=0; i<$("oldtbody").rows.length; i++) {
  599. newnode = $("oldtbody").rows[i].cloneNode(true);
  600. $("newtbody").appendChild(newnode);
  601. }
  602. }
  603. </script>
  604. <!--{template footer}-->