1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
<? include("category/common.php"); if( isset($mode) && $mode == "2" && $idx !== ""){ //¾÷µ¥ÀÌÆ® $_header = addslashes($header); $_footer = addslashes($footer); $_upgradeMethod_01 = addslashes($upgradeMethod_01); $_upgradeMethod_02 = addslashes($upgradeMethod_02); $_upgradeMethod_03 = addslashes($upgradeMethod_03); $_upgradeMethod_04 = addslashes($upgradeMethod_04); $_upgradeMethod_05 = addslashes($upgradeMethod_05); $_upgradeMethod_06 = addslashes($upgradeMethod_06); $_upgradeMethod_07 = addslashes($upgradeMethod_07); $_upgradeMethod_08 = addslashes($upgradeMethod_08); $_upgradeMethod_09 = addslashes($upgradeMethod_09); $_upgradeMethod_10 = addslashes($upgradeMethod_10); $_upgradeMethod_11 = addslashes($upgradeMethod_11); $_upgradeMethod_12 = addslashes($upgradeMethod_12); $_upgradeMethod_13 = addslashes($upgradeMethod_13); $_upgradeMethod_14 = addslashes($upgradeMethod_14); $_upgradeMethod_15 = addslashes($upgradeMethod_15); $_upgradeMethod_16 = addslashes($upgradeMethod_16); $_upgradeMethod_17 = addslashes($upgradeMethod_17); $_upgradeMethod_18 = addslashes($upgradeMethod_18); $_upgradeMethod_19 = addslashes($upgradeMethod_19); $_upgradeMethod_20 = addslashes($upgradeMethod_20); $_upgradeMethod_21 = addslashes($upgradeMethod_21); $_upgradeMethod_22 = addslashes($upgradeMethod_22); $_upgradeMethod_23 = addslashes($upgradeMethod_23); $_upgradeMethod_24 = addslashes($upgradeMethod_24); $_upgradeMethod_25 = addslashes($upgradeMethod_25); $_upgradeMethod_26 = addslashes($upgradeMethod_26); $_upgradeMethod_28 = addslashes($upgradeMethod_28); $_upgradeMethod_29 = addslashes($upgradeMethod_29); $_upgradeMethod_30 = addslashes($upgradeMethod_30); $updateQry = " update upgrade_text set header = '$_header' , footer = '$_footer', upgradeMethod_01 = '$_upgradeMethod_01', upgradeMethod_02 = '$_upgradeMethod_02', upgradeMethod_03 = '$_upgradeMethod_03', upgradeMethod_04 = '$_upgradeMethod_04', upgradeMethod_05 = '$_upgradeMethod_05', upgradeMethod_06 = '$_upgradeMethod_06', upgradeMethod_07 = '$_upgradeMethod_07', upgradeMethod_08 = '$_upgradeMethod_08', upgradeMethod_09 = '$_upgradeMethod_09', upgradeMethod_10 = '$_upgradeMethod_10', upgradeMethod_11 = '$_upgradeMethod_11', upgradeMethod_12 = '$_upgradeMethod_12', upgradeMethod_13 = '$_upgradeMethod_13', upgradeMethod_14 = '$_upgradeMethod_14', upgradeMethod_15 = '$_upgradeMethod_15', upgradeMethod_16 = '$_upgradeMethod_16', upgradeMethod_17 = '$_upgradeMethod_17', upgradeMethod_18 = '$_upgradeMethod_18', upgradeMethod_19 = '$_upgradeMethod_19', upgradeMethod_20 = '$_upgradeMethod_20', upgradeMethod_21 = '$_upgradeMethod_21', upgradeMethod_22 = '$_upgradeMethod_22', upgradeMethod_23 = '$_upgradeMethod_23', upgradeMethod_24 = '$_upgradeMethod_24', upgradeMethod_25 = '$_upgradeMethod_25', upgradeMethod_26 = '$_upgradeMethod_26', upgradeMethod_28 = '$_upgradeMethod_28', upgradeMethod_29 = '$_upgradeMethod_29', upgradeMethod_30 = '$_upgradeMethod_30' where idx = '$idx' ";
mysql_query($updateQry); echo " <script> location.href = 'upgrade_mainText.php'; </script> "; } if(isset($mode) && $mode == "1" ){ //ÃÖÃÊ»ý¼º½Ã $_header = addslashes($header); $_footer = addslashes($footer); $_upgradeMethod_01 = addslashes($upgradeMethod_01); $_upgradeMethod_02 = addslashes($upgradeMethod_02); $_upgradeMethod_03 = addslashes($upgradeMethod_03); $_upgradeMethod_04 = addslashes($upgradeMethod_04); $_upgradeMethod_05 = addslashes($upgradeMethod_05); $_upgradeMethod_06 = addslashes($upgradeMethod_06); $_upgradeMethod_07 = addslashes($upgradeMethod_07); $_upgradeMethod_08 = addslashes($upgradeMethod_08); $_upgradeMethod_09 = addslashes($upgradeMethod_09); $_upgradeMethod_10 = addslashes($upgradeMethod_10); $_upgradeMethod_11 = addslashes($upgradeMethod_11); $_upgradeMethod_12 = addslashes($upgradeMethod_12); $_upgradeMethod_13 = addslashes($upgradeMethod_13); $_upgradeMethod_14 = addslashes($upgradeMethod_14); $_upgradeMethod_15 = addslashes($upgradeMethod_15); $_upgradeMethod_16 = addslashes($upgradeMethod_16); $_upgradeMethod_17 = addslashes($upgradeMethod_17); $_upgradeMethod_18 = addslashes($upgradeMethod_18); $_upgradeMethod_19 = addslashes($upgradeMethod_19); $_upgradeMethod_20 = addslashes($upgradeMethod_20); $_upgradeMethod_21 = addslashes($upgradeMethod_21); $_upgradeMethod_22 = addslashes($upgradeMethod_22); $_upgradeMethod_23 = addslashes($upgradeMethod_23); $_upgradeMethod_24 = addslashes($upgradeMethod_24); $_upgradeMethod_25 = addslashes($upgradeMethod_25); $insertQry = " insert into upgrade_text values ('','$_header','$_footer', '$_upgradeMethod_01','$_upgradeMethod_02','$_upgradeMethod_03','$_upgradeMethod_04','$_upgradeMethod_05','$_upgradeMethod_06','$_upgradeMethod_07','$_upgradeMethod_08','$_upgradeMethod_09','$_upgradeMethod_10', '$_upgradeMethod_11','$_upgradeMethod_12','$_upgradeMethod_13','$_upgradeMethod_14','$_upgradeMethod_15','$_upgradeMethod_16','$_upgradeMethod_17','$_upgradeMethod_18','$_upgradeMethod_19','$_upgradeMethod_20', '$_upgradeMethod_21','$_upgradeMethod_22','$_upgradeMethod_23','$_upgradeMethod_24','$_upgradeMethod_25' )"; mysql_query($insertQry); echo "
<script> location.href = 'upgrade_mainText.php'; </script> "; } ?>
|