10b372c0a6c9675a39e5dae69d98c3e99e1789b1
[mirrors/Kyberia-bloodline.git] / basic-data / templates / own_templates / 1573668.tpl
1 {include file="1549864.tpl"}
2
3 {if $error eq true}
4 <center><font style='error'>{$error}</font></center>
5 {/if}
6
7 {if $user_id eq false}
8 <center>{include file="1549885.tpl"}</center>
9
10 {else}
11
12 <table width='100%'><tr>
13
14 <!--left column-->
15 <td valign='top' align='center' width='23%'>
16 {include file="1549925.tpl"}
17
18 {* showing poll *}
19 {*include file="1549834.tpl"*}
20 <br>
21 {*showing bookmark_statistics*}
22 {include file="1549386.tpl"}
23 </td>
24 <!--end of left column-->
25
26 <!--main central column-->
27 <td valign='top'>
28
29 <form method='post' enctype="multipart/form-data" action='/id/{$node.node_id}/1573668' style='margin:1em 0'> mesiac_<input type='text' name='mes' value=''>
30 rok_<input type='text' name='rok' value=''>
31 <input type='submit' value='mnoo'>
32 <div style='margin-top:1em'>[ format mesiac: mm rok: yyyy ]</div>
33 </form>
34
35 {if $smarty.post.rok && $smarty.post.mes eq true}
36
37 {getCreationByTemplateId template_id="4" creator_id=$node.node_id listing_amount=232323}
38
39 {foreach from=$getCreationByTemplateId item=child}
40 {if $child.node_created|date_format:"%Y" eq $smarty.post.rok && $child.node_created|date_format:"%m" eq $smarty.post.mes}
41
42 <div style=''>{$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}
43 <div class='bordered' style='margin-bottom:13px; margin-left:90px;'>
44 <div class='header' style='text-align:left; padding: 2px; padding-bottom:5px; height:auto;'>
45 <a href='/id/{$child.node_id}'>{$child.node_name|escape:"html"}</a> in <a href='/id/{$child.node_parent}'>{$child.parent_name|escape:"html"}</a>
46 {if $child.node_created > $node.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW</span>{/if}
47 <!-- $child.node_created: {$child.node_created}, $node.last_visit: {$node.last_visit} -->
48 </div>
49 <div>
50 {$child.node_content|truncate:230|stripslashes|escape:"html"}
51 </div>
52 </div></div>
53 {/if}
54 {/foreach}
55
56 {else}
57 {getCreationByTemplateId template_id="4" creator_id=$node.node_id listing_amount=$listing_amount offset=$offset}
58
59 {foreach from=$getCreationByTemplateId item=child}
60
61 <div class='bordered' style='margin-bottom:13px'>
62 <div class='header' style='text-align:center;padding:2px;'>
63 <a href='/id/{$child.node_id}'>{$child.node_name|strip_tags}</a> in <a href='/id/{$child.node_parent}'>{$child.parent_name|strip_tags}</a> {if $child.user_action neq false} [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action|strip_tags}</a>]{/if}
64 <br>&nbsp;&nbsp;{$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}
65 {if $child.k > 0} [<span class='most_important'>{$child.k}K</span>] {/if}
66 {if $child.lastdescendant_created > $node.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW</span>{/if}
67 <!-- $child.lastdescendant_created: {$child.lastdescendant_created}, $child.last_visit: {$child.last_visit} -->
68 </div>
69 <div>
70 {$child.node_content|truncate:230|stripslashes|strip_tags:false|imagestrip}
71 </div>
72 </div>
73 {/foreach}
74 {/if}
75 <!--end of central column-->
76 <form method='post'> <table align='center'><tr> <td><input type='hidden' name='get_children_offset' value='{$offset}'></td> <td><input type='submit' name='get_children_move' value='<'></td> <td><input type='submit' name='get_children_move' value='<<'></td> <td><input name='get_children_move' type='submit' value='>>'></td> <td><input type='submit' name='get_children_move' value='>'></td> </tr></table> </form>
77 </td></tr></table>
78 {/if}
79
80
81
82
83
This page took 0.732974 seconds and 4 git commands to generate.