The system of this article was developed by Web Brick Studio (wbrick.com) using the self-developed JCAT PHP framework (jecat.cn). JCAT is an open source project. You can use the JCAT PHP framework without any restrictions. JCAT is developed by the Chinese team Development and maintenance is an international project and will be available for download soon.
Article system function introduction:
Each page of code in this program has comments to facilitate secondary development. The program and template are separated. The template is under /UITemplates, and pseudo-static can be set. Please refer to the /PREPROC.conf.php file.
Backstage management address:/mod.php/Dispatch.php?Webpage=AdminLogin
Username and password: wbrick wbrick
Website logo and top banner can be added in the background;
Announcements can be published/managed in the background and set to scrolling or non-scrolling;
You can add foreground scrolling pictures in the background;
You can add column categories and adjust the column display order at will in the background;
Articles can be added/managed in the background, and article recommendations can be set, and 10 recommendation levels can be set;
In the background, friendly connections can be set according to 4 categories, and the colors can be set;
Message system: Front desk users leave messages, and administrators reply/delete;
Others will not be explained one by one.
1. Upload all files to the space (some servers may need to set the file attribute to 777), and import the database wbrick.sql.gz (under the root directory) into the database;
2. Open the /PREPROC.conf.php file and find the following code:
//Set access entrance
$EnterRoot = dirname(__FILE__). / ;
//$_APP->SetEnter( "http://{$_SERVER[ HTTP_HOST ]}/", $EnterRoot ) ;
$_APP->SetEnter( "http://suzhou58com.2181612061.open-source.cn/", $EnterRoot ) ;
Just change http://suzhou58com.2181612061.open-source.cn/ to your own;
Find the following code and modify the database to your own
// preferred database
include_once(App::$PATH_DB. DB.class.php );
DB::$ServerHost = localhost;
DB::$ServerUser = wbrick;
DB::$ServerPassword = wbrick;
DB::$ServerDBName = wbrick;
For other modifications, please refer to the comments, such as setting static settings, etc.
3. Setup completed.
Expand