/home/mjc1/public_html/manage/etc_storeWrite.php


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
<?
@session_start();

    
//include("category/common.php");
    //include("nomalBoardManage.php");
    
include("./include/admin_include_header.php");
?>
<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;
    }
    
    if( confirm("À§ ³»¿ëÀ¸·Î ÀÔ·ÂÇϽðڽÀ´Ï±î?") ){
        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='insert'>
        <div class="container">
            <div class="border_contents">
                <div class="editSection">
                    <h3>±âŸÀÚ·á ±Û¾²±â</h3>
                    

                    <div class="editWarp">
                    <table class="editTable">
                        <colgroup>
                            <col style="width:110px;"><col><col style="width:110px;"><col>
                        </colgroup>
                        <tr>
                            <th>ÀÛ¼ºÀÚ</th>
                            <td><INPUT TYPE="text" NAME="name" size='20' value='°ü¸®ÀÚ'></td>
                            <th class="leftLine">Á¶È¸¼ö</th>
                            <td><INPUT TYPE="text" NAME="hit"  size='5'></td>
                        </tr>
                        <tr>
                            <th>Á¦¸ñ</th>
                            <td colspan='3'><INPUT TYPE="text" NAME="subject"  size='50' value='' class="title"></td>            
                        </tr>
                        <tr>
                            <th>÷ºÎÆÄÀϸí</th>
                            <td colspan='3'>
                                <!--<INPUT TYPE="text" NAME="add_file"  size='20'>(¾÷·Îµå °æ·Î:save_dir/m_board/file/)-->
                                <input type='file' name='new_add_file'>
                            </td>            
                        </tr>
                        <tr>
                            <th class="last">³»¿ë<br />(ű׻ç¿ë <span class="red">°¡´É</span>)</th>
                            <td class="last" colspan="3"><textarea name="content" rows="23" cols="80"></textarea></td>            
                        </tr>
                    </table><!--//editTable-->
                    </div><!-- //editWarp -->

                    <div class="btn2Warp">
                        <input type="button" value="ÀúÀå" Onclick="FrmCh();"><input type="button" value="¸ñ·Ïº¸±â" Onclick="javascript:history.back(-1);" class="ml10"><!--input type="reset" value="Ãë¼Ò" class="ml10"-->
                    </div><!-- //btn2Warp -->

                </div><!-- //editSection -->
            </div><!-- //border_contents -->
        </div><!-- //container -->
    </form>

<iframe id='hidden_frame_mijin' name='hidden_frame_mijin' style="display:none;"></iframe>