Пример #1
0
        return TRUE;
    }
}
ew_Header(FALSE);
// Create page object
if (!isset($news_list)) {
    $news_list = new cnews_list();
}
// Page init
$news_list->Page_Init();
// Page main
$news_list->Page_Main();
// Global Page Rendering event (in userfn*.php)
Page_Rendering();
// Page Rendering event
$news_list->Page_Render();
include_once "header.php";
?>
<script type="text/javascript">

// Page object
var news_list = new ew_Page("news_list");
news_list.PageID = "list"; // Page ID
var EW_PAGE_ID = news_list.PageID; // For backward compatibility

// Form object
var fnewslist = new ew_Form("fnewslist");
fnewslist.FormKeyCountName = '<?php 
echo $news_list->FormKeyCountName;
?>
';