2 function smarty_function_get_k_filtred_nodes($params,&$smarty) {
6 $user_id = $_SESSION['user_id'];
8 $q="select src from neurons where synapse_creator='$user_id' and dst='$node_id'";
11 while ($set->next()) {
12 $k_array[]=$set->getRecord();
15 $smarty->assign('get_k_filtred_nodes',$k_filtred_nodes_array);
22 {get_movement_params children_count=$node.node_children_count}
23 {* header *}{include file="1549864.tpl"}
24 <table><tr><td valign='top' width='23%'>{* get_userlist *}{include file="1549848.tpl"}</td>
26 <center><span class='important'>
27 <span class='important'>newly CREATED K-valued nodes
28 <form method='post'>Interval: <input type='text' name='interval'><input type='submit' value='Days'></form>
29 <br/>newly K-VALUED nodes <a href='/id/788016'>here</a>
33 {* movement *}{include file="1549913.tpl"}
34 <br style='clear:left;'>
37 {foreach from=$get_k item=k}
38 {if $k.node_parent eq 21}
40 <table class='bordered'>
42 <td align='center' rowspan='2' valign='top'>
43 <img border='0' hspace='5' width='50' src={get_image_link id=$k.node_creator}>
44 <span class='most_important'>{$k.k} k</span>
45 <form action='/id/{$k.node_id}' method='post'><input type='submit' name='event' value='K'></form>
47 <td class='header' width='100%'><a href='/id/{$k.node_id}/'>{$k.node_name}</a>
48 in <a href='/id/{$k.node_parent}'>{$k.parent_name}</a> by <a href='/id/{$k.node_creator}'>{$k.creator}</a></td>
50 {$k.node_content|stripslashes|nl2br}
58 {*footer*}{include file="1549377.tpl"}