Petites annonces Nord-Pas-de-Calais

Enregistrer ces critères
Km
 

fermer

et à Km



Date Photos Titre Prix cliquez sur Rubrique, Département ou Ville
 
02 mai
19:43

miniature photographe amateur cherche modele

Service

Nord

Lille

23 avril
16:09

 recherche chatte persane

1 €

Vente/achat animaux

Nord

Escaudain

21 avril
15:08

 cherche location maison ou appartement

Location-Colocation

Nord

Wattrelos

09 avril
12:27

 dans le sécteur de villeneuve d'ascq

Location-Colocation

Nord

Wambrechies

09 avril
12:02

 maison sur villeneuve d'ascq

800 €

Location-Colocation

Nord

Wambrechies

04 avril
16:39

 recherche maison avec jardin à louer

600 €

Location-Colocation

Nord

Lille

03 avril
13:05

miniature recupération de mobylettes ou moto

1 €

Véhicule - Accessoire

Nord

Ghissignies



www.vendreouacheter.com

DEBUG_INFO : Uniquement visible en développement

script => /annonces/index.php

QS=> ?r=nord-pas-de-calais&a=achats&pgc=1&nbpp=40&sort=&inv=



SELECT (
        SELECT COUNT(a.aid) FROM annonces_generales AS a
        LEFT JOIN video_queue AS vid ON video_lk=vid.vid_key AND vid.date_do IS NOT NULL WHERE user_type=1 AND type_io=2 AND date_sort>DATE_SUB(NOW(), INTERVAL 62 DAY) AND a.statut=6  AND (reg_id=20 OR all_region=1)
    ) AS nb1, (
        SELECT COUNT(a.aid) FROM annonces_generales AS a
        LEFT JOIN video_queue AS vid ON video_lk=vid.vid_key AND vid.date_do IS NOT NULL WHERE user_type=2 AND type_io=2 AND date_sort>DATE_SUB(NOW(), INTERVAL 62 DAY) AND a.statut=6  AND (reg_id=20 OR all_region=1)
    ) AS nb2
    

SELECT
a.aid, a.reg_id, dpt_id, a_cp, rubrique, ville,
type_io, user_type, titre, corps, prix, date_pub, date_ts, date_sort,
og_onfocus, og_urgent,
DATE_FORMAT(og_urg_expire,'%Y%m%d%H%i') AS datUrgLimit,
DATE_FORMAT(og_foc_expire,'%Y%m%d%H%i') AS datFocLimit,
titre_url, ville_url,
photo_path_rw, ph_uniqid, photo1, photo2, photo3, photo4,
shop_link, imp_ann_id,
#join autre table
d_deptnom, rub.nom AS rubnom, rub_url,
a.vue AS aPvCnt,
pro.sp_nom, pro.sid AS shopId,
vid.file_out AS videoName
#, opt_sab, sab_start, sab_len, sab_minprix
#, DATE_ADD(date_pub, INTERVAL sab_len DAY)+0 AS sabEch
FROM annonces_generales AS a
    LEFT JOIN rubriques_generales AS rub ON rubrique=rid
        LEFT JOIN geo_departement ON dpt_id=dptid
            LEFT JOIN shop_pro AS pro ON a.shop_link=pro.sid AND pro.sp_date_expire>NOW()
                LEFT JOIN video_queue AS vid ON video_lk=vid.vid_key AND vid.date_do IS NOT NULL
WHERE type_io=2
AND date_sort>DATE_SUB(NOW(), INTERVAL 62 DAY)
AND a.statut=6  AND (reg_id=20 OR all_region=1)
ORDER BY date_sort DESC, date_pub DESC
Array
(
    ['r']  =  nord-pas-de-calais
    ['a']  =  achats
    ['pgc']  =  1
    ['nbpp']  =  40
    ['sort']  =  
    ['inv']  =  
    ['DZannUser']  =  go0su52a2il6jlpp36d0f2sa9gl7sv58
    ['crgid']  =  20
    ['fRub']  =  
    ['selRegion']  =  
    ['nb_dpt_id']  =  
    ['prixMax']  =  
    ['wvideo']  =  
    ['fkw']  =  
)

Annonces mises en avant