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
|
<? /* Á¦Ç° Á¤º¸ Ãâ·Â ÆäÀÌÁö
*/ session_start(); $position = "°øÁö»çÇ×"; $page_title = "°øÁö»çÇ×"; $sub_title = "Á¦Ç° ÀÚ¼¼È÷º¸±â"; $upgrade_menu = "m_b_menber_on.gif"; require "./inc/config.php"; require "./main_file/header.html";
//require_once($ADMIN_DIR . "/upgrade/upgrade_class.php"); $m_board_class = new m_board_class();
$query = "select * from $table_name where uid ='$uid'"; $result = mysql_query($query); $row = mysql_fetch_array($result); if($row[add_file]){ $add_file = "<img src='images/file.gif'><A HREF='./inc/download.php?type=etc_store&filename=$row[add_file]'>°ü·ÃÀÚ·á¹Þ±â</A>"; } else {$add_file = "";} $subject = stripslashes($row[subject]); $content = nl2br(stripslashes($row[content])); $my_ref = $row[hit];
$t_number = $table_name.$row[uid]; if(!eregi($t_number,$notic_number)){ $real_ref = $my_ref +1; $up_query = "update mijin_notice set hit ='$real_ref' where uid = '$row[uid]'"; $up_result = mysql_query($up_query);
} session_register("notic_number"); $notic_number = "$notic_number:$t_number";
?> <table border="0" cellpadding="0" cellspacing="0" width="630" height="18" align="center"> <tr> <td width="7"><img SRC="images/no_td_1.gif" WIDTH="7" HEIGHT="18"></td> <td width="623" background="images/no_td_2.gif" valign="bottom"> <img SRC="images/bar1_2.gif" WIDTH="5" HEIGHT="9"> <font color="#FFFFFF"><?=$page_title?></font></td> </tr> </table><BR>
<table cellspacing="1" cellpadding="0" width="625" border="0" bgcolor="#9B9B9B" align="center"> <tr><td> <table cellspacing="0" cellpadding="0" width="625" border="0" height="22" bgcolor="#E0E3E5" align="center"> <tr> <td width="15%" align="center"><font color="#173771"> ¹øÈ£ : <b><?=$row[uid]?></b></font></td> <td align="center"><font color="#173771">Á¦¸ñ : <b><?=$subject?></b></font></td> <td width="15%" align="center"><font color="#173771">Á¶È¸ : <b><?=$row[hit]?></b></font> </td> </tr> </table> </td></tr> </table> <table cellspacing="0" cellpadding="0" border="0" width="620" bgcolor="#9B9B9B" align="center"> <tr><td> <table cellspacing="1" cellpadding="10" border="0" width="620" align="center"> <tr> <td align="left" bgcolor="white" > <?=$content?><BR> </td></tr></table> </td></tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="579"> <tr> <td align="center" width="100%" height="30" bgcolor="#ffffff"><a href="notice.php?page=<?=$page?>"><img SRC="images/list.gif" border="0" WIDTH="54" HEIGHT="21"></a></td> </tr> </table><br>
<?require "./main_file/footer.html"; ?>
|