/home/mjc1/public_html/manage/pro_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
<?
    
//include("category/common.php");
    //include("nomalBoardManage.php");
    
include("./include/admin_include_header.php");
?>

<script>
function FrmCh(){

    if( pro_storeFrm.subject.value == ''){
        alert("±ÛÁ¦¸ñÀ» ÀÔ·ÂÇϼ¼¿ä");
        pro_storeFrm.subject.focus();
        return;
    }
    
    if( pro_storeFrm.content.value == ''){
        alert("±Û³»¿ëÀ» ÀÔ·ÂÇϼ¼¿ä");
        pro_storeFrm.content.focus();
        return;
    }
    
    if( confirm("À§ ³»¿ëÀ¸·Î ÀÔ·ÂÇϽðڽÀ´Ï±î?") ){
        document.getElementById("pro_storeFrm").target="hidden_frame_mijin";      
        pro_storeFrm.submit(); 
    }

</script>

    <form name="pro_storeFrm" id="pro_storeFrm" method="post" action="pro_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:120px;"><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/)<br>-->
                                <input type='file' name='new_add_file'>
                            </td>            
                        </tr>
                        <tr>
                            <th class="last">³»¿ë<br />(ű׻ç¿ë <span class="red">°¡´É</span>)</th>
                            <td colspan="3"  class="last"><textarea name="content" rows="20" 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:;"></iframe>