2 function smarty_function_get_matrix_from_tree($params,&$smarty) {
5 if (!is_numeric($params['dimensions'])) return false;
7 //in the very moment IM2tired4going meta-dimensional
8 for ($i=0; $i<$params['dimensions']; $i++
) {}
10 $q="select node_content.node_content,nodes.*
11 from nodes left join node_content
12 on nodes.node_id=node_content.node_id
13 where node_vector like '".$node['node_vector']."%' and
14 nodes.node_id!='".$node['node_id']."' and
15 node_system_access !='private'
19 $size = floor(sqrt($set->getNumRows()));
24 while ($set->next()) {
33 $matrix[$x][$y] = $set->getRecord();
37 $smarty->assign('get_matrix_from_tree',$matrix);
This page took 0.303693 seconds and 5 git commands to generate.