<tr><td style="width:40px;text-align:center;padding:5px 0 4px 0;border-bottom:1px dotted #CCC;"></td> <td style="text-align:left;padding:5px 0 4px 0;border-bottom:1px dotted #CCC;p"><a style="color:#313746!important;" href="{full-link}">{title}</a></td> <td style="width:150px; text-align:center;padding:5px 0 4px 0;border-bottom:1px dotted #CCC;">{rate-num}</td></tr>
$tpl->set( '{vote-num}', "<span id=\"vote-num-id-".$row['id']."\" class=\"ignore-select\">".$row['vote_num'].";</span>" );
$tpl->set( '{rate-num}', $row['rating'] );
$tpl->set( '{rate-num}', $row['vote_num']?$row['rating']/$row['vo te_num']:0 );
function get_counter(a,b){ $.get("ПОЛНЫЙ-АДРЕС-К-ФАЙЛУ-index.php",{type:b,href:a.attr('href')},function(d){ a.find('.click_counter').html(d); }); }
if ($match[1] == "title" ) $news_msort = "ASC";
{custom template="custom" days="30" limit="52" order="rating" cache="no"}
<img src="/uploads/fotos/http://talant-i.com/uploads/fotos/foto_504.jpg" alt=""/>
[if vote_num>0]текст[/if]
[if category!='1']тут код шаблона 1[/if] [if category='1']тут код шаблона 2[/if]
Disallow: /templates/sandev/js/tests.js