/home/mjc1/public_html/m_board2/biz_pr.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?
/*
Á¦Ç° Á¤º¸ Ãâ·Â ÆäÀÌÁö

*/
$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 . "/m_board2/m_board2_class.php");
$m_board2_class = new m_board2_class();

$query "select * from $table_name order by uid desc";
$result mysql_query($query);



?>
<!-- <table  height=18 cellSpacing=0 cellPadding=0 width=630 align=center border=0>
        <TR>
          <TD width=7><IMG height=18 src="images/bar1.gif" width=7></TD>
          <TD vAlign=bottom width=472 
            background=images/bar1_1.gif>&nbsp;<IMG height=9 
            src="images/bar1_2.gif" width=5>&nbsp;<FONT 
            color=#ffffff><?=$page_title?></FONT></TD>
          <TD vAlign=bottom width=100 background=images/bar1_2.gif>&nbsp;
          </TD>
         </TR>
</TABLE><BR> -->
<TABLE height=18 cellSpacing=0 cellPadding=0 width=630 align=center border=0>
<TBODY>
 <TR>
    <TD width=7><IMG height=18 src="images/q&amp;a_td_1.gif" 
            width=7></TD>
    <TD vAlign=bottom width=623 
            background=images/q&amp;a_td_2.gif>&nbsp;<IMG height=9 
            src="images/bar1_2.gif" width=5>&nbsp;<FONT 
            color=#ffffff><?=$page_title?></FONT>
    </TD>
    </TR>
</TBODY>
</TABLE>
<BR>

<table cellpadding="0" cellspacing="1" width="630" align="center">
            <tr>
            <td align="center" valign="top">
                <table border cellpadding="2" cellspacing="0" bordercolordark="white" bordercolorlight="gray" width="630" height="20" align="center">
                    <tr>
                        <td align="center" height="15%" width="8%" bgcolor="#D1D5D8" bordercolorlight="gray"><font color="#173771"><b>¹ø È£</b></font></td>
                        <td align="center" width="60%" bgcolor="#D1D5D8" bordercolorlight="gray"><font color="#173771"><b>Á¦ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;¸ñ</b></font></td>
                        <td align="center" width="7%" bgcolor="#D1D5D8" bordercolorlight="gray"><font color="#173771"><b>Ȩ</b></font></td><td align="center" width="7%" bgcolor="#D1D5D8" bordercolorlight="gray"><font color="#173771"><b>¸ÞÀÏ</b></font></td>
                        <td align="center" width="15%" bgcolor="#D1D5D8"><font color="#173771"><b>µî·ÏÀÏ</b></font></td>
                    </tr>
                </table>
            </td>
            </tr>
</table>
<?
while($row mysql_fetch_array($result,MYSQL_ASSOC)){
if(
$row[homepage]){$homepage "<A HREF='$row[homepage]' target='_new'><img src='images/icon_home.gif' border='0'></A>";}else {$homepage="<img src='images/icon_home_gray.gif'>";}

if(
$row[email]){$email "<A HREF='mailto:$row[email]' target='_new'><img src='images/icon_mail.gif' border='0'></A>";}else {$email="<img src='images/icon_mail.gif'>";}


$reg_date date("Y-m-d",$row[reg_date]);
    echo(
"
    <TABLE cellSpacing=0 cellPadding=0 width=630 align=center border=0>
    <!--°Ô½ÃÆÇµ¥ÀÌÅ͵é¾î¿À´ÂÀÚ¸®-->
    <TBODY>
    <TR bgColor=white>
      <TD align=middle width='9%' height=27>
$row[uid]</TD>
      <TD align=left width='60%'>
      <A href='biz_pr.php?mode=view&uid=
$row[uid]'>
      
$row[subject]</A></TD>
      <TD align=middle width='7%'><FONT  color='#9098c9'>
$homepage</FONT></TD>
        <TD align=middle width='7%'><FONT  color='#9098c9'>
$email</FONT></TD>
      <TD align=middle width='15%'>
$reg_date</TD></TR>
      <TR>
      <TD background=images/bg_tb.gif colSpan=5 height=1></TD>
      </TR>
    </table>
"
);
}

if(!
$user_id){
echo(
"
<BR>

<TABLE cellSpacing=0 cellPadding=0 width=630 align=center border=0>
<TR>
    <TD align='right'><img src='images/btn_write.gif' border='0'  style='CURSOR: hand' onclick=\"alert('·Î±×ÀΠÈÄ »ç¿ëÇϽñ⠹ٶø´Ï´Ù.')\"></TD>
</TR>
<TR>
    <TD align='center'><img src='images/arrow_left.gif'> 1 2 <img src='images/arrow_right.gif'></TD>
</TR>
</TABLE>

<BR>
"
);

} else {
echo(
"
<BR>

<TABLE cellSpacing=0 cellPadding=0 width=630 align=center border=0>
<TR>
    <TD align='right'><A HREF='biz_pr.php?mode=insert'><img src='images/btn_write.gif' border='0'></A></TD>
</TR>
<TR>
    <TD align='center'><img src='images/arrow_left.gif'> 1 2 <img src='images/arrow_right.gif'></TD>
</TR>
</TABLE>

<BR>
"
);
}
?>
<?
require "./main_file/footer.html"?>