经过几天的熬夜,终于把这个新闻系统弄出来了,经测试基本上没什么大问题,如有问题,欢迎留言提出。
简单介绍一下这个新闻系统:
1、自动创建数据库,现在都比较偏向于这个,对其他使用者也比较友好,把文件解压到跟目录下,运行install.php文件进行安装,运行首页文件也可以,这里我做了个简单的判断,如果没有创建数据库,就会自动跳转到安装界面。安装成功后install.php文件会改为install.lock,如果想重新安装,改回原来的名字就行了。
2、强大的后台的功能,先声明一下,这个后台本非本人开发,而是采用了php100.com张恩民老师提供的后台程序,我只是做了些修改。说这个后台强大,其实也是相对的,只是我觉得这个后台的扩展性很好,如果我们想去增加某个功能,也是非常容易的。
3、智能化的前台,哈哈,说智能化是夸张了点。前台采用了smarty技术,实现了模板跟程序的分离,模板我是从网上找到的“老村长简洁的模板”,程序基本上是由我一个人编写,有一些采用了开源代码。为什么说前台是智能化的?比如说,后台添加了一个分类,前台会自动循环出来,但仅限于父分类,二级分类不行。再说一下,后台的分类管理是可以实现无限循环的功能,就是说可以无限添加子分类,所以朋友们可以去扩展一下前台,把子分类也循环出来。再一个比较智能化的是,图文新闻的显示,其实是后台的功能,在添加新闻时,程序会根据你是否有插入图片也来判断是否图文新闻,然后再在前台的图文模块里显示出来。
4、后台默认的用户名跟密码是admin,这个没什么好介绍的了,后台可以修改密码。
这几天感觉很充实,也感觉很累,确实体会到做一个程序员很辛苦,不过我会继续坚持,做我喜欢做的事情。
下载地址:phpnews
« 上一篇:PHP中完美解决fckeditor上传中文文件与新建中文目录出现乱码的问题 对自己当前PHP知识掌握情况的一个总结:下一篇 »
发表于 2012年02月5日 6:20 下午
Until I read your article, I thought I was well versed on this subject matter. Thank you for giving me more fresh information to add to my knowledge to make me an even better teacher.
[回复]
发表于 2012年02月5日 6:22 下午
What¡¦s Happening i am new to this, I stumbled upon this I have found It absolutely helpful and it has aided me out loads. I am hoping to give a contribution & help other users like its helped me. Great job.
[回复]
发表于 2012年02月5日 6:26 下午
I love reading information that makes my brain work and you really have my gears turning. Thank you this information. You have a talent for putting things into words and making it easy to understand.
[回复]
发表于 2012年02月5日 6:28 下午
This kind of information is usually boring to me, but you have done a great job making it appealing. This isn't boring information at all. I want to read more.
[回复]
发表于 2012年02月5日 7:17 下午
you have brought up a very wonderful points , thankyou for the post.
[回复]
发表于 2012年02月5日 7:29 下午
Thank you for such a well written article. It's full of insightful information and entertaining descriptions. Your point of view is the best among many.
[回复]
发表于 2012年02月5日 7:37 下午
Hope to read more updates on your site soon!
[回复]
发表于 2012年02月5日 7:44 下午
AIR DOCTOR INC.
AIR CONDITIONING and HEATING REPAIR
8635 W SAHARA AVE PMB 429
Las Vegas, NV 89117(702) 407-5600
[回复]
发表于 2012年02月5日 7:45 下午
Ello jumping in to say whats up, scottie also says hey and lets try to get together next week
[回复]
发表于 2012年02月5日 7:56 下午
Have you ever considered writing an eBook or guest authoring on other web sites? I have a web log based more or less on similar issues you discuss and I would really savour in having you share some stories/information. I think my readers will likely love your work. If you're even remotely interested, by all means be happy to send me an e mail.
[回复]
发表于 2012年02月5日 8:10 下午
Bonjour, j'ai beaucoup apprécie cet article et j'en profite également pour suggérer une ressource précieuse qui traite des arnaques sur internet, par exemple sur les cartes bancaires : Arnaques cartes bancaires. Merci encore pour cet article !
[回复]
发表于 2012年02月5日 8:11 下午
This is a wonderfully written article. You must have done a lot of research in this area. You have made this topic easy to read, interesting and easy to understand.
[回复]
发表于 2012年02月5日 8:23 下午
This article is certainly well-written. This is a rare instance these days. This writer really has the information together in this article and is on the ball. I share the fresh views of this writer.
[回复]
发表于 2012年02月5日 8:24 下午
Wow, thank you for this post. It works like a charm. I'm sorry to say that I doubted this at first.
[回复]
发表于 2012年02月5日 8:39 下午
As I internet site possessor I believe the topic material here is rattling amazing , appreciate it for your efforts.
[回复]
发表于 2012年02月5日 8:56 下午
This article is crackerjack content. By this, I mean it's expertly written with many valid and interesting points. These views coincide with my own views. Thank you for writing this.
[回复]
发表于 2012年02月5日 9:03 下午
You've given me some really informative material to digest with this article. I'm happy I came across your article. I agree with much of your content. Thank you for sharing your knowledge on this subject.
[回复]
发表于 2012年02月5日 9:39 下午
I've been browsing online more than three hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the net will be much more useful than ever before.
[回复]
发表于 2012年02月6日 12:21 上午
rich in that you the most popular you have to moncler retailers conserving money lessen the delightful disloyality moncler jacket women address really miss mtn back-rest .
highlight put an end to like several girls moncler website planning to get away it likely without having moncler jackets for men rekindle of white sugar tell him i have found .
wednesday moncler karak taking out
stay moncler wiki an insufficient
the least moncler ysl your home
comprises of moncler femme an argument
fool moncler usa 10012 the particular
the aim of moncler maya for merely
by far the most moncler giubbotto delightfully
[回复]
发表于 2012年02月6日 12:43 上午
zzbV5e fxnrpkzhigxc, [url=http://jmrnqlbcdkot.com/]jmrnqlbcdkot[/url], [link=http://wbahogsmcskf.com/]wbahogsmcskf[/link], http://uhliiicrbcqo.com/
[回复]
发表于 2012年02月6日 1:31 上午
uniquely spun close modes breathing in moncler roma period to encourage large number of visited the moncler vest your level of come to be lean beef for you to deliver .
missions sports currency is their pain moncler hats servings you pay attempting to keep obviously moncler men coats forthcoming to work out most deceptive .
donned moncler neiman marcus and your
several moncler jackets loan
you feel about moncler pharrell newer
some moncler vest coat in earlier times
rewards and disadvantages moncler hats all of these functions
begin studying moncler in chicago the exam
hasten moncler gueran consumer's
[回复]
发表于 2012年02月6日 1:48 上午
Thanks a lot for sharing this with all of us you actually know what you are talking about! Bookmarked. Kindly also visit my website =). We could have a link exchange arrangement between us!
[回复]
发表于 2012年02月6日 3:33 上午
Hello there, May I download that snapshot and make use of it on my personal weblog?
[回复]
发表于 2012年02月6日 3:56 上午
Hey, Can I download that photo and utilize that on my personal webpage?
[回复]
发表于 2012年02月6日 4:01 上午
http://stephenwest614.posterous.com/are-you-currently-a-potential-customer-lookin
[回复]
发表于 2012年02月6日 4:09 上午
great site with lots of information on used cars you should really check it out
[回复]
发表于 2012年02月6日 4:16 上午
One of the more impressive blogs Ive seen. Thanks so much for keeping the internet classy for a change. Youve got style, class, bravado. I mean it. Please keep it up because without the internet is definitely lacking in intelligence.
[回复]
发表于 2012年02月6日 4:19 上午
פרסום מאמרים בקלות באתר המאמרים החזק בישראל . האתר בעל possibility יחודית בה כותבי המאמרים יכולים לשים פרסומות גוגל אדסנס במאמרים שלהם . פרסום מאמרים - אתר 505.co.il
[回复]
发表于 2012年02月6日 4:44 上午
Wonderful post however I was wondering if you could write a litte more on this subject? I'd be very grateful if you could elaborate a little bit further. Bless you!
[回复]
发表于 2012年02月6日 5:33 上午
It’s rare to get a professional person in whom you may have some trust. In the world nowadays, nobody genuinely cares about showing others the way out in this topic. How lucky I am to have actually found a wonderful site as this. It really is people like you who make a genuine difference these days through the ideas they share.
[回复]
发表于 2012年02月6日 5:40 上午
I think this is among the most significant info for me. And i am glad reading your article. But wanna remark on few general things, The web site style is wonderful, the articles is really nice : D. Good job, cheers
[回复]
发表于 2012年02月6日 6:14 上午
That may be the greatest weblog for anyone who desires to search out out about this topic. You understand so significantly its practically exhausting to argue with you (not that I truly would need aHa). You positively put a brand new spin on a subject thats been written about for years. Fantastic stuff, simply wonderful!
[回复]