3 function smarty_function_testm($params,&$smarty) {
5 if ($params['orderby']=='desc') $orderby="desc";
7 //$external_link=$params['external_link'];
8 $external_link='event://';
9 if ($params['listing_amount']=='all')
10 $listing_amount='23232323232323323';
11 else $listing_amount=$params['listing_amount'];
13 if (empty($params['offset'])) $offset=0;
14 else $offset=$params['offset'];
17 //if (!$params['parent_id']) {
18 $parent_id=$node['node_id'];
20 //else $parent_id=$params['parent_id'];
22 $user_id=$_SESSION['user_id'];
24 $q="select users.*,nodes.*,node_content.* from nodes left join
25 node_content on (node_content.node_id=nodes.node_id) left
26 join users on users.user_id=nodes.node_creator where external_link like '$external_link%' LIMIT 0,322323232323232323";
29 while ($set->next()) $pole[]=$set->getRecord();
30 $smarty->assign('testm',$pole);
This page took 0.265877 seconds and 4 git commands to generate.