ThinkPHP simple website background-PHP source code

Source: Internet
Author: User
ThinkPHP simple website background beginner ThinkPHP, deployment steps:
Ckeditor needs to be downloaded by yourself. the corresponding directory thinkphp-ozgweb/Public/simple/js/ckeditor
Thinkphp (full version) needs to be downloaded by yourself, and then copy ThinkPHP to the root directory of the website, corresponding to the directory thinkphp-ozgweb/ThinkPHP
Background portal: thinkphp-ozgweb/simple/admin/index
The password of the background user is admin. No front-end.

1. php code

 "Ozgweb", "page_size" => 16, // background menu, only supports level 3 "admin_menu_list" => [array ("id" => 1, "name" => "background management", "selected" => true, "child_menu" => array ("id" => 2, "name" => "data management", "child_menu" => array ("id" => 5, "name" => "category list ", "url" => "dataclass_list.html", "param" => "type: 1", # demo type: 1, id: 2), array ("id" => 6, "name" => "data list", "url" => "data_list.html", "param" => "type: 1 ",))), array ("id" => 3, "name" => "region Management", "child_menu" => array ("id" => 7, "name" => "region Management 1", "url" => "art_single.html", "param" => "id: 1 ",))), array ("id" => 4, "name" => "administrator management", "child_menu" => array ("id" => 8, "name" => "change password", "url" => "admin_pwd.html",), array ("id" => 9, "name" => "administrator list ", "url" => "admin_list.html",)], 'DB _ type' => 'pdo', 'DB _ DSN '=> 'sqlite: simple. sqlite3 ', 'DB _ prefix' => 'simple _', // database table PREFIX 'DB _ charset' => 'utf8 ', // The database encoding uses utf8 'DB _ FIELDS_CACHE '=> false by default, // enable field caching );

2. images

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.