Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Sometimes the footer of the website needs some single-page links, for example: Company profile, about us, contact us, etc. If only to do a static single page is very simple, but with the system user login to exit synchronization, it is necessary to find a way. The following methods can be implemented:
Single-page file about.php
< PHP
Define (' Curscript ', ' test ');
Require './source/class/class_core.php '/Introduction system core Files
$discuz = & Discuz_core::instance ();//The following code creates and initializes an object
$discuz->init ();
$navtitle = ' IT618 Information network ';
$metakeywords = ' service-side development, front-end development, web effects, open source systems, software downloads, webmaster build stations, Taobao open Shop ';
$metadescription = ' IT618 Information network www.***.com provide service-side development, front-end development, web effects, popular open source system research, software downloads, webmaster build stations, Taobao open shop and other learning materials. '
Include template (' Forum/about ');
? >
It should be noted here that about the template file name, do not need to add the. htm extension, template files are stored in the default style directory of the forum directory;
Single-page php files are stored in the forum root directory;
$navtitle = ' IT618 information network '; Define a single page title
$metakeywords = ' Server development, front-end development, web effects, open source systems, software downloads, webmaster sites, Taobao open Shop '; single-page keyword information
$metadescription = ' IT618 Information network www.***.com provide service-side development, front-end development, web effects, popular open source system research, software downloads, webmaster build stations, Taobao open shop and other learning materials. ' Single page description information
Template file about.htm
{subtemplate Common/header}
In the middle, you can freely make your personalized single-page.
{subtemplate Common/footer}
The template file is simple, just call the header and footer.