bumbr, спасибо за ссылку. Но вот, что получается:
Перехожу на сайт, регистрируюсь, получаю HTML код:
Код: Выделить всё
<!-- BEGIN Tynt Script -->
<script type="text/javascript">
if(document.location.protocol=='http:'){
var Tynt=Tynt||[];Tynt.push('dJJhH8qZCr4PIRacwqm_6l');
(function(){var s=document.createElement('script');s.async="async";s.type="text/javascript";s.src='http://tcr.tynt.com/ti.js';var h=document.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);})();
}
</script>
<!-- END Tynt Script -->
вставляю его между
<head></head>, в итоги файл
overall_header.html вообще не подключается, дебаг сообщил:
Код: Выделить всё
Parse error: syntax error, unexpected T_STRING in /home/d/danfaru/public_html/includes/template.php(668) : eval()'d code on line 128
Файл:
includes/template.php, строчка 128:
и +/- 10 строк:
Код: Выделить всё
{
$this->orig_tpl_inherits_id = false;
}
// the database does not store the path or name of a custom template
// so there is no way we can properly store custom templates there
$this->orig_tpl_storedb = false;
$this->_rootref = &$this->_tpldata['.'][0];
return true;
}
/**
* Sets the template filenames for handles. $filename_array
* should be a hash of handle => filename pairs.
* @access public
*/
function set_filenames($filename_array)
{
if (!is_array($filename_array))
{
return false;