<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Head_0.php'); ?>
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Ask.css" rel="stylesheet" />
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/JScript/User/Ask.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/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">
<!-- ------ #MENU ------ -->
<div class="Frame_M"><?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Menu_Ask_0.php'); ?></div>
<!-- ------ #CENTER ------ -->
<div class="Ask_C">
<!-- ### -->
<ul class="Ask_Box_1">
<li class="Ask_Box_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/1.jpg" /></li>
<li class="Ask_Box_3"><a href="../../../Plus/m_default/Cms/askList.php" class="Link1 FBlack2">精彩话题</a></li>
<li class="Ask_Box_5"><a href="../../../Plus/m_default/Cms/askList.php" class="Link1 FBlue1">更多>></a></li>

<li class="DClear"></li></ul>
<div class="Ask_Box_4">
<?php
$tmpParid=2;
$tmpSQL=' SELECT A.casgtID,A.casgtName,B.casgctSourceR00,B.casgctSmallContent
	FROM {Nets.TableHead}cmsaskgroup AS A
	INNER JOIN {Nets.TableHead}cmsaskgroupcont AS B ON B.casgctIndexID=A.casgtID
	WHERE 1=1 AND A.casgtRecycle=0 AND A.casgtChecked>1 AND A.casgtParid={Nets.Parid}
	ORDER BY A.casgtOrderBy DESC,A.casgtID DESC LIMIT 0,3 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$tmpParid,$tmpSTR);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<ul id="mainSlide_Box_<?php echo($Coun0); ?>" class="DHidden">
<li class="AskH_0_2"><a href="../../../Plus/m_default/Cms/askList.php?ID=<?php echo($Row0['casgtID']); ?>"><img src="<?php echo($tmpDefault->sCode->ImgExist($Row0['casgctSourceR00'],'',0,0)); ?>" /></a></li>
<li class="AskH_0_3">
<?php
$tmpSQL=' SELECT A.castID,A.castName,A.castParid,A.castState,A.castCode,B.casctContent
	FROM {Nets.TableHead}cmsask AS A
	INNER JOIN {Nets.TableHead}cmsaskcont AS B ON B.casctIndexID=A.castID
	WHERE 1=1 AND A.castRecycle=0 AND A.castChecked>1 AND A.castParid={Nets.Parid}
	ORDER BY A.castOrderBy DESC,A.castID DESC LIMIT 0,6 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$Row0['casgtID'],$tmpSTR);
$tmpData1=$tmpDefault->sDb->Search($tmpSTR);
$Coun1=0;
foreach($tmpData1 as $Row1){ if($Coun1==0){ ?>
<div class="AskH_0_5">
	<?php foreach($tmpDefault->sParid1 as $Row2){ if($Row1['castParid']==$Row2['Value']){ ?>
	<a href="../../../Plus/m_default/Cms/askList.php?ID=<?php echo($Row2['Value']); ?>" class="Link1 AskH_0_4" target="_blank">[<?php echo($Row2['Text']); ?>]</a>
	<?php } } ?>
	<a href="../../../Plus/m_default/Cms/askDetail.php?ID=<?php echo($Row1['castID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($tmpDefault->sCode->SubString($Row1['castName'],0,18)); ?></a></div>
<div class="AskH_0_6"><?php echo($tmpDefault->sCode->SubString($tmpDefault->sCode->FilterHTML($Row1['casctContent'],'',0),0,60)); ?>...</div>
<?php }else { ?>
	<?php foreach($tmpDefault->sParid1 as $Row2){ if($Row1['castParid']==$Row2['Value']){ ?>
	<a href="../../../Plus/m_default/Cms/askList.php?ID=<?php echo($Row2['Value']); ?>" class="Link1 AskH_0_4" target="_blank">[<?php echo($Row2['Text']); ?>]</a>
	<?php } } ?>
	<a href="../../../Plus/m_default/Cms/askDetail.php?ID=<?php echo($Row1['castID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($tmpDefault->sCode->SubString($Row1['castName'],0,21)); ?></a><br />
<?php } $Coun1++; } ?>
</li>
<li class="DClear"></li></ul>
<?php $Coun0++; } ?>

