Changeset 16755
- Timestamp:
- 2007/11/08 18:26:49 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/admin/contents/LC_Page_Admin_Contents_Inquiry.php
r16741 r16755 104 104 if (!isset($_GET['mode'])) $_GET['mode'] = ""; 105 105 106 // アンケートを作成ボタン押下時 106 107 if ( $_GET['mode'] == 'regist' ){ 107 108 … … 116 117 117 118 if ( ! $error ){ 118 119 // 新規登録 119 120 if ( ! is_numeric($_POST['question_id']) ){ 120 121 $objQuery = new SC_Query(); … … 135 136 136 137 $this->QUESTION_ID = $question_id; 137 $this->reload(); 138 $this->reload(null, true); 139 140 // 編集 138 141 } else { 139 142 //編集 … … 143 146 $this->MESSAGE = "編集が完了しました"; 144 147 $this->QUESTION_ID = $_POST['question_id']; 145 $this->reload( );148 $this->reload(null, true); 146 149 } 147 150 } else { … … 151 154 $this->QUESTION_ID = $_REQUEST['question_id']; 152 155 $this->ERROR_COLOR = $this->lfGetErrColor($error, ERR_COLOR); 153 154 } 156 } 157 158 // 削除ボタン押下時 155 159 } elseif ( ( $_GET['mode'] == 'delete' ) && ( SC_Utils_Ex::sfCheckNumLength($_GET['question_id']) ) ){ 156 160 157 161 $sql = "UPDATE dtb_question SET del_flg = 1 WHERE question_id = ?"; 158 162 $conn->query( $sql, array( $_GET['question_id'] ) ); 159 $this->reload(); 160 163 $this->reload(null, true); 164 165 // CSVダウンロードボタン押下時 161 166 } elseif ( ( $_GET['mode'] == 'csv' ) && ( SC_Utils_Ex::sfCheckNumLength($_GET['question_id']) ) ){ 162 167 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_CSV_Ex.php"); … … 174 179 exit; 175 180 181 // 初回表示 or 編集ボタン押下時 176 182 } else { 177 183 if (!isset($_GET['question_id'])) $_GET['question_id'] = "";
Note: See TracChangeset
for help on using the changeset viewer.