<?php require "inc/conn.php"; $action = be("all", "action"); $db; if (file_exists('inc/install.lock')) { echo '重新安装程序,请先删除inc/install.lock文件'; exit; } switch ($action) { case "ckdb": ckdb(); break; case "a": show_header(); stepA(); show_footer(); break; case "b": show_header(); stepB(); show_footer(); break; case "c": show_header(); stepC(); show_footer(); break; case "d": show_header(); stepD();
function main() { stepA(); }