@{titre_intro}
@{this.photo_carte}
@{titre_circuit}
@{titre_extension}
Array
(
[sql] => SELECT
DISTINCT
`t`.*, `d`.*
FROM `wpopn_posts` AS `t`
LEFT JOIN `wpopn_podsrel` AS `rel_pays` ON
`rel_pays`.`field_id` = 69
AND `rel_pays`.`item_id` = `t`.`ID`
LEFT JOIN `wpopn_posts` AS `pays` ON
`pays`.`ID` = `rel_pays`.`related_item_id`
LEFT JOIN `wpopn_pods_circuit` AS `d` ON `d`.`id` = `t`.`ID`
WHERE ( ( `pays`.`id`=@{id} AND type_de_circuit='extension' AND actif=TRUE ) AND ( `t`.`post_type` = "circuit" ) AND ( `t`.`post_status` IN ( "publish" ) ) )
ORDER BY `d`.`duree` DESC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`
LIMIT 0, 500
[error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{id} AND type_de_circuit='extension' AND actif=TRUE ) AND ( `t`.`post_type` = "c' at line 15
)
Et aussi, circuits combinés
Array
(
[sql] => SELECT
DISTINCT
`t`.*, `d`.*
FROM `wpopn_posts` AS `t`
LEFT JOIN `wpopn_podsrel` AS `rel_pays_visite` ON
`rel_pays_visite`.`field_id` = 1221
AND `rel_pays_visite`.`item_id` = `t`.`ID`
LEFT JOIN `wpopn_posts` AS `pays_visite` ON
`pays_visite`.`ID` = `rel_pays_visite`.`related_item_id`
LEFT JOIN `wpopn_pods_circuit` AS `d` ON `d`.`id` = `t`.`ID`
WHERE ( ( `pays_visite`.`id`=@{id} AND type_de_circuit='combine' AND actif=TRUE ) AND ( `t`.`post_type` = "circuit" ) AND ( `t`.`post_status` IN ( "publish" ) ) )
ORDER BY `d`.`duree` DESC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`
LIMIT 0, 500
[error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{id} AND type_de_circuit='combine' AND actif=TRUE ) AND ( `t`.`post_type` = "cir' at line 15
)
Préparer son voyage
Paroles et photos de voyageurs
Array
(
[sql] => SELECT
DISTINCT
`t`.*, `d`.*
FROM `wpopn_posts` AS `t`
LEFT JOIN `wpopn_podsrel` AS `rel_circuit` ON
`rel_circuit`.`field_id` = 74
AND `rel_circuit`.`item_id` = `t`.`ID`
LEFT JOIN `wpopn_posts` AS `circuit` ON
`circuit`.`ID` = `rel_circuit`.`related_item_id`
LEFT JOIN `wpopn_podsrel` AS `rel_circuit_pays` ON
`rel_circuit_pays`.`field_id` = 69
AND `rel_circuit_pays`.`item_id` = `circuit`.`ID`
LEFT JOIN `wpopn_posts` AS `circuit_pays` ON
`circuit_pays`.`ID` = `rel_circuit_pays`.`related_item_id`
LEFT JOIN `wpopn_pods_depart` AS `d` ON `d`.`id` = `t`.`ID`
WHERE ( ( date_du_voyage>NOW() AND `circuit_pays`.`id`=@{id} ) AND ( `t`.`post_type` = "depart" ) AND ( `t`.`post_status` IN ( "publish" ) ) )
ORDER BY `d`.`date_du_voyage` ASC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`
LIMIT 0, 1
[error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{id} ) AND ( `t`.`post_type` = "depart" ) AND ( `t`.`post_status` IN ( "publish"' at line 23
)
@{this.post_title} : DERNIERS ARTICLES DU BLOG
Voir tous les articles pour la destination : @{this.post_title}.
Déjà un avant goût du voyage !