Program introduction
This program is written using the ThinkPHP framework. The entire site uses ajax to request and submit data without refreshing. It is very smooth to use and has a high user experience.
The functions implemented by this program are:
Avatar: The avatar uses the QQ avatar, canceling the previous randomly displayed avatar, and adding a new field for filling in QQ. The avatar will automatically obtain the user's QQ number avatar;
Confession: Click the "I want to confess" button, enter information such as email address and nickname, and you can confess once; after the confession, the IP address is recorded, and the confession cannot be repeated within 500 seconds. At the same time, the game and nickname entered by the user are recorded and stored in the session. This username will automatically appear when the user comments on other ads.
Comment: There are two situations. If the user has not performed a confession operation before (no session record), after clicking to submit a comment, a form to complete the user information will appear, and comments can only be made after completing it; if the user has already performed a confession operation, then Will comment directly.
Like: An IP can only click on a piece of content once within a certain period of time, unless the user changes the IP or waits for 300 seconds.
Search: After clicking search, a search box will pop up, providing only the name of the accused;
Page turning and other links: After clicking, a loading animation will appear. During this period, the background will turn black and no other operations can be performed until the loading is completed.
Backend management function: Due to time constraints, the backend is relatively sloppy and only provides deletion functions and no modification functions.
Others: For security reasons and server resource considerations, it has been changed to use QQ avatar.