1. 创建根目录下 WHMCS/page1.php
创建文件:WHMCS/page1.php
<?php define("CLIENTAREA",true); require("init.php"); $at = $whmcs->get_req_var("at"); $ca = new WHMCS_ClientArea(); $ca->setPageTitle("Privacy Policy"); $ca->addToBreadCrumb('index.php',$whmcs->get_lang('globalsystemname')); $ca->addToBreadCrumb('privacy.php','Privacy Policy'); $ca->initPage(); if ($at == ""){ $ca->setTemplate("privacy");} $ca->output(); ?>
2. 创建模板 WHMCS/templates/six/page1.tpl
page1.tpl :
HTML页面内容