<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="<?php echo $_G['siteinfo'][Sitedesc];?>" />
<title><?php echo $Modname;?></title>
<link rel="stylesheet" type="text/css" href="<?php echo PUBURL;?>css/help.css" />
</head>
<body>
<div class="heading">
	<div class="logo"><a href="<?php echo SITEURL;?>?mod=help"><img src="<?php echo PUBURL;?>images/helplogo.gif" /></a></div>
		<div class="topLinks"><a href="#" target="_blank">用户手册</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://wpa.qq.com/msgrd?v=3&uin=1121251729&site=qq&menu=yes" target="_blank">意见反馈</a>&nbsp;&nbsp;|&nbsp;&nbsp;<span style="color:#1E5494;">服务热线：<?php echo $_G['siteinfo'][SiteTel];?></span></div>
	</div>
<div class="searchArea">
<form method="post" action="/cgi-bin/help" id="formSearch" >
	<input type="hidden" name="subtype" value="2" />
	<span class="bold">问题搜索</span> 
	<input name="searchkey" id="iptKey" type="text" value=''  style='color:#000' class="textInput"/> 
	<input type="submit" value="搜 索" class="doSearch" onclick="if(document.getElementById('iptKey').value==''){alert('请填写要搜索的关键字');document.getElementById('iptKey').focus();return false;};"/>
</form>	
</div>
<div class="mainContent">
	<div class="catalog">
		<ul>
			
						<li <?php if($catid=='new') { ?>class="active"<?php } ?>><a href="<?php echo SITEURL;?>?mod=help&do=list&catid=new">最新问题</a></li>
						<li <?php if($catid=='hot') { ?>class="active"<?php } ?>><a href="<?php echo SITEURL;?>?mod=help&do=list&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=help&do=list&catid=<?php echo $item['catid'];?>"><?php echo $item['name'];?></a></li>
						<?php }?>	
								
		</ul>
	</div>
	<div class="content" style="" id="faqDetail">
		<div class="return" style="display:none;"><a href="/cgi-bin/help">首页</a> » <a href="/cgi-bin/help?id=26">其他邮箱</a></div>
		
		<h2><?php echo $content['title'];?></h2>
		<div class="answer" id="J_PostArtical">
		<?php echo $content['content'];?>
		</div>
	</div>
	
	<div class="content" style='display:none' id='faqList'>
		<div class="return" style="display:none;">><a href="/cgi-bin/help">首页</a>&#187;</div>
		<h2></h2>
		<ul class="qList">
				</ul>
	</div>
	
	<div class="content" style='display:none' id='faqDetail'>
		<div class="return" style="display:none;"><a href="/cgi-bin/help">首页</a> &#187; <a href="/cgi-bin/help?id="></a></div>
		
		<h2></h2>
		<div class="answer">
				</div>
	</div>
	

	<div class="content" id="faqResult" style="display:none"> 
	<form method="post" action="/cgi-bin/help" id="formResult">
		<input type="hidden" name="subtype" value="2" />
		<input type="hidden" name="searchkey" value=""/>
		<input type="hidden" name="page" value=""/>
		<input type="hidden" name="kenbin" value="" />
			
		<div class="searchNum">
								</div>

		<div id="result" class="result" style="display:none;">
						
				<div style="margin:30px 0 0; text-align:right;">
					第&nbsp;-&nbsp;条&nbsp;&nbsp;共&nbsp;&nbsp;条问题
									</div>
			<div class="operateBarContainer">
			</div>
		</div>
	</form>
	</div>

</div>
<script type="text/javascript">

	TJ = { 
	
		userId:"<?php echo $_CO['uid'];?>",

		nick:"<?php echo $_CO['username'];?>",

		path:"<?php echo SITEURL;?>",
		
		mod:"<?php echo $mod;?>",
		
	}
</script>
<script src="<?php echo PUBURL;?>js/jquery-1.6.4.min.js" type="text/javascript"></script>
<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>
