只需一步,快速开始
ALTER TABLE `cdb_oufennews` ADD `type` int(1) unsigned NOT NULL default 2 AFTER `title`;
if(file_exists(DISCUZ_ROOT.'forumdata/cache/news.php')) require_once(DISCUZ_ROOT.'forumdata/cache/news.php');
if(file_exists(DISCUZ_ROOT.'forumdata/cache/news2.php'))//news1.php为站内,news2.php为要闻 require_once(DISCUZ_ROOT.'forumdata/cache/news2.php');//news3.php为国际,news4.php为国内
CREATE TABLE IF NOT EXISTS cdb_oufennews ( `page` varchar(17) NOT NULL, `title` varchar(80) NOT NULL, `type` int(1) unsigned NOT NULL, `content` text NOT NULL, PRIMARY KEY (`page`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk;
DROP TABLE IF EXISTS cdb_oufennews;
require_once './include/common.inc.php';
<div id="ad_text"></div>
<div class="mainbox forumlist"> <h3>最新时事要闻</h3> <table width=100% cellspacing="0" cellpadding="0"><tr><td> <marquee onmouseover='this.stop()' onmouseout='this.start()' scrollDelay=200 scrollAmount=6 class=a>$new </marquee> </td></tr></table> </div>
您需要 登录 才可以下载或查看,没有账号?立即注册
使用道具 举报
<marquee onmouseover='this.stop()' onmouseout='this.start()' scrollDelay=200 scrollAmount=6 class=a>$new </marquee>
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2024-12-24 00:30 , Processed in 0.031331 second(s), 5 queries , Gzip On, Redis On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.