Код: Выделить всё
$tpl->set('{user-id}', $row['user_id']);
Код: Выделить всё
$tpl->set('{user-ph}', $row['user_photo']);
Код: Выделить всё
<center>[owner]<div class="cover_newava" >[/owner][not-owner]{ocovss}[/not-owner]<span id="ava"><img src="{ava}" alt="" title="" id="ava_{user-id}" /></span>[not-owner]{ocovs}[/not-owner][owner]</div>[/owner]
Код: Выделить всё
<center>[owner]<div class="cover_newava" >[/owner][not-owner]{ocovss}[/not-owner]<a href="" onclick="Photo.Profile('{user-id}', '{user-ph}'); return false"><span id="ava"><img src="{ava}" alt="" title="Увеличить" id="ava_{user-id}" /></span></a>[not-owner]{ocovs}[/not-owner][owner]</div>[/owner]</center>