<div class="AskH_0_7">
<?php
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<table id="mainSlide_Button_<?php echo($Coun0); ?>" onmouseover="tmpAsk.OnHomeSlide(<?php echo($Coun0); ?>);" class="AskH_0_8_B" cellpadding="0" cellspacing="6"><tr>
<td class="AskH_0_9"><a href="../../../Plus/m_default/Cms/askList.php?ID=<?php echo($Row0['casgtID']); ?>" target="_blank"><img src="<?php echo($tmpDefault->sCode->ImgExist($Row0['casgctSourceR00'],'',0,0)); ?>" /></a></td>
<td class="AskH_0_10"><a href="../../../Plus/m_default/Cms/askList.php?ID=<?php echo($Row0['casgtID']); ?>" class="Link1 FBlack2 FStrong" target="_blank"><?php echo($Row0['casgtName']); ?></a><br /><?php echo($Row0['casgctSmallContent']); ?></td>
</tr></table>
<?php $Coun0++; } ?>
<div class="DClear"></div></div>


</div>

<!-- ### -->
<ul class="Ask_Box_1">
<li class="Ask_Box_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/1.jpg" /></li>
<li class="Ask_Box_3"><a href="../../../Plus/m_default/Cms/askList.php" class="Link1 FBlack2">精彩分类词条</a></li>
<li class="Ask_Box_5"><a href="../../../Plus/m_default/Cms/askList.php" class="Link1 FBlue1">更多>></a></li>

<li class="DClear"></li></ul>
<div class="Ask_Box_4">
<?php
$tmpParid=2;
$tmpSQL=' SELECT A.casgtID,A.casgtName,B.casgctSourceR00,B.casgctSmallContent
	FROM {Nets.TableHead}cmsaskgroup AS A
	INNER JOIN {Nets.TableHead}cmsaskgroupcont AS B ON B.casgctIndexID=A.casgtID
	WHERE 1=1 AND A.casgtRecycle=0 AND A.casgtChecked>1 AND A.casgtParid={Nets.Parid}
	ORDER BY A.casgtOrderBy DESC,A.casgtID DESC LIMIT 0,4 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$tmpParid,$tmpSTR);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<table class="AskH_0_11" cellpadding="0" cellspacing="6"><tr>
<td class="AskH_0_12"><a href="../../../Plus/m_default/Cms/askList.php?ID=<?php echo($Row0['casgtID']); ?>" target="_blank"><img src="<?php echo($tmpDefault->sCode->ImgExist($Row0['casgctSourceR00'],'',0,0)); ?>" /></a></td>
<td class="AskH_0_13"><a href="../../../Plus/m_default/Cms/askList.php?ID=<?php echo($Row0['casgtID']); ?>" class="Link1 FBlack2 FStrong" target="_blank"><?php echo($Row0['casgtName']); ?></a><br /><?php echo($Row0['casgctSmallContent']); ?></td>
</tr></table>
<?php $Coun0++; } ?>
</div>

<!-- ### -->
<ul class="Ask_Box_1">
<li class="Ask_Box_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/1.jpg" /></li>
<li class="Ask_Box_3"><a href="../../../Plus/m_default/Cms/askList.php" class="Link1 FBlack2">赏金求答案</a></li>
<li class="Ask_Box_5"><a href="../../../Plus/m_default/Cms/askList.php" class="Link1 FBlue1">更多>></a></li>

<li class="DClear"></li></ul>
<div class="Ask_Box_6"><table class="Ask_List_10" cellpadding="0" cellspacing="0">
<?php
$tmpSQL=' SELECT A.castID,A.castName,A.castParid,A.castState,A.castCode
	FROM {Nets.TableHead}cmsask AS A
	WHERE 1=1 AND A.castRecycle=0 AND A.castChecked>1 AND A.castCode>0
	ORDER BY A.castOrderBy DESC,A.castID DESC LIMIT 0,24 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<tr class="Ask_List_0">
	<td class="Ask_List_1"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/A_<?php echo($Row0['castState']); ?>.jpg" /></td>
	<td class="Ask_List_2"><?php foreach($tmpDefault->sParid1 as $Row1){ if($Row0['castParid']==$Row1['Value']){ ?>
		<a href="../../../Plus/m_default/Cms/askList.php?ID=<?php echo($Row1['Value']); ?>" class="Link1 FBlue1"><?php echo($Row1['Text']); ?></a>
		<?php } } ?></td>
	<td class="Ask_List_3"><a href="../../../Plus/m_default/Cms/askDetail.php?ID=<?php echo($Row0['castID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['castName']); ?></a></td>
	<?php if($Row0['castCode']>0){ ?>
	<td class="Ask_List_4"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/4.jpg" /></td>
	<td class="Ask_List_5"><?php echo($Row0['castCode']); ?></td>
	<?php }else{ ?>
	<td class="Ask_List_4">&nbsp;</td>
	<td class="Ask_List_5">&nbsp;</td>
	<?php } ?>
	</tr>
