<?php
@include("../../inc/header.php");

/*
		SoftName : EmpireBak
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

E_D("DROP TABLE IF EXISTS `phome_enewslisttemp`;");
E_C("CREATE TABLE `phome_enewslisttemp` (
  `tempid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `tempname` varchar(60) NOT NULL DEFAULT '',
  `temptext` mediumtext NOT NULL,
  `subnews` smallint(6) NOT NULL DEFAULT '0',
  `isdefault` tinyint(1) NOT NULL DEFAULT '0',
  `listvar` text NOT NULL,
  `rownum` smallint(6) NOT NULL DEFAULT '0',
  `modid` smallint(6) NOT NULL DEFAULT '0',
  `showdate` varchar(50) NOT NULL DEFAULT '',
  `subtitle` smallint(6) NOT NULL DEFAULT '0',
  `classid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `docode` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`tempid`),
  KEY `classid` (`classid`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=gbk");
E_D("replace into `phome_enewslisttemp` values('1','默认新闻列表模板','<!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=gb2312\\\\\" />\r\n<title>[!--pagetitle--] - Powered by EmpireCMS</title>\r\n<meta name=\\\\\"keywords\\\\\" content=\\\\\"[!--pagekey--]\\\\\" />\r\n<meta name=\\\\\"description\\\\\" content=\\\\\"[!--pagedes--]\\\\\" />\r\n<link href=\\\\\"[!--news.url--]skin/default/css/style.css\\\\\" rel=\\\\\"stylesheet\\\\\" type=\\\\\"text/css\\\\\" />\r\n<script type=\\\\\"text/javascript\\\\\" src=\\\\\"[!--news.url--]skin/default/js/tabs.js\\\\\"></script>\r\n</head>\r\n<body class=\\\\\"listpage\\\\\">\r\n[!--temp.header--]\r\n<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellspacing=\\\\\"10\\\\\" cellpadding=\\\\\"0\\\\\">\r\n<tr valign=\\\\\"top\\\\\">\r\n<td class=\\\\\"news_list\\\\\"><table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\" cellpadding=\\\\\"0\\\\\" class=\\\\\"position\\\\\">\r\n<tr>\r\n<td>您当前的位置：[!--newsnav--]</td>\r\n</tr>\r\n</table>\r\n<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\" cellpadding=\\\\\"0\\\\\" class=\\\\\"box\\\\\">\r\n<tr>\r\n<td>[!--empirenews.listtemp--]<ul>\r\n<!--list.var1-->\r\n<!--list.var2-->\r\n<!--list.var3-->\r\n<!--list.var4-->\r\n<!--list.var5--></ul>\r\n[!--empirenews.listtemp--]\r\n<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\" cellpadding=\\\\\"0\\\\\">\r\n<tr>\r\n                <td height=\\\\\"38\\\\\"><div class=\\\\\"epages\\\\\">[!--show.listpage--]</div></td>\r\n</tr>\r\n</table>\r\n</td>\r\n</tr>\r\n</table></td>\r\n<td class=\\\\\"sider\\\\\"><table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\" cellpadding=\\\\\"0\\\\\" class=\\\\\"title\\\\\">\r\n<tr>\r\n<td><strong>推荐资讯</strong></td>\r\n</tr>\r\n</table>\r\n<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellspacing=\\\\\"8\\\\\" cellpadding=\\\\\"0\\\\\" class=\\\\\"box\\\\\">\r\n<tr>\r\n<td>[phomenewspic]\\\\''selfinfo\\\\'',2,4,128,90,1,20,2[/phomenewspic]\r\n</td>\r\n</tr>\r\n</table>\r\n<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\" cellpadding=\\\\\"0\\\\\" class=\\\\\"title margin_top\\\\\">\r\n<tr>\r\n<td><strong>最后更新</strong></td>\r\n</tr>\r\n</table>\r\n<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\" cellpadding=\\\\\"0\\\\\" class=\\\\\"box\\\\\">\r\n<tr>\r\n<td><ul>\r\n[ecmsinfo]\\\\''selfinfo\\\\'',10,44,0,0,2,0[/ecmsinfo] \r\n</ul></td>\r\n</tr>\r\n</table>\r\n<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\" cellpadding=\\\\\"0\\\\\" class=\\\\\"title margin_top\\\\\">\r\n<tr>\r\n<td><strong>热门点击</strong></td>\r\n</tr>\r\n</table>\r\n<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\" cellpadding=\\\\\"0\\\\\" class=\\\\\"box\\\\\">\r\n<tr>\r\n<td><ol class=\\\\\"rank\\\\\">\r\n[ecmsinfo]\\\\''selfinfo\\\\'',10,40,0,1,10,0[/ecmsinfo] \r\n</ol></td>\r\n</tr>\r\n</table></td>\r\n</tr>\r\n</table>\r\n[!--temp.footer--]\r\n</body>\r\n</html>','0','0','<li><a href=\\\\\"[!--titleurl--]\\\\\" title=\\\\\"[!--oldtitle--]\\\\\">[!--title--]</a> <span>[!--newstime--]</span></li>','5','1','Y-m-d','0','0','0');");
E_D("replace into `phome_enewslisttemp` values('9','案例列表模板','<!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=gb2312\\\\\" />\r\n<meta http-equiv=\\\\\"X-UA-Compatible\\\\\" content=\\\\\"IE=7\\\\\" />\r\n<link rel=\\\\\"shortcut icon\\\\\" href=\\\\\"/images/logo.ico\\\\\" type=\\\\\"image/x-icon\\\\\" />\r\n<title>[!--pagetitle--] - Powered by EmpireCMS</title>\r\n<meta name=\\\\\"keywords\\\\\" content=\\\\\"[!--pagekey--]\\\\\" />\r\n<meta name=\\\\\"description\\\\\" content=\\\\\"[!--pagedes--]\\\\\" />\r\n\r\n<link href=\\\\\"/css/common_2962.css\\\\\" rel=\\\\\"stylesheet\\\\\" type=\\\\\"text/css\\\\\" />\r\n\r\n<link href=\\\\\"/css/list_4900.css\\\\\" rel=\\\\\"stylesheet\\\\\" type=\\\\\"text/css\\\\\" />\r\n\r\n<script type=\\\\\"text/javascript\\\\\" src=\\\\\"/js/mootools-core-1.4.5_96888.js\\\\\"></script>\r\n\r\n</head>\r\n\r\n\r\n\r\n<body>\r\n\r\n[!--temp.header--]\r\n\r\n<div class=\\\\\"list_top\\\\\"><div class=\\\\\"w\\\\\">\r\n\r\n	<div class=\\\\\"l\\\\\"><img src=\\\\\"/images/case_1263.gif\\\\\" width=\\\\\"180\\\\\" height=\\\\\"39\\\\\" alt=\\\\\"诚信品牌 值得信赖\\\\\" /></div>\r\n\r\n	<div class=\\\\\"r fs14 gray pr\\\\\">\r\n\r\n		<a href=\\\\\"/case\\\\\">全部</a>\r\n\r\n		[e:loop={\\\\\"select classid,classname from {\$dbtbpre}enewsclass where bclassid=3 order by myorder,classid desc\\\\\",0,24,0}]\r\n<?php\r\n\$classurl=sys_ReturnBqClassname(\$bqr,9);//取得栏目地址\r\n?>\r\n<a href=\\\\\"<?=\$classurl?>\\\\\"><?=\$bqr[classname]?></a>&nbsp;|&nbsp;\r\n[/e:loop]\r\n\r\n	</div>\r\n\r\n</div></div>\r\n\r\n<div style=\\\\\"text-align: center;font-size: 18px; padding-top:10px; color: #d52d1e;\\\\\">10年网络营销经验，三千多家客户的选择；更多案例请咨询：021-32345677</div>\r\n\r\n<div class=\\\\\"w o\\\\\">\r\n\r\n	<div class=\\\\\"casebox clearfix\\\\\">\r\n\r\n		<ul class=\\\\\"caselist\\\\\">\r\n\r\n[!--empirenews.listtemp--]\r\n<!--list.var1-->\r\n\r\n[!--empirenews.listtemp--]\r\n\r\n\r\n		</ul>\r\n\r\n	</div><div class=\\\\\"pagelist\\\\\">\r\n[!--show.listpage--]\r\n</div>\r\n\r\n\r\n\r\n</div>\r\n\r\n\r\n\r\n[!--temp.footer--]\r\n\r\n\r\n\r\n</body>\r\n\r\n</html>','0','0','<li>\r\n\r\n				<div class=\\\\\"box\\\\\">\r\n\r\n					<h2><a href=\\\\\"[!--titleurl--]\\\\\" target=\\\\\"_blank\\\\\">[!--title--]</a></h2>\r\n\r\n					<div class=\\\\\"img\\\\\"><a href=\\\\\"[!--titleurl--]\\\\\" title=\\\\\"[!--oldtitle--]\\\\\"target=\\\\\"_blank\\\\\"><img src=\\\\\"[!--titlepic--]\\\\\" width=\\\\\"242\\\\\" height=\\\\\"110\\\\\" /></a></div>\r\n\r\n				</div>\r\n\r\n				<div class=\\\\\"more\\\\\"><a href=\\\\\"[!--titleurl--]\\\\\" target=\\\\\"_blank\\\\\">www.xri.cn</a></div>\r\n\r\n			</li>','1','1','Y-m-d','0','0','0');");

@include("../../inc/footer.php");
?>