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

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

E_D("DROP TABLE IF EXISTS `phome_enewssearchtemp`;");
E_C("CREATE TABLE `phome_enewssearchtemp` (
  `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=2 DEFAULT CHARSET=gbk");
E_D("replace into `phome_enewssearchtemp` 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--]--<?=\$public_r[sitename]?></title>\r\n<meta name=\\\\\"keywords\\\\\" content=\\\\\"[!--pagekey--]\\\\\" />\r\n<meta name=\\\\\"description\\\\\" content=\\\\\"[!--pagedes--] \\\\\" />\r\n<link href=\\\\\"[!--news.url--]skin/ecms011/css/style.css\\\\\" rel=\\\\\"stylesheet\\\\\" type=\\\\\"text/css\\\\\" />\r\n<script type=\\\\\"text/javascript\\\\\" src=\\\\\"[!--news.url--]skin/ecms011/js/jquery.js\\\\\"></script>\r\n<script type=\\\\\"text/javascript\\\\\" src=\\\\\"[!--news.url--]skin/ecms011/js/common.js\\\\\"></script>\r\n</head>\r\n\r\n<body>\r\n[!--temp.header--]\r\n<div class=\\\\\"content clearfix\\\\\">\r\n  <h1 class=\\\\\"b-title\\\\\">当前位置：[!--newsnav--]</h1>\r\n  [!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]\r\n  <div class=\\\\\"bigPage vm center\\\\\">\r\n    <div class=\\\\''bigPage vm\\\\''></div>\r\n  </div>\r\n</div>\r\n[!--temp.footer--] \r\n<script type=\\\\\"text/javascript\\\\\" id=\\\\\"bdshare_js\\\\\" data=\\\\\"type=tools&amp;uid=0\\\\\" ></script> \r\n<script type=\\\\\"text/javascript\\\\\" id=\\\\\"bdshell_js\\\\\"></script> \r\n<script type=\\\\\"text/javascript\\\\\">\r\ndocument.getElementById(\\\\\"bdshell_js\\\\\").src = \\\\\"http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=\\\\\" + Math.ceil(new Date()/3600000)\r\n</script>\r\n</body>\r\n</html>\r\n','180','1','if (\$public_r[\\\\''add_fbrq\\\\'']==1){\r\n	\$fbrq=\\\\\"<script language=\\\\''JavaScript\\\\''>var mydate = new Date(); var m = mydate.getMonth() + 1; if(m-10<0) m = \\\\''0\\\\'' + m;  var d = mydate.getDate() - 1; if(d-10<0) d = \\\\''0\\\\'' + d; document.write(m + \\\\''-\\\\'' + d)</script>\\\\\";\r\n}else{\r\n	\$fbrq=date(\\\\''m-d\\\\'',\$r[newstime]);\r\n}\r\n\$listtemp=\\\\''    <div class=\\\\\"downInfo sbox clearfix\\\\\">\r\n        <div class=\\\\\"img\\\\\"><a href=\\\\\"[!--titleurl--]\\\\\"><img src=\\\\\"[!--titlepic--]\\\\\"></a></div>\r\n        <div class=\\\\\"txt\\\\\">\r\n            <h1><a href=\\\\\"[!--titleurl--]\\\\\">[!--title--]</a></h1>\r\n            <div class=\\\\\"listline\\\\\"></div>\r\n            <div class=\\\\\"info clearfix\\\\\">\r\n                <span>更新时间：2014-\\\\''.\$fbrq.\\\\''</span>\r\n                <span>软件大小：[!--rjdx--]</span>\r\n                <span>界面语言：[!--jmyy--]</span>\r\n                <span>运行环境：[!--yxhj--]</span>\r\n                <span>授权方式：[!--sqfs--]</span>\r\n            </div>\r\n            <div class=\\\\\"listline\\\\\"></div>\r\n            <div class=\\\\\"share\\\\\">\r\n                <div id=\\\\\"bdshare\\\\\" class=\\\\\"bdshare_t bds_tools_32 get-codes-bdshare\\\\\">\r\n                    <a class=\\\\\"bds_tsina\\\\\"></a>\r\n                    <a class=\\\\\"bds_tieba\\\\\"></a>\r\n                    <a class=\\\\\"bds_qzone\\\\\"></a>\r\n                    <a class=\\\\\"bds_renren\\\\\"></a>\r\n                    <a class=\\\\\"bds_hi\\\\\"></a>\r\n                    <span class=\\\\\"bds_more\\\\\"></span>\r\n                    <a class=\\\\\"shareCount\\\\\"></a>\r\n                </div>\r\n                <a class=\\\\\"down_btn\\\\\" target=\\\\\"_blank\\\\\" href=\\\\\"[!--titleurl--]\\\\\">详细介绍</a>\r\n            </div>\r\n        </div>\r\n    </div>\\\\'';','1','7','Y-m-d','0','0','1');");

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