Recommended article System (i)

Source: Internet
Author: User
I have always wanted to do a user to recommend the article system, but there has been no time to complete. And now it's finally done hastily. and put it on my personal website: the Bamboo garden The system is in the time is very tense situation developed, so it is still very imperfect. And the function is also very simple. The reason for the development of this system is to enrich the content of the bamboo garden, but also to reduce the workload of my maintenance.
The system does not register, as long as you fill out the form can be. This system is based on the site and the recommendation of mutual benefit based on the development, so in order to bring a little benefit to the recommender, this system allows you to recommend the article when you specify a future display at the bottom of the picture's connection address. The size of the picture is best for 400*60 pictures. So every other netizen sees you recommend the article, it is equivalent to make an advertisement.
The system consists of the following documents:
A form file for a recommended article: Appre.htm. The file friends can use the corresponding tools to make their own, where I do not provide the source code; handling Recommended Articles
: appre.php file, article.php file that displays a list of articles, and articledisp.php for each article. Here I provide the source code separately.
First, you must establish the appropriate database. The statement is:
CREATE TABLE article (
ID int NOT NULL auto_increment primary key,
Name varchar (15),
WebName varchar (255),
Webadd varchar (255),
Weblogo varchar (255),
ArticleName varchar (255),
Articleauthor varchar (255),
Articlemsg longtext NULL
)


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.