Jackie's Custom home page official author code _ Jackie CMS

Source: Internet
Author: User
<?php
//  ------------------------------------------------------------------------
Jieqi CMS
Copyright (c) jieqi.com All rights reserved.
http://www.jieqi.com/
//  ------------------------------------------------------------------------

/**
* Home Page customization (Jieqi_root_path refers to the physical path of the site, Jieqi_url refers to the Web site)
* This custom mode refers to a completely independent page template, just need to call the system block
* All variables in the template are included between {and?}, and the default variable can be referred to theme.html
* The title of The block is called {? $jieqi _pageblocks[' bidxxx '] [' title ']?} inside the XXX refers to the actual block number, can be seen in the block management, or in the block configuration file corresponding to the bid
* Block content is invoked in {$jieqi _pageblocks[' bidxxx ' [' content ']?} specification is the same as the title
*/

Define (' Jieqi_module_name ', ' system ');
Require_once (' global.php ');

Contains chunk parameters (configuration file/configs/indexblocks.php)
Jieqi_getconfigs (jieqi_module_name, ' indexblocks ', ' jieqiblocks ');

Set the template file for this page
$jieqi _page_template=jieqi_root_path. ' /themes/jb51/index.html ';

Include header processing
Include_once (Jieqi_root_path. ') /header.php ');
Set Home logo, not home Please comment this statement, easy to judge the template inside, give the template other parameters to assign value also use this method
$JIEQITPL->assign (' Jieqi_indexpage ', 1);
Include page tail processing
Include_once (Jieqi_root_path. ') /footer.php ');
?>

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.