Discuz3.2self-defined PHP file with diysingle-page single-page package the PHP file on the single page and the template (.htm) file on the single page, for example: index2.php?index2.htm? Phprequire. sourceclassclass_core.php; introduce the system core file $ discuzdiscuz_core: instance (); the following code creates and initializes the object $ discu
Discuz3.2 customize the PHP file with a single page of diy single page and the template (.htm) file of the single page, such as index2.php?index2.htm? Phprequire './source/class/class_core.php'; // introduce the system core file $ discuz = discuz_core: instance (); // The following Code creates and initializes the object $ discu
Discuz3.2 custom single page with diy
A single page includes the PHP file of the single page and the template (.htm) file of the single page, for example, index2.php1_index2.htm <无>
Cachelist = $ cachelist; $ discuz-> init (); include template ('diy: forum/index2 '); // call a single-page template file?>
{Subtemplate common/header}$ _ G [setting] [bbname]? Navigation bread
{Subtemplate common/footer}
{Subtemplate common/header}$ _ G [setting] [bbname]? Member Style
Classified browsing
Here is the body area code
Topic name
Sidebar menu name
Sidebar menu name
Sidebar menu name
Management Panel
Add category
Manage categories
Back to membership
Copyright information
Author: fengzi
Copyright:
Website:
{Subtemplate common/footer} // In the code of the sidebar areaBlock is a sidebar menu area;