Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Aide syntaxe smarty

 
Post new topic   Reply to topic    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
sandman31
Smarty n00b


Joined: 02 Dec 2012
Posts: 2

PostPosted: Sun Dec 02, 2012 3:06 pm    Post subject: Aide syntaxe smarty Reply with quote

Bonjour

Je ne connais pas grand chose en smarty mais je voudrais afficher dans mon template juste un résultat de cette variable
Donc "dpe_le => "400""

Quel est donc la syntaxe à mettre dans mon template

D'avance merci



{debug}
Code:
{$listing_data}   Array (66)
ID => "2"
Category_ID => "71"
Account_ID => "1"
Plan_ID => "24"
Pay_date => "2012-11-27 21:28:53"
Featured_ID => "29"
Featured_date => "2012-11-28 10:31:24"
Last_show => "2012-11-29 14:10:24"
Last_step => ""
Last_type => ""
Crossed => ""
Shows => "7"
Status => "active"
Date => "2012-11-27 21:28:53"
Sold_date => "0000-00-00 00:00:00"
Sub_status => "visible"
Cron => "0"
Cron_notified => "0"
Cron_featured => "0"
Loc_latitude => "43.6428184"
Loc_longitude => "1.4463309"
Loc_address => "Rue Olympe de Gouges, 31200 Toulouse,..."
condition => ""
price => "107500|euro"
lenght => ""
beam => ""
b_country => ""
states => "fr_state_haute_garonne"
b_address => "3 Rue Olympe de Gouges"
b_zip => "31200"
additional_information => "SPECIAL INVESTISSEUR !!! A quelques..."
time_frame => "0"
title => "Appartement 2 Pièce(s) 44 m² à vendre"
description_add => ""
categories => ""
city => "Toulouse"
time_frame_date_multi => "0000-00-00"
posted_by => ""
account_address_on_map => "0"
sale_rent => "1"
bedrooms => "1"
bathrooms => "1"
square_feet => "44|metr"
built_in => "2002"
garage => "0"
number_of_floors => "0"
property_features => ""
lot_size => ""
property_type => "2"
phone => "0"
website_url => ""
mandat => "{|en|}13201{|/en|}{|fr|}13201{|/fr|}"
emulis_mandat => "{|en|}FR151012{|/en|}{|fr|}FR151012{|..."
parking_ext => "{|en|}1{|/en|}"
ref_number => "RF621642"
dpe_le => "400"
dpe_ges => "80"
Path => "haute-garonne"
Listing_type => "listings"
Cat_key => "haute_garonne"
Cat_type => "listings"
Image => "10"
Image_unlim => "0"
Video => "10"
Video_unlim => "0"
Category_pName => "categories+name+haute_garonne"
Back to top
View user's profile Send private message
bluejester
Smarty Regular


Joined: 26 Apr 2012
Posts: 55

PostPosted: Mon Dec 03, 2012 10:18 am    Post subject: Reply with quote

{$listing_data.dpe_le}
Back to top
View user's profile Send private message Visit poster's website
sandman31
Smarty n00b


Joined: 02 Dec 2012
Posts: 2

PostPosted: Mon Dec 03, 2012 10:40 pm    Post subject: Reply with quote

Merci beaucoup

C'était bien simple en fait Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP