I thanks but want this to make on .html
I in index.php wrote:
$unset=array('logged_admin','isMod','user_id','langu','includeHeader', 'includeFooter', 'emptySubscribe', 'allForumsReg', 'registerInactiveUsers', 'mod_rewrite', 'enableViews', 'userDeleteMsgs', 'userInfoInPosts', 'inss', 'insres', 'preModerationType', 'textLd', 'adminAcceptsSignup', 'customProfileList', 'correct', 'customTopicSort', 'manualIndex', 'xxxxxIndex', 'startIndex', 'mTop', 'mdrw', 'metaLocation', 'post');
include ('./setup_options.php');
if(!isset($startIndex)) $startIndex=$indexphp;
if(!isset($manualIndex)) $manualIndex=$indexphp.'action=manual';
if(!isset($xxxxxIndex)) $xxxxxIndex=$indexphp.'action=xxxxx';
$langOrig=$lang;
$indexphp=(!isset($GLOBALS['indexphp'])?'index.php':$GLOBALS['indexphp ']);
if(!isset($manualIndex)) $manualIndex=$indexphp.'action=manual';
if(!isset($xxxxxIndex)) $xxxxxIndex=$indexphp.'action=xxxxx';
elseif($action=='xxxxx') require($pathToFiles.'bb_func_xxxxx.php');
---
I in bb_func_xxxxx.php wrote:
<?php
/*
*/
if (!defined('INCLUDED776')) die ('Fatal error.');
$tpl=makeUp('faq');
$tplTmp=str_replace('{$xxxxx}','<!--XXXXX-->',$tpl);
$tplTmp=ParseTpl($tplTmp);
$tplTmp=explode('<!--XXXXX-->',$tplTmp);
$title.=$l_menu[9];
$l_meta.=<<<out
<style type="text/css">
<!--
P{
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #000000;
text-decoration: none;
font-size: 11px;
}
SMALL{
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #000000;
text-decoration: none;
font-size: 10px;
}
PRE{
font-family: Helvetica,sans-serif;
color: #000000;
text-decoration: none;
font-size: 12px;
}
H1{
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #000000;
text-decoration: none;
font-size: 15px;
}
LI{
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #000000;
text-decoration: none;
font-size: 11px;
margin-top: 0px;
margin-bottom: 0px;
margin-right: 0px;
margin-left: 15px;
}
UL{
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #000000;
text-decoration: none;
font-size: 11px;
margin-top: 0px;
margin-bottom: 0px;
margin-right: 15px;
margin-left: 15px;
}
//-->
</style>
out;
echo load_header();
echo $tplTmp[0];
if(file_exists($pathToFiles.'templates/xxxxx.html')) include($pathToFiles.'templates/xxxxx.html');
echo $tplTmp[1];
?>
---
I in bb_func_functions.php wrote:
if($GLOBALS['action']!='xxxxx') {
if($mrw) $urlp='xxxxx.html'; else $urlp="{$GLOBALS['indexphp']}action=xxxxx";
$GLOBALS['l_menu'][9]="{$GLOBALS['l_sepr']} <aa href=\"{$GLOBALS['main_url']}/{$urlp}\">{$GLOBALS['l_menu'][9]}</a> ";
}
else $GLOBALS['l_menu'][9]='';
---
I in setup_options.php wrote:
$xxxxxIndex='xxxxx.html';
---
I in faq.html wrote:
{$xxxxx}{$manual}
---
the whole does not want to act, error 404 |