`.
*
* @package DIAFAN.CMS
* @author diafan.ru
* @version 6.0
* @license http://www.diafan.ru/license.html
* @copyright Copyright (c) 2003-2016 OOO «Диафан» (http://www.diafan.ru/)
*/
if (! defined('DIAFAN'))
{
$path = __FILE__; $i = 0;
while(! file_exists($path.'/includes/404.php'))
{
if($i == 10) exit; $i++;
$path = dirname($path);
}
include $path.'/includes/404.php';
}
echo '
';
echo '';
if ($this->diafan->_users->useradmin)
{
echo '
';
}
if (! IS_MOBILE && ($this->diafan->configmodules('use_animation') || $this->diafan->configmodules('use_animation', 'site') || $this->diafan->_users->useradmin))
{
echo '
';
}
echo $this->diafan->_site->js;
$js_view = array();
foreach($this->diafan->_site->js_view as $path)
{
if(in_array($path, $js_view))
continue;
$js_view[] = $path;
$paths = array();
if (substr($path, 0, 4) != 'http')
{
if(Custom::path($path))
{
echo '
';
}
}
else
{
echo '
';
}
}