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
|
<? include("./include/admin_include_header.php"); $qry = "select * from mBoard_etc_store where uid = '$uid' "; $result = mysql_query($qry); $row = mysql_fetch_array($result); $content = stripcslashes($row['content']);
?> <script> function FrmCh(){ if( etc_storeFrm.subject.value == ''){ alert("±ÛÁ¦¸ñÀ» ÀÔ·ÂÇϼ¼¿ä"); etc_storeFrm.subject.focus(); return; } if( etc_storeFrm.content.value == ''){ alert("±Û³»¿ëÀ» ÀÔ·ÂÇϼ¼¿ä"); etc_storeFrm.content.focus(); return; } document.getElementById("etc_storeFrm").target="hidden_frame_mijin"; etc_storeFrm.submit(); } </script>
<form name="etc_storeFrm" id="etc_storeFrm" method="post" action="etc_storeBoardProcess.php" enctype='multipart/form-data'> <input type=hidden name='mode' value='edit'> <input type=hidden name='uid' value='<?=$uid;?>'> <input type="hidden" name="menu" value="<?=$menu?>"> <input type="hidden" name="sub" value="<?=$sub?>">
<div class="container"> <div class="border_contents"> <div class="editSection"> <h3>¾÷±×·¹ÀÌµå ³»¿ë ¼öÁ¤</h3>
<div class="editWarp"> <table class="editTable"> <colgroup> <col style="width:200px;"><col><col style="width:110px;"><col> </colgroup> <tr> <th>ÀÛ¼ºÀÚ</th> <td><INPUT TYPE="text" NAME="name" size='20' value='<?=$row['name'];?>'></td> <th>Á¶È¸¼ö</th> <td><INPUT TYPE="text" NAME="hit" size='5' value='<?=$row['hit'];?>'></td> </tr> <tr> <th>Á¦¸ñ</th> <td colspan="3"><INPUT TYPE="text" NAME="subject" size='50' value='<?=$row['subject'];?>' class="title"></td> </tr> <tr> <th>÷ºÎÆÄÀÏ</th> <td colspan="3"> <!--<input type=text name='add_file' value='<?=$row['add_file'];?>' size='17'> <?=$row['add_file'];?> ( ¾÷·Îµå °æ·Î:save_dir/m_board/file/ )--> <input type='file' name='new_add_file'> <?php if(file_exists("../save_dir/m_board/file/".$row['add_file']) && $row['add_file']!=''){?> <br><?php echo $row['add_file']?> <a href='/html/millennium/fileDownLoad.php?type=etc_store&filename=<?php echo $row['add_file']?>' target='_blank'><b>[´Ù¿î·Îµå]</b></a> <input type='checkbox' name='new_add_file_del' value='Y'> »èÁ¦ (±ÇÇÑ ¹®Á¦·Î ftp¸¦ ÀÌ¿ëÇØ¼ ¾÷·ÎµåÇÑ ÆÄÀÏÀº ¿©±â¼ »èÁ¦ ¾ÈµË´Ï´Ù.) <input type='hidden' name='new_add_file_name' value='<?php echo $row['add_file']?>'> <?php }?> </td> </tr> <tr> <th class="last">³»¿ë<br />(ű׻ç¿ë <span class="red">°¡´É</span>)</th> <td class="last" colspan="3"><textarea name="content" rows="23" cols="80"><?=$content;?></textarea></td> </tr> </table><!--//editTable--> </div><!-- //editWarp -->
<div class="btn2Warp"> <input type="button" value="ÀúÀå" Onclick="javascript:FrmCh();"><input type="button" value="¸ñ·Ïº¸±â" Onclick="javascript:history.back(-1);" class="ml10"><!--input type="reset" value="Ãë¼Ò" class="ml10"--> </div><!-- //btn2Warp Onclick="FrmCh();"--> </div><!-- //editSection --> </div><!-- //border_contents --> </div><!-- //container --> </form>
<iframe id='hidden_frame_mijin' name='hidden_frame_mijin' style="display:none;"></iframe>
|