/home/mjc1/public_html/m_board/notice_up_view.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
<?
/*
Á¦Ç° Á¤º¸ Ãâ·Â ÆäÀÌÁö

*/
$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 "";}
$content nl2br(stripslashes($row[content]));
$my_ref $row[hit];



$t_number $table_name.$row[uid];
if(!
eregi($t_number,$notice_number)){
    
$real_ref $my_ref +1;
    
$result mysql_query("update mijin_up_notice set hit ='$real_ref' where uid = '$row[uid]'");

}
session_register("notice_number");
$notice_number "$notice_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">&nbsp;<img SRC="images/bar1_2.gif" WIDTH="5" HEIGHT="9">&nbsp;<font color="#FFFFFF"><?=$page_title?></font></td>
                </tr>
            </table><BR>

<table cellspacing="1" cellpadding="0" width="630" border="0" bgcolor="#9B9B9B" align="center">
    <tr><td>
    <table cellspacing="0" cellpadding="0" width="630" border="0" height="22" bgcolor="#E0E3E5" align="center">
        <tr>
        <td width="15%" align="center"><font color="#173771">&nbsp;¹øÈ£ : <b><?=$row[uid]?></b></font></td>
        <td align="center"><font color="#173771">Á¦¸ñ : <b><?=$row[subject]?></b></font></td>
        <td width="15%" align="center"><font color="#173771">Á¶È¸ : <b><?=$row[hit]?></b></font>&nbsp;&nbsp;</td>
        </tr>
    </table>
    </td></tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="630" bgcolor="#9B9B9B" align="center">
    <tr><td>
        <table cellspacing="1" cellpadding="10" border="0" width="630" align="center">
        <tr>
        
        <td align="left" bgcolor="white" >&nbsp;<?=$content?>
        </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_up.php?page=<?=$page?>"><img SRC="images/list.gif" border="0" WIDTH="54" HEIGHT="21"></a></td>
     </tr>
</table><br>

<?require "./main_file/footer.html"?>