调用栏目链接:
<?=sys_ReturnBqClassname($class_r[栏目ID],9)?>
调用栏目名称:
<?=$class_r[栏目ID][classname]?>
<?php//栏目别名修改SQL生成//lcqez.com$sql=$empire->query("select * from {$dbtbpre}enewsclass ");while($r=$empire->fetch($sql)){?> update phome_enewsclass set classname='<?=$r[classname]?>',bname='<?=$r[bname]?>' where classid=<?=$r[classid]?>;<?}?>
ALTER TABLE `[!db.pre!]enewstags` ADD `filepath` varchar(255) NOT NULL;ALTER TABLE `[!db.pre!]enewstags` ADD `filename` varchar(255) NOT NULL;ALTER TABLE `[!db.pre!]enewstags` ADD `tempid` smallint(6) NOT NULL;ALTER TABLE `[!db.pre!]enewstags` ADD `havehtml` tinyint(1) NOT NULL;ALTER TABLE `[!db.pre!]enewstags` ADD `endtime` int(11) NOT NULL;ALTER TABLE `[!db.pre!]enewstags` ADD `starttime` int(11) NOT NULL;ALTER TABLE `[!db.pre!]enewstags` ADD `line` tinyint(4) NOT NULL;ALTER TABLE `[!db.pre!]enewstags` ADD `mid` tinyint(4) NOT NULL;ALTER TABLE `[!db.pre!]enewstags` ADD `classid` int(11) NOT NULL;ALTER TABLE `[!db.pre!]enewstags` ADD `totalnum` int(11) NOT NULL;