function nodes::GetUserSubmissionsChildren() created, need to write some usefull...
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_user_submissions_children.php
1 <?php
2
3 // Get all the direct replies for user submisions
4
5 function smarty_function_get_user_submissions_children($params, &$smarty) {
6
7 if (isset($_SESSION['user_id']))
8 $user_id = $_SESSION['user_id'];
9 else
10 return -1;
11 /*
12 if (!isset($params['listing_amount']))
13 $listing_amount = DEFAULT_LISTING_AMMOUNT;
14 else
15 $listing_amount = $params['listing_amount'];
16
17 if (empty($params['offset']))
18 $offset = 0;
19 else
20 $offset = $params['offset'];
21
22 if (!isset($params['order_by']))
23 $order_by = $params['order_by'];
24 else
25 $order_by = 'node_id';
26 */
27 $replies=nodes::GetUserSubmissionsChildren($user_id /*,$listing_ammount,$offset,$order_by*/ );
28 $smarty->assign('get_user_submissions_children', $replies);
29
30 }
31
This page took 0.252749 seconds and 4 git commands to generate.