Handle basic HTTP auth using PHP instead of using webserver configuration = better...
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 1549582.tpl
1 {if $template_event eq 'preview'}
2 <table>
3 <tr>
4 <td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td>
5 <td width='100%' valign='top'>
6 <table width='100%'><tr class='header'>
7 <td align='center'>PREVIEW
8
9 <tr><td>{$post_vars.node_content|preview}</td></tr>
10 </table>
11 </table>
12 {* end of preview *}
13
14 {elseif $template_event eq 'filter_by'}
15 {get_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content}
16 {elseif $node.node_user_subchild_count eq true}
17 {get_children children_type=$children_type listing_amount=$node.node_user_subchild_count+5 offset=$offset}
18 {else}
19 {get_children children_type=$children_type listing_amount=$listing_amount offset=$offset}
20 {/if}
21
22 {get_linked_nodes}
23
24 {merge_arrays array1=$get_children array2=$get_linked_nodes sort_by='node_created'}
25
26
27 {foreach from=$merged item=child}
28 <table class='bordered' cellspacing='0' cellpadding='0'>
29 <tr>
30 <td align='center' valign='top' rowspan='2'>
31 <img vspace='5' hspace='5' width='50' src='{get_image_link id=$child.node_creator}'>
32 {if $child.k eq true}<span class='most_important'>{$child.k} k</span>{/if}
33 </td>
34
35 <td valign='top' style='width: 100%'>
36 <table width=100%>
37 <tr class='header' width=100% valign='top'><td>
38 &nbsp;<a href='/id/{$child.node_creator}'>{$child.creator}</a>
39 {if $child.user_action neq false}
40 &nbsp;[lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>]
41 {/if}
42 &nbsp;&nbsp;{$child.node_created|date_format:"%H:%M:%S - %d.%m.%Y"}&nbsp;
43 &nbsp;&nbsp;<input type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
44 &nbsp;&nbsp;<a href='/id/{$child.node_id}'>{$child.node_name}</a>&nbsp;&nbsp;
45 {if $child.k > 0} [<span class='most_important'>{$child.k}K</span>] {/if}
46 {if $child.node_created > $node.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW</span>{/if}
47 {if $child.node_children_count}<span class='most_important'>{$child.node_children_count}&nbsp;&nbsp;CHILDREN</span>{/if}
48 {if $child.node_parent neq $node.node_id}<span class='most_important'>LINKED</span>{/if}
49 </td></tr>
50 <tr><td>{$child.node_content|stripslashes}</td></tr>
51 </table>
52 </table>
53 <br>
54 {/foreach}
This page took 0.330782 seconds and 4 git commands to generate.