<?php
require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Head_0.php');


?>
<!-- ------ #Ssheet ------ -->
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Topics.css" rel="stylesheet" />

<!-- ------ #Jscript ------ -->
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Jscript/User/Topics.js" type="text/javascript" ></script>


<!-- ------ #Navigation ------ -->
<div class="OutFrame_A Navigation_0"><div><a href="../../../Plus/m_default/Cms/default.php" class="Link1 FBlack1">首页</a>
<span>>></span> <a href="../../../Plus/m_default/Cms/topicsHome.php" class="Link1 FBlack1">专题首页</a>
<?php
$Coun0=count($tmpDefault->sNavigation)-2;
while ($Coun0>-1) { ?>
<span>>></span> <a href="../../../Plus/m_default/Cms/askDetail.php?ID=<?php echo ($tmpDefault->sNavigation[$Coun0]['castID']); ?>" class="Link1 FBlack1"><?php echo ($tmpDefault->sNavigation[$Coun0]['castName']); ?></a>
<?php $Coun0--; } ?>
<span>>></span> <a href="#Here" class="Link1 FBlack1"><?php echo($tmpDefault->sMetaTitle); ?></a></div></div>
<!-- ------ #Content ------ -->
<div class="OutFrame_A">




<?php if(count($tmpDefault->sDetailData)>0){ ?>
<!-- ------ #DETAIL ------ -->
<h1 class="TopicsD_1_2"><?php echo($tmpDefault->sDetailData[0]['ctotName']); ?></h1>
<div class="TopicsD_1_3"><a href="#Here"><img src="<?php echo($tmpDefault->sDetailData[0]['ctoctSourceR01']); ?>" /></a></div>
<div class="TopicsD_1_4"><?php echo($tmpDefault->sDetailData[0]['ctoctContent']); ?></div><br />
<!-- ------ #DISCUSS ------ -->
<!-- #DiscussData -->
<div class="DocDe_39"><a href="#Here" class="Link1 FBlack2"><?php echo ($tmpDefault->sMetaTitle); ?></a> 共有<span class="DocDe_41"><?php echo ($tmpDefault->sRecordCount); ?></span>位网友对本文章发表了自己的看法，<a href="#DiscussForm" class="Link3 FGreen1">也来发表您的意见</a></div>
<div id="discussBox"><!--S.discussBox-->
<?php $Coun0=1; foreach ($tmpDefault->sDiscussData as $Row0){ ?>
<div class="DocDe_42">
<div class="DocDe_43"><span>#<?php echo ($Coun0); ?></span> 网友：<?php echo ($Row0['cddctPublisher_Name']); ?> 发表于 <?php echo ($Row0['cddtCreateTime']); ?></span></div>
<div class="DocDe_44"><?php echo ($Row0['cddctContent']); ?></div>
</div>
<?php $Coun0++; } ?>
<!-- #Pagebutton -->
<br /><div class="DocDe_45"><?php $tmpDefault->sPButton->showPage(); ?></div><br />
<!--sendRequest--><!--E.discussBox--></div>
<!-- #DiscussBox -->
<div class="DocDe_39"><a name="DiscussForm" href="#Here" class="Link1 FBlack2">网友评论：</a> 共有<span class="DocDe_41"><?php echo ($tmpDefault->sDetailData[0]['ctoctCount_Discuss']); ?></span>位网友对本文章发表了自己的看法</div>
<div class="DocDe_49"><table cellpadding="0" cellspacing="8">
<?php
$tmpFlag='Normal';
foreach ($tmpDefault->sUiDescription_0 as $Row0){
	$tmpDefault->DefUiPanel($Row0,$tmpFlag);
	$tmpControls->getControl($Row0);
} ?>
<tr><td></td><td class="FBlack4">网友评论只表达了其个人看法，并不表示本站同意其观点。</td></tr>
<tr><td></td><td><input type="submit" value="提交评论" onclick="tmpCommon.setActionType('','DAdd','','ID=<?php echo($tmpDefault->sMainID); ?>');" /></td></tr>
</table></div><br />






<?php }else{ ?>
<div class="Error_51"><br /><br /><br /><br /><br /><br /><br />
<div class="Error_52">您所查看的专题并不存在。</div>
<div class="Error_53">您所查看的专题并不存在，您可以查看其它专题：<br />
	<?php foreach ($tmpDefault->sOtherData as $Row0){ ?>
	<a href="../../../Plus/m_default/Cms/topicsDetail.php?ID=<?php echo ($Row0['ctotID']); ?>" class="FPoint0 Link1 FBlack2" target="_blank"><?php echo ($Row0['ctotName']); ?></a><span class="Error_54"><?php echo ($tmpDefault->sCode->TimeFormat($Row0['ctotCreateTime'],0)); ?></span><br />
	<?php } ?></div>
<br /><br /><br /><br /><br /><br /><br /></div>
<?php } ?>
</div>
<!-- ------ #SCRIPT ------ -->
<script type="text/javascript">
var tmpTopics=new Topics();

</script>
<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/End_0.php'); ?>