|
<% call switch_lang( "Νέα","News")%>
<% sql="select id,"&lang&"_descr as descr, "&lang&"_title as title,"&lang&"_link1,"&lang&"_link2,photo1,photo2,photo3,ddate from tbl_tmhma_news where is_enabled=1 and (("&lang&"_title is not null and trim("&lang&"_title)<>'') or ("&lang&"_descr is not null and trim("&lang&"_descr)<>'')) order by ddate desc limit " & news_items
set rs=conn.execute(sql)
%>
|
<% call switch_lang( "Εκδηλώσεις","Events")%>
<% sql="select "&lang&"_type,tbl_tmhma_ekdilwseis.id as idd,"&lang&"_title as title,"&lang&"_descr as descr,start_date,end_date,start_time,end_time,"&lang&"_speaker,"&lang&"_place,"&lang&"_link1,"&lang&"_link2,photo1,photo2,photo3 FROM" & _
" tbl_tmhma_ekdilwseis" & _
" Inner Join tbl_tmhma_ekdilwseis_type ON tbl_tmhma_ekdilwseis_type.id = tbl_tmhma_ekdilwseis.id_tbl_ekdilwseis_type" & _
" where is_enabled=1 and (("&lang&"_title is not null and trim("&lang&"_title)<>'') or ("&lang&"_descr is not null and trim("&lang&"_descr)<>'')) order by start_date desc limit " & events_items
set rs=conn.execute(sql)
%>
<% call switch_lang( " ερισσότερες Εκδηλώσεις","More Events")%> >>> |
<% call switch_lang( "Ανακοινώσεις","Announcements")%>
<% sql="select id,"&lang&"_descr as descr,"&lang&"_title as title,"&lang&"_link1,"&lang&"_link2,photo1,photo2,photo3,ddate from tbl_tmhma_anakoinwseis where is_enabled=1 and (("&lang&"_title is not null and trim("&lang&"_title)<>'') or ("&lang&"_descr is not null and trim("&lang&"_descr)<>'')) order by ddate desc limit " & announcements_items
set rs=conn.execute(sql)
%>
<% call switch_lang( " ερισσότερες Ανακοινώσεις","More Announcements")%> >>> |
Αριθμός Επισκεπτών: <%if session("HomePageHit")="" then %> <% session("HomePageHit")=iCount else response.write session("HomePageHit") end if%>