<?php
require($netsFileConfig['bussinessTemplatePackagePath_Real'].'Component/Head_0.php');
require($tmpDefault->sysFileConfig['PathRoot'].'Cache/DbCache/Adv/Cache_0.php');



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

<!-- ------ #Jscript ------ -->
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Jscript/User/Cms.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>
<?php
$Coun0=count($tmpDefault->sNavigation)-2;
while ($Coun0>-1) { ?>
<span>>></span> <a href="../../../Plus/m_default/Cms/docList.php?ID=<?php echo ($tmpDefault->sNavigation[$Coun0]['cdgtID']); ?>" class="Link1 FBlack1"><?php echo ($tmpDefault->sNavigation[$Coun0]['cdgtName']); ?></a>
<?php $Coun0--; } ?>
<span>>></span> <a href="#Here" class="Link1 FBlack1"><?php echo($tmpDefault->sMetaTitle); ?></a></div></div>
<!-- ------ #Content ------ -->
<div class="OutFrame_A">
<!-- ------ #Center ------ -->
<div class="Frame_C_Doc">




<?php if(count($tmpDefault->sDetailData)>0){ ?>
<div class="DocDe_0">
<!-- #Content -->
<h1 class="DocDe_1"><?php echo ($tmpDefault->sDetailData[0]['cdtName']); ?></h1>
<div class="DocDe_2">
	<span class="DocDe_51">发布时间：</span><span class="DocDe_52"><?php echo ($tmpDefault->sDetailData[0]['cdtCreateTime']); ?></span>
	<span class="DocDe_51">来源：</span><span class="DocDe_52"><?php echo ($tmpDefault->sDetailData[0]['cdctFrom']); ?></span>
	<span class="DocDe_51">关注：</span><span class="DocDe_52"><?php echo ($tmpDefault->sDetailData[0]['cdctCount_Views']); ?></span></div>
<div class="DocDe_3"><a name="IMG" class="FStrong">文档概要：</a><?php echo ($tmpDefault->sDetailData[0]['cdctSmallContent']); ?></div>
<!-- ### -->
<div id="detailImgMessage" class="DHidden">
<div class="DocDe_32">这已是最后一张图片，您可以：</div>
<table class="DocDe_33" cellpadding="0" cellspacing="4"><tr>
<td class="DocDe_35"><a href="#Here" onclick="tmpCms.imgMessageCancel();" class="Link2 FWhite1">取消</a></td>
<td class="DocDe_35"><a href="#Here" onclick="tmpCms.imgSet(0);" class="Link2 FWhite1">重新浏览</a></td>
<?php if(count($tmpDefault->sNextData)==1){ ?><td class="DocDe_35"><a href="../../../Plus/m_default/Cms/docDetail.php?ID=<?php echo ($tmpDefault->sNextData[0]['cdtID']); ?>" class="Link2 FWhite1">查看下组图片</a></td><?php } ?>
</tr></table>
</div>
<!-- ### -->
<?php $tmpAR0=explode($tmpDefault->sysSPLIT4,$tmpDefault->sDetailData[0]['cdctSources']); ?>
<div class="DocDe_17">
<table class="DocDe_18" cellpadding="4" cellspacing="4"><tr>
<td><a href="#Here" onclick="tmpCms.imgPrevious();"><img id="detailImgMButton_AA" src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Cms/3_A.jpg" /></a></td>
<td class="DocDe_19"><a href="#Here" onclick="tmpCms.imgNext();"><img id="detailImgBox" src="<?php echo($tmpDefault->sCode->ImgExist($tmpAR0[0],$tmpDefault->sysFileConfig['sysUiCoreRoot'].'Ui/Common/Img/Common/Noimg.jpg',560,0)); ?>" style="width:<?php echo($tmpDefault->sCode->sImgWidth); ?>px;" /></a></td>
<td><a href="#Here" onclick="tmpCms.imgNext();"><img id="detailImgMButton_AB" src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Cms/3_B.jpg" /></a></td>
</tr></table>
<table class="DocDe_20" cellpadding="4" cellspacing="4"><tr>
<td><a href="#Here" onclick="tmpCms.imgPrevious();"><img id="detailImgMButton_BA" src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Cms/5_A.jpg" /></a></td>
<td class="DocDe_21">

<table cellpadding="1" cellspacing="0"><tr>
<?php
$Coun0=0;
$tmpCount=count($tmpAR0);
foreach($tmpAR0 as $Row0){ ?>
<td id="detailImgButton_A_<?php echo($Coun0); ?>" class="DocDe_24"><a href="#Here" onclick="tmpCms.imgSet(<?php echo($Coun0); ?>);"><img src="<?php echo($tmpDefault->sCode->ImgExist($Row0,$tmpDefault->sysFileConfig['sysUiCoreRoot'].'Ui/Common/Img/Common/Noimg.jpg',70,0)); ?>" style="width:<?php echo($tmpDefault->sCode->sImgWidth); ?>px;" /></a>
	<input id="detailImgButton_Source_<?php echo($Coun0); ?>" name="detailImgButton_Source_<?php echo($Coun0); ?>" value="<?php echo($tmpDefault->sCode->ImgExist($Row0,$tmpDefault->sysFileConfig['sysUiCoreRoot'].'Ui/Common/Img/Common/Noimg.jpg',560,0)); ?>" type="hidden" />
	<input id="detailImgButton_Width_<?php echo($Coun0); ?>" name="detailImgButton_Width_<?php echo($Coun0); ?>" value="<?php echo($tmpDefault->sCode->sImgWidth); ?>" type="hidden" /></td><td class="DocDe_27"></td>
<?php $Coun0++; } ?>
</tr><tr>
<?php
$Coun0=0;
$tmpCount=count($tmpAR0);
foreach($tmpAR0 as $Row0){ ?>
<td id="detailImgButton_B_<?php echo($Coun0); ?>" class="DocDe_25"><?php echo($Coun0+1); ?><span class="DocDe_27">/</span><?php echo($tmpCount); ?></td><td></td>
<?php $Coun0++; } ?>
</tr></table>

</td>
<td><a href="#Here" onclick="tmpCms.imgNext();"><img id="detailImgMButton_BB" src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Cms/5_B.jpg" /></a></td>
</tr></table>
<div class="DHidden DocDe_22"><div class="DocDe_23"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Cms/6.jpg" /></div></div>
</div>

<script type="text/javascript">
tmpCms.sImgCount=<?php echo($tmpCount); ?>;
tmpCms.imgSet(0);
</script>

<!-- ### -->
<div class="DocDe_16">文档正文：</div>
<div class="DocDe_4"><?php echo ($tmpDefault->sDetailData[0]['cdctContent']); ?></div>
<div><?php if($tmpDefault->sDetailData[0]['cdctPageAble']==1){ $tmpDefault->sCPButton->showPage(); } ?></div>
<!-- #Evaluation -->
<br /><div class="DocDe_5"><table><tr>
<?php
$tmpAR0=explode($tmpDefault->sysSPLIT4,$tmpDefault->sysFileConfig['CmsDocEvaluationSetting']);
$tmpAR1=explode($tmpDefault->sysSPLIT1,$tmpDefault->sDetailData[0]['cdctEvaluation']);
foreach($tmpAR1 as $Row0){
	$tmpAR1=explode($tmpDefault->sysSPLIT1,$Row0); ?>
<td class="DocDe_6"><?php echo($Row0); ?><br /><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/Icon/Common/A_S1.gif" style="height:<?php echo($Row0); ?>px;" /></td>
<?php } ?>
</tr><tr>
<?php
$Coun0=0;
foreach($tmpAR0 as $Row0){
	$tmpAR2=explode($tmpDefault->sysSPLIT1,$Row0); ?>
<td class="DocDe_7"><a href="<?php echo($tmpDefault->sysPage); ?>?ActionType=DEvaluation&DEvaluation=<?php echo($Coun0); ?>&ID=<?php echo($tmpDefault->sMainID); ?>" class="Link1 FBlack2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot'].$tmpAR2[1]); ?>" /><br /><?php echo($tmpAR2[0]); ?></a></td>
<?php $Coun0++; } ?></tr></table></div>
<br /><br /><br />
<!-- #Other -->
<div class="DocDe_8">其它文章：</div>
<div class="DocDe_9">
上一篇：<?php if(count($tmpDefault->sPreviousData)==1){ ?><a href="../../../Plus/m_default/Cms/docDetail.php?ID=<?php echo ($tmpDefault->sPreviousData[0]['cdtID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo ($tmpDefault->sPreviousData[0]['cdtName']); ?></a> <span class="DocDe_10"><?php echo ($tmpDefault->sCode->TimeFormat($tmpDefault->sPreviousData[0]['cdtCreateTime'],0)); ?></span><?php }else { ?><span class="FBlack4">没有了</span><?php } ?><br />
下一篇：<?php if(count($tmpDefault->sNextData)==1){ ?><a href="../../../Plus/m_default/Cms/docDetail.php?ID=<?php echo ($tmpDefault->sNextData[0]['cdtID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo ($tmpDefault->sNextData[0]['cdtName']); ?></a> <span class="DocDe_10"><?php echo ($tmpDefault->sCode->TimeFormat($tmpDefault->sNextData[0]['cdtCreateTime'],0)); ?></span><?php }else { ?><span class="FBlack4">没有了</span><?php } ?><br />
</div><br />
<div class="DocDe_8">相关文章：</div>
<div class="DocDe_9"><?php foreach ($tmpDefault->sOtherData as $Row0){ ?>
<a href="../../../Plus/m_default/Cms/docDetail.php?ID=<?php echo ($Row0['cdtID']); ?>" class="FPoint0 Link1 FBlack2" target="_blank"><?php echo ($Row0['cdtName']); ?></a> <span class="DocDe_10"><?php echo ($tmpDefault->sCode->TimeFormat($Row0['cdtCreateTime'],0)); ?></span><br />
<?php } ?></div><br />
<!-- ------ #Discuss ------ -->
<!-- #DiscussData -->
<div class="DocDe_39"><a href="../../../Plus/m_default/Cms/docDetail.php?ID=<?php echo ($tmpDefault->sMainID); ?>" class="Link1 FBlack2"><?php echo ($tmpDefault->sMetaTitle); ?></a><br />
	共有<span class="DocDe_41"><?php echo ($tmpDefault->sRecordCount); ?></span>位网友对本文章发表了自己的看法，<a href="#DiscussBox" 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><?php $tmpDefault->sPButton->showPage(); ?></div><br />
<!--sendRequest--><!--E.discussBox--></div>
<!-- #DiscussBox -->
<table class="DocDe_45" cellpadding="0" cellspacing="0"><tr>
<td><a name="DiscussBox" href="#Here" class="Link1 FBlack2">网友评论：</a></td>
<td>共有<span class="DocDe_41"><?php echo ($tmpDefault->sDetailData[0]['cdctCount_Discuss']); ?></span>位网友对本文章发表了自己的看法</td>
</tr></table>
<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>




<?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/docDetail.php?ID=<?php echo ($Row0['cdtID']); ?>" class="FPoint0 Link1 FBlack2" target="_blank"><?php echo ($Row0['cdtName']); ?></a><span class="Error_54"><?php echo ($tmpDefault->sCode->TimeFormat($Row0['cdtCreateTime'],0)); ?></span><br />
	<?php } ?></div>
<br /><br /><br /><br /><br /><br /><br /></div>
<?php } ?>
</div></div>
<!-- ------ #Right ------ -->
<div class="Frame_R_Doc"><?php require($netsFileConfig['bussinessTemplatePackagePath_Real'].'Component/Menu_Doc_0.php'); ?></div>
<div class="DClear"></div></div>
<?php require($netsFileConfig['bussinessTemplatePackagePath_Real'].'Component/End_0.php'); ?>