-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrite.php
More file actions
229 lines (179 loc) Β· 7.2 KB
/
write.php
File metadata and controls
229 lines (179 loc) Β· 7.2 KB
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<?php
$code_page='third';
include "./head.php";
?>
<div class="notice_cont">
<h2 class="sub_tit">곡μ§<span class="po_b">μ¬ν</span></h2>
<!-- κ²μλ¬Ό μμ -->
<form name="bbsFrm" action="" method="post" enctype="multipart/form-data" onSubmit="return bbsCheck(this)">
<span style="display:none">
<input type="passwd" name="bbs_spam_value" id="bbs_spam_value" value="">
</span>
<div class="input_notice">
<h4>κΈ μμ±μ <span>μ μκΆ μ£Όμμ¬ν</span></h4>
<p class="txt">
1. μΈν°λ· κΈ°μ¬ μλ¬Έ(κΈ, μ¬μ§ν¬ν¨)μ 볡μ¬ν΄μ κ·Έλλ‘ μ
λ‘λ νμ€ μ μμ΅λλ€.<br/>
2. ννμ΄μ§μ κΈ°λ³Έμ μΌλ‘ μ¬μ©νλ ν°νΈ μ΄μΈμ μ μκΆμ μλ°λλ ν°νΈλ μ¬μ©νμ€μ μμ΅λλ€.<br/>
3. μ΄λ―Έμ§λ μ μκΆμ΄ νμΈλ μ΄λ―Έμ§λ§ μ¬μ©λ°λλλ€.<br/>
<p class="point">β» μ μκΆ μλ°μ΄ μ λ°λ κ²½μ° νμ¬μ²λ² λ° μν΄λ°°μμ νΌν΄λ₯Ό μ
μΌμ€ μ μμ΅λλ€.</p>
</p>
</div>
<input type="hidden" name="privacy" value="Y">
<div class="bbs_input_ment">
<font color="#666">*</font> νμλ νμμ
λ ₯ μ¬νμΌλ‘<span class="mobile_enter"></span> κΈ μμ±μ λ°λμ κΈ°μ¬ν΄μΌ νλ νλͺ©μ
λλ€.
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="bbs_input">
<caption><div class="hide">κΈμ°κΈ° λ° μμ </div></caption>
<colgroup>
<col width="15%" />
<col width="85%" />
</colgroup>
<tr>
<th>μ΄λ¦ *</th>
<td width=""><input name="name" value="μ΄λ¦" type="text" size="20" class="input" /></td>
</tr>
<tr>
<th>μ΄λ©μΌ</th>
<td><input name="email" value="μ΄λ©μΌ" type="text" size="30" class="input" /></td>
</tr>
<tr>
<th>μμ±μΌ</th>
<td><input name="wdate" value="μμ±μΌ" type="text" size="20" class="input" /></td>
</tr>
<tr>
<th>μ‘°νμ</th>
<td align="left" style="padding-left:10px;"><input name="count" value="μ‘°νμ" type="text" size="20" class="input" /></td>
</tr>
<tr>
<th>λΉλ°λ²νΈ *</th>
<td><input name="passwd" value="λΉλ°λ²νΈ" type="password" size="20" class="input" />
<span class="mobile_enter">* κΈ μμ μμ μ νμνμ κΌ κΈ°μ¬ν΄ μ£ΌμκΈ° λ°λλλ€.</span></td>
</tr>
<tr>
<th>μ λͺ© *</th>
<td colspan="3"><input name="subject" value="μ λͺ©" type="text" size="60" class="input l_input" /></td>
</tr>
<tr>
<td colspan="2">
<script language="JavaScript">
$(function() {
$(window).resize(function() {
check_size();
});
});
function check_size(){
//μΈν°λ·μ°½μ κ°λ‘κ°
var winWidth = $(window).width();
//μΈν°λ·μ°½μ κ°λ‘κ°μ΄ 981λ³΄λ€ μμκ²½μ° cbox2 μλμ€κ²
if(winWidth >= 981) {
$('.cbox1').css('display', 'block');
$('.cbox2').css('display', 'none');
$('.cbox2 textarea').attr('name','nocontent');
$('.cbox1 textarea').eq(0).attr('name','content');
}
//μΈν°λ·μ°½μ κ°λ‘κ°μ΄ 980λ³΄λ€ ν΄κ²½μ° cbox1 μλμ€κ²
else if(winWidth < 981) {
$('.cbox1').css('display', 'none');
$('.cbox2').css('display', 'block');
$('.cbox2 textarea').attr('name','content');
$('.cbox1 textarea').eq(0).attr('name','nocontent');
$('.cbox1 textarea').eq(0).attr('id','nocontent');
}
}
$(document).ready(function(){
check_size();
});
</script>
<input type="checkbox" name="privacy" value="Y" <?=$privacy_checked?>>
<span class="txtw">λΉλ°κΈ</span>
<input type="checkbox" name="notice" value="Y" <?=$notice_checked?>>
<span class="txtw">곡μ§κΈ</span>
<!-- ν΄μλ 981 μ΄μ μΌλ -->
<div class="cbox1">
<?
//if($bbs_info[editor] == "Y"){
$edit_content = $content;
include "./webedit/WIZEditor.html";
//}else{
?>
<?
//}
?>
</div>
<!-- // ν΄μλ 981 μ΄μ μΌλ -->
<!-- ν΄μλ 980 μ΄ν μΌλ -->
<div class="cbox2">
<textarea name="nocontent" cols="85" rows="13" class="textarea" style="width:98%;word-break:break-all;" ><?=$content?></textarea>
</div>
<!-- // ν΄μλ 980 μ΄ν μΌλ -->
</td>
</tr>
<?
for($ii=1;$ii<=5;$ii++){
echo ${"hide_upfile".$ii."_start"};
?>
<tr>
<th>첨λΆνμΌ
<?=$ii?></th>
<td><input type="file" name="upfile<?=$ii?>" size="20" class="input" />
<?=${"upfile".$ii}?></td>
</tr>
<?
echo ${"hide_upfile".$ii."_end"};
}
?>
<?
for($ii=1;$ii<=3;$ii++){
echo ${"hide_movie".$ii."_start"};
if($ii == 1) $input_type = "file";
else $input_type = "text";
?>
<tr>
<th>λμμ
<?=$ii?></th>
<td><input type="<?=$input_type?>" name="movie<?=$ii?>" size="20" class="input" />
<?=${"movie".$ii}?></td>
</tr>
<?
echo ${"hide_movie".$ii."_end"};
}
?>
</table>
<div class="pri_box">
<p class="pri_tit">κ°μΈμ 보 μμ§Β·μ΄μ©μ λν λμ</p>
<textarea style="width:98%; height:100px;" class="textarea" readonly>
β μμ§νλ κ°μΈμ 보 νλͺ©
νμ¬λ νμκ°μ
, μλ΄, μλΉμ€ μ μ² λ±μ μν΄ μλμ κ°μ κ°μΈμ 보λ₯Ό μμ§νκ³ μμ΅λλ€.
ΞΏ μμ§νλͺ© : μ΄λ¦, μ΄λ©μΌ
ΞΏ κ°μΈμ 보 μμ§λ°©λ² : ννμ΄μ§(κ²μλ¬Ό μμ±)
β κ°μΈμ 보μ μμ§ λ° μ΄μ©λͺ©μ
νμ¬λ μμ§ν κ°μΈμ 보λ₯Ό λ€μμ λͺ©μ μ μν΄ νμ©ν©λλ€.
- ννμ΄μ§ κ²μν κ΄λ¦¬, λ―Όμ μ²λ¦¬
β κ°μΈμ 보μ 보μ λ° μ΄μ©κΈ°κ°
μμΉμ μΌλ‘, κ°μΈμ 보 μμ§ λ° μ΄μ©λͺ©μ μ΄ λ¬μ±λ νμλ ν΄λΉ μ 보λ₯Ό μ§μ²΄ μμ΄ νκΈ°ν©λλ€. λ¨, κ΄κ³λ²λ Ήμ κ·μ μ μνμ¬ λ³΄μ‘΄ν νμκ° μλ κ²½μ° νμ¬λ μλμ κ°μ΄ κ΄κ³λ²λ Ήμμ μ ν μΌμ ν κΈ°κ° λμ νμμ 보λ₯Ό 보κ΄ν©λλ€.
- 보쑴 νλͺ© : μ΄λ¦, λ‘κ·ΈμΈID
- 보쑴 κ·Όκ±° : μλΉμ€ μ΄μ©μ νΌμ λ°©μ§
- 보쑴 κΈ°κ° : 5λ
μλ², μ μμκ±°λ λ±μμμ μλΉμ보νΈμ κ΄ν λ²λ₯ λ± κ΄κ³λ²λ Ήμ κ·μ μ μνμ¬ λ³΄μ‘΄ν νμκ° μλ κ²½μ° νμ¬λ κ΄κ³λ²λ Ήμμ μ ν μΌμ ν κΈ°κ° λμ νμμ 보λ₯Ό 보κ΄ν©λλ€. μ΄ κ²½μ° νμ¬λ 보κ΄νλ μ 보λ₯Ό κ·Έ 보κ΄μ λͺ©μ μΌλ‘λ§ μ΄μ©νλ©° 보쑴기κ°μ μλμ κ°μ΅λλ€.
- κ³μ½ λλ μ²μ½μ² ν λ±μ κ΄ν κΈ°λ‘ : 5λ
(μ μμκ±°λλ±μμμ μλΉμ보νΈμ κ΄ν λ²λ₯ )
- λκΈκ²°μ λ° μ¬ν λ±μ 곡κΈμ κ΄ν κΈ°λ‘ : 5λ
(μ μμκ±°λλ±μμμ μλΉμ보νΈμ κ΄ν λ²λ₯ )
- μλΉμμ λΆλ§ λλ λΆμμ²λ¦¬μ κ΄ν κΈ°λ‘ : 3λ
(μ μμκ±°λλ±μμμ μλΉμ보νΈμ κ΄ν λ²λ₯ )
- μ μ©μ 보μ μμ§/μ²λ¦¬ λ° μ΄μ© λ±μ κ΄ν κΈ°λ‘ : 3λ
(μ μ©μ 보μ μ΄μ© λ° λ³΄νΈμ κ΄ν λ²λ₯ )
</textarea>
<div class="pri_message">
κ°μΈμ 보 μμ§Β·μ΄μ©μ λν΄ λμνμλκΉ?<br>
<input name="agree2" type="radio" value="Y" > λμν¨
<input name="agree2" type="radio" value="N" checked> λμμν¨
</div>
</div>
<!-- λ²νΌ -->
<div class="bbs_btn">
<ul>
<li class="list_btn inner_btn">
<a href="/admin/notice.php" class="btn_w">리μ€νΈ</a>
<a href="/admin/write.php" class="btn_b">μμ±νκΈ°</a>
</li>
</ul>
</div>
<!-- λ²νΌ λ -->
</div>
<? include "./foot.php"; ?>