<?php include pTemplate("header");?>
<link href="<?php echo PUBURL;?>css/editor.css" rel="stylesheet" type="text/css" />
     <div id="loadingbar"></div>
     
     <div id="main" class="mainPanel wd txt_left">
     
     
     <div class="f_size" name="compose">
			<div class="notice_newstyle">
				<form method="post" action="<?php echo SITEURL;?>?mod=group&do=group&c=addtopic" enctype="multipart/form-data">
                
                <input name="groupid" type="hidden" value="<?php echo $groupid;?>">
                
                <input name="topicid" type="hidden" value="<?php echo $topicid;?>">


					<div class="path b_size"><ul>
        <li class="home" style="z-index:100;"><a href="<?php echo SITEURL;?>?mod=group&do=group">讨论组</a></li>
        <li style="z-index:2;"><a href="<?php echo SITEURL;?>?mod=group&do=group&cateid=<?php echo $str_groupcate['cateid'];?>"><?php echo $str_groupcate['catename'];?></a></li>
        <li style="z-index:1;"><a href="<?php echo SITEURL;?>?mod=group&do=group&groupid=<?php echo $str_group['groupid'];?>"><?php echo $str_group['groupname'];?></a></li>
         <li style="z-index:0;"><a href="javascript:;">编辑话题</a></li>
        </ul>
        </div>
					<div name="content" class="content" style="">
						<div id="sendtimepadding" style="margin-top:15px; overflow:hidden; _zoom:1;">
							<div id="rightArea" style="float:right;width:180px;margin-top:2px;">
								<div style="padding:0;background:#fff;overflow:auto;height:384px;" class="bd">
									<div id="structContent" class=""></div>
									<div id="structList" style="display:none;"></div>
									<div class="clr"></div>
								</div>
							</div>
		
							<div style="margin-right:200px;_margin-right:50px;_float:left;">	
								<div>
																		<table cellpadding="0" cellspacing="0" border="0" class="i" style="width:100%;margin-bottom:5px;*margin-bottom:0;">
										<tbody><tr>
											<td nowrap="" style="text-align:right;padding-top:5px;width:60px;display:table" valign="top">
												<a id="toButton">话题标题</a>
											</td>
											<td class="content_title" valign="top">
											<input id="title" name="title" type="text" autocomplete="off" tabindex="2" class="txt input_wd" style="padding-top:2px;padding-bottom:2px;" onfocus="showSubjectMsg(false);" value="<?php echo $content['title'];?>">
											</td>
										</tr>
									</tbody></table>

																		<table cellpadding="0" cellspacing="0" border="0" class="i" style="width:100%;margin-bottom:5px;*margin-bottom:0;">
										<tbody><tr>
											<td nowrap="" style="text-align:right;padding-top:5px;width:60px;" valign="top">
												话题类型
											</td>
											<td style="text-align: left; margin-left:10px;">

                                                &nbsp;&nbsp;<input type="radio" name="isask" checked="checked" value="0">普通

                                                <input type="radio" name="isask" value="1">问答
											</td>
										</tr>
									</tbody></table>
								</div>
		
								<div>
								</div>

								<div style="" id="AttList">
									<div class="input_title" style="display:none;padding-top:5px;margin-bottom:0;" id="editor_bgmusic_container"></div>
					
									<table border="0" cellpadding="0" cellspacing="0" width="100%">
										<tbody><tr>
											<td nowrap="" style="width:60px;"></td>
											<td nowrap="" class="content_title" style="font-family:Tahoma;" valign="top">
												<div id="exist_file">
																									</div>
												<div id="filecell"></div>
											</td>
										</tr>
									</tbody></table>
								</div>
			
								<div style="">
									<table cellpadding="0" class="i" cellspacing="0" border="0" style="width:100%;">
										<tbody><tr>
											<td nowrap="" style="text-align:right;padding-top:4px;width:60px;" valign="top">
												话题正文
											</td>
											<td class="content_title" style="padding-top:1px!important;padding-top:0;padding-right:0;" valign="top">
											<textarea id="J_ForumPostCon" name="content" class="b-textarea" style="display: none;" placeholder="请输入话题内容"><?php echo $content['content'];?></textarea>
												
											</td>
										</tr>
									</tbody></table>
								</div>
                                <div style="">
									<table cellpadding="0" class="i" cellspacing="0" border="0" style="width:100%;">
										<tbody><tr>
											<td nowrap="" style="text-align:right;padding-top:4px;width:60px;" valign="top">
												
											</td>
											<td class="content_title" style="padding-top:1px!important;padding-top:0;padding-right:0;" valign="top">
												<div class="tuntron-editor-mediaViewWrap clearfix" style="display:none"></div>
                                                
											</td>
										</tr>
									</tbody></table>
								</div>

																<pre id="source" style="display:none;"></pre>
							</div>	
							<div class="clr"></div>
						</div>
					</div>
					<div class="submitColumn tool_action" style="height:55px;*height:50px;padding:0;">
						<div class="left" style="margin-top:13px;">
                        
							<input id="J_ForumPostEditBtn" type="submit" style="margin-left:102px;" class="btnSubmit" value="发布">
							<input id="savebtn" type="button" class="btn btnNormal left" value="存草稿">
							<a href="<?php echo SITEURL;?>?mod=group&do=group" class="btn btnNormal left">取消</a>
						</div>
					</div>
				</form>
			</div>
		</div>
    
</div>

<?php include pTemplate("footer");?>
 <script src="<?php echo PUBURL;?>js/jquery.upload-1.0.js"></script>
 <script src="<?php echo PUBURL;?>js/tuntron-editor-min.js" type="text/javascript"></script>

 <script>
	$.tuntron.editor = $.tuntron.Editor({
		formId:"J_PostCmtArea",
		btnFontSize:{
			visible:12
		}
	});
	
	</script>

</body>
</html>