header("location: {$_SERVER['PHP_SELF']}?WebID={$WebID}"); exit; break; //儲存設定值 //儲存設定值 case "save_all_color": foreach ($color_setup as $col_name => $col_val) { save_web_config($col_name, $col_val); } header("location: {$_SERVER['PHP_SELF']}?WebID={$WebID}"); exit; break; //更新班級資料 //更新班級資料 case "update_tad_web": update_tad_web(); header("location: {$_SERVER['PHP_SELF']}?WebID={$WebID}"); exit; break; //標題設定 //標題設定 case "save_head": save_web_config("web_head", $filename); output_head_file(); break; case "save_hide_function": $ConfigValue = implode(';', $ConfigValue); save_web_config("hide_function", $ConfigValue); header("location: {$_SERVER['PHP_SELF']}?WebID={$WebID}"); exit; break;
header("location: {$_SERVER['PHP_SELF']}"); break; case "save_webs_title": save_webs_title($_POST['webTitle']); header("location: {$_SERVER['PHP_SELF']}"); break; //新增資料 //新增資料 case "insert_tad_web": $WebID = insert_tad_web(0, $_POST['WebName'], $_POST['WebSort'], '1', "", $_POST['WebOwnerUid'], $_POST['WebTitle']); header("location: {$_SERVER['PHP_SELF']}"); break; //更新資料 //更新資料 case "update_tad_web": update_tad_web($WebID); header("location: {$_SERVER['PHP_SELF']}"); break; //輸入表格 //輸入表格 case "add_tad_web_form": tad_web_form($WebID); break; //輸入表格 //輸入表格 case "tad_web_form": tad_web_form($WebID); break; //刪除資料 //刪除資料 case "delete_tad_web_chk":