Просмотр поста

.
Zidan_@777@

Юджин,

После defined
('_IN_JOHNCMS') or die('Error:
restricted access'); пропиши в
шапке:
if(file_exists($rootpath.'theme/'.
$set_user['skin'].'/incfiles/
head.php'))
require_once($rootpath .
'theme/'.$set_user['skin'].'/incfiles/
head.php'); else {
В самом конце поставь:
}
После defined('_IN_JOHNCMS')
or die('Error: restricted access');
пропиши в ногах:
if(file_exists($rootpath.'theme/'.
$set_user['skin'].'/incfiles/
end.php'))
require_once($rootpath .
'theme/'.$set_user['skin'].'/incfiles/
end.php'); else {
В самом конце поставь:
}
Теперь кидай в theme/имя
темы/incfiles шапку и ноги. Если
они будут отсутствовать будут
использованы стандартная
шапка и ноги.

©