<?php include pTemplate("header");?>
     <div id="loadingbar"></div>
     
     <div id="main" class="mainPanel wd txt_left">
    <div class="f_size"><div class="notice_newstyle"><div class="new_title_box"><h1 class="new_title left">帮助管理</h1><div class=" right"><a class="btn btnNormal bt_upload" opt="helpcat" href="javascript:'';" title="">添加分类</a><a class="btn btnNormal bt_upload " href="<?php echo SITEURL;?>?mod=system&do=help&c=addhelp<?php if($catid) { ?>&catid=<?php echo $catid;?><?php } ?>">添加帮助</a></div><div class="info left">(共20条帮助)</div><div class="caption" style="text-align:right;display:none;">
					
	
</div></div>
<div class="content">
<div class="catalog">
		<ul>
			
						<li <?php if($catid=='new') { ?>class="active"<?php } ?>><a href="<?php echo SITEURL;?>?mod=system&do=help&catid=new">最新问题</a></li>
						<li <?php if($catid=='hot') { ?>class="active"<?php } ?>><a href="<?php echo SITEURL;?>?mod=system&do=help&catid=hot">热门问题</a></li>
						<li class="spl"></li>
						<?php foreach((array)$help_cat as $key=>$item) {?>
						<li <?php if($catid==$item['catid']) { ?>class="active"<?php } ?>><a href="<?php echo SITEURL;?>?mod=system&do=help&catid=<?php echo $item['catid'];?>"><?php echo $item['name'];?></a></li>
						<?php }?>	
                        
                        
		</ul>
        
	</div>

<table class="help_table">

<tbody>
<tr style="cursor: auto"><td width="33px" align="left"></td><td width="610px" align="left"><h2><?php echo $content['title'];?></h2></td></tr>
</tbody>

<tbody>

<tr style="cursor:auto;"><td width="33px" align="left">
</td>
<td width="650px" style="font-size:14px; line-height:24px;" align="left">

<div id="J_PostArtical"><?php echo $content['content'];?></div>

</td>
</tr>

</tbody>
</table>
<div class="clr"></div>
</div>
</div></div>
</div>

<?php include pTemplate("footer");?>
<script src="<?php echo PUBURL;?>js/tuntron-editor-min.js" type="text/javascript"></script>
<div id="J_ForumPostCon" style="display:none"></div>
 <script>
	$.tuntron.editor = $.tuntron.Editor({
		formId:"J_PostCmtArea",
		btnFontSize:{
			visible:12
		}
	});
	$.tuntron.editor.mediaImgList = <?php echo G_class('image_file')->get_mediaImgList($content['content'])?>;
						$.tuntron.editor.mediaVideoList = null;
</script>
<script src="<?php echo PUBURL;?>js/ShowContent.js" type="text/javascript"></script>
<script>$(".tuntron-editor-wrap").remove();</script>
</body>
</html>