<?php $Coun0++; } ?>
</table></div>

<!-- ### -->
<ul class="Ask_Box_1">
<li class="Ask_Box_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/1.jpg" /></li>
<li class="Ask_Box_3"><a href="../../../Plus/m_default/Cms/askList.php" class="Link1 FBlack2">网友正在问</a></li>
<li class="Ask_Box_5"><a href="../../../Plus/m_default/Cms/askList.php" class="Link1 FBlue1">更多>></a></li>

<li class="DClear"></li></ul>
<div class="Ask_Box_6"><table class="Ask_List_10" cellpadding="0" cellspacing="0">
<?php
$tmpSQL=' SELECT A.castID,A.castName,A.castParid,A.castState,A.castCode
	FROM {Nets.TableHead}cmsask AS A
	WHERE 1=1 AND A.castRecycle=0 AND A.castChecked>1 AND A.castState=0
	ORDER BY A.castOrderBy DESC,A.castID DESC LIMIT 0,24 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<tr class="Ask_List_0">
	<td class="Ask_List_1"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/A_<?php echo($Row0['castState']); ?>.jpg" /></td>
	<td class="Ask_List_2"><?php foreach($tmpDefault->sParid1 as $Row1){ if($Row0['castParid']==$Row1['Value']){ ?>
		<a href="../../../Plus/m_default/Cms/askList.php?ID=<?php echo($Row1['Value']); ?>" class="Link1 FBlue1"><?php echo($Row1['Text']); ?></a>
		<?php } } ?></td>
	<td class="Ask_List_3"><a href="../../../Plus/m_default/Cms/askDetail.php?ID=<?php echo($Row0['castID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['castName']); ?></a></td>
	<?php if($Row0['castCode']>0){ ?>
	<td class="Ask_List_4"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/4.jpg" /></td>
	<td class="Ask_List_5"><?php echo($Row0['castCode']); ?></td>
	<?php }else{ ?>
	<td class="Ask_List_4">&nbsp;</td>
	<td class="Ask_List_5">&nbsp;</td>
	<?php } ?>
	</tr>
<?php $Coun0++; } ?>
</table></div>



</div>
<!-- ------ #RIGHT ------ -->
<div class="Ask_R">
<!-- ### -->
<?php $tmpParid=3; ?>
<ul class="Ask_Box_1">
<li class="Ask_Box_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/1.jpg" /></li>
<li class="Ask_Box_3"><a href="../../../Plus/m_default/Cms/docList.php?ID=<?php echo($tmpParid); ?>" class="Link1 FBlack2">公告</a></li>
<li class="DClear"></li></ul>
<div class="Ask_Box_4"><table class="AskH_1_1" cellpadding="0" cellspacing="4">
<?php
$tmpSQL=' SELECT A.cdtID,A.cdtName
	FROM {Nets.TableHead}cmsdoc AS A
	WHERE 1=1 AND A.cdtRecycle=0 AND A.cdtChecked>1 AND A.cdtParid={Nets.Parid}
	ORDER BY A.cdtOrderBy DESC,A.cdtID DESC LIMIT 0,12 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$tmpParid,$tmpSTR);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<tr><td class="AskH_1_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Common/icon_11.jpg" /></td>
	<td><a href="../../../Plus/m_default/Cms/docDetail.php?ID=<?php echo($Row0['cdtID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['cdtName']); ?></a></td></tr>
