示例#1
0
		  <p><span class="style4"><b>Price:</b> <b>Rs. <?php 
            echo $pri;
            ?>
</b></span></p>
          <p class="readmore"><a href="itemdetails.php?mname=<?php 
            echo $arr[0];
            ?>
"><b>BUY NOW</b></a></p>
          <div class="clear"></div>
        </div>
        <!-- end .rightbox -->
        <div class="clear br"></div>
		<?php 
        }
    }
    $count = $obj->tot_names($m_id);
    $page = ceil($count / 6);
    ?>
	  </div>
      <!-- end .inner -->
	  <?php 
    for ($i = 1; $i <= $page; $i++) {
        echo "<a href=index.php?page={$i}&cat=" . $m_id . ">" . $i . "</a>  |  ";
    }
}
?>
    </div>
    <!-- end body -->
    <div class="clear"></div>
    <div id="footer">
	  <?php