window.location.href='./login.php';"); $type_select = '所有支付方式'; $rs = $DB->getAll("SELECT * FROM pre_type ORDER BY id ASC"); foreach($rs as $row){ $type_select .= ''.$row['showname'].''; } unset($rs); ?>