/home/mjc1/public_html/manage/up_noticeBoardMody.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?
  
include("category/common.php");
  include(
"nomalBoardManage.php");
        
    
$qry     =     "select * from mBoard_up_notice where uid = '$uid' ";
    
$result  =      mysql_query($qry);
    
$row     =      mysql_fetch_array($result);
    
    
$content  stripcslashes($row[content]);

?>
<script>
  
  function FrmCh(){
    
    if( up_noticeFrm.subject.value == ''){
      alert("±ÛÁ¦¸ñÀ» ÀÔ·ÂÇϼ¼¿ä");
     up_noticeFrm.subject.focus();
     return;
      }
      
   if( up_noticeFrm.content.value == ''){
     alert("±Û³»¿ëÀ» ÀÔ·ÂÇϼ¼¿ä");
     up_noticeFrm.content.focus();
     return;
      }
     up_noticeFrm.submit(); 
      
  }
   
</script>
<style type=text/css>
table { font-color;#000000;font-size:9pt }
.td {BACKGROUND-COLOR:#C1CDD8}
.nontd {BACKGROUND-COLOR:#ffffff}
</style>
<form name="up_noticeFrm" method="post" action="up_noticeBoardProcess.php" enctype='multipart/form-data'>
<input type=hidden name='mode' value='edit'>
<input type=hidden name='uid' value='<?=$uid;?>'>
<table width="730" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
    <td align="center">
        <table width="700" border="0" cellspacing="1" cellpadding="2" align="center" bgcolor="gray">
        <tr>
            <td bgcolor="#FFFFFF" colspan="2" align="center" height="25">
            &nbsp;¾÷±×·¹À̵堰øÁö»çÇ× ¼öÁ¤
            </td>
        </tr>
        </table><BR>
        <table width="700" border="0" cellspacing="1" cellpadding="2" align="center" bgcolor="#d1d1d1">
        <tr>
            <td width="118" align="center" bgcolor="#DDDDDD">ÀÛ¼ºÀÚ</td>
            <td width="422" bgcolor="#FFFFFF" colspan='3'>
            <INPUT TYPE="text" NAME="name" size='20' value='<?=$row[name];?>'></td>            
            <td width="118" align="center" bgcolor="#DDDDDD">Á¶È¸¼ö</td>
            <td width="100" bgcolor="#FFFFFF" >
            <INPUT TYPE="text" NAME="hit"  size='5' value='<?=$row[hit];?>'></td>
        </tr><tr>
            <td width="118" align="center" bgcolor="#DDDDDD">Á¦¸ñ</td>
            <td width="422" bgcolor="#FFFFFF" colspan='5'>
            <INPUT TYPE="text" NAME="subject"  size='50' value='<?=$row[subject];?>'></td>            
        </tr><tr>
            <td width="118" align="center" bgcolor="#DDDDDD">÷ºÎÆÄÀÏ</td>
            <td width="422" bgcolor="#FFFFFF" colspan='5'>
            <INPUT TYPE="FILE" NAME="add_file"  size='50'></td>            
        </tr><tr>
            <td width="118" align="center" bgcolor="#DDDDDD">³»¿ë<BR>
            (ű׻ç¿ë <font color=red>°¡´É</font>)            </td>
            <td width="422" bgcolor="#FFFFFF" colspan='5'>
            <TEXTAREA NAME="content" ROWS="23" COLS="80"><?=$content;?></TEXTAREA>
            </td>            
        </tr>
        </table><BR>
        
        <br>
        
        <table width="700" border="0" cellspacing="0" cellpadding="2" align="center">
        <tr>
            <td bgcolor="#FFFFFF" colspan="2" align="center" height="25">
            <input type="button" value="ÀúÀå" style="height:18" Onclick="FrmCh();">
            <input type="reset" value="Ãë¼Ò"style="height:18"></td>
        </tr>
        </table>
    </td>
</tr>
</table>
</form>
</TD>
        </TABLE>
    
    </TD>
</TR>
</TABLE>