I have always wanted to make a system for netizens to recommend articles, but I have never had time to complete it. Now I finally finished it in a hurry. And put it on my personal website: Banzhuyuan<>. In order to promote the spirit of open source programs and to better improve this system, I will disclose the source code of this system here. I hope it can serve the purpose of exchanging learning experiences, and I hope that friends will put forward more suggestions and suggestions for improvement of this system. If you have any suggestions or comments, please feel free to write to Bamboo (wangyy@), or leave a message to Bamboo at BBS in Banzhuyuan.
This system was developed under the tight time, so it is still very incomplete. And the function is simple. The reason for developing this system is to enrich the content of Banzhuyuan and also to reduce the workload of my maintenance.
This system does not require registration, just fill in the form. This system is developed based on the mutual benefit of this website and the recommender. Therefore, in order to bring some benefits to the recommender, this system allows you to specify the connection address of the picture displayed at the bottom of the article in the future when recommending an article. The size of this picture is preferably 400*60 pictures. In this way, every other netizen saw the article you recommended was equivalent to making an advertisement.
This system consists of the following files:
Recommended article form file:. Friends can use the corresponding tools to make this file by themselves. I will not provide the source code here; the recommended articles
: File; File that displays the article list; Displays the article for each article. Here I will provide the source code separately.
First, a corresponding database must be established. 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
)
This system was developed under the tight time, so it is still very incomplete. And the function is simple. The reason for developing this system is to enrich the content of Banzhuyuan and also to reduce the workload of my maintenance.
This system does not require registration, just fill in the form. This system is developed based on the mutual benefit of this website and the recommender. Therefore, in order to bring some benefits to the recommender, this system allows you to specify the connection address of the picture displayed at the bottom of the article in the future when recommending an article. The size of this picture is preferably 400*60 pictures. In this way, every other netizen saw the article you recommended was equivalent to making an advertisement.
This system consists of the following files:
Recommended article form file:. Friends can use the corresponding tools to make this file by themselves. I will not provide the source code here; the recommended articles
: File; File that displays the article list; Displays the article for each article. Here I will provide the source code separately.
First, a corresponding database must be established. 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
)