<%@ Page Language="C#" Buffer="true" CodeFile="page00013329.aspx.cs" Inherits="_page00013329" CodePage="65001" UICulture="fr" Culture="fr-FR" ValidateRequest="true" %> <%@ Import Namespace="ItlRuntime" %> <%@ Import Namespace="System.Collections.Generic" %> <%@ Import Namespace="System.Linq" %> <% EC.linkableClassMap = (Map) EC.newMap(new Map() , "ocsNewsEvent:news", new ClassLink("./page00013329.aspx?card=object", "linkTable.aspx?GID=00013329&card=object", "Actualité")); %><% EC.imageProviderUrl = "./imageProvider.aspx"; %><% EC.albumDialogUrl = "./albumDialog.aspx"; %><% EC.albumPrivateDialogUrl = "./albumPrivateDialog.aspx"; %><% SqlObject card = (SqlObject) (new SqlObject("ocsNewsEvent:news", @"SELECT this.`_oid` AS this, this_z.title_fr AS this_z_p_title_fr, this_z.summary_fr AS this_z_p_summary_fr, this_z.body_fr AS this_z_p_body_fr, this_z.copyright_fr AS this_z_p_copyright_fr, this_z.author AS this_z_p_author, this_z.writingDate AS this_z_p_writingDate, this_z_s_image.width AS this_z_s_image_p_width, this_z_s_image.height AS this_z_s_image_p_height, this_z_s_image.frames AS this_z_s_image_p_frames, this_z_s_image.`_oid` AS this_z_s_image, this_z_s_image_z.label_fr AS this_z_s_image_z_p_label_fr, this_z_s_image_z.description_fr AS this_z_s_image_z_p_description_fr FROM ocsNewsEvent_news AS this INNER JOIN (ocsNewsEvent_card AS this_z INNER JOIN ocs_card AS this_z_z On ((this_z.`_oid` = this_z_z.`_oid`) AND (this_z_z.iso_sid <> '')) LEFT JOIN (alb_image AS this_z_s_image INNER JOIN alb_resource AS this_z_s_image_z On ((this_z_s_image.`_oid` = this_z_s_image_z.`_oid`) AND (this_z_s_image_z.iso_sid <> ''))) On ((this_z.image = this_z_s_image.`_oid`) AND (this_z_s_image.iso_sid <> ''))) On ((this.`_oid` = this_z.`_oid`) AND (this_z.iso_sid <> '')) WHERE (this.iso_sid <> '') AND (this.`_oid` = #V_0&;)", new Map("#V_0&;|integer", EC.itl.toInteger(EC.itl.getParameterValue("object:ocsNewsEvent:news", "card"))),true)); %> " /> Vue fiche OCS
Trémentines

Actualités/Agenda/Agenda

Vue fiche OCS

<% string titleContent = (string) ((string)card.get("this_z_p_title_fr")); %>

<% ITL.show(titleContent, "string", "html", "string"); %>

<% if(EC.itl.toBoolean(card.getObject("this_z_s_image", "alb:image"))) { if(ITL.isNotNull((int?)card.get("this_z_s_image"))) { int effectiveWidth = (int) (EC.itl.getEffectiveWidth((int?)card.get("this_z_s_image_p_width"), (int?)card.get("this_z_s_image_p_height"), 150, 112)); int effectiveHeight = (int) (EC.itl.getEffectiveHeight((int?)card.get("this_z_s_image_p_width"), (int?)card.get("this_z_s_image_p_height"), 150, 112)); %>

> > <% ItlLink link7 = new ItlLink(""); link7.setProperty("class", "link"); link7.show(); %> class="image"<%ITL.showAttributeWithName("title", (string)card.get("this_z_s_image_z_p_label_fr"));ITL.showAttributeWithName("alt", (string)card.get("this_z_s_image_z_p_label_fr"));ITL.showAttributeWithName("longdesc", (string)card.get("this_z_s_image_z_p_description_fr"));ITL.showAttributeWithName("height", effectiveHeight);ITL.showAttributeWithName("width", effectiveWidth);%>/><% link7.close(); %> ><% ITL.show((string)card.get("this_z_s_image_z_p_label_fr"), "string", "html", "string"); %>

<% } else { } %>
<% } if(ITL.b((DateTime?)card.get("this_z_p_writingDate")) || ITL.b((string)card.get("this_z_p_author")) || ITL.b((string)card.get("this_z_p_copyright_fr"))) { %>

<% if(ITL.b((string)card.get("this_z_p_author")) && ITL.b((DateTime?)card.get("this_z_p_writingDate"))) { %> Par <% ITL.show((string)card.get("this_z_p_author"), "string", "html", "string"); %>, le <% ITL.show((DateTime?)card.get("this_z_p_writingDate"), "string", "html", "date"); %>
<% } else if(ITL.b((string)card.get("this_z_p_author"))) { %> Par <% ITL.show((string)card.get("this_z_p_author"), "string", "html", "string"); %>
<% } else if(ITL.b((DateTime?)card.get("this_z_p_writingDate"))) { %> Rédigée le <% ITL.show((DateTime?)card.get("this_z_p_writingDate"), "string", "html", "date"); %>
<% } else { } if(ITL.b((string)card.get("this_z_p_copyright_fr"))) { %><% ITL.show((string)card.get("this_z_p_copyright_fr"), "string", "html", "string"); %>
<% } %>

<% } if((string)card.get("this_z_p_body_fr") != "" || (string)card.get("this_z_p_summary_fr") != "") { %>
<% if((string)card.get("this_z_p_body_fr") == "" && (string)card.get("this_z_p_summary_fr") != "") { ITL.show((string)card.get("this_z_p_summary_fr"), "string", "memo", "string"); } else if((string)card.get("this_z_p_body_fr") != "") { ITL.show((string)card.get("this_z_p_body_fr"), "string", "direct", "string"); } %>
<% } %>