function show_pe_list() { if (func_num_args() > 0) { $arg_list = func_get_args(); $code = $arg_list[0]; $type = $arg_list[1]; $remarks = $arg_list[2]; } if ($code) { $arrCode = explode(",", $code); $ret_val .= "<span class='boxtitle'>{$type}:</span> {$remarks}"; $ret_val .= "<ul style='margin:0;'>"; foreach ($arrCode as $key => $value) { $ret_val .= notes::get_pe_name($value); } $ret_val .= "</ul><br/>"; } return $ret_val; }