<%@ Page Language="C#" AutoEventWireup="true" Inherits="UScms.Web.UI.Page.article_show" ValidateRequest="false" %>
<%@ Import namespace="System.Collections.Generic" %>
<%@ Import namespace="System.Text" %>
<%@ Import namespace="System.Data" %>
<%@ Import namespace="UScms.Common" %>

<script runat="server">
override protected void OnInit(EventArgs e)
{

	/* 
		This page was created by UScms Template Engine at 2016/7/6 17:31:11.
		本页面代码由UScms模板引擎生成于 2016/7/6 17:31:11. 
	*/

	base.OnInit(e);
	StringBuilder templateBuilder = new StringBuilder(220000);
	const string channel = "content";

	templateBuilder.Append("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n");
	string category_title = get_category_title(model.category_id,"公司介绍");

	templateBuilder.Append("\r\n<title>");
	templateBuilder.Append(Utils.ObjectToStr(model.title));
	templateBuilder.Append(" - ");
	templateBuilder.Append(Utils.ObjectToStr(site.name));
	templateBuilder.Append("</title>\r\n<meta content=\"");
	templateBuilder.Append(Utils.ObjectToStr(model.seo_keywords));
	templateBuilder.Append("\" name=\"keywords\" />\r\n<meta content=\"");
	templateBuilder.Append(Utils.ObjectToStr(model.seo_description));
	templateBuilder.Append("\" name=\"description\" />\r\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\r\n<link href=\"");
	templateBuilder.Append("/templates/main");
	templateBuilder.Append("/Css/style.css\" rel=\"stylesheet\" media=\"screen\" type=\"text/css\" />\r\n<script language=\"javascript\" type=\"text/javascript\" src=\"");
	templateBuilder.Append("/templates/main");
	templateBuilder.Append("/Scripts/dedeajax2.js\"></");
	templateBuilder.Append("script>\r\n<script language=\"javascript\" type=\"text/javascript\">\r\n<!--\r\nfunction CheckLogin(){\r\n	  var taget_obj = document.getElementById('_ajax_feedback');\r\n	  myajax = new DedeAjax(taget_obj,false,false,'','','');\r\n	  myajax.SendGet2(\"/member/ajax_feedback.php\");\r\n	  DedeXHTTP = null;\r\n}\r\nfunction postBadGood(ftype,fid)\r\n{\r\n	var taget_obj = document.getElementById(ftype+fid);\r\n	var saveid = GetCookie('badgoodid');\r\n	if(saveid != null)\r\n	{\r\n		var saveids = saveid.split(',');\r\n		var hasid = false;\r\n		saveid = '';\r\n		j = 1;\r\n		for(i=saveids.length-1;i>=0;i--)\r\n		{\r\n			if(saveids[i]==fid && hasid) continue;\r\n			else {\r\n				if(saveids[i]==fid && !hasid) hasid = true;\r\n				saveid += (saveid=='' ? saveids[i] : ','+saveids[i]);\r\n				j++;\r\n				if(j==10 && hasid) break;\r\n				if(j==9 && !hasid) break;\r\n			}\r\n		}\r\n		if(hasid) { alert('您刚才已表决过了喔！'); return false;}\r\n		else saveid += ','+fid;\r\n		SetCookie('badgoodid',saveid,1);\r\n	}\r\n	else\r\n	{\r\n		SetCookie('badgoodid',fid,1);\r\n	}\r\n	myajax = new DedeAjax(taget_obj,false,false,'','','');\r\n	myajax.SendGet2(\"/plus/feedback.php?aid=\"+fid+\"&action=\"+ftype+\"&fid=\"+fid);\r\n}\r\nfunction postDigg(ftype,aid)\r\n{\r\n	var taget_obj = document.getElementById('newdigg');\r\n	var saveid = GetCookie('diggid');\r\n	if(saveid != null)\r\n	{\r\n		var saveids = saveid.split(',');\r\n		var hasid = false;\r\n		saveid = '';\r\n		j = 1;\r\n		for(i=saveids.length-1;i>=0;i--)\r\n		{\r\n			if(saveids[i]==aid && hasid) continue;\r\n			else {\r\n				if(saveids[i]==aid && !hasid) hasid = true;\r\n				saveid += (saveid=='' ? saveids[i] : ','+saveids[i]);\r\n				j++;\r\n				if(j==20 && hasid) break;\r\n				if(j==19 && !hasid) break;\r\n			}\r\n		}\r\n		if(hasid) { alert(\"您已经顶过该帖，请不要重复顶帖 ！\"); return; }\r\n		else saveid += ','+aid;\r\n		SetCookie('diggid',saveid,1);\r\n	}\r\n	else\r\n	{\r\n		SetCookie('diggid',aid,1);\r\n	}\r\n	myajax = new DedeAjax(taget_obj,false,false,'','','');\r\n	var url = \"/plus/digg_ajax.php?action=\"+ftype+\"&id=\"+aid;\r\n	myajax.SendGet2(url);\r\n}\r\nfunction getDigg(aid)\r\n{\r\n	var taget_obj = document.getElementById('newdigg');\r\n	myajax = new DedeAjax(taget_obj,false,false,'','','');\r\n	myajax.SendGet2(\"/plus/digg_ajax.php?id=\"+aid);\r\n	DedeXHTTP = null;\r\n}\r\n-->\r\n</");
	templateBuilder.Append("script>\r\n<link href=\"");
	templateBuilder.Append("/templates/main");
	templateBuilder.Append("/Css/style.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n</head>\r\n<body class=\"articleview\">\r\n <!--Header-->\r\n        ");

	templateBuilder.Append("<div class=\"fwtop\">\r\n<div class=\"fwtop_head\">\r\n  <div class=\"fwtop_logo\">\r\n    <div class=\"top_logo\" id=\"top_logo\">\r\n	<img src=\"");
	templateBuilder.Append("/templates/main");
	templateBuilder.Append("/Picture/logo.png\" width=\"400\" height=\"100\" alt=\"网站Logo\" title=\"test\"/></div>\r\n\r\n  </div>\r\n  <div class=\"fwtop_info\">\r\n    <div class=\"topSearch clear\" id=\"topSearch\">\r\n	<div class=\"search\"><img src=\"");
	templateBuilder.Append("/templates/main");
	templateBuilder.Append("/Picture/dh.png\" width=\"301\" height=\"96\" /></div>\r\n<script type=\"text/javascript\">\r\nsiteSearch()\r\n</");
	templateBuilder.Append("script>\r\n<script type=\"text/javascript\">\r\n	$(\"#siteSearchContent\").focus(function(){\r\n		if (this.value == \"请输入关键字...\"){\r\n		this.value = \"\"\r\n		}\r\n	});\r\n	$(\"#siteSearchContent\").blur(function(){\r\n		if (this.value == \"\") {\r\n		this.value = \"请输入关键字...\";\r\n		}\r\n	});\r\n</");
	templateBuilder.Append("script>\r\n\r\n</div>\r\n\r\n  </div>\r\n  <div class=\"clear\"></div>\r\n </div>\r\n  <div class=\"fwtop_mainNav\">\r\n    <div class=\"siteMainNav fwtop_nav fwnavlink\" id=\"siteMainNav\" >\r\n	<ul>\r\n		<li><a href='");
	templateBuilder.Append(linkurl("index"));

	templateBuilder.Append("'><span>主页</span></a></li>\r\n      	\r\n      	<li><a href='");
	templateBuilder.Append(linkurl("content",54));

	templateBuilder.Append("' ><span>关于我们</span></a></li>\r\n      	\r\n      	<li><a href='");
	templateBuilder.Append(linkurl("news_list",3));

	templateBuilder.Append("'  rel='dropmenu2'><span>新闻中心</span></a></li>\r\n      	\r\n      	<li><a href='");
	templateBuilder.Append(linkurl("content",107));

	templateBuilder.Append("'  rel='dropmenu3'><span>业务服务</span></a></li>\r\n      	\r\n      	<li><a href='");
	templateBuilder.Append(linkurl("goods_list",43));

	templateBuilder.Append("'  rel='dropmenu6'><span>项目展示</span></a></li>\r\n      	\r\n      	<li><a href='");
	templateBuilder.Append(linkurl("content",105));

	templateBuilder.Append("' ><span>人才招聘</span></a></li>\r\n      	\r\n      	<li><a href='");
	templateBuilder.Append(linkurl("content",106));

	templateBuilder.Append("'  rel='dropmenu4'><span>联系我们</span></a></li>\r\n      	\r\n      	<li><a href='' ><span>其他栏目</span></a></li>\r\n      	\r\n	</ul>\r\n<div class=\"clear\"></div>\r\n</div>\r\n  </div>\r\n  <div class=\"clear\"></div>\r\n  <div class=\"fwtop_banner\">\r\n    <script type=\"text/javascript\">\r\nvar ary = location.href.split(\"&\");\r\njQuery(\"#siteBanner\").slide( { mainCell:\"#bd ul\", effect:\"fold\",autoPlay:\"true\",trigger:\"mouseover\",easing:\"swing\",delayTime:\"1000\",mouseOverStop:\"true\",pnLoop:\"true\"});\r\n</");
	templateBuilder.Append("script>\r\n\r\n  </div>\r\n</div>");


	templateBuilder.Append("\r\n        <!--/Header-->\r\n<div class=\"dha\"></div>\r\n<div class=\"fwmain\">\r\n		<div class=\"fwmain_nleft edit_putHere\" id=\"edit_putHere_area1\" saveTitle=\"area1\">\r\n			<div class=\"label clear fwtop_nav6\" id=\"597\" rel=\"597\" titles=\"竖形分类菜单\">\r\n	<div class=\"label_head\">\r\n		<div class=\"label_title\">");
	templateBuilder.Append(Utils.ObjectToStr(model.title));
	templateBuilder.Append("</div>\r\n	</div>\r\n	<div class=\"label_content\">\r\n ");
	DataTable contentlist = get_article_list(channel, model.category_id, 0, "status=0");

	foreach(DataRow dr in contentlist.Rows)
	{

	templateBuilder.Append("\r\n                            <h1 >\r\n                            <a title=\"" + Utils.ObjectToStr(dr["title"]) + "\" href=\"");
	templateBuilder.Append(linkurl("content",Utils.ObjectToStr(dr["id"])));

	templateBuilder.Append("\">" + Utils.ObjectToStr(dr["title"]) + "</a>\r\n                            </h1>\r\n                            ");
	}	//end for if

	templateBuilder.Append("\r\n\r\n \r\n	</div>\r\n	<div class=\"label_foot\"></div>\r\n</div>\r\n\r\n	\r\n		</div>\r\n		<div class=\"fwmain_nright edit_putHere\" id=\"edit_putHere_area2\" saveTitle=\"area2\">\r\n			<div class=\"label clear\" id=\"600\" rel=\"600\" titles=\"自定义内容\">\r\n	<div class=\"label_head\">\r\n	<div class=\"label_title\"><span><a href='");
	templateBuilder.Append(linkurl("index"));

	templateBuilder.Append("'>主页</a> > <a href=''>");
	templateBuilder.Append(Utils.ObjectToStr(model.title));
	templateBuilder.Append("</a> </span></div>\r\n	</div>\r\n	<div class=\"label_content\">\r\n		<div class=\"about_con clearfix\">\r\n			");
	templateBuilder.Append(Utils.ObjectToStr(model.content));
	templateBuilder.Append("\r\n		</div>\r\n	</div>\r\n	<div class=\"label_foot\"></div>\r\n</div>\r\n\r\n		</div>\r\n		<div class=\"clear\"></div>\r\n	</div>	\r\n <!--Footer-->\r\n        ");

	templateBuilder.Append("<div class=\"fwbottom\">\r\n		<div class=\"fwbottom_bottomInfo\">\r\n				<div class=\"siteBottomNav\">\r\n<ul>\r\n\r\n      	<li><a href='");
	templateBuilder.Append(linkurl("goods_list",43));

	templateBuilder.Append("' ><span>项目展示</span></a></li>\r\n      	\r\n      	<li><a href='");
	templateBuilder.Append(linkurl("content",54));

	templateBuilder.Append("'  rel='dropmenu2'><span>关于我们</span></a></li>\r\n      	\r\n      	<li><a href='");
	templateBuilder.Append(linkurl("news_list",3));

	templateBuilder.Append("'  rel='dropmenu3'><span>新闻动态</span></a></li>\r\n      	\r\n      	<li><a href='");
	templateBuilder.Append(linkurl("content",105));

	templateBuilder.Append("'  rel='dropmenu6'><span>人才招聘</span></a></li>\r\n      	\r\n      	<li><a href='");
	templateBuilder.Append(linkurl("content",106));

	templateBuilder.Append("' ><span>联系我们</span></a></li>\r\n      	\r\n      	\r\n      	<li><a href='' ><span>在线留言</span></a></li>\r\n      	\r\n<div class=\"clear\"></div><a href=\"\"><h3 style=\"color:#004DA9;\"></h3></a>\r\n</ul>\r\n</div>\r\n\r\n<div class=\"bottomInfo clear\">\r\n	<p align=\"center\">\r\n	<span style=\"color:#fff;\">Copyright @ 2015-2016 海天设计 版权所有</span> \r\n</p>\r\n</div>\r\n\r\n		</div>\r\n        \r\n	</div>");


	templateBuilder.Append("\r\n        <!--/Footer-->\r\n</body>\r\n</html>\r\n");
	Response.Write(templateBuilder.ToString());
}
</script>
