Revision 296 (by ahitrov, 2013/03/26 17:59:01) |
Promosite (anthill) project source
|
<div class="mt10"></div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="infoblock">
<tr>
<td class="cc" width="100%">
<h2>Трансляции</h2>
% foreach my $doc (@docs) {
<center>
<a href="video.html?id=<% $doc->id %>" onClick="openWin('video',this.href,440,520);return false;"
target="_blank">\
% my $img = $doc->get_image('icon');
% if ( ref $img && exists $img->{filename} ) {
<img src="<% $img->{filename} %>" width="<% $img->{width} %>" height="<% $img->{height} %>" alt="<% $img->{alt} %>" border="0" align=top class="imageBorder">\
% }
</a>
</center>
<p><% $doc->abstr %><br>
<a href="video.html?id=<% $doc->id %>" onClick="openWin('video',this.href,440,520);return false;"
target="_blank">Смотреть…</a></p>
% }
</td>
</tr>
</table>
<%init>
my @docs = $keeper->get_sorted_documents (
s => $project->s_alias->{cast},
class => 'aviagranpri::Anons',
status => 1,
);
return unless @docs;
</%init>