Completed

Scroll infinity list ads

Published on the November 27, 2015 in IT & Programming

About this project

Open

Eu preciso que alterem ou criem um código em $.ajax para carregamento de uma listagem em php quem tem que ser acessada por classes já existentes. Eu já comecei a fazer porém me falta um pouco de conhecimento.


Grid.tpl
Interação é em Ajax, smart, php e mysql

$.ajax({

            url : '../../Includes/controllers/listing_type.inc.php',
            dataType: "json",
            method: 'post',
            data: {
              start : first,
              limit : limit
            },
            success


rlListing.php
/**
    * get listings by category
    *
    * @param string $category_id - category ID
    * @param string $order - field name for order
    * @param string $order_type - order type
    * @param int $start - start DB position
    * @param int $limit - listing number per request
    * @param string $listing_type - listing type key
    *
    * @return array - listings information
    **/
    function getListings($category_id = false, $order = false, $order_type = 'ASC', $start = 0, $limit = 10, $listing_type = false)
    {
        global $sorting, $sql, $custom_order, $config;

        $category_id = (int) $category_id;

        $start = $start > 1 ? ($start - 1) * $limit : 0;
    


isso é um exemplo do trecho do código

Category IT & Programming
Subcategory Web design
Is this a project or a position? Project
I currently have I have an idea
Required availability As needed
Experience in this type of projects No (I haven’t managed this kind of project before)
Specific need Other
Other Web Design Alterar código, para listagem com scroll infinity

Delivery term: Not specified

Skills needed