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
123
124
125
126
127
128
129
130
131
|
<? /* Á¦Ç° Á¤º¸ Ãâ·Â ÆäÀÌÁö
*/ $position = "¾÷±×·¹À̵å"; $page_title = "¾÷±×·¹À̵å"; $sub_title = "Á¦Ç° ÀÚ¼¼È÷º¸±â"; $upgrade_menu = "m_b_menber_on.gif"; require "./inc/config.php"; require "./main_file/header.html";
$upgrade_class = new upgrade_class();
//require_once($ADMIN_DIR . "/upgrade/upgrade_class.php"); 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/q&a_td_1.gif" width=7></TD> <TD vAlign=bottom width=623 background=images/q&a_td_2.gif> <IMG height=9 src="images/bar1_2.gif" width=5> <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="10%" bgcolor="#D1D5D8" bordercolorlight="gray"><font color="#173771"><b>ÀÏÀÚ</b></font></td> <td align="center" width="50%" bgcolor="#D1D5D8" bordercolorlight="gray"><font color="#173771"><b>Á¦ ¸ñ</b></font></td> <td align="center" width="10%" bgcolor="#D1D5D8" bordercolorlight="gray"><font color="#173771"><b>¹öÁ¯</b></font></td> <td align="center" width="10%" bgcolor="#D1D5D8" bordercolorlight="gray"><font color="#173771"><b>ÆÄÀÏ</b></font></td> <td align="center" width="10%" 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]); //$add_file = $row[add_file];
$certi_table = explode("_",$table_name); if($user_program == $certi_table[1]){ //¸¸ÀÏ À¯Àú ŸÀÔÀÌ Á¤Ç°À̰í, ¸¸±âÀÏÀÌ Áö³ªÁö ¾Ê¾Ò°í , Á¤Ç° ±ÇÇÑÀÌ Á¤»óÀÎ °æ¿ì if(($user_type == $member_type_value[1]) && ($user_check == "USE" && $user_up == $if_upgrade_value[0])){
if($row[add_file]){ $add_file = "<A HREF='./inc/download.php?type=upgrade&s_type=file&filename=$row[add_file]'><img src='images/file.gif' border='0'></A>"; }
//$version =
} } if($user_program == $certi_table[1]){ //¸¸ÀÏ À¯Àú ŸÀÔÀÌ Á¤Ç°À̰í, ¸¸±âÀÏÀÌ Áö³ªÁö ¾Ê¾Ò°í , Á¤Ç° ±ÇÇÑÀÌ Á¤»óÀÎ °æ¿ì if(($user_type == $member_type_value[2]) && ($user_check == "USE" && $user_per == $if_program_value[0])){
if($row[add_file]){ $add_file = "<A HREF='./inc/download.php?type=upgrade&s_type=file&filename=$row[add_file]'><img src='images/file.gif' border='0'></A>"; }
//$version =
} }else { $add_file = "-"; //$version = "-";
}
echo(" <TABLE cellSpacing=0 cellPadding=0 width=630 align=center border=0> <!--°Ô½ÃÆÇµ¥ÀÌÅ͵é¾î¿À´ÂÀÚ¸®--> <TBODY> <TR bgColor=white> <TD align=middle width='10%' height=27>$row[uid]</TD> <TD align=left width='50%'> <A href='upgrade.php?mode=view&uid=$row[uid]&table_name=$table_name'> $row[subject]</A></TD> <TD align=middle width='10%' height=27>$row[version]</TD> <TD align=middle width='10%' height=27>$add_file</TD> <TD align=middle width='10%'><FONT color='#9098c9'>$reg_date</FONT></TD> <TD align=middle width='10%'>$row[hit]</TD></TR> <TR> <TD background=images/bg_tb.gif colSpan=6 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"; ?>
|