function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footerbg' border='1'>
<tr>
<td class='footer' align='center' width='100%' height='25'>Theme By <a href='http://www.....ru' align='left'>Design</a></br>
Текст
<br>".showcounter("·","white")."
</td>
</tr>
</table>\n";
}
В коде, внутри двойных кавычек используются двойные. Так делать нельзя, нужно их экранировать обратным слешем. Т.е. должно получиться что-то вроде:
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footerbg' border='1'>
<tr>
<td class='footer' align='center' width='100%' height='25'>Theme By <a href='http://www.....ru' align='left'>Design</a></br>
Текст
<br>\".showcounter(\"·\",\"white\").\"
</td>
</tr>
</table>\n";
}
up.
up.
Кофейник, и для портфолио и для опыта. Хотя приоритет на опыт.
up.
up.
Думаю разберешься. Если что непонятно - спрашивай.
<html>
<head>
<script>
function changeSpoiler(id)
{
obj = document.getElementById(id);
obj.style.display = obj.style.display == 'none' ? 'inline' : 'none';
}
</script>
</head>
<body>
<a href="#" onclick="changeSpoiler('s1')">Спойлер 1</a>
<div id="s1" style="display: none"><br />Скрытое содержимое 1</div>
<br />
<a href="#" onclick="changeSpoiler('s2')">Спойлер 2</a>
<div id="s2" style="display: none"><br />Скрытое содержимое 2</div>
<br />
<a href="#" onclick="changeSpoiler('s3')">Спойлер 3</a>
<div id="s3" style="display: none"><br />Скрытое содержимое 3</div>
</body>
</html>