function nodes::GetUserSubmissionsChildren() created, need to write some usefull...
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_user_submissions_children.php
index 8e320752cac26fcd0c4f8199f853747a5dc09c81..68d7482c18adc58b566e7eb4714b4697fb1c3e13 100644 (file)
@@ -4,11 +4,11 @@
 \r
 function smarty_function_get_user_submissions_children($params, &$smarty) {\r
 \r
-       if (!isset($_SESSION['user_id')\r
+       if (isset($_SESSION['user_id']))\r
                $user_id = $_SESSION['user_id'];\r
        else\r
                return -1;\r
-\r
+/*\r
        if (!isset($params['listing_amount']))\r
                $listing_amount = DEFAULT_LISTING_AMMOUNT;\r
        else\r
@@ -23,10 +23,9 @@ function smarty_function_get_user_submissions_children($params, &$smarty) {
                $order_by = $params['order_by'];\r
        else\r
                $order_by = 'node_id';\r
-\r
-       $replies=nodes::GetUserSubmissionsChildren($user_id,$listing_ammount,$offset,$order_by);\r
-\r
+*/\r
+       $replies=nodes::GetUserSubmissionsChildren($user_id /*,$listing_ammount,$offset,$order_by*/ );\r
        $smarty->assign('get_user_submissions_children', $replies);\r
+\r
 }\r
 \r
-?>\r
This page took 0.096699 seconds and 4 git commands to generate.