Создание страницы

Тема закрыта
243
.
Как создать чистую страницу в джоне, где инклуды взять чёт искал не нашёл
.
.
Light in Night
<?php

/**
* @package     JohnCMS
* @link        http://johncms.com
* @copyright   Copyright (C) 2008-2011 JohnCMS Community
* @license     LICENSE.txt (see attached file)
* @version     VERSION.txt (see attached file)
* @author      http://johncms.com/about
*/

define('_IN_JOHNCMS', 1);
require('incfiles/core.php');
require('incfiles/head.php');

// тут код скрипта

require_once('incfiles/end.php');
?>
.
Svoloch, спасибо огромное
.
Почитай - http://rulib.1da.su/faqman_joh ... .html
.
ПФК ЦСКА forever!
ЛЮДИ, ВЫ НАДОЕЛИ С ТУПЫМИ ВОПРОСАМИ! Есть же темы одного вопроса, поиск по форуму, FAQman и т.п. Как же это надоело!
.
$lng_stars = core::load_lng('stars');
$allstar = mysql_result(mysql_query("select count(`id`) from `stars` where `type` = '1'"),0);
$allstar_new = mysql_result(mysql_query("select count(`id`) from `stars` where `type` = '1' and `date` > '" . (time() - 259200) . "'"),0);
$allstar_new_7 = mysql_result(mysql_query("select count(`id`) from `stars` where `type` = '1' and `date` > '" . (time() - 604800) . "'"),0);

// Звезды
echo '<div class="menu"><a href="stars/">' . $lng_stars['stars'] . '</a> (' . $allstar .
($allstar_new > 0 ? ' / <a href="stars/new.php"><span style="color: red">+ ' . $allstar_new . '</span></a>' : null) .
($allstar_new_7 > 0 ? ' / <a href="stars/new.php?type=1"><span style="color: green">+ ' . $allstar_new_7 . '</span></a>' : null) .
')<div class="status">[<small><span style="color: red">+ x</span> - ' . $lng_stars['aboutnew'] . ' / <span style="color: green">+ x</span> - ' . $lng_stars['aboutnew2'] . ' </small>]</div>' .
'</div>';



Мне надо вставить вот этот код, чтоб ошибок не было
.
Всем спасибо уже разобрался
.
Лёд 9 - Холодная война
Факман надо тут на главной установить
.
Light in Night
Ревог, а в теме модуля вопрос задать сложно?
Всего: 11