/home/mjc1/public_html/manage/companyMody.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
<?
    
include("./include/admin_include_header.php");
        
    
$qry     =     "select * from mBoard_company where idx = '$idx' ";
    
$result  =      mysql_query($qry);
    
$row     =      mysql_fetch_array($result);
    
    
$content  stripcslashes($row['content']);

?>
<script>
function FrmCh(menu,sub,idx){
    location.href="companyMody2.php?menu="+menu+"&sub="+sub+"&idx="+idx;
}

function mainch(menu,sub){
    location.href = "UpDownBoard.php?menu="+menu+"&sub="+sub;

</script>

    <form name="companyFrm" method="post" action="companyMody2.php" enctype='multipart/form-data'>
    <input type="hidden" name='mode' value='edit'>
    <input type="hidden" name='idx' value='<?=$idx;?>'>
    <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:110px;"><col><col style="width:110px;"><col>
                        </colgroup>
                        <tr>
                            <th>ÀÛ¼ºÀÚ</th>
                            <td><?=$row['mName'];?></td>
                        </tr>
                        <tr>
                            <th>Á¦¸ñ</th>
                            <td><?=$row['title'];?></td>            
                        </tr>
                        <tr>
                            <th>ÇÁ·Î±×·¥¸í</th>
                            <td><?=$row['subject'];?></td>            
                        </tr>
                        <tr>
                            <th class="last">³»¿ë<br />(ű׻ç¿ë <span class="red">°¡´É</span>)</th>
                            <td class="last"><?=$content?></td>            
                        </tr>
                    </table><!--//editTable-->
                    </div><!-- //editWarp -->

                    <div class="btn2Warp">
                        <input type="button" value="¼öÁ¤" onclick ="javascript:FrmCh(<?=$menu?>,<?=$sub?>,<?=$idx;?>);" ><input type="button" value="¸ñ·ÏÀ¸·Î" onclick ="javascript:mainch(<?=$menu?>,<?=$sub?>);" class="ml10">
        

                    </div><!-- //btn2Warp -->

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