search['para']) ? count($search['para']) : 0;
$cycleindex = 50;
if(!is_array($search['para']) && $search['para']){
$search['para'] = explode('|',$search['para']);
}
foreach ($search['para'] as $index => $val) {
if(is_numeric($index) && $index >= $cycleindex){
break;
}
if(is_array($val)){
$val['_index'] = $index;
$val['_first'] = $index == 0 ? true : false;
$val['_last'] = $index == ($sub-1) ? true : false;
$val['sub'] = $sub;
}
$type = $val;
?>