묻고답하기

아래소스는 쇼핑몰에서 응용해서 가로출력이 되는데요..(지난번 질문)
그런데 이 소스를 넣고나면 페이지뷰를 생성을 못합니다...(제가 php에 대해 초자라서..)
고수님들께 부탁드립니다...
아래 보시면 max_line은 한페이지당 보여주는 갯수인데 현재 4개로 맞춰져 있거든요..한 20개로 보여지고
하단에 페이지뷰를 만들수 있게 소스를 어떻게 넣어야 하는지 알려주심 감사~~~~~




<?
//====================== 설정해주세요 =========================
$max_line = '4'; //한페이지당 보여질 갯수
$num_rows = '4'; //가로출력할 갯수
$width_per = (int)(141/$num_rows);

// 보여줄 페이지수 [이전] [1][2][3][4]....[8][9][10] [다음] 이런식으로...
$max_page = '10';

//======================= 설정 끝 =============================
if($city&&$country&&$theme&&$circum&&$stayclub_name){

                $res_count = mysql_num_rows(mysql_query("select city,country from zetyx_member_table where city like '%$city%' and country like '%$region%' and no>1 order by rand()"));
                $total_member = mysql_num_rows(mysql_query("select city,country from zetyx_member_table where city like '%$city%' andcountry like '%$region%' and no>1 order by rand()"));                        
}else{
        $res_count = mysql_num_rows(mysql_query("select city,country from zetyx_member_table where city like '%$city%' and country like '%$region%' and no>1 order by rand()"));
        $total_member = $res_count;
}
?>
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td width="677">
                                    <table border="0" cellpadding="5" cellspacing="2">
                                        <tr>
                                            <td width="663">
                                                <table border="0" cellpadding="3" cellspacing="1" width="100%">
                                                    <tr>
                                                        <td width="140" align="center">
                                                            <p><img src="images/myhome_icon2.gif" width="120" height="55" border="0"></p>
                                                        </td>
                                                        <td width="508" style="line-height:15px;">
                                                            <p>안녕하세요! 지역별검색서비스입니다.<br>지역별
                                                            상세한 업체를 찾아볼수
                                                            있는 지역검색서비스는
                                                            보다 빠른 검색을
                                                            할수 있습니다.<br>시/도를
                                                            클릭하시면 지역을
                                                            상세하게 접근을
                                                            하실수 있습니다.</p>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                    <tr>
                                                        <td height="1" bgcolor="#F3F1F1"></td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="663" align=right>
                                                총 <font color=blue><b><?=$res_count?></b></font> 개의 업체가 검색되었습니다.
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center">
                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
<?
$result = mysql_query("select * from zetyx_member_table where no>1 order by no desc limit 0, $i");
$rows = mysql_num_rows($result);
while($data = mysql_fetch_array($result)) {
if($data[picture]) { $picture_file = "<img src=".$data[picture]." border=1 width=140 height=95>"; }
else { $picture_file = "<img src=images/noimages.gif width=140 height=95 border=1>"; }

   $co++;
   $mod_co = $co%$num_rows;
   if($mod_co == "1") echo "<tr>";
   echo "<td width='$width_per%' bgcolor='#FFFFFF' align='center' valign='top'>";
$data[stayclub_name] = cut_str($data[stayclub_name],14);
$data[city] = cut_str($data[city],14);
?>
                                                            <table border="0" cellpadding="5" cellspacing="2" width="165">
                                                                <tr>
                                                                    <td>
                                                                        <table border="0" cellpadding="0" cellspacing="0" width="151">
                                                                            <tr>
                                                                                <td height="107" background="images/mbg3.gif" align="center">
                                                                                    <table border="0" cellpadding="0" cellspacing="0" width="94%">
                                                                                        <tr>
                                                                                            <td height="7"></td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td height="97" align="center">
                                                                                                <a href="#"><?=$picture_file?></a>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <table border="0" cellpadding="3" cellspacing="1" width="100%">
                                                                            <tr>
                                                                                <td align="center">
                                                                                    <p><font color="#FC7A4B"><b><?=$data[stayclub_name]?></b></font></p>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td align="center">
                                                                                    <p>조회 : <?=number_format($data[hit])?>     펜션형</p>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
<?
   echo "</td>";
   if($mod_co == "0") {
      echo "</tr>";
   }
}

while($mod_co > 0) {
   $co++;
   $mod_co = $co%$num_rows;
   if($mod_co == "1") echo "<tr>";
   echo "<td width='$width_per%' bgcolor='#FFFFFF' align='center'> </td>";
   if($mod_co == "0") echo "</tr>";
}
?>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="663">하단 페이지뷰 자리</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
김준경 nzeo 사이트에서 오류가 자주 나요. [1] 2007.08.10
인자기 프린트 제어에 관한 급한 질문... [1] 2007.08.10
매드니스 표(테이블)에 관한 질문.  
김성남 이미지레디 질문이요? [2] 2007.08.10
anssk (php)데이터 베이스에서 텍스트를 뽑아서 테이블 넓이만큼 끊어서 내려가는 것 [2] 2007.08.10
김 민 이미지카운터를 만들었는데, 좀 도와주세요~~~ [1] 2007.08.10
김 민 이미지카운터를 만들었는데, 좀 도와주세요~~~  
한민영 php에 관한. [1] 2007.08.10
홍상제 javascript:window.location="http://www.gogoing.com" 제거법좀 [2] 2007.08.10
samui 아이디 입력 칸이나.. [1] 2007.08.10
Charis 동영상 관련 질문입니다. 아시는 분 긴급히 부탁드립니다.  
이석남 카운터 하나 추천해주십시요. [2] 2007.08.10
새벽하늘 홈피에 게시판 올리는 법 쫌... [2] 2007.08.10
NensiA 플래시 MX 에서요.. [1] 2007.08.10
김철진 문자열 처리에 관한 질문입니다. [3] 2007.08.10
나는천재얌 어유.. [2] 2007.08.10
더베스트:란이 아이프레임 사용하려는데, 어디가 잘못되었는지ㅠㅠ [2] 2007.08.10
박영호 페이지 내용이 업데이트 되었을때 날짜를 표시해주는 방법...  
이정준 플래시에서 outlook으로 잇는 방법.. [1] 2007.08.10
하티뽕짝쇼 포토샵 설치시 에러나요 [2] 2007.08.10
홍상제 개 같은 광고 제거법좀 갈켜 주세요 [5] 2007.08.10
한경수 게시판에 다른 사이트의 htm문서를 불러올 수 있나요? [1] 2007.08.10
임미라 저기요.. 홈페이지 들어갈때요 F11 번 눌렀을때 나타나는 것처럼 어떻게 해요?  
CityBoys-Life 가로출력해결! 그런데 페이지뷰가 말썽[급]  
구본주 php에서의 include가 ... jsp에서는 어떻게 사용해야 하나요? [2] 2007.08.10
김성남 플래시질문이요..  
우어~ 그림 하나에 다른 페이지로 링크를 걸었습니다..  
김현준 게시판에 올린 이미지 파일.... [1] 2007.08.10
폐인모드 스타일 ㅣㅅ트.. [1] 2007.08.10
신화속도사 풀스크린모드에 관해서 질문드립니다