<?php $Coun0++; } ?>
</table></div>
<!-- ### -->
<ul class="Ask_Box_1">
<li class="Ask_Box_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/1.jpg" /></li>
<li class="Ask_Box_3"><a href="../../../Plus/m_default/Cms/askList.php" class="Link1 FBlack2">热门问题</a></li>
<li class="DClear"></li></ul>
<div class="Ask_Box_4"><table class="AskH_1_1" cellpadding="0" cellspacing="4">
<?php
$tmpSQL=' SELECT A.castID,A.castName,A.castParid,A.castState,A.castCode
	FROM {Nets.TableHead}cmsask AS A
	WHERE 1=1 AND A.castRecycle=0 AND A.castChecked>1 AND A.castCode>0
	ORDER BY A.castOrderBy DESC,A.castID DESC LIMIT 0,12 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<tr><td class="AskH_1_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/A_<?php echo($Row0['castState']); ?>.jpg" /></td>
	<td><a href="../../../Plus/m_default/Cms/askDetail.php?ID=<?php echo($Row0['castID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['castName']); ?></a></td></tr>
<?php $Coun0++; } ?>
</table></div>
<!-- ### -->
<?php $tmpParid=3; ?>
<ul class="Ask_Box_1">
<li class="Ask_Box_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/1.jpg" /></li>
<li class="Ask_Box_3"><a href="../../../Plus/m_default/Cms/askList.php" class="Link1 FBlack2">问答之星</a></li>
<li class="DClear"></li></ul>
<div class="Ask_Box_4"><table class="AskH_1_1" cellpadding="0" cellspacing="4">
<?php
$tmpParid=0;
$tmpSQL=' SELECT A.uitID,A.uitName,A.uitNickname
	FROM {Nets.TableHead}netsuserinfo AS A
	WHERE 1=1 AND A.uitRecycle=0 AND A.uitChecked>1
	ORDER BY A.uitOrderBy DESC,A.uitID DESC LIMIT 0,12 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<tr><td class="AskH_1_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Common/icon_23.jpg" /></td>
	<td><a href="#?ID=<?php echo($Row0['uitID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['uitNickname']); ?></a></td></tr>
<?php $Coun0++; } ?>
</table></div>
<!-- ### -->
<?php $tmpParid=3; ?>
<ul class="Ask_Box_1">
<li class="Ask_Box_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/1.jpg" /></li>
<li class="Ask_Box_3"><a href="../../../Plus/m_default/Cms/docList.php?ID=<?php echo($tmpParid); ?>" class="Link1 FBlack2">问答新闻</a></li>
<li class="DClear"></li></ul>
<div class="Ask_Box_4"><table class="AskH_1_1" cellpadding="0" cellspacing="4">
<?php
$tmpSQL=' SELECT A.cdtID,A.cdtName
	FROM {Nets.TableHead}cmsdoc AS A
	WHERE 1=1 AND A.cdtRecycle=0 AND A.cdtChecked>1 AND A.cdtParid={Nets.Parid}
	ORDER BY A.cdtOrderBy DESC,A.cdtID DESC LIMIT 0,12 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$tmpParid,$tmpSTR);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<tr><td class="AskH_1_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Common/icon_11.jpg" /></td>
	<td><a href="../../../Plus/m_default/Cms/docDetail.php?ID=<?php echo($Row0['cdtID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['cdtName']); ?></a></td></tr>
<?php $Coun0++; } ?>
</table></div>
<!-- ### -->
<ul class="Ask_Box_1">
<li class="Ask_Box_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/1.jpg" /></li>
<li class="Ask_Box_3"><a href="../../../Plus/m_default/Cms/docList.php?ID=<?php echo($tmpParid); ?>" class="Link1 FBlack2">业界新闻</a></li>
<li class="DClear"></li></ul>
<div class="Ask_Box_4"><table class="AskH_1_1" cellpadding="0" cellspacing="4">
<?php
$tmpSQL=' SELECT A.cdtID,A.cdtName
	FROM {Nets.TableHead}cmsdoc AS A
	WHERE 1=1 AND A.cdtRecycle=0 AND A.cdtChecked>1 AND A.cdtParid={Nets.Parid}
	ORDER BY A.cdtOrderBy DESC,A.cdtID DESC LIMIT 0,12 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$tmpParid,$tmpSTR);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<tr><td class="AskH_1_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Common/icon_11.jpg" /></td>
	<td><a href="../../../Plus/m_default/Cms/docDetail.php?ID=<?php echo($Row0['cdtID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['cdtName']); ?></a></td></tr>
<?php $Coun0++; } ?>
</table></div>




</div>
<div class="DClear"></div></div>
<!-- ------ #SCRIPT ------ -->
<script type="text/javascript">
var tmpAsk=new Ask();
tmpAsk.OnHomeSlide(0);

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