1 |
296 |
ahitrov |
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="infoblock"> |
2 |
|
|
<tr> |
3 |
|
|
<td class="cc" width="100%"> |
4 |
|
|
<div class="text"> |
5 |
|
|
% if ( ref $img && exists $img->{filename} ) { |
6 |
|
|
<img src="<% $img->{filename} %>" border="0" align="left" class="imageBorder1"> |
7 |
|
|
% } |
8 |
|
|
% if ($profile->header) { |
9 |
|
|
<h2><% $profile->header %></h2> |
10 |
|
|
% } |
11 |
|
|
% if ($profile->abstr) { |
12 |
|
|
<div id="intro_anounce" style="display:inline;"> |
13 |
|
|
<p><& /inc/text_format.msn, doc => $profile, field => 'abstr' &></p> |
14 |
|
|
% if ( $profile->body ) { |
15 |
|
|
<a href="" onClick="document.getElementById('intro_full').style.display='inline';document.getElementById('intro_anounce').style.display='none';return false;">Подробнее…</a> |
16 |
|
|
% } |
17 |
|
|
</div> |
18 |
|
|
% } |
19 |
|
|
% if ( $profile->body ) { |
20 |
|
|
<div id="intro_full" style="display:none;"> |
21 |
|
|
<p><& /inc/text_format.msn, doc => $profile, field => 'body' &></p> |
22 |
|
|
<p><a href="" onClick="document.getElementById('intro_anounce').style.display='inline';document.getElementById('intro_full').style.display='none';return false;">скрыть</a> |
23 |
|
|
</div> |
24 |
|
|
% } |
25 |
|
|
</div> |
26 |
|
|
</td> |
27 |
|
|
</tr> |
28 |
|
|
</table> |
29 |
|
|
<%init> |
30 |
|
|
|
31 |
|
|
my $prj = $request->{project}; |
32 |
|
|
my $profile = $request->{project_profile}; |
33 |
|
|
my $img = $profile->get_image('avatar'); |
34 |
|
|
|
35 |
|
|
</%init> |