Because time was tight, I packed it in a hurry.
1. It is divided into four folders in total, namely base, manage, essay and pic.
2. The jquery files and style files are stored in the base.
3. m in manage stores template files, index.htm is the paging template, and essay.htm is the content page template. You can modify it according to your preferences.
insert.php is responsible for reading the content page template file, replacing fields, generating content pages, and writing the directory to the div.php file. make.php is responsible for updating the paging page. It reads the content of div.php, replaces the {div} field in the index.htm template, and generates index.html.
4. Essay stores the content page generated by insert.
5. The pictures in the pic are included. Only the log was used.
You can learn the simplest PHP file generation and replacement file content through it.
In the m folder in manage, you can modify these template files to give you a better interface.