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

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

E_D("DROP TABLE IF EXISTS `dp1037_enewspage`;");
E_C("CREATE TABLE `dp1037_enewspage` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `title` varchar(120) NOT NULL default '',
  `pagetext` mediumtext NOT NULL,
  `path` varchar(255) NOT NULL default '',
  `classid` smallint(5) unsigned NOT NULL default '0',
  `pagetitle` varchar(120) NOT NULL default '',
  `pagekeywords` varchar(255) NOT NULL default '',
  `pagedescription` varchar(255) NOT NULL default '',
  `tempid` smallint(5) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `classid` (`classid`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8");
E_D("replace into `dp1037_enewspage` values('1','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 \\\\\">首页</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?>\r\n    <li><a href=\\\\\"<?=\$classurlmenu?>\\\\\"><?=\$crr[classname]?></a></li>\r\n<?\r\n}\r\n?>\r\n    </ul>\r\n  </div>  \r\n</div>\r\n<!-- menu end -->','../../inpage/menu.html','0','','','','0');");
E_D("replace into `dp1037_enewspage` values('2','tag首页','<!DOCTYPE html>\r\n<html>\r\n<head>\r\n<meta charset=\\\\\"utf-8\\\\\" />\r\n<title>[!--pagetitle--] - <?=\$public_r[sitename]?></title>\r\n<meta name=\\\\\"description\\\\\" content=\\\\\"[!--pagedes--]\\\\\" />\r\n<link href=\\\\\"[!--news.url--]skin/v3/t.css\\\\\" rel=\\\\\"stylesheet\\\\\" />\r\n</head>\r\n\r\n<body>\r\n[!--temp.topnav--]\r\n[!--temp.head--]\r\n[!--temp.menu--]\r\n\r\n<!-- main start -->\r\n<div class=\\\\\"w990\\\\\">\r\n  <div class=\\\\\"weizhi\\\\\">\r\n    <div class=\\\\\"wznav black\\\\\">\r\n      <h5>当前位置：<a href=\\\\\"[!--news.url--]\\\\\"><?=\$public_r[sitename]?></a> > <a href=\\\\\"[!--news.url--]tags/\\\\\">全部专题</a></h5>\r\n    </div>\r\n	[!--temp.search_nav--]\r\n	<div class=\\\\\"clear\\\\\"></div>\r\n  </div>\r\n\r\n  <!-- left -->\r\n  <div id=\\\\\"zuo\\\\\" class=\\\\\"left\\\\\">\r\n      <?\r\n	    \$sql=\$empire->query(\\\\\"select * from {\$dbtbpre}enewstags order by isgood desc\\\\\");\r\n		while(\$r=\$empire->fetch(\$sql)){			\r\n	  ?>\r\n\r\n<div class=\\\\\"sbintro\\\\\">\r\n  <h3><a href=\\\\\"<?=\$r[tagid]?>/\\\\\"><?=\$r[tagname]?></a></h3>\r\n  <div class=\\\\\"sbii\\\\\"><?=\$r[intro]?></div>\r\n  <div class=\\\\\"tbzp\\\\\">\r\n    <?\r\n	  \$bsql=\$empire->query(\\\\\"select * from {\$dbtbpre}enewstagsdata where tagid=\$r[tagid]\\\\\");\r\n	  while(\$br=\$empire->fetch(\$bsql)){\r\n		echo GetBK(\$br[id]);\r\n	  }\r\n	?>\r\n  </div>\r\n  <div class=\\\\\"clearl\\\\\"></div>\r\n</div>\r\n\r\n	  <?\r\n		}\r\n	  ?>\r\n  </div>\r\n  <!-- right -->\r\n  <!-- right -->\r\n  <div id=\\\\\"you\\\\\" class=\\\\\"right\\\\\">\r\n\r\n    <div class=\\\\\"bkhd\\\\\">\r\n      <h4>热门作家</h4>\r\n    </div>\r\n    <div class=\\\\\"bkcon\\\\\">\r\n      <ul class=\\\\\"zpl\\\\\">\r\n    <?php\r\n        \$sql=\$empire->query(\\\\\"select * from {\$dbtbpre}enewswriter where isgood>=0 order by isgood desc limit 12\\\\\");\r\n        \$i=0;\r\n        while(\$r=\$empire->fetch(\$sql)){\r\n            \$i+=1;\r\n    ?>\r\n        <li><a href=\\\\\"[!--news.url--]writer/<?=\$r[wid]?>/\\\\\" title=\\\\\"<?=\$r[wname]?>\\\\\" target=\\\\\"_blank\\\\\"><?=\$r[wname]?></a></li>\r\n    <?\r\n        }\r\n    ?>\r\n      </ul>\r\n    </div>\r\n    <span class=\\\\\"blank10\\\\\"></span>\r\n    <!-- - -->\r\n    <div class=\\\\\"bkhd\\\\\">\r\n      <h4>热门作品</h4>\r\n    </div>\r\n    <div class=\\\\\"bkcon\\\\\">\r\n      <ul class=\\\\\"zpl\\\\\">\r\n    <?php\r\n        \$sql=\$empire->query(\\\\\"select * from {\$dbtbpre}ecms_bookname order by onclick desc limit 12\\\\\");\r\n        \$i=0;\r\n        while(\$r=\$empire->fetch(\$sql)){\r\n            \$i+=1;\r\n    ?>\r\n        <li><a href=\\\\\"<?=\$r[titleurl]?>\\\\\" title=\\\\\"<?=\$r[title]?>\\\\\" target=\\\\\"_blank\\\\\"><?=\$r[title]?></a></li>\r\n    <?\r\n        }\r\n    ?>\r\n      </ul>\r\n    </div>\r\n\r\n  </div>\r\n  <div class=\\\\\"clear\\\\\"></div>\r\n</div>\r\n<!-- main end -->\r\n\r\n[!--temp.foot--]\r\n\r\n</body>\r\n</html>','../../tags/index.html','0','全部专题','','','0');");
E_D("replace into `dp1037_enewspage` values('3','head','[!--temp.head--]','../../inpage/head.html','0','','','','0');");
E_D("replace into `dp1037_enewspage` values('4','topnav','[!--temp.topnav--]','../../inpage/topnav.html','0','','','','0');");
E_D("replace into `dp1037_enewspage` values('5','foot','[!--temp.foot--]','../../inpage/foot.html','0','','','','0');");
E_D("replace into `dp1037_enewspage` values('6','search','[!--temp.search_nav--]','../../inpage/search.html','0','','','','0');");

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