", "", $contents); $contents = str_replace("
", "", $contents); $contents = str_replace("
", "", $contents); $contents = str_replace("
", "", $contents); return $contents; } if($article_no=="1"){ $article_name = "미국역사 (American History)"; }else if($article_no=="2"){ $article_name = "법률 상식 (Common Law)"; }else if($article_no=="3"){ $article_name = "전국기사 (National News)"; }else if($article_no=="4"){ $article_name = "아세아계 기사 (Asian American News)"; }else if($article_no=="5"){ $article_name = "한인계 기사 (Korean American News)"; }else if($article_no=="6"){ $article_name = "이민사회 기사 (Immigrant Community News)"; }else if($article_no=="7"){ $article_name = "칼럼 모음 (Column Collection)"; }else if($article_no=="8"){ $article_name = "성공예절 (Etiquette for Success)"; }else if($article_no=="9"){ $article_name = "초기이민자교실 (For New Immigrants)"; }else if($article_no=="10"){ $article_name = "발행인 코너"; } //no data msg $msg = "데이타가 없습니다."; $title_len = 34; $content_len = 60; ?>
$total) $end = $total; // 현재 페이지에서 리스트의 레코드 시작 레코드로 이동 if ($pageNum > 1) mysql_data_seek($res, $start); /***** 페이지 카운트 관련 기본값 설정 끝 *******************************************/ $cpage=$pageNum - 1; $n = $total - $cpage*$list ; /***** 리스트 출력 // 현재 페이지에 해당 하는 리스트만 출력**********************************************/ for($i=$start; $i<$end; $i++){ $row = mysql_fetch_object($res); //한 열씩 객체형택로 가져온다 $length=strlen($row->thread); if($length>1) $re=""; else $re=''; $length=$length.'0'; //if($row->filename) $down="".$row->filename.""; //else $down = '-'; ?> filename1){?>