3 function smarty_function_get_k_neurons($params,&$smarty) {
6 if (isset($params['offset']) && (is_numeric($params['offset']))) {
7 $offset=$params['offset'];
9 if (isset($params['listing_amount']) && (is_numeric($params['listing_amount']))) {
10 $listing_amount=$params['listing_amount'];
11 } else {$listing_amount=DEFAULT_LISTING_AMOUNT
;}
12 if (isset($_POST['interval']) && (is_numeric($_POST['interval']))) {
13 $interval= $_POST['interval'];
14 } else {$interval = 1;}
15 if (isset($params['vector']) && ($params['vector'])) {
16 $vector=$params['vector'];
18 } else {$vector="00";}
21 // XXX offset + id $params['user_id']
22 $k_array=nodes
::getKNeurons(904,20);
25 $smarty->assign('get_k_neurons',$k_array);
This page took 0.779874 seconds and 5 git commands to generate.