"; include "../head.htm"; echo (" KCMÀÌ ¼Ò°³ÇÏ´Â Çѱ¹ÀÇ ¼±±³´Üü

KCM¿¡¼­ Á¦°øÇÏ´Â Çѱ¹ÀÇ ¼±±³´Üü¸®½ºÆ®´Â
ÇöÀç Çѱ¹¿¡¼­ È°¹ßÇÏ°Ô È°µ¿ÇÏ°í ÀÖ´Â ¼±±³´ÜüµéÀ» ¸ð¾Æ ³õÀº ¸®½ºÆ®ÀÔ´Ï´Ù.
ÀÌ°÷¿¡ µî·ÏµÈ ¼±±³´ÜüµéÀº KCMȨÆäÀÌÁöÀÇ [±ÝÁÖÀÇ ¼±±³´Üü]¿¡ ¸ÅÁÖ ¼Ò°³µË´Ï´Ù.

"); $total_line = $total_limit+$limite; $count=0; for($a=$total_limit;$a<$total_line;$a++) { if($a>$total-1) {}else{ $title = mysql_result($result, $a, "title"); $id = mysql_result($result, $a, "id"); $tel = mysql_result($result, $a, "tel"); $fax = mysql_result($result, $a, "fax"); $email = mysql_result($result, $a, "email"); $photo1 = mysql_result($result, $a, "photo1_name"); $photo2 = mysql_result($result, $a, "photo2_name"); $photo3 = mysql_result($result, $a, "photo3_name"); $comment = mysql_result($result, $a, "comment"); $edit_date = mysql_result($result, $a, "edit_date"); $udate = mysql_result($result, $a, "udate"); if($edit_date) { $udate=$edit_date; } $udate_c = substr($udate, 0, 4)."³â ".substr($udate, 4, 2)."¿ù ".substr($udate, 6, 2)."ÀÏ"; $udate = substr($udate, 0, 8); $count++; //¿ä¾àÀº ¸îÀÚ±îÁö º¸ÀÌ°Ô ÇÒ±î¿ä? $lenstr=126; $comment_string=strlen($comment); for($k=0; $k<$lenstr-1; $k++) { if(ord(substr($comment, $k, 1))>$lenstr+1) { $k++; } } if ($comment_string > $lenstr) { $comment=substr($comment, 0, $k)."..."; } else { $comment=$comment; } $listnum = ($total-(($page-1)*$limite))-$count+1; //¿À´Ã³¯Â¥¿Í ¾÷µ¥ÀÌÆ® ³¯Â¥°¡ °°´Ù¸é? if($today==$udate) { $newlist=""; }else{ $newlist=""; } //Ȥ½Ã¶óµµ ·Î°í°¡ ¾ø´Ù¸é... if(!$photo1) { $logoYN=""; }else{ $logoYN=""; } echo " "; } } echo "
¹øÈ£ ´ÜüÀ̸§ µî·ÏÁ¤º¸¿ä¾à
$listnum $logoYN$title
$comment
ÃÖÁ¾¼öÁ¤ÀÏ : $udate_c
ÀüÈ­ : $tel
FAX : $fax
¸ÞÀÏ : $email

"; // ÇÑ È­¸é¿¡ Ãâ·ÂµÉ ÆäÀÌÁö ¸µÅ©°¡ 3°³¶ó°í °¡Á¤ Çϸé ÇöÀç ÆäÀÌÁö°¡ 4¶ó¸é 4,5,6 À̶ó´Â ¸µÅ©¸¸ Ãâ·ÂµÇ°Ô ÇÑ´Ù // 4°¡ ³ª¿À´Â½Ä $first_page = intval(($page-1)/$page_num+1)*$page_num-($page_num-1); // 6À» ±¸ÇÏ´Â½Ä $last_page = $first_page+($page_num-1); if($last_page > $total_page) { $last_page = $total_page; }else{} // [ÀÌÀü] ¹öÆ° ¸µÅ© $prev = $first_page-1; if($page > $page_num) { echo"[ÀÌÀü] [1]..."; }else{} // ÆäÀÌÁö ¸µÅ© Ãâ·Â : 4¿Í 6À» ±¸ÇßÀ¸´Ï ¿©±â¼­´Â 4~6±îÁö¸¦ for¹®À¸·Î Ãâ·Â for($i = $first_page; $i <= $last_page; $i++) { if($page == $i) { // Ãâ·ÂµÉ ¹øÈ£°¡ ÇöÀç ÆäÀÌÁö¶û °°´Ù¸é ÁøÇÏ°Ô echo"[$i]"; } else { echo"[$i]"; } } // [´ÙÀ½] ¹öÆ° Ãâ·Â $next = $last_page+1; if($next <= $total_page) { echo"...[$total_page] [´ÙÀ½]"; }else{} echo "
"; include "search_win.htm"; echo "
"; echo "
"; include ('../copyright.htm'); echo " "; ?>