drop database ntsky;
create database ntsky;
use ntsky;
create table NEWSAdmin(userName varchar(20) NOT NULL,
passWd varchar(20) NOT NULL,
purview int not null,
lastLogin datetime,
lastLoginIp varchar(20),
primary key(username),
);
create table NEWSClass(classId int NOT NULL,
content varchar(20) NOT NULL,
primary key(classid),
);
create table NEWSKind(kindId int NOT NULL auto_increment,
content varchar(255) NOT NULL,
classId int NOT NULL,
primary key(kindId),
);
create table NEWS(newsId int NOT NULL auto_increment,
classId int NOT NULL,
kindId int NOT NULL,
myOther int NOT NULL,
headTitle varchar(255) NOT NULL,
content text NOT NULL,
connect varchar(255),
author varchar(20) NOT NULL,
editor varchar(20),
newsFrom varchar(40),
top int,
newsTime varchar(20),
hits int default 0,
state int default 0,
tag int NOT NULL,
primary key(newsId),
);
create table NEWSReply(replyId int not null auto_increment,
newsId int not null,
user varchar(20),
content varchar(100),
replyTime varchar(20),
primary key(replyId),
);
create table NEWSUsr(userName varchar(20) NOT NULL,
passWd varchar(20) NOT NULL,
sex int,
question varchar(255),
answer varchar(255),
emailAddr varchar(50),
qq varchar(10),
http varchar(30),
purview int default 1,
regTime varchar(20),
primary key(userName),
);
create table NEWSPopedom(gradeId int not null,
grade varchar(20),
primary key(gradeId),
);
CREATE TABLE NOTEAdmin (adminName char(20) NOT NULL,
adminPasswd char(20) NOT NULL,
PRIMARY KEY(adminName)
);
create table NOTEGuest(noteId int NOT NULL auto_increment,
userName char(20) NOT NULL,
sex int NOT NUll,
email char(50),
qq char(9),
url char(50),
headTitle text NOT NULL,
content text NOT NULL,
image text,
noteTime varchar(20),
primary key(noteId)
);
CREATE TABLE NOTEReply (replyId int not null auto_increment,
noteId int(11) NOT NULL,
content text,
replyTime varchar(20),
primary key(replyId)
);
INSERT INTO NEWSAdmin(userName,passWd,purview) VALUES('ntsky123','ntsky123',0);
insert into NOTEAdmin(adminName,adminPasswd) values('ntsky123','ntsky123');
create table NEWSCommon(counter int not null,
ip varchar(20) not null
);
insert into NEWSCommon(counter,ip) values(1,'127.0.0.1');
insert into NEWSClass(classId,content) values(1,'linux入门');
insert into NEWSClass(classId,content) values(2,'服务器配置');
insert into NEWSClass(classId,content) values(3,'应用开发');
insert into NEWSClass(classId,content) values(4,'数据库应用');
INSERT INTO NEWSClass(classId,content) VALUES(5,'系统安全');
insert into NEWSKind(kindId,content,classId) values(1,'linux教程',1);
insert into NEWSKind(kindId,content,classId) values(2,'学习笔记',1);
insert into NEWSKind(kindId,content,classId) values(3,'windows',2);
insert into NEWSKind(kindId,content,classId) values(4,'linux',2);
insert into NEWSKind(kindId,content,classId) values(5,'unix',2);
insert into NEWSKind(kindId,content,classId) values(6,'jsp&servlet',3);
insert into NEWSKind(kindId,content,classId) values(7,'java',3);
insert into NEWSKind(kindId,content,classId) values(8,'xml',3);
insert into NEWSKind(kindId,content,classId) values(9,'delphi',3);
insert into NEWSKind(kindId,content,classId) values(10,'.net',3);
insert into NEWSKind(kindId,content,classId) values(11,'oracle',4);
insert into NEWSKind(kindId,content,classId) values(12,'mysql',4);
insert into NEWSKind(kindId,content,classId) values(13,'mssql',4);
insert into NEWSKind(kindId,content,classId) values(14,'安全防护',5);
insert into NEWSKind(kindId,content,classId) values(15,'漏洞攻击',5);
insert into NEWSPopedom(gradeId,grade) values(3,'金牌会员');
insert into NEWSPopedom(gradeId,grade) values(2,'银牌会员');
insert into NEWSPopedom(gradeId,grade) values(1,'普通会员');
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
NTsky新闻发布系统 v1.0稳定版_18655.rar是一款专为计算机专业人士设计的JSP源码资料包。这款资料包的主要功能是帮助用户快速、高效地管理和发布新闻信息。它采用了先进的JSP技术,结合了数据库管理系统,使得新闻的发布和管理变得简单而直观。该资料包包含了完整的源代码,用户可以根据自己的需求进行修改和优化。同时,它还提供了详细的使用说明和技术文档,即使是对JSP技术不太熟悉的用户,也能快速上手。此外,该资料包还具有良好的用户界面设计,使得操作更加人性化。NTsky新闻发布系统 v1.0稳定版_18655.rar的另一个优点是其稳定性。经过多次测试和优化,该系统已经达到了稳定运行的状态,可以满足用户在各种环境下的使用需求。无论是在个人电脑上,还是在服务器上,都能稳定运行。总的来说,NTsky新闻发布系统 v1.0稳定版_18655.rar是一款功能强大、操作简便、稳定性高的JSP源码资料包。无论是对于专业的计算机人士,还是对于初学者,都是一个很好的学习和使用工具。重新回答||
资源推荐
资源详情
资源评论
收起资源包目录
新闻文章NTsky新闻发布系统 v1.0稳定版-18655.rar (278个子文件)
copyleft.jsp.bak 1KB
usernews.js.bak 503B
show.js.bak 231B
16.bmp 2KB
13.bmp 2KB
15.bmp 2KB
14.bmp 2KB
12.bmp 2KB
17.bmp 2KB
18.bmp 2KB
11.bmp 2KB
News.class 14KB
NewsShow.class 11KB
LinkNews.class 10KB
Usr.class 9KB
MD5.class 8KB
UserManage.class 8KB
SearchNews.class 7KB
Column.class 7KB
DBConnectionManager.class 6KB
Personal.class 6KB
Guest.class 5KB
Kind.class 5KB
UserNews.class 5KB
DBConnectionManager$DBConnectionPool.class 5KB
Manager.class 4KB
ISLogin.class 4KB
SQLDBOperator.class 4KB
Reply.class 4KB
abc.class 4KB
Debug.class 4KB
NEWSTable.class 3KB
Counter.class 3KB
Pagination.class 3KB
EnvironmentConfig.class 3KB
NEWSUsr.class 2KB
NOTEGuest.class 2KB
DOServlet.class 2KB
CodeFilter.class 2KB
Test.class 2KB
NEWSAdmin.class 1KB
NEWSReply.class 1KB
SessionManager.class 1KB
NOTEReply.class 1KB
DateUtil.class 1KB
NEWSKind.class 957B
NOTEAdmin.class 782B
NEWSClass.class 767B
NEWSPopedom.class 764B
DBOperator.class 545B
ISiteEnvironment.class 227B
text.css 2KB
text.css 938B
admin.css 524B
Thumbs.db 138KB
Thumbs.db 19KB
NTsky新闻发布系统.doc 333KB
linux.gif 9KB
20.gif 7KB
index.gif 7KB
04.gif 6KB
18.gif 6KB
03.gif 6KB
01.gif 6KB
02.gif 6KB
17.gif 6KB
06.gif 6KB
14.gif 6KB
09.gif 5KB
12.gif 5KB
16.gif 5KB
11.gif 5KB
07.gif 5KB
15.gif 5KB
21.gif 5KB
05.gif 5KB
13.gif 5KB
19.gif 5KB
08.gif 5KB
10.gif 5KB
right_background.gif 5KB
cjlj.gif 4KB
lltj.gif 4KB
big_load.gif 3KB
go.gif 3KB
zngg.gif 3KB
yourstate.gif 3KB
google.gif 3KB
title1.gif 3KB
czl.gif 3KB
linux_hot.gif 2KB
big_search.gif 2KB
title7.gif 2KB
title4.gif 2KB
title2.gif 2KB
top_middle.gif 2KB
morer.gif 2KB
top_left.gif 2KB
search.gif 1KB
more.gif 1KB
共 278 条
- 1
- 2
- 3
资源评论
计算机学长2024
- 粉丝: 29
- 资源: 307
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- tensorflow-gpu-2.5.3-cp37-cp37m-manylinux2010-x86-64.whl
- tensorflow-gpu-2.2.1-cp35-cp35m-win-amd64.whl
- tensorflow-gpu-2.5.3-cp38-cp38-manylinux2010-x86-64.whl
- 2023-04-06-项目笔记 - 第一百三十五阶段 - 4.4.2.133全局变量的作用域-133 -2024.05.16
- Screenshot_20240516_224007.jpg
- IEEE802.3dj-800G DR4 & 1.6T DR8-welch-3dj-01a-230206 .pdf
- Matlab三维图绘制基础了解
- IEEE802.3dj-800GBASE FR4-welch-3dj-01a-2401 .pdf
- 实验3-拆弹专家-3023244203-刘宇翔
- base.apk
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功