Показать сообщение отдельно
Старый 08.10.2006, 23:01     # 7
duremar
Newbie
 
Регистрация: 08.10.2006
Сообщения: 42

duremar Нуль без палочки
Цитата:
Сообщение от Saruman
что парсит tpl и преобразует в html-код в итоге? расширение ни о чем не говорит

не могу знать, могу показать индексовый файл, может это поможет?

<?
include_once("dll/dll_Set.php");
include_once("dll/dll_Handle.php");
include_once("dll/dll_String.php");
include_once("dll/dll_Page.php");
include_once("dll/dll_Array.php");
include_once("dll/dll_MySQL.php");
include_once("dll/dll_Mail.php");

// Получаем необходимы параметры.
$m_strAction = preg_replace("/[^\w_\.\-]/", "", $_REQUEST["action"]);
$m_strType = preg_replace("/[^\w_\.\-]/", "", $_REQUEST["type"]);
$m_nLevel = preg_replace("/[^\w_\.\-]/", "", $_REQUEST["level"])*1;
$m_nParent = preg_replace("/[^\w_\.\-]/", "", $_REQUEST["parent"])*1;
$m_nOldParent = preg_replace("/[^\w_\.\-]/", "", $_REQUEST["oldparent"])*1;
$m_nId = (preg_replace("/[^\w_\.\-]/", "", $_REQUEST["id"]))*1;

$m_strTemplate = "index.tpl";
$m_strContent = "";
$m_strTitle = "";
$m_strNamePage = "";
$m_strPhpFile = "header.php";
$m_strScript = "";
$m_strControl = "";
$m_strCurDate = "";
$m_strMenu = "";
...
...
это часть файла, в котором и нашел привязку к вышеупомянутому тпл.
duremar вне форума