= ceil($total/$nowpage)) { $limit2 = $total % $nowpage; if ($limit2 == 0 && $total!=0) $limit2 = $nowpage; } else $limit2 = $nowpage; ?>
:: :: [P/W변경] | [로그아웃]"; else echo ""; ?>
$find", stripslashes($data[subject])); else $subject = stripslashes($data[subject]); if ($data[upfile]) { $ext = strtolower(substr($data[upfile], -3, 3)); if (file_exists("../../images/icon_".$ext.".gif")) $icon = ""; else $icon = ""; } else $icon = ""; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; if ($i != $limit2) echo "\n"; else echo "\n"; } mysql_close($mydb); ?>

번호

제목

이름

작성일

조회

$data[num]

$icon $subject"; if ($today == $data[date]) echo " "; echo "

$data[name]

$data[date]

$data[hit]

" ?>   "; for ($q=$npage+1; $q<=$npage+10; $q++) { if ($q <= ceil($total/$nowpage)) { if ($q == $page) echo "".$q.""; else echo " ".$q.""; if ($q != $npage+10 && $q < ceil($total/$nowpage)) echo " | "; } } if ($q > ceil($total/$nowpage)) $q = ceil($total/$nowpage); echo "  "; ?> " ?>