请问建表是什么意思?我没看懂下面的英文到底要放去哪里的!
安装说明
建表
CREATE TABLE `uchome_plug_newfarm` (
`uid` mediumint(8) NOT NULL,
`farmlandstatus` text character set utf8 NOT NULL,
`animal` text character set utf8 NOT NULL,
`taskid` int(2) NOT NULL default '1',
`charm` int(10) NOT NULL default '0',
`money` int(10) NOT NULL default '0',
`exp` int(10) NOT NULL default '0',
`mc_exp` int(10) NOT NULL default '0',
`fb` int(10) NOT NULL default '0',
`reclaim` smallint(2) NOT NULL default '6',
`package` text character set utf8 NOT NULL,
`mc_package` text character set utf8 NOT NULL,
`fertilizer` text character set utf8 NOT NULL,
`decorative` text character set utf8 NOT NULL,
`fruit` text character set utf8 NOT NULL,
`dog` text character set utf8 NOT NULL,
`nosegay` text character set utf8 NOT NULL,
`message` text character set utf8 NOT NULL,
`mc_taskid` int(2) NOT NULL default '0',
PRIMARY KEY (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
2,所有文件拷贝至uchome的目录
3.这段代码 加在 header.htm 模板的</style>前面
<!--{if $newfarm}-->
@import url(newfarm/newfarm.css);
<!--{/if}-->
和在
<li><img src="image/app/topic.gif"><a href="space.php?do=topic">热闹</a></li>
后面加
<li><img src="image/app/farm.gif"><a href="newfarm.php">开心农场</a></li>
4.uchome后台缓存更新
5.去uchome的后台添加计划任务
计划任务的php文件是 fgh.php
比如设置3点运行 那么每天3点 就刷虫,草 ,干旱
你要多刷 那就多设置几个 计划任务 |