@procedure{ "id":"yurt","name":"Yurtlar as Y", "property":["Y.Gorsel Gorsel","Y.Adi YurtAdi","substring(Y.Adi,0,30)+'...' Adi","SUBSTRING(Y.Aciklama,0,100) + '...' Aciklama","SC.SEOUrl SU","TYT.Adi YurtTurAdi","TYTSC.SEOUrl TYTSU","Se.Adi SehirAdi","I.Adi IlceAdi","lower(Se.Adi) LSehirAdi","lower(I.Adi) LIlceAdi","A.XMap XMap","A.YMap YMap","A.Gorsel MapGorsel"], "where":"Y.Durumu=1 and SC.LanguageID=1 and Se.ID = @sehir.ID and I.ID = @sehir.IlceID", "relation":[ {"type":"join","name":"SEO as S","on":"S.YurtID=Y.ID"}, {"type":"join","name":"SEOCeviri as SC","on":"SC.SEOID=S.ID"}, {"type":"join","name":"YurdunTuru as YT","on":"YT.YurtID=Y.ID"}, {"type":"join","name":"TanimYurtTurleri as TYT","on":"TYT.ID=YT.YurtTurID"}, {"type":"join","name":"SEO as TYTS","on":"TYTS.YurtTurID=YT.YurtTurID"}, {"type":"join","name":"SEOCeviri as TYTSC","on":"TYTSC.SEOID=TYTS.ID"}, {"type":"join","name":"Adresler as A","on":"A.YurtID=Y.ID"}, {"type":"join","name":"TanimSehirler as Se","on":"Se.ID=A.SehirID"}, {"type":"join","name":"TanimIlceler as I","on":"I.ID=A.IlceID"} ],"orderby":[{"sort":"desc","property":"NEWID()"}],"limit":"12", "next":"1" }@/procedure @forcode[yurt]{
}[yurt]@/forcode