묻고답하기

아래소스는 쇼핑몰에서 응용해서 가로출력이 되는데요..(지난번 질문)
그런데 이 소스를 넣고나면 페이지뷰를 생성을 못합니다...(제가 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 남기남
김대형 explorer 8에서 메뉴가 나오지 않아여.. 도와주세요 [1] 2009.07.17 by bcpt
열강 제로보드가 창을 늘리면 창 사이즈에 따라 좌우로 움직입니다  
글쓴이 최근게시물 달기 [1] 2009.07.17 by 똘똘이1m
글쓴이 김시민장군기념사업회 홈페이지 관련 문의 [1] 2009.07.17 by bcpt
황금잔디 XE에 디자인 소스를 결합시켜야 하는데... [2] 2009.07.17 by 황금잔디
kangta 레이아웃에 다른페이지include하는 문제 입니다 [2] 2009.07.17 by kangta
kangta 게시판의 조회수 수정하기? [2] 2009.07.17 by kangta
Jiyoung540 게시판 링크 무조건 새창으로 뜨게 세팅하려면??? [11] 2009.07.17 by Jiyoung540
리우  파이어폭스, 애플사파리, 넷스케이프, 오페라, 모질라 다운받는곳 알려주세요 [2] 2009.07.17 by 리우 
민우 메뉴(게시판) 글씨 크기를 바꾸고 싶은데요.. 꼭좀 알려주세요 ㅠㅠ [2] 2009.07.17 by 글쓴이
글쓴이 질문입니다!!!!!!!!!!!!!!!!!!!!!  
서병익 로그인이 자동으로 풀려요!!  
이용욱 님들아 좀도와주세요  
글쓴이 글자가 안보여요 어떻게 해야되나요  
글쓴이 대표이사 명의변경 요청 [1] 2009.07.17 by 백성찬
dajoahe.com 자동글 올리는거 방지하고 싶은데.. [2] 2009.11.16 by dajoahe.com
글쓴이 설치 오류 제발 원인이 몬지 알려주세요 부탁드립니다 [2] 2009.07.17 by 글쓴이
sbshs77 시작모듈을 찾을수 없다고 하면.. [1] 2009.07.17 by 백성찬
서민호859 읔 제목이빠졌네요... 영문버전 설치시 바뀌지않는 한글메뉴관련.. [4] file 2009.07.17 by 서민호859
uOne. sms로 플래닛에 글 쓰는 방법좀 알려주세여 [4] 2009.07.17 by 새봄아빠