include "_conf.html";
$countsql = "select count(num) from $tablename where Ncode = '$Ncode'";
$sql = "select * from $tablename where Ncode = '$Ncode'";
$p_val = "Ncode=$Ncode";
$rs_count = @mysql_query($countsql);
$rscount = @mysql_fetch_row($rs_count);
$totcount = $rscount[0];
$block_size = 10;
$page_size = 9;
$tr_color = "#E3E3E3";
page_var();
$cols = 0;
if($totcount > 0) {
$sql .= " order by signdate desc limit $first, $page_size";
$result = @mysql_query($sql);
$i = 0;
while($row = @mysql_fetch_array($result)) {
$viewno = $totcount - ($i+(($page-1)*$page_size)); //ÃÖ±Ù ¿Ã¶ó¿Â °Ô½Ã¹° °¡»ó¹øÈ£
$Isize = @getimagesize("".$dir."/".$row[medium]."");
$Iwidth = $Isize[0];
if($viewno%2==0) $trbg = "#F5F5F5";
else $trbg = $tr_color;
$list .= "
|
";
if($row[subject]) $list.="
".text_cut($row[subject],16)." |
";
$list.="
|
| ";
$i++;
$cols++;
if($cols==3) {
$list.="";
$cols = 0;
}
} // while end
} else $list = "»çÁøÀÌ ¾ø½À´Ï´Ù. | ";
include"_headtop.html";
include"_top.html";
?>
$page_val = "?$p_val";
page_view();
?>
|