| =L('tpl_fl_05')?> | =L('tpl_fl_06')?> | =L('tpl_fl_07')?> | =L('tpl_fl_08')?> | =L('tpl_fl_09')?> | =L('tpl_fl_10')?> | =L('tpl_fl_11')?> | =L('tpl_fl_12')?> | =L('tpl_fl_13')?> | '.L('tpl_fl_14').' | '; $key = 1; foreach($field as $row){ switch ($row['leix']){ case 'number':$class=L('tpl_fl_15');$leix=$row['attr'];break; case 'text':$class=L('tpl_fl_16');$leix=($row['attr']==0)?'varchar':'text';break; case 'image':$class=L('tpl_fl_17');$leix='varchar';break; case 'select':$class=L('tpl_fl_18');$leix=$row['opcls'];break; case 'datetime':$class=L('tpl_fl_19');$leix=$row['attr'];break; case 'upload':$class=L('tpl_fl_20');$leix='varchar';break; default:$class=L('tpl_fl_21');break; } $required = $row['required']?'':''; $status = $row['status']?'':''; echo '
|---|---|---|---|---|---|---|---|---|
| '.$key.' | '.$row['zd'].' | '.$row['note'].' | '.$class.' | '.$leix.' | '.$row['table'].' | '.$required.' | '.$status.' | '.L('tpl_fl_22').' '.L('tpl_fl_23').' |