Разработка Internet-представительства для компании при помощи CMS

Дипломная работа - Компьютеры, программирование

Другие дипломы по предмету Компьютеры, программирование



s="art-Sheet-cl">

<?phpartxModules($document, 'banner2', 'art-nostyle');(artxCountModules($document, 'breadcrumb'))artxPost(null, artxModules($document, 'breadcrumb'));artxPositions($document, array('user1', 'user2'), 'art-article');artxModules($document, 'banner3', 'art-nostyle');

?>

тел.:8(8722) 77-77-77.

Приложение 1 (продолжение)

Приложение 2

Код главной страницы сайта (index.php)

mark( 'afterLoad' ) : null;

/**

* Создание приложения

*

*/

$mainframe =& JFactory::getApplication('site');

/**

* Инициализация приложения *

*

*/

// установка языка

$mainframe->initialise();

JPluginHelper::importPlugin('system');

// trigger the onAfterInitialise events? $_PROFILER->mark('afterInitialise') : null;

$mainframe->triggerEvent('onAfterInitialise');

/**

* Маршрут приложения

*

*/

$mainframe->route();

// авторизация

$Itemid = JRequest::getInt( 'Itemid');

$mainframe->authorize($Itemid);

// trigger the onAfterRoute events? $_PROFILER->mark('afterRoute') : null;

$mainframe->triggerEvent('onAfterRoute');

/**

* Отправка приложения

*

*/

$option = JRequest::getCmd('option');

$mainframe->dispatch($option);

// trigger the onAfterDispatch events? $_PROFILER->mark('afterDispatch') : null;

$mainframe->triggerEvent('onAfterDispatch');

/**

* Перевод приложения

*

*/

$mainframe->render();

// trigger the onAfterRender events? $_PROFILER->mark('afterRender') : null;

$mainframe->triggerEvent('onAfterRender');

/**

* Отправка ответа

*/JResponse::toString($mainframe->getCfg('gzip'));