G.
Дорогие вебмастера помогите разобратся
у меня стоит скрипт форума Powered by SMF 1.1.3 (http://www.simplemachines.org/)
я пытаюсь поставить там счетчик liveinternet.ru
как только праписываю в index.template.php код счетчика сразу выдает ошипку
куда надо поставить счетчик что бы все работало?
Зарание благодарин
Alexandur
Установи текстовой редактор с подсветкой кода, они покажут, где лажа. Бесплатный -
http://www.pspad.com/ Платный -
http://www.editplus.com/
Если Far стоит, там тоже вроде есть.
Скорее всего - не экранированы кавычки. Замени ' на \'
Или ты удаляешь
theme_copyright(), его не трогай.
G.
Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
syntax error, unexpected T_STRING, expecting ',' or ';'
вот ошипка когда вставляю код
<!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='http://www.liveinternet.ru/click' "+
"target=_blank><img src='//counter.yadro.ru/hit?t21.6;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet: показано число просмотров за 24"+
" часа, посетителей за 24 часа и за сегодня' "+
"border='0' width='88' height='31'><\/a>")
//--></script><!--/LiveInternet-->
G.
если вставляю этот счетчик
<a href="http://www.hitcounter.ru/">
<img src="http://www.hitcounter.ru/count.php?kapach"
border="0" alt="счетчик посещений"></a>
то все работает
Alexandur
Тебе два раза написали, что делать. Один раз - я, по-русски, второй раз - твой форум, по-английски.
Вот тебе на эстонском
Toenaoliselt - mitte pogeneda hinnapakkumisi. Asendage ' koos \'