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
|
<? /* Á¦Ç° Á¤º¸ Ãâ·Â ÆäÀÌÁö
*/ session_start(); $position = "Á¦Ç°°³¼±.¼öÁ¤»ó´ã"; $page_title = "Á¦Ç°°³¼±.¼öÁ¤»ó´ã"; $sub_title = "Á¦Ç° ÀÚ¼¼È÷º¸±â"; $w_qna_menu = "button8_8.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(); require_once($HOME_DIR . "/m_board/page_header.php");
$query = "select * from $table_name order by uid desc limit $first,$page_num"; $result = mysql_query($query);
?> <TABLE height=18 cellSpacing=0 cellPadding=0 width=630 align=center border=0> <TBODY> <TR> <TD width=7><IMG height=18 src="images/bar8.gif" width=7></TD> <TD vAlign=bottom width=623 background="images/bar8_1.gif"> <IMG height=9 src="images/bar8_2.gif" width=5> <FONT color=#ffffff>ÀÚÁÖÇÏ´Â Áú¹®</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>Á¦ ¸ñ</b></font></td> <td align="center" width="15%" bgcolor="#D1D5D8" bordercolorlight="gray"><font color="#173771"><b>µî·ÏÀÚ</b></font></td> <td align="center" width="10%" bgcolor="#D1D5D8"><font color="#173771"><b>Á¶È¸</b></font></td> </tr> </table> </td> </tr> </table> <? while($row = mysql_fetch_array($result,MYSQL_ASSOC)){ $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>$number</TD> <TD align=left width='60%'> <A href='w_qna.php?mode=view&table_name=$table_name&uid=$row[uid]&page=$page'> $row[subject]</A></TD> <TD align=middle width='15%'><FONT color='#9098c9'>°ü¸®ÀÚ</FONT></TD> <TD align=middle width='10%'>$row[hit]</TD></TR> <TR> <TD background=images/bg_tb.gif colSpan=4 height=1></TD> </TR> </table> "); $number--; } ?> <BR> <TABLE width=630> <TR> <TD align='center'> <? require_once($HOME_DIR . "/m_board/page_footer.php"); ?> </TD> </TR> </TABLE> <BR> <?require "./main_file/footer.html"; ?>
|