spacecp_search.htm 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. <!--{template common/header}-->
  2. <div id="pt" class="bm cl">
  3. <div class="z">
  4. <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
  5. <a href="home.php?mod=space&do=friend">{lang friends}</a> <em>&rsaquo;</em>
  6. {lang search_friend}
  7. </div>
  8. </div>
  9. <div id="ct" class="ct2_a wp cl">
  10. <div class="mn">
  11. <div class="bm bw0">
  12. <h1 class="mt"><img alt="friend" src="{STATICURL}image/feed/friend.gif" class="vm" /> {lang search_friend}</h1>
  13. <ul class="tb cl">
  14. <li{if $_GET['op'] == 'sex'} class="a"{/if}><a href="home.php?mod=spacecp&ac=search&op=sex">{lang seek_bgfriend}</a></li>
  15. <li{if $_GET['op'] == 'reside'} class="a"{/if}><a href="home.php?mod=spacecp&ac=search&op=reside">{lang seek_same_city}</a></li>
  16. <li{if $_GET['op'] == 'birth'} class="a"{/if}><a href="home.php?mod=spacecp&ac=search&op=birth">{lang seek_same_city_people}</a></li>
  17. <li{if $_GET['op'] == 'birthyear'} class="a"{/if}><a href="home.php?mod=spacecp&ac=search&op=birthyear">{lang seek_same_birthday}</a></li>
  18. <!--{if $fields['graduateschool'] || $fields['education']}-->
  19. <li{if $_GET['op'] == 'edu'} class="a"{/if}><a href="home.php?mod=spacecp&ac=search&op=edu">{lang seek_classmate}</a></li>
  20. <!--{/if}-->
  21. <!--{if $fields['occupation'] || $fields['title']}-->
  22. <li{if $_GET['op'] == 'work'} class="a"{/if}><a href="home.php?mod=spacecp&ac=search&op=work">{lang seek_colleague}</a></li>
  23. <!--{/if}-->
  24. <li{if $_GET['op'] == ''} class="a"{/if}><a href="home.php?mod=spacecp&ac=search">{lang advance_seek}</a></li>
  25. </ul>
  26. <!--{if !empty($_GET['searchsubmit'])}-->
  27. <!--{if empty($list)}-->
  28. <div class="emp">{lang no_search_friend}<a href="home.php?mod=spacecp&ac=search">{lang change_search}</a></div>
  29. <!--{else}-->
  30. <div class="tbmu">{lang search_member_list_message}</div>
  31. <!--{template home/space_list}-->
  32. <!--{/if}-->
  33. <!--{else}-->
  34. <div class="ptm scf">
  35. <!--{if $_GET['op'] == 'sex'}-->
  36. <h2>{lang seek_bgfriend}</h2>
  37. <div id="s_sex" class="bm bmn">
  38. <form action="home.php" method="get">
  39. <table cellpadding="0" cellspacing="0" class="tfm">
  40. <!--{loop array('affectivestatus','lookingfor','zodiac','constellation') $key}-->
  41. <!--{if $fields[$key]}-->
  42. <tr>
  43. <th>{$fields[$key][title]}</th>
  44. <td>{$fields[$key][html]}</td>
  45. </tr>
  46. <!--{/if}-->
  47. <!--{/loop}-->
  48. <tr>
  49. <th>{lang sex}:</th>
  50. <td>
  51. <select id="gender" name="gender">
  52. <option value="0">{lang random}</option>
  53. <option value="1">{lang male}</option>
  54. <option value="2">{lang female}</option>
  55. </select>
  56. </td>
  57. </tr>
  58. <tr>
  59. <th>{lang age_segment}</th>
  60. <td><input type="text" name="startage" value="" size="10" class="px" style="width: 114px;" /> ~ <input type="text" name="endage" value="" size="10" class="px" style="width: 114px;" /></td>
  61. </tr>
  62. <tr>
  63. <th>{lang upload_avatar}</th>
  64. <td class="pcl"><label><input type="checkbox" name="avatarstatus" value="1" class="pc" />{lang uploaded_avatar}</label></td>
  65. </tr>
  66. <tr>
  67. <th>{lang username}</th>
  68. <td><input type="text" name="username" value="" class="px" /></td>
  69. </tr>
  70. <tr>
  71. <th>&nbsp;</th>
  72. <td>
  73. <input type="hidden" name="searchsubmit" value="true" />
  74. <button type="submit" class="pn"><em>{lang seek}</em></button>
  75. </td>
  76. </tr>
  77. </table>
  78. <input type="hidden" name="op" value="$_GET[op]" />
  79. <input type="hidden" name="mod" value="spacecp" />
  80. <input type="hidden" name="ac" value="search" />
  81. <input type="hidden" name="type" value="base" />
  82. </form>
  83. </div>
  84. <!--{elseif $_GET['op'] == 'reside' }-->
  85. <h2>{lang seek_same_city}</h2>
  86. <div id="s_reside" class="bm bmn">
  87. <form action="home.php" method="get">
  88. <table cellpadding="0" cellspacing="0" class="tfm">
  89. <tr>
  90. <th>{lang reside_city}</th>
  91. <td id="residecitybox">$residecityhtml</td>
  92. </tr>
  93. <tr>
  94. <th>{lang username}</th>
  95. <td><input type="text" name="username" value="" class="px" /></td>
  96. </tr>
  97. <tr>
  98. <th>&nbsp;</th>
  99. <td>
  100. <input type="hidden" name="searchsubmit" value="true" />
  101. <button type="submit" class="pn"><em>{lang seek}</em></button>
  102. </td>
  103. </tr>
  104. </table>
  105. <input type="hidden" name="op" value="$_GET[op]" />
  106. <input type="hidden" name="mod" value="spacecp">
  107. <input type="hidden" name="ac" value="search">
  108. <input type="hidden" name="type" value="base">
  109. </form>
  110. </div>
  111. <!--{elseif $_GET['op'] == 'birth' }-->
  112. <h2>{lang seek_same_city_people}</h2>
  113. <div id="s_birth" class="bm bmn">
  114. <form action="home.php" method="get">
  115. <table cellpadding="0" cellspacing="0" class="tfm">
  116. <tr>
  117. <th>{lang birth_city}</th>
  118. <td id="birthcitybox">$birthcityhtml</td>
  119. </tr>
  120. <tr>
  121. <th>{lang username}</th>
  122. <td><input type="text" name="username" value="" class="px" /></td>
  123. </tr>
  124. <tr>
  125. <th>&nbsp;</th>
  126. <td>
  127. <input type="hidden" name="searchsubmit" value="true" />
  128. <button type="submit" class="pn"><em>{lang seek}</em></button>
  129. </td>
  130. </tr>
  131. </table>
  132. <input type="hidden" name="op" value="$_GET[op]" />
  133. <input type="hidden" name="mod" value="spacecp" />
  134. <input type="hidden" name="ac" value="search" />
  135. <input type="hidden" name="type" value="base" />
  136. </form>
  137. </div>
  138. <!--{elseif $_GET['op'] == 'birthyear' }-->
  139. <h2>{lang seek_same_birthday}</h2>
  140. <div id="s_birthyear" class="bm bmn">
  141. <form action="home.php" method="get">
  142. <table cellpadding="0" cellspacing="0" class="tfm">
  143. <tr>
  144. <th>{lang birthday}</th>
  145. <td>
  146. <select id="birthyear" name="birthyear" onchange="showbirthday();" class="ps">
  147. <option value="0">&nbsp;</option>
  148. $birthyeayhtml
  149. </select> {lang year}
  150. <select id="birthmonth" name="birthmonth" onchange="showbirthday();" class="ps">
  151. <option value="0">&nbsp;</option>
  152. $birthmonthhtml
  153. </select> {lang month}
  154. <select id="birthday" name="birthday" class="ps">
  155. <option value="0">&nbsp;</option>
  156. $birthdayhtml
  157. </select> {lang day}
  158. </td>
  159. </tr>
  160. <tr>
  161. <th>{lang username}</th>
  162. <td><input type="text" name="username" value="" class="px" /></td>
  163. </tr>
  164. <tr>
  165. <th>&nbsp;</th>
  166. <td>
  167. <input type="hidden" name="searchsubmit" value="true" />
  168. <button type="submit" class="pn"><em>{lang seek}</em></button>
  169. </td>
  170. </tr>
  171. </table>
  172. <input type="hidden" name="op" value="$_GET[op]" />
  173. <input type="hidden" name="mod" value="spacecp" />
  174. <input type="hidden" name="ac" value="search" />
  175. <input type="hidden" name="type" value="base" />
  176. </form>
  177. </div>
  178. <!--{elseif $_GET['op'] == 'edu' }-->
  179. <!--{if $fields['graduateschool'] || $fields['education']}-->
  180. <h2>{lang seek_classmate}</h2>
  181. <div id="s_edu" class="bm bmn">
  182. <form action="home.php" method="get">
  183. <table cellpadding="0" cellspacing="0" class="tfm">
  184. <!--{loop array('graduateschool','education') $key}-->
  185. <!--{if $fields[$key]}-->
  186. <tr>
  187. <th>{$fields[$key][title]}</th>
  188. <td>{$fields[$key][html]}</td>
  189. </tr>
  190. <!--{/if}-->
  191. <!--{/loop}-->
  192. <tr>
  193. <th>{lang username}</th>
  194. <td><input type="text" name="username" value="" class="px"></td>
  195. </tr>
  196. <tr>
  197. <th>&nbsp;</th>
  198. <td>
  199. <input type="hidden" name="searchsubmit" value="true" />
  200. <button type="submit" class="pn"><em>{lang seek}</em></button>
  201. </td>
  202. </tr>
  203. </table>
  204. <input type="hidden" name="op" value="$_GET[op]" />
  205. <input type="hidden" name="mod" value="spacecp" />
  206. <input type="hidden" name="ac" value="search" />
  207. <input type="hidden" name="type" value="edu" />
  208. </form>
  209. </div>
  210. <!--{/if}-->
  211. <!--{elseif $_GET['op'] == 'work' }-->
  212. <!--{if $fields['occupation'] || $fields['title']}-->
  213. <h2>{lang seek_colleague}</h2>
  214. <div id="s_work" class="bm bmn">
  215. <form action="home.php" method="get">
  216. <table cellpadding="0" cellspacing="0" class="tfm">
  217. <!--{loop array('occupation','title') $key}-->
  218. <!--{if $fields[$key]}-->
  219. <tr>
  220. <th>{$fields[$key][title]}</th>
  221. <td>{$fields[$key][html]}</td>
  222. </tr>
  223. <!--{/if}-->
  224. <!--{/loop}-->
  225. <tr>
  226. <th>{lang username}</th>
  227. <td><input type="text" name="username" value="" class="px" /></td>
  228. </tr>
  229. <tr>
  230. <th>&nbsp;</th>
  231. <td>
  232. <input type="hidden" name="searchsubmit" value="true" />
  233. <button type="submit" class="pn"><em>{lang seek}</em></button>
  234. </td>
  235. </tr>
  236. </table>
  237. <input type="hidden" name="op" value="$_GET[op]" />
  238. <input type="hidden" name="mod" value="spacecp" />
  239. <input type="hidden" name="ac" value="search" />
  240. <input type="hidden" name="type" value="work" />
  241. </form>
  242. </div>
  243. <!--{/if}-->
  244. <!--{else}-->
  245. <h2>{lang advance_seek}</h2>
  246. <div class="bm bmn">
  247. <form action="home.php" method="get">
  248. <table cellpadding="0" cellspacing="0" class="tfm">
  249. <tr>
  250. <th>{lang username}</th>
  251. <td><input type="text" name="username" value="" class="px" /> <label><input type="checkbox" name="precision" class="pc" value="1">{lang search_accuracy}</label></td>
  252. </tr>
  253. <tr>
  254. <th>{lang user_id}</th>
  255. <td><input type="text" name="uid" value="" class="px" /></td>
  256. </tr>
  257. <tr>
  258. <th>{lang sex}:</th>
  259. <td>
  260. <select id="gender" name="gender">
  261. <option value="0">{lang random}</option>
  262. <option value="1">{lang male}</option>
  263. <option value="2">{lang female}</option>
  264. </select>
  265. </td>
  266. </tr>
  267. <tr>
  268. <th>{lang age_segment}</th>
  269. <td><input type="text" name="startage" value="" size="10" class="px" style="width: 114px;" /> ~ <input type="text" name="endage" value="" size="10" class="px" style="width: 114px;" /></td>
  270. </tr>
  271. <tr>
  272. <th>{lang upload_avatar}</th>
  273. <td class="pcl"><label><input type="checkbox" name="avatarstatus" value="1" class="pc" />{lang uploaded_avatar}</label></td>
  274. </tr>
  275. <tr>
  276. <th>{lang reside_city}</th>
  277. <td id="residecitybox">$residecityhtml</td>
  278. </tr>
  279. <tr>
  280. <th>{lang birth_city}</th>
  281. <td id="birthcitybox">$birthcityhtml</td>
  282. </tr>
  283. <tr>
  284. <th>{lang birthday}</th>
  285. <td>
  286. <select id="birthyear" name="birthyear" onchange="showbirthday();" class="ps">
  287. <option value="0">&nbsp;</option>
  288. $birthyeayhtml
  289. </select> {lang year}
  290. <select id="birthmonth" name="birthmonth" onchange="showbirthday();" class="ps">
  291. <option value="0">&nbsp;</option>
  292. $birthmonthhtml
  293. </select> {lang month}
  294. <select id="birthday" name="birthday" class="ps">
  295. <option value="0">&nbsp;</option>
  296. $birthdayhtml
  297. </select> {lang day}
  298. </td>
  299. </tr>
  300. <!--{loop $fields $fkey $fvalue}-->
  301. <tr>
  302. <th>{$fvalue[title]}</th>
  303. <td>$fvalue[html]</td>
  304. </tr>
  305. <!--{/loop}-->
  306. <tr>
  307. <th>&nbsp;</th>
  308. <td>
  309. <input type="hidden" name="searchsubmit" value="true" />
  310. <button type="submit" class="pn"><em>{lang seek}</em></button>
  311. </td>
  312. </tr>
  313. </table>
  314. <input type="hidden" name="op" value="$_GET[op]" />
  315. <input type="hidden" name="mod" value="spacecp" />
  316. <input type="hidden" name="ac" value="search" />
  317. <input type="hidden" name="type" value="all" />
  318. </form>
  319. </div>
  320. <!--{/if}-->
  321. </div>
  322. <!--{/if}-->
  323. </div>
  324. </div>
  325. <div class="appl">
  326. <!--{subtemplate home/space_friend_nav}-->
  327. </div>
  328. </div>
  329. <!--{template common/footer}-->