{% else-1 %}
(24 сен 2014, 16:45) (0/0) [0]
<?php
private function getReplaceContent($sr, $content){
$search = array();
$replace = array();
$i = 0;
foreach ($sr as $key => $value) {
$search[$i] = "%$key%";
$replace[$i] = $value;
$i++;
}
return str_replace($search, $replace, $content);
}
?>
<?php
<h2>Панель пользователя</h2>
<p>Здруствуйте, <b>%username%</b>!<br />
<a href="%address%functions.php?logout=1">Выход</a>
</p>?>

итд... итп...
  • 1 из 1