PageRenderTime 152ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
HTML | 565 lines | 427 code | 53 blank | 85 comment | 0 complexity | aef358249ad935f1456b4c0a4499c846 MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, LGPL-2.1, BSD-3-Clause
  1. <!--{template header}-->
  2. <!--{if $_GET[op]=='manage'}-->
  3. <!--{if $_GET['subop'] != 'member'}-->
  4. <h2 class="title"><img src="image/app/mtag.gif" />群组 - $mtag[tagname]</h2>
  5. <div class="tabs_header">
  6. <ul class="tabs">
  7. <!--{if $mtag['grade'] >= 8}-->
  8. <li$actives[base]><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=base"><span>基本设置</span></a></li>
  9. <!--{/if}-->
  10. <!--{if $mtag['allowinvite']}-->
  11. <li$actives[invite]><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=invite"><span>邀请好友</span></a></li>
  12. <!--{/if}-->
  13. <!--{if $mtag['grade'] >= 8}-->
  14. <li$actives[members]><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members"><span>成员管理</span></a></li>
  15. <li$actives[thread]><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=thread"><span>话题批量管理</span></a></li>
  16. <!--{/if}-->
  17. <li><a href="space.php?do=mtag&tagid=$mtag[tagid]"><span>返回群组首页</span></a></li>
  18. </ul>
  19. <!--{if ($actives[members] || $mtag['allowinvite']) && ($_GET['subop'] == 'invite' || $_GET['subop'] == 'members')}-->
  20. <script>
  21. function searchUser() {
  22. $('searchform').submit();
  23. }
  24. </script>
  25. <form name="searchform" id="searchform" method="get" action="cp.php">
  26. <div style="float:right;margin:0 6px 5px 0;">
  27. <table cellspacing="0" cellpadding="0">
  28. <tr>
  29. <td style="padding: 0;"><input type="text" id="key" name="key" value="搜索成员" onfocus="if(this.value=='搜索成员')this.value='';" class="t_input" tabindex="1" style="width: 160px; border-right: none;" /></td>
  30. <td style="padding: 0;"><a href="javascript:searchUser();"><img src="image/search_btn.gif" alt="搜索" /></a></td>
  31. </tr>
  32. </table>
  33. </div>
  34. <input type="hidden" name="ac" value="mtag">
  35. <input type="hidden" name="op" value="manage">
  36. <input type="hidden" name="tagid" value="$mtag[tagid]">
  37. <input type="hidden" name="subop" value="$_GET[subop]">
  38. <input type="hidden" name="uid" value="$_GET[uid]">
  39. <input type="hidden" name="grade" value="$_GET[grade]">
  40. <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
  41. </form>
  42. <!--{/if}-->
  43. </div>
  44. <!--{/if}-->
  45. <form id="manageform" name="manageform" method="post" action="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=$_GET[subop]&uid=$_GET[uid]&grade=$_GET[grade]&group=$_GET[group]&page=$_GET[page]&start=$_GET[start]">
  46. <!--{if $_GET['subop'] == 'base'}-->
  47. <table cellspacing="4" cellpadding="4" class="formtable">
  48. <tr>
  49. <th width="100">群组名</th>
  50. <td>$mtag[tagname]</td>
  51. </tr>
  52. <tr>
  53. <th width="100"><label for="pic">封面图片</label></th>
  54. <td><input id="pic" type="text" name="pic" value="$mtag[pic]" size="80" class="t_input" /><br />请输入 http:// 开头的图片URL地址</td>
  55. </tr>
  56. <tr>
  57. <th>
  58. <label for="announcement">群组公告</label>
  59. </th>
  60. <td>
  61. <textarea id="announcement" name="announcement" cols="80" rows="5">$mtag[announcement]</textarea>
  62. <p class="gray">最多可以输入<strong>5000</strong> 个字符,多出的部分将被自动删除</p>
  63. </td>
  64. </tr>
  65. <!--{if $mtag[grade]==9}-->
  66. <!--{if $field['manualmember']}-->
  67. <tr>
  68. <th width="100">加入权限</th>
  69. <td>
  70. <select name="joinperm">
  71. <option value="0"$joinperms[0]>公开(允许所有人可加入)</option>
  72. <option value="1"$joinperms[1]>审核(需要经批准后才可加入)</option>
  73. <option value="2"$joinperms[2]>私密(只允许群主邀请加入)</option>
  74. </select>
  75. </td>
  76. </tr>
  77. <!--{else}-->
  78. <tr>
  79. <th width="100">加入权限</th>
  80. <td>公开(允许所有人可加入)</td>
  81. </tr>
  82. <!--{/if}-->
  83. <tr>
  84. <th width="100">浏览权限</th>
  85. <td>
  86. <select name="viewperm">
  87. <option value="0"$viewperms[0]>公开(所有人可浏览)</option>
  88. <option value="1"$viewperms[1]>封闭(只对会员可见)</option>
  89. </select>
  90. <br>为了保护隐私当群组的浏览权限设置为封闭时成员的发帖或回帖操作将不产生个人动态
  91. </td>
  92. </tr>
  93. <tr>
  94. <th width="100">发新话题权限</th>
  95. <td>
  96. <select name="threadperm">
  97. <option value="0"$threadperms[0]>需成为会员才可发话题</option>
  98. <option value="1"$threadperms[1]>所有人可发话题</option>
  99. </select>
  100. </td>
  101. </tr>
  102. <tr>
  103. <th width="100">回帖权限</th>
  104. <td>
  105. <select name="postperm">
  106. <option value="0"$postperms[0]>需成为会员才可回帖</option>
  107. <option value="1"$postperms[1]>所有人可回帖</option>
  108. </select>
  109. </td>
  110. </tr>
  111. <tr>
  112. <th>招纳群主</th>
  113. <td>
  114. <input type="radio" name="closeapply" value="0" $closeapply[0]/> 开启
  115. <input type="radio" name="closeapply" value="1" $closeapply[1]/> 关闭
  116. </td>
  117. </tr>
  118. <!--{/if}-->
  119. <tr>
  120. <th>&nbsp;</th>
  121. <td>
  122. <input type="submit" name="basesubmit" value="提交保存" class="submit" />&nbsp;
  123. </td>
  124. </tr>
  125. </table>
  126. <!--{elseif $_GET['subop'] == 'thread'}-->
  127. <table cellspacing="0" cellpadding="0" class="formtable">
  128. <tr>
  129. <td>
  130. 请登录管理平台来对群组的话题回帖进行批量删除精华置顶等操作<br>
  131. <br><a href="admincp.php?ac=thread&&perpage=20&tagid=$mtag[tagid]&searchsubmit=1" class="submit">话题管理</a> &nbsp;
  132. <a href="admincp.php?ac=post&&perpage=20&tagid=$mtag[tagid]&searchsubmit=1" class="submit">回帖管理</a>
  133. </td>
  134. </tr>
  135. </table>
  136. <!--{elseif $_GET['subop'] == 'invite'}-->
  137. <div id="content" style="width: 640px;">
  138. <div class="h_status">
  139. 您可以给未加入本群组的好友们发送邀请
  140. </div>
  141. <!--{if $list}-->
  142. <div class="h_status">
  143. <ul class="avatar_list">
  144. <!--{loop $list $value}-->
  145. <li><div class="avatar48"><a href="space.php?uid=$value[fuid]" title="{$_SN[$value[fuid]]}"><!--{avatar($value[fuid],small)}--></a></div>
  146. <p><a href="space.php?uid=$value[fuid]" title="{$_SN[$value[fuid]]}">{$_SN[$value[fuid]]}</a></p>
  147. <p><!--{if empty($joins[$value[fuid]])}--><input type="checkbox" name="ids[]" value="$value[fuid]">选定<!--{else}-->已邀请<!--{/if}--></p>
  148. </li>
  149. <!--{/loop}-->
  150. </ul>
  151. <div class="page">$multi</div>
  152. </div>
  153. <p>
  154. <input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选 &nbsp;
  155. <input type="submit" name="invitesubmit" value="邀请" class="submit" />
  156. </p>
  157. <!--{else}-->
  158. <div class="c_form">还没有好友</div>
  159. <!--{/if}-->
  160. </div>
  161. <div id="sidebar" style="width: 150px;">
  162. <div class="cat">
  163. <h3>好友分类</h3>
  164. <ul class="post_list line_list">
  165. <li<!--{if $_GET[group]==-1}--> class="current"<!--{/if}-->><a href="cp.php?ac=mtag&tagid=$mtag[tagid]&op=manage&subop=invite&group=-1">全部好友</a></li>
  166. <!--{loop $groups $key $value}-->
  167. <li<!--{if $_GET[group]==$key}--> class="current"<!--{/if}-->><a href="cp.php?ac=mtag&tagid=$mtag[tagid]&op=manage&subop=invite&group=$key">$value</a></li>
  168. <!--{/loop}-->
  169. </ul>
  170. </div>
  171. </div>
  172. <!--{elseif $_GET['subop'] == 'members'}-->
  173. <div id="content" style="width: 640px;">
  174. <div class="h_status">
  175. 选择相应的用户进行用户等级变更
  176. </div>
  177. <div class="h_status">
  178. <!--{if $list}-->
  179. <ul class="avatar_list">
  180. <!--{loop $list $value}-->
  181. <li><div class="avatar48"><a href="space.php?uid=$value[uid]" target="_blank"><!--{avatar($value[uid],small)}--></a></div>
  182. <p><a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a></p>
  183. <p><input type="checkbox" name="ids[]" value="$value[uid]">选定</p>
  184. </li>
  185. <!--{/loop}-->
  186. </ul>
  187. <div class="page">$multi</div>
  188. <!--{else}-->
  189. <div class="c_form">还没有相关成员</div>
  190. <!--{/if}-->
  191. </div>
  192. <p>
  193. <input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选 &nbsp;
  194. 设为
  195. <select name="newgrade">
  196. <!--{if $mtag[grade]==9}-->
  197. <option value="9">主群主</option>
  198. <option value="8">副群主</option>
  199. <!--{/if}-->
  200. <option value="1">明星成员</option>
  201. <option value="0">普通成员</option>
  202. <option value="-1">禁止发言</option>
  203. <option value="-2">待审核成员</option>
  204. <option value="-9">踢出群组</option>
  205. </select> &nbsp;
  206. <input type="submit" name="memberssubmit" value="提交" class="submit" />
  207. </p>
  208. </div>
  209. <div id="sidebar" style="width: 150px;">
  210. <div class="cat">
  211. <h3>成员级别</h3>
  212. <ul class="post_list line_list">
  213. <li<!--{if $_GET[grade]==-2}--> class="current"<!--{/if}-->><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members&grade=-2">待审核</a></li>
  214. <li<!--{if $_GET[grade]==0}--> class="current"<!--{/if}-->><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members&grade=0">普通成员</a></li>
  215. <li<!--{if $_GET[grade]==9}--> class="current"<!--{/if}-->><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members&grade=9">群主</a></li>
  216. <li<!--{if $_GET[grade]==8}--> class="current"<!--{/if}-->><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members&grade=8">副群主</a></li>
  217. <li<!--{if $_GET[grade]==1}--> class="current"<!--{/if}-->><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members&grade=1">明星成员</a></li>
  218. <li<!--{if $_GET[grade]==-1}--> class="current"<!--{/if}-->><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members&grade=-1">禁言成员</a></li>
  219. </ul>
  220. </div>
  221. </div>
  222. <!--{elseif $_GET['subop'] == 'member'}-->
  223. <h1>管理成员</h1>
  224. <a href="javascript:hideMenu();" title="关闭" class="float_del">关闭</a>
  225. <div id="$_GET[uid]" class="popupmenu_inner">
  226. <p>选择一个新身份</p>
  227. <p>
  228. <select name="grade">
  229. <option value="9"$grades[9]>主群主</option>
  230. <option value="8"$grades[8]>副群主</option>
  231. <option value="1"$grades[1]>明星成员</option>
  232. <option value="0"$grades[0]>普通成员</option>
  233. <option value="-1"$grades[-1]>禁止发言</option>
  234. <option value="-2"$grades[-2]>待审核成员</option>
  235. <option value="-9">踢出群组</option>
  236. </select>
  237. </p>
  238. <p class="btn_line">
  239. <input type="hidden" name="refer" value="$_SGLOBAL[refer]">
  240. <button name="membersubmit" type="submit" class="submit" value="true">确定</button>
  241. </p>
  242. </div>
  243. <!--{/if}-->
  244. <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
  245. </form>
  246. <!--{elseif $_GET[op]=='mtaginvite'}-->
  247. <h2 class="title"><img src="image/app/mtag.gif" />群组邀请</h2>
  248. <div class="tabs_header">
  249. <ul class="tabs">
  250. <li class="active"><a href="cp.php?ac=mtag&op=mtaginvite"><span>群组邀请</span></a></li>
  251. <li><a href="space.php?do=mtag&view=me"><span>返回我的群组</span></a></li>
  252. </ul>
  253. </div>
  254. <div class="h_status">
  255. 您的好友邀请您加入以下群组
  256. <!--{if $invites}-->
  257. <span class="pipe">|</span>
  258. <a href="cp.php?ac=mtag&op=inviteconfirm&tagid=0&r=0"><span>忽略所有邀请</span></a>
  259. <!--{/if}-->
  260. </div>
  261. <div class="c_form">
  262. <!--{if $invites}-->
  263. <table cellspacing="4" cellpadding="4" class="formtable">
  264. <!--{loop $invites $value}-->
  265. <tr>
  266. <td width="80">
  267. <div class="threadimg60"><a href="space.php?do=mtag&tagid=$value[tagid]" target="_blank"><img src="$value[pic]" width="60"></a></div></td>
  268. <td class="h_status">
  269. <p><a href="space.php?do=mtag&tagid=$value[tagid]" target="_blank" style="font-size:14px;font-weight:bold;">$value[tagname]</a></p>
  270. <div id="tag_$value[tagid]" style="padding:0.5em 0 0.5em 0;">
  271. <p>已有 $value[membernum] <!--{if $value[viewperm]}-->, 只对会员开放浏览<!--{/if}-->, 所属分类: $value[title]</p>
  272. 邀请好友<a href="space.php?uid=$value[fromuid]" target="_blank">{$_SN[$value[fromuid]]}</a>
  273. <br>邀请时间<!--{date('Y-m-d H:i', $value[dateline], 1)}-->
  274. <p style="padding:1em 0 0 0;">
  275. <a href="cp.php?ac=mtag&op=inviteconfirm&tagid=$value[tagid]&r=1" class="submit" onclick="ajaxget(this.href, 'tag_$value[tagid]');return false;">确认邀请</a>
  276. <a href="cp.php?ac=mtag&op=inviteconfirm&tagid=$value[tagid]&r=0" class="button" onclick="ajaxget(this.href, 'tag_$value[tagid]');return false;">忽略</a>
  277. </p>
  278. </div>
  279. </td>
  280. </tr>
  281. <!--{/loop}-->
  282. </table>
  283. <!--{else}-->
  284. 暂时没有新的群组邀请
  285. <!--{/if}-->
  286. </div>
  287. <!--{elseif $_GET[op]=='join'}-->
  288. <h1>加入群组</h1>
  289. <a href="javascript:hideMenu();" class="float_del" title="关闭">关闭</a>
  290. <div class="popupmenu_inner" id="__joinform_{$tagid}">
  291. <form id="joinform_{$tagid}" name="joinform_{$tagid}" method="post" action="cp.php?ac=mtag&op=join&tagid=$tagid">
  292. <p>确定加入该群组吗</p>
  293. <p class="btn_line">
  294. <input type="hidden" name="refer" value="$_SGLOBAL[refer]" />
  295. <input type="submit" name="joinsubmit" value="加入" class="submit" />
  296. </p>
  297. <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
  298. </form>
  299. </div>
  300. <!--{elseif $_GET[op]=='out'}-->
  301. <h1>退出群组</h1>
  302. <a href="javascript:hideMenu();" class="float_del" title="关闭">关闭</a>
  303. <div class="popupmenu_inner" id="__outform">
  304. <form id="outform" name="outform" method="post" action="cp.php?ac=mtag&op=out&tagid=$mtag[tagid]">
  305. <p>确定要退出该群组吗</p>
  306. <p class="btn_line">
  307. <input type="hidden" name="refer" value="$_SGLOBAL[refer]" />
  308. <input type="submit" name="outsubmit" value="退出" class="submit" />
  309. </p>
  310. <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
  311. </form>
  312. </div>
  313. <!--{elseif $_GET[op]=='apply'}-->
  314. <h1>申请群主</h1>
  315. <a href="javascript:hideMenu();" class="float_del" title="关闭">关闭</a>
  316. <div class="popupmenu_inner" id="__pmapplyform_{$tagid}">
  317. <form id="pmapplyform_{$tagid}" name="pmapplyform_{$tagid}" method="post" action="cp.php?ac=mtag&op=apply&tagid=$tagid">
  318. <table cellspacing="0" cellpadding="3">
  319. <tr><td>请输入您申请群主的理由您的申请会以短消息的方式发送给群主管理员</td></tr>
  320. <tr>
  321. <td><textarea id="message" name="message" cols="40" rows="4" tabindex="3" style="width: 400px; height: 150px;" onkeydown="ctrlEnter(event, 'pmsubmit_btn');"></textarea></td>
  322. </tr>
  323. <tr>
  324. <td>
  325. <input type="hidden" name="refer" value="$_SGLOBAL[refer]" />
  326. <input type="hidden" name="pmsubmit" value="true" />
  327. <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
  328. <!--{if $_SGLOBAL[inajax]}-->
  329. <input type="button" name="pmsubmit_btn" id="pmsubmit_btn" value="申请" class="submit" onclick="ajaxpost('pmapplyform_{$tagid}','',2000)" />
  330. <!--{else}-->
  331. <input type="submit" name="pmsubmit_btn" id="pmsubmit_btn" value="申请" class="submit" />
  332. <!--{/if}-->
  333. </td>
  334. </tr>
  335. </table>
  336. </form>
  337. </div>
  338. <!--{else}-->
  339. <h2 class="title"><img src="image/app/mtag.gif" />群组</h2>
  340. <div class="tabs_header">
  341. <ul class="tabs">
  342. <li class="active"><a href="cp.php?ac=mtag"><span>创建新群组</span></a></li>
  343. <li><a href="space.php?do=mtag&view=me"><span>返回我的群组</span></a></li>
  344. </ul>
  345. </div>
  346. <!--{if $_GET[op]=='multiresult'}-->
  347. <div class="c_form">
  348. <table cellspacing="0" cellpadding="0" class="formtable">
  349. <caption>
  350. <h2>您已经成功加入以下群组</h2>
  351. <p>现在您就可以立即访问以下群组与志同道合的朋友一起交流话题了</p>
  352. </caption>
  353. <!--{loop $mtags $value}-->
  354. <tr>
  355. <td><a href="space.php?do=mtag&tagid=$value[tagid]" target="_blank">$value[tagname]</a></td>
  356. <td>{$value[title]}</td>
  357. <td>$value[membernum] 位成员</td>
  358. <td><a href="space.php?do=mtag&tagid=$value[tagid]" class="submit">立即访问本群组</a></td>
  359. </tr>
  360. <!--{/loop}-->
  361. </table>
  362. </div>
  363. <!--{elseif $_GET[op]=='confirm'}-->
  364. <!--{if $findmtag}-->
  365. <div class="c_form">
  366. <table cellspacing="0" cellpadding="0" class="formtable">
  367. <tr><td width="90"><div class="threadimg60"><img src="$findmtag[pic]" width="60" height="60"></div></td><td>
  368. 群组 <a href="space.php?do=mtag&tagid=$findmtag[tagid]" target="_blank">$findmtag[tagname]</a> 已经存在
  369. <br>已有 $findmtag[membernum] 人参与
  370. <br><br><a href="space.php?do=mtag&tagid=$findmtag[tagid]" class="submit">访问群组</a>
  371. </td></tr>
  372. </table>
  373. </div>
  374. <!--{else}-->
  375. <form method="post" action="cp.php?ac=mtag" class="c_form">
  376. <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
  377. <!--{if $likemtags}-->
  378. <table cellspacing="0" cellpadding="0" class="formtable">
  379. <caption>
  380. <h2>相似热门群组推荐</h2>
  381. <p>以下热门的群组与您要创建的群组很接近您可以不用创建新群组而选择直接加入热门群组来与更多人一起讨论话题</p>
  382. </caption>
  383. <!--{loop $likemtags $value}-->
  384. <tr>
  385. <td><a href="space.php?do=mtag&tagid=$value[tagid]" target="_blank">$value[tagname]</a></td>
  386. <td>$value[membernum] 位成员</td>
  387. <td>
  388. <a href="space.php?do=mtag&tagid=$value[tagid]" target="_blank">立即访问本群组</a>
  389. <span class="pipe">|</span>
  390. <!--{if $value['joinperm'] < 2}-->
  391. <a href="cp.php?ac=mtag&op=join&tagid=$value[tagid]" id="mtag_like_$value[tagid]" onclick="ajaxmenu(event, this.id)">选择加入该群组</a>
  392. <!--{else}-->
  393. <strong>本群组需要群主邀请才可加入</strong>
  394. <!--{/if}-->
  395. </td>
  396. </tr>
  397. <!--{/loop}-->
  398. </table>
  399. <!--{/if}-->
  400. <table cellspacing="0" cellpadding="0" class="formtable">
  401. <caption>
  402. <h2>确认创建新群组吗</h2>
  403. </caption>
  404. <tr>
  405. <th width="120">要创建的群组名称</th>
  406. <td>$newtagname</td>
  407. </tr>
  408. <tr>
  409. <th width="120">群组分类</th>
  410. <td>$profield[title]</td>
  411. </tr>
  412. <tr>
  413. <td></td><td>
  414. <input type="hidden" name="tagname" value="$newtagname">
  415. <input type="hidden" name="fieldid" value="$fieldid">
  416. <input type="hidden" name="joinmode" value="1">
  417. <input type="submit" id="textsubmit" name="textsubmit" value="创建群组" class="submit"></td>
  418. </tr>
  419. </table>
  420. </form>
  421. <!--{/if}-->
  422. <!--{else}-->
  423. <!--{if $textarr}-->
  424. <form method="post" action="cp.php?ac=mtag" class="c_form">
  425. <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
  426. <table cellspacing="6" cellpadding="6" class="formtable">
  427. <caption>
  428. <h2>创建自己的新群组</h2>
  429. <p>您可以自由创建一个属于自己的群组并邀请好友前来进行交流讨论</p>
  430. </caption>
  431. <tr>
  432. <th width="120">要创建的群组名</th>
  433. <td><input type="text" name="tagname" value="" class="t_input"></td>
  434. </tr>
  435. <tr>
  436. <th>选择一个合适的分类</th>
  437. <td>
  438. <select name="fieldid">
  439. <!--{loop $textarr $value}-->
  440. <option value="$value[fieldid]">$value[title]</option>
  441. <!--{/loop}-->
  442. </select>
  443. </td>
  444. </tr>
  445. <tr>
  446. <th>&nbsp;</th>
  447. <td><input type="submit" name="textsubmit" value="创建群组" class="submit"></td>
  448. </tr>
  449. </table>
  450. </form>
  451. <!--{/if}-->
  452. <!--{if $choicearr}-->
  453. <form method="post" action="cp.php?ac=mtag" class="c_form">
  454. <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
  455. <table cellspacing="6" cellpadding="6" class="formtable">
  456. <caption>
  457. <h2>加入站点固定群组</h2>
  458. <p>您可以选择加入感兴趣的站点群组与更多志同道合的朋友一起讨论相关话题<br>对于已经加入的群组如果您想取消选择请访问相应群组首页后选择退出群组操作</p>
  459. </caption>
  460. <!--{loop $choicearr $fid $value}-->
  461. <tr>
  462. <th width="120">$value[title]</th>
  463. <td>
  464. <!--{if $value['formtype']=='multi'}-->
  465. <table><tr>
  466. <!--{loop $value['choice'] $sk $sv}-->
  467. <td><input type="checkbox" name="tagname[$fid][]" value="$sv" <!--{if $existmtag[$fid] && in_array($sv, $existmtag[$fid])}-->checked disabled<!--{/if}-->> <a href="space.php?do=mtag&fieldid=$fid&tagname=<!--{eval echo urlencode($sv);}-->" target="_blank">$sv</a></td>
  468. <!--{if $sk%3==2}--></tr><tr><!--{/if}-->
  469. <!--{/loop}-->
  470. </tr></table>
  471. <!--{else}-->
  472. <table><tr>
  473. <!--{loop $value['choice'] $sk $sv}-->
  474. <td><input type="radio" name="tagname[$fid]" value="$sv" <!--{if $existmtag[$fid] && in_array($sv, $existmtag[$fid])}--> checked <!--{/if}--> <!--{if $existmtag[$fid]}-->disabled<!--{/if}-->> <a href="space.php?do=mtag&fieldid=$fid&tagname=<!--{eval echo urlencode($sv);}-->" target="_blank">$sv</a></td>
  475. <!--{if $sk%3==2}--></tr><tr><!--{/if}-->
  476. <!--{/loop}-->
  477. </tr></table>
  478. <!--{/if}-->
  479. </td>
  480. </tr>
  481. <!--{/loop}-->
  482. <tr>
  483. <th>&nbsp;</th>
  484. <td><input type="submit" name="choicesubmit" value="加入群组" class="submit"></td>
  485. </tr>
  486. </table>
  487. </form>
  488. <!--{/if}-->
  489. <form method="get" action="space.php" class="c_form">
  490. <table cellspacing="6" cellpadding="6" class="formtable">
  491. <caption>
  492. <h2>搜索现有群组</h2>
  493. <p>可以搜索一下看看有没有自己感兴趣的群组并申请成为成员</p>
  494. </caption>
  495. <tr>
  496. <th width="120">搜索群组名</th>
  497. <td>
  498. <input name="searchkey" value="" class="t_input" type="text">
  499. </td>
  500. </tr>
  501. <tr>
  502. <th>&nbsp;</th>
  503. <td><input name="searchsubmit" value="搜索群组" class="submit" type="submit"></td>
  504. </tr>
  505. </table>
  506. <input type="hidden" name="searchmode" value="1" />
  507. <input type="hidden" name="do" value="mtag" />
  508. <input type="hidden" name="view" value="hot" />
  509. </form>
  510. <!--{/if}-->
  511. <!--{/if}-->
  512. <!--{template footer}-->