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

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

E_D("DROP TABLE IF EXISTS `dp1037_enewstempvar`;");
E_C("CREATE TABLE `dp1037_enewstempvar` (
  `varid` smallint(5) unsigned NOT NULL auto_increment,
  `myvar` varchar(60) NOT NULL default '',
  `varname` varchar(60) NOT NULL default '',
  `varvalue` mediumtext NOT NULL,
  `classid` smallint(5) unsigned NOT NULL default '0',
  `isclose` tinyint(1) NOT NULL default '0',
  `myorder` smallint(5) unsigned NOT NULL default '0',
  PRIMARY KEY  (`varid`),
  KEY `classid` (`classid`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8");
E_D("replace into `dp1037_enewstempvar` values('1','head','head','<!-- banner start -->\r\n<div class=\\\\\"w990\\\\\">\r\n  <div id=\\\\\"banner\\\\\">\r\n    <div class=\\\\\"logo left\\\\\">\r\n      <a href=\\\\\"[!--news.url--]\\\\\" title=\\\\\"<?=\$public_r[\\\\''sitename\\\\'']?>\\\\\"><img src=\\\\\"[!--news.url--]images/logo.gif\\\\\" width=148 height=58 alt=\\\\\"<?=\$public_r[\\\\''sitename\\\\'']?>\\\\\"></a>\r\n    </div>\r\n    <div class=\\\\\"bat\\\\\">\r\n      <img src=\\\\\"/images/20140123_chunjie_001.gif\\\\\" width=\\\\\"670\\\\\" height=\\\\\"70\\\\\" border=\\\\\"0\\\\\" alt=\\\\\"\\\\\">\r\n    </div>\r\n	<span class=\\\\\"clear\\\\\"></span>\r\n  </div>\r\n</div>\r\n<!-- banner end -->','0','0','0');");
E_D("replace into `dp1037_enewstempvar` values('2','menu','menu','<!-- menu start -->\r\n<div class=\\\\\"w990\\\\\">\r\n  <div class=\\\\\"mnav\\\\\">\r\n    <span class=\\\\\"red1\\\\\"><a href=\\\\\"[!--news.url--]top/paihang.php\\\\\">小说排行榜</a></span>\r\n    <span class=\\\\\"black\\\\\"><a href=\\\\\"[!--news.url--]top/\\\\\" >今日风云榜</a></span>\r\n    <span class=\\\\\"black\\\\\"><a href=\\\\\"[!--news.url--]top/allbook.php\\\\\" >书库</a></span>\r\n	<span class=\\\\\"black\\\\\"><a href=\\\\\"[!--news.url--]writer/\\\\\" >作者大全</a></span>\r\n	<span class=\\\\\"black\\\\\"><a href=\\\\\"[!--news.url--]tags/\\\\\" >专题</a></span>\r\n	<div class=\\\\\"chongzhi blue\\\\\">\r\n		<a href=\\\\\"\\\\\" class=\\\\\"tg\\\\\">投稿</a><a href=\\\\\"\\\\\">充值</a>\r\n	</div>\r\n  </div>\r\n  <div id=\\\\\"menu\\\\\">\r\n    <ul>\r\n      <li><a href=\\\\\"[!--news.url--]\\\\\" class=\\\\\"mi <?php if(!\$GLOBALS[\\\\''navclassid\\\\'']){echo \\\\\"on\\\\\";} ?>\\\\\">首页</a></li>\r\n<?\r\n\$crsql=\$empire->query(\\\\\"select classid,classname from {\$dbtbpre}enewsclass where is_zt=0 order by myorder,classid\\\\\");\r\nwhile(\$crr=\$empire->fetch(\$crsql)){\r\n	\$classurlmenu=ClassUrl(\$crr[classid]);\r\n	if(\$GLOBALS[\\\\''navclassid\\\\'']==\$crr[classid]){\$mon=\\\\''class=\\\\\"on\\\\\"\\\\'';}else{\$mon=\\\\''\\\\'';}\r\n?>\r\n    <li><a href=\\\\\"<?=\$classurlmenu?>\\\\\" <?=\$mon?>><?=\$crr[classname]?></a></li>\r\n<?\r\n}\r\n?>\r\n    </ul>\r\n  </div>  \r\n</div>\r\n<!-- menu end -->','0','0','0');");
E_D("replace into `dp1037_enewstempvar` values('3','js','js','<!-- menu start -->\r\n<div class=\\\\\"w100\\\\\">\r\n  <div id=\\\\\"menu\\\\\">\r\n    <ul>\r\n    <li class=\\\\\"sx\\\\\"></li>\r\n    <li class=\\\\\"mi\\\\\" onmouseout=\\\\\"this.className=\\\\''mi\\\\''\\\\\" onmouseover=\\\\\"this.className=\\\\''mi mo\\\\''\\\\\"><a href=\\\\\"[!--news.url--]\\\\\">首页</a></li>\r\n    <li class=\\\\\"sx\\\\\"></li>\r\n<?\r\n\$crsql=\$empire->query(\\\\\"select classid,classname from {\$dbtbpre}enewsclass order by myorder,classid\\\\\");\r\nwhile(\$crr=\$empire->fetch(\$crsql)){\r\n	\$classurlmenu=ClassUrl(\$crr[classid]);\r\n?>\r\n    <li class=\\\\\"mb\\\\\" onmouseout=\\\\\"this.className=\\\\''mb\\\\''\\\\\" onmouseover=\\\\\"this.className=\\\\''mb mo\\\\''\\\\\"><a href=\\\\\"<?=\$classurlmenu?>\\\\\"><?=\$crr[classname]?></a></li>\r\n    <li class=\\\\\"sx\\\\\"></li>\r\n<?\r\n}\r\n?>\r\n    </ul>\r\n  </div>\r\n  <span class=\\\\\"clear\\\\\"></span>\r\n</div>\r\n<!-- menu end -->','0','0','0');");
E_D("replace into `dp1037_enewstempvar` values('4','foot','foot','<!-- foot start -->\r\n<span class=\\\\\"blank10\\\\\"></span>\r\n<div class=\\\\\"w990\\\\\">\r\n  <div id=\\\\\"foot\\\\\">\r\n    <div class=\\\\\"fnav\\\\\">\r\n        <a href=\\\\\"\\\\\" class=\\\\\"black\\\\\">关于我们</a> | <a href=\\\\\"\\\\\" class=\\\\\"black\\\\\">用户指南</a> | <a href=\\\\\"\\\\\" class=\\\\\"black\\\\\">联系我们</a> | <a href=\\\\\"/e/action/ListInfo/?classid=66\\\\\" class=\\\\\"black\\\\\" class=\\\\\"black\\\\\">书评</a> | <a href=\\\\\"/e/action/ListInfo/?classid=65\\\\\" class=\\\\\"black\\\\\">网站公告</a> | <a href=\\\\\"/e/action/ListInfo/?classid=99\\\\\" class=\\\\\"black\\\\\">游戏互动</a>\r\n    </div>\r\n    <span class=\\\\\"blank10\\\\\"></span>\r\n    <p align=center>本站所收录作品、社区话题、书库评论皆由网友发表，与本站立场无关。如无意侵犯您的权益，请联系本站删除。</p>\r\n    <p align=center>作品版权均为原版权人所有，未经原版权人同意，任何人不得用于商业用途。本站为非营利网站。</p>  \r\n\r\n  </div>\r\n</div>\r\n<!-- foot end -->','0','0','0');");
E_D("replace into `dp1037_enewstempvar` values('8','topnav','topnav','<!-- topnav start -->\r\n<div class=\\\\\"topbg\\\\\">\r\n  <div id=\\\\\"topnav\\\\\">\r\n    <div class=\\\\\"tn1\\\\\">欢迎光临 <?=\$public_r[sitename]?> <a onclick=\\\\\"window.external.addFavorite(location.href,document.title)\\\\\" href=\\\\\"#ecms\\\\\">收藏本站</a><a onclick=\\\\\"this.style.behavior=\\\\''url(#default#homepage)\\\\'';this.setHomePage(\\\\''/\\\\'')\\\\\" href=\\\\\"#ecms\\\\\">设为首页</a></div>\r\n    <div class=\\\\\"tn2\\\\\">\r\n	  <script src=\\\\\"/e/member/login/loginjs.php\\\\\"></script>\r\n        \r\n    </div>\r\n    <span class=\\\\\"clear\\\\\"></span>\r\n  </div>\r\n</div>\r\n<!-- topnav end -->','0','0','0');");
E_D("replace into `dp1037_enewstempvar` values('9','search_nav','面包屑内的搜索框','	<div class=\\\\\"search\\\\\">\r\n      <form method=\\\\\"post\\\\\" name=\\\\\"searchform\\\\\" id=\\\\\"searchform\\\\\" action=\\\\\"[!--news.url--]e/search/index.php\\\\\" target=\\\\\"_blank\\\\\">\r\n        <input type=\\\\\"hidden\\\\\" name=\\\\\"show\\\\\" value=\\\\\"title\\\\\" />\r\n        <input type=\\\\\"hidden\\\\\" name=\\\\\"tempid\\\\\" value=\\\\\"1\\\\\" />\r\n        <input name=\\\\\"keyboard\\\\\" type=\\\\\"text\\\\\" class=\\\\\"search_keyword\\\\\" id=\\\\\"keyboard\\\\\" onblur=\\\\\"if(this.value==\\\\''\\\\''){this.value=\\\\''请输入书名\\\\'';}\\\\\" onfocus=\\\\\"if(this.value==this.defaultValue){this.value=\\\\''\\\\'';}\\\\\" autocomplete=\\\\\"off\\\\\" x-webkit-grammar=\\\\\"builtin:translate\\\\\" x-webkit-speech=\\\\\"\\\\\" value=\\\\\"请输入书名\\\\\" />\r\n		<input type=\\\\\"image\\\\\" src=\\\\\"[!--news.url--]skin/v3/im/search1.gif\\\\\">\r\n        <span class=\\\\\"clear\\\\\"></span>\r\n      </form>\r\n	</div> ','0','0','0');");
E_D("replace into `dp1037_enewstempvar` values('10','pl','评论表单','	<script>\r\n	function CheckPl(obj){\r\n		if(obj.saytext.value==\\\\\"\\\\\")\r\n		{\r\n		  alert(\\\\\"您没什么话要说吗？\\\\\");\r\n		  obj.saytext.focus();\r\n		  return false;\r\n		}\r\n		  return true;\r\n	}\r\n	</script>\r\n<form action=\\\\\"[!--news.url--]e/pl/doaction.php\\\\\" method=\\\\\"post\\\\\" name=\\\\\"saypl\\\\\" id=\\\\\"saypl\\\\\" onsubmit=\\\\\"return CheckPl(document.saypl)\\\\\">\r\n<input name=\\\\\"username\\\\\" type=\\\\\"hidden\\\\\" class=\\\\\"inputText\\\\\" id=\\\\\"username\\\\\" value=\\\\\"\\\\\" size=\\\\\"16\\\\\" />\r\n<input name=\\\\\"password\\\\\" type=\\\\\"hidden\\\\\" class=\\\\\"inputText\\\\\" id=\\\\\"password\\\\\" value=\\\\\"\\\\\" size=\\\\\"16\\\\\" />\r\n<input name=\\\\\"id\\\\\" type=\\\\\"hidden\\\\\" id=\\\\\"id\\\\\" value=\\\\\"[!--id--]\\\\\" />\r\n<input name=\\\\\"classid\\\\\" type=\\\\\"hidden\\\\\" id=\\\\\"classid\\\\\" value=\\\\\"[!--class.id--]\\\\\" />\r\n<input name=\\\\\"enews\\\\\" type=\\\\\"hidden\\\\\" id=\\\\\"enews\\\\\" value=\\\\\"AddPl\\\\\" />\r\n<input name=\\\\\"repid\\\\\" type=\\\\\"hidden\\\\\" id=\\\\\"repid\\\\\" value=\\\\\"0\\\\\" />\r\n<input type=\\\\\"hidden\\\\\" name=\\\\\"ecmsfrom\\\\\" value=\\\\\"[!--titleurl--]\\\\\">\r\n<div class=\\\\\"sayhd\\\\\">\r\n	<strong>发表新评论</strong> <span><script src=\\\\\"[!--news.url--]e/member/login/plstates.php\\\\\"></script></span>\r\n    验证码:\r\n    <input name=\\\\\"key\\\\\" type=\\\\\"text\\\\\" class=\\\\\"inputText\\\\\" size=\\\\\"10\\\\\" />\r\n    <img src=\\\\\"[!--news.url--]e/ShowKey/?v=pl\\\\\" align=\\\\\"absmiddle\\\\\" />\r\n	<input name=\\\\\"nomember\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"nomember\\\\\" value=\\\\\"1\\\\\" /> 匿名发表\r\n</div>\r\n<textarea name=\\\\\"saytext\\\\\" rows=\\\\\"5\\\\\" id=\\\\\"saytext\\\\\" class=\\\\\"saytext\\\\\"></textarea>\r\n<div class=\\\\\"tijiao\\\\\">\r\n	<input name=\\\\\"submit\\\\\" type=\\\\\"submit\\\\\" value=\\\\\"提交\\\\\"/>\r\n</div>\r\n</form>','0','0','0');");
E_D("replace into `dp1037_enewstempvar` values('11','shaixun','书籍筛选表单','     <form action=\\\\\"[!--news.url--]top/shaixuan.php\\\\\" method=\\\\\"get\\\\\" target=\\\\\"_blank\\\\\" id=\\\\\"FrmFilter\\\\\">\r\n	   <input type=\\\\\"hidden\\\\\" name=\\\\\"fromurl\\\\\" value=\\\\\"1037\\\\\">\r\n	   <select id=\\\\\"full\\\\\" name=\\\\\"full\\\\\">\r\n	     <option value=\\\\\"1\\\\\">完结</option>\r\n		 <option value=\\\\\"2\\\\\">连载中</option>\r\n		 <option value=\\\\\"0\\\\\">不限</option>\r\n	   </select>        \r\n	   <select id=\\\\\"day\\\\\" name=\\\\\"day\\\\\">   \r\n	     <option value=\\\\\"0\\\\\">更新时间</option>\r\n	     <option value=\\\\\"1\\\\\">本周</option>          \r\n	     <option value=\\\\\"2\\\\\">本月</option>\r\n		 <option value=\\\\\"3\\\\\">本年</option>		         \r\n	   </select>        \r\n	   <select id=\\\\\"order\\\\\" name=\\\\\"order\\\\\">          \r\n	     <option value=\\\\\"0\\\\\">更新时间排序</option>          \r\n		 <option value=\\\\\"1\\\\\">点击排行</option>          \r\n		 <option value=\\\\\"2\\\\\">推荐排行</option>          \r\n		 <option value=\\\\\"3\\\\\">下载排行</option>        \r\n	   </select>        \r\n	   <select id=\\\\\"classid\\\\\" name=\\\\\"classid\\\\\">\r\n	     <option value=\\\\\"0\\\\\">不限栏目</option>\r\n		 <option value=\\\\\"11\\\\\">武侠</option>\r\n		 <option value=\\\\\"12\\\\\">言情</option>\r\n		 <option value=\\\\\"14\\\\\">悬疑</option>\r\n		 <option value=\\\\\"15\\\\\">科幻</option>\r\n	   </select>\r\n	   <input type=\\\\\"image\\\\\" style=\\\\\"cursor:pointer;vertical-align:middle;\\\\\" src=\\\\\"[!--news.url--]skin/v3/im/filter.gif\\\\\">\r\n	 </form>','0','0','0');");

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