Files
ningbo/动易的标签库/模板库_dhjd/在线访谈模板/在线访谈页模板.html
T
2026-08-31 16:22:00 +08:00

172 lines
7.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{PE.DataSource id="cone" datasource="在线访谈数据源标签" interviewId="@RequestInt_InterviewId" xslt="true" /}
<!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" />
<title>在线访谈 - {PE.Field id="cone" fieldname="InterviewTitle" /}</title>
<link href="{PE.SiteConfig.SkinPath/}default.css" rel="stylesheet" type="text/css" />
<link href="{PE.SiteConfig.SkinPath/}Interview.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.ApplicationPath/}js/jquery.pack.js"></script>
<script type="text/javascript" language="JavaScript">
function RefreshValdisplayDateCodeImage(ValdisplayDateCodeImageControl) {
ValdisplayDateCodeImageControl.src = ValdisplayDateCodeImageControl.src + '?code=' + RandomNum(10);
}
function RandomNum(n) {
var rnd = '';
for (var i = 0; i < n; i++)
rnd += Math.floor(Math.random() * 10);
return rnd;
}
function DefaultButton(event, linkOpenType) {
if (event.keyCode == 13 && !(event.srcElement && (event.srcElement.tagName.toLowerCase() == "textarea"))) {
var defaultButton = $(linkOpenType);
if (defaultButton && typeof (defaultButton.click) != "undefined") {
defaultButton.click();
event.cancelBubble = true;
if (event.stopPropagation)
event.stopPropagation();
return false;
}
}
return true;
}
function submit()
{
if(!validate())
return;
var text = {type:"addInterview",interviewId:"{PE.Field id="cone" fieldname="InterviewId" /}",
userName:document.getElementById("TxtNickName").value,
content:document.getElementById("TxtContent").value,
checkcode:document.getElementById("TxtValdisplayDateCode").value};
var xmlDoc = jQuery.CreateXmlDoc(text);
$.ajax({
type: "POST",
processData: false,
url: "{PE.SiteConfig.ajaxsitepath/}Ajax.aspx?HandlerName=GovAjaxHandler",
data: xmlDoc,
success: function(xml) {
var status = xml.getElementsByTagName("status")[0].firstChild.data;
switch (status) {
case "ok":
document.getElementById("TxtNickName").value = '';
document.getElementById("TxtContent").value = '';
document.getElementById("TxtValdisplayDateCode").value = '';
alert("提问成功!");
break;
case "err":
var errorMessage = xml.getElementsByTagName("body")[0].firstChild.data;
alert(errorMessage);
break;
}
RefreshValdisplayDateCodeImage(document.getElementById("VcodeLogOn"));
}
});
}
function validate()
{
if(document.getElementById("TxtNickName").value == "")
{
alert("网名不能为空!");
return false;
}
if(document.getElementById("TxtContent").value == "")
{
alert("内容不能为空!");
return false;
}
if(document.getElementById("TxtValdisplayDateCode").value == "")
{
alert("验证码不能为空!");
return false;
}
return true;
}
function CheckLength(obj, maxLength) {
if (obj.value.length > maxLength) {
obj.value = obj.value.substring(0, maxLength - 1);
}
}
function Reset() {
document.getElementById("TxtNickName").value = "";
document.getElementById("TxtContent").value = "";
document.getElementById("TxtValdisplayDateCode").value = "";
}
</script>
</head>
<script language="JavaScript" type="text/javascript">
//<![CDATA[
function Show_Menu2(id_num, num) {
for (var i = 0; i < 9; i++) { document.getElementById("menu_list_" + id_num + i).style.display = "none"; }
for (var i = 0; i < 9; i++) { document.getElementById("tab" + id_num + i).className = ""; }
document.getElementById("tab" + id_num + num).className = "Class_on";
document.getElementById("menu_list_" + id_num + num).style.display = "block";
}
//]]>
</script>
<body>
{PE.Label id="GOV_网站顶部" /}
<!-- 中部 center_all 开始 -->
<div id="center_all">
<div id="main_bg">
<div class="Interview_box">
<div class="Iv_daohang">您现在的位置:{PE.Label id="在线访谈首页链接" /} > 详细信息</div>
<div class="Iv_homelistpic">{PE.Label id="访谈首图片" interviewId="{PE.Field id="cone" fieldname="InterviewId" /}" /}</div>
<div class="Iv_showtext">
<h1>{PE.Field id="cone" fieldname="InterviewTitle" /}</h1>
<p><b>主 题:</b> {PE.Field id="cone" fieldname="InterviewTitle" /}</p>
<p><b>时 间:</b> {PE.Field id="cone" fieldname="ShowBeginTime" /}</p>
<p><b>嘉 宾:</b> {PE.Field id="cone" fieldname="HonoredGuest" /}</p>
<p><b>状 态:</b> <span>[{PE.Field id="cone" fieldname="Status" /}]</span> </p>
<a href="{PE.SiteConfig.ApplicationPath/}Government/Interview/QuestionList.aspx?InterviewId={PE.Field id="cone" fieldname="InterviewId" /}" target="_blank"><img src="{PE.SiteConfig.SkinPath/}images/Iv_ask.gif"></a>
</div>
<div class="clearbox"></div>
<div class="Iv_shownotice"><b>核心提示:</b>{PE.Field id="cone" fieldname="Content" /}</div>
<div class="Iv_showsidebar2">
<div class="Iv_showbox3"><h4><a href="{PE.SiteConfig.ApplicationPath/}Government/Interview/Abstract.aspx?InterviewId={PE.Field id="cone" fieldname="InterviewId" /}" target="_blank">访谈摘要 >></a></h4>
<ul class="Iv_list3">
{PE.Label id="访谈摘要" interviewId="{PE.Field id="cone" fieldname="InterviewId" /}" /}
</ul>
</div>
{PE.Label id="访谈文字列表" InterviewId="{PE.Field id="cone" fieldname="InterviewId" /}" StatusValue="{PE.Field id="cone" fieldname="StatusValue" /}" /}
<div class="Iv_showconbox">
<dd class="Iv_showall">
<a href="{PE.SiteConfig.ApplicationPath/}Government/Interview/Detail.aspx?InterviewId=@RequestInt_InterviewId"
target="_blank">全部文字 >></a></dd>
</div>
<div>
{PE.Label id="访谈在线提问标签"/}
</div>
</div>
<div class="Iv_showsidebar1">
<dl class="Iv_showbox1">
<dt><span><a href="{PE.SiteConfig.ApplicationPath/}Government/Interview/Information.aspx?InterviewId={PE.Field id="cone" fieldname="InterviewId" /}" target="_blank">背景资料 >></a></span></dt>
<dd>
<ul class="Iv_list1">
{PE.Label id="背景资料" interviewId="{PE.Field id="cone" fieldname="InterviewId" /}" /}
</ul>
</dd>
<dt><span><a href="{PE.SiteConfig.ApplicationPath/}Government/Interview/Picture.aspx?InterviewId={PE.Field id="cone" fieldname="InterviewId" /}" target="_blank">访谈图片 >></a></span></dt>
<dd>
<ul class="Iv_list2">
{PE.Label id="访谈图片列表" interviewId="{PE.Field id="cone" fieldname="InterviewId" /}" /}
</ul>
</dd>
</dl>
</div>
<div class="clearbox"></div>
</div>
</div>
</div>
</div>
<!-- 中部 center_all 结束 -->
{PE.Label id="GOV_网站底部" /}
{PE.Control.form1/}
</body>
</html>