数组序列化以后传过去,或者转换为json格式
$select1=array();
$select2=array();
$select3=array();
foreach($applications as $key1 => $value){
array_push($select1,$key1);
foreach($applicationList[$key1] as $key2 => $value){
array_push($select2,$key1."_".$key2);
foreach($applicationBean[$key2] as $key3 => $value){
array_push($select3,$key2."_".$key3);
}
}
}
global $langoper;
//global $lang;
#$select1 =json_encode(array_value(array_unique($select1)));
#echo $select1;
$select1 = json_encode($select1);
$select2 = json_encode($select2);
$select3 = json_encode($select3);
$smarty->assign("select1",$select1);
$smarty->assign("select2", $select2);
$smarty->assign("select3", $select3);