Parašė Pongis· 2010 Bal. 12 22:04:45
#2
<?php
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
$result = dbquery("SELECT * FROM ".$db_prefix."custom_pages WHERE page_id='1'");
if (dbrows($result) != 0) {
$data = dbarray($result);
opentable($data['page_title']);
echo nl2br("".stripslashes($data['page_content'])."");
} else {
redirect($settings['opening_page']);
}
closetable();
require_once "side_right.php";
require_once "footer.php";
?>
v6, page_id skaičių pakeisk į pridėtinio puslapio ID.