<%@ Page Language="C#" Buffer="true" CodeFile="log00011382.aspx.cs" Inherits="_log00011382" 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é")); %><% string mode = (string) ((string)EC.itl.getParameterValue("string", "mode", "list")); string action = (string) ((string)EC.itl.getParameterValue("string", "action", "")); int? statusFilter = (int?) ((int?)EC.itl.getParameterValue("integer", "statusFilter", -1)); string searchFilter = (string) ((string)EC.itl.getParameterValue("string", "searchFilter")); string logComment = (string) ((string)EC.itl.getParameterValue("string", "logComment")); string creatorFilter = (string) ((string)EC.itl.getParameterValue("string", "creatorFilter")); string ocsNotificationForActionMessage = (string) ((string)EC.itl.getParameterValue("string", "ocsNotificationForActionMessage")); string ocsNotificationForInfoMessage = (string) ((string)EC.itl.getParameterValue("string", "ocsNotificationForInfoMessage")); SqlObject card = (SqlObject) (new SqlObject("ocsTrm:accomodation", @"SELECT this.`_oid` AS this FROM ocsTrm_accomodation AS this INNER JOIN ocs_card AS this_z 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:ocsTrm:accomodation", "card"))),true)); %> " /> Hébergement <% SqlObject card__1 = (SqlObject) (new SqlObject("ocsTrm:accomodation", @"SELECT this.`_oid` AS this, this.title AS this_p_title FROM ocsTrm_accomodation AS this INNER JOIN ocs_card AS this_z 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:ocsTrm:accomodation", "card"))),true)); %>
     
 

Historique de la fiche :<% ITL.show((string)card__1.get("this_p_title"), "string", "html", "string"); %>

<% ItlEnumerator e4 = new ItlEnumerator("G00011382_3", null, false); e4.add(new SqlEnumerator(new ItlRuntime.SQL.Collection("ocs:log", @"SELECT c0.`_oid` AS origin, this.`_oid` AS this, this.`date` AS o_1, this.`date` AS o_2, this.cardStatus AS o_3, this.userLogin AS o_4 FROM ocs_log AS this INNER JOIN (ocs_card AS c0 INNER JOIN ocs_card AS c0_z On ((c0.`_oid` = c0_z.`_oid`) AND (c0_z.iso_sid <> ''))) On ((this.card = c0.`_oid`) AND (c0.iso_sid <> '') AND (c0.`_oid` = #V_0&;)) WHERE (this.iso_sid <> '')", new ItlRuntime.SQL.Parameters( new ItlRuntime.SQL.Parameter("#V_0&;", (int?)card__1.get("this"), "integer")), new ItlRuntime.SQL.OrderAliases(new ItlRuntime.SQL.OrderAlias("o_1", false)), new ItlRuntime.SQL.OptionalOrderAliases(new ItlRuntime.SQL.OrderAliases(new ItlRuntime.SQL.OrderAlias("o_2", true)), new ItlRuntime.SQL.OrderAliases(new ItlRuntime.SQL.OrderAlias("o_3", true)), new ItlRuntime.SQL.OrderAliases(new ItlRuntime.SQL.OrderAlias("o_4", true))), null, "c0"), @"SELECT this.`_oid` AS this, this.`date` AS this_p_date, this.comment AS this_p_comment, this.userLogin AS this_p_userLogin, this.cardStatus AS this_p_cardStatus FROM ocs_log AS this WHERE (this.iso_sid <> '')", new Map(), true, (List) EC.newList(new List(), 1, 1, 1), (int?)null, (int?)null)); e4.setLimit(20); e4.setNavigationFeatures(""); ItlEnumerator log = (ItlEnumerator) (e4); log.reset(); if(log.isNotEmpty()) { ItlEnumerator tableEnumerator = (ItlEnumerator) (log); string tableId = (string) (tableEnumerator.enumeratorId()); bool hasTopNavigationBarRow = (bool) (tableEnumerator.needNavigationBar()); bool hasBottomNavigationBarRow = (bool) (tableEnumerator.needNavigationBar()); %><% columnCount = (int?)(ITL.gv["columnCount"] = 0); visibleSchedulerColumnCount = (int?)(ITL.gv["visibleSchedulerColumnCount"] = 0);%><% columnCount = (int?)(ITL.gv["columnCount"] = 1); %><% columnCount = (int?)(ITL.gv["columnCount"] = 2); %><% columnCount = (int?)(ITL.gv["columnCount"] = 3); %><% columnCount = (int?)(ITL.gv["columnCount"] = 4); %><% if(ITL.b(hasTopNavigationBarRow)) { %><% } %><% %><% %><% %><% %><% %><% if(ITL.b(hasBottomNavigationBarRow)) { %><% } %><% log.resetGroup(); for(log.start();log.test();log.fetch()) { string oddEven = (string) (tableEnumerator.positionInPage() % 2 == 1?"odd":"even"); %>><% %><% %><% %><% %><% }%>
<% ITL.show(tableEnumerator.navigationBar(), "string", "raw", "string"); %>
Date<% if(tableEnumerator.count() > 1) { %>v^<% } %>Etat<% if(tableEnumerator.count() > 1) { %>v^<% } %>Par<% if(tableEnumerator.count() > 1) { %>v^<% } %>Note d'historique
<% ITL.show(tableEnumerator.navigationBar(), "string", "raw", "string"); %>
<% ITL.show((DateTime?)log.get("this_p_date"), "time", "html", "date"); %> <% if((int?)log.get("this_p_cardStatus") == 0) { %> En rédaction <% } else if((int?)log.get("this_p_cardStatus") == 1) { %> A valider <% } else if((int?)log.get("this_p_cardStatus") == 2) { %> Publiée <% } else if((int?)log.get("this_p_cardStatus") == 3) { %> Archivée <% } %><% ITL.show(ITL.b((string)log.get("this_p_userLogin"))?(string)log.get("this_p_userLogin"):" ", "string", "html", "string"); %><% ITL.show(ITL.b((string)log.get("this_p_comment"))?(string)log.get("this_p_comment"):" ", "string", "html", "string"); %>
<% } else { } log.finish(); %>
<% ItlLink link22 = new ItlLink("#"); link22.setProperty("onclick", "window.close();return false;"); link22.setProperty("renderstyle.aClass", "admButton"); link22.setProperty("renderstyle.spanClass", "admButtonSpan"); link22.setProperty("renderstyle", "button"); link22.show(); %>Fermer<% link22.close(); %>
 
     

<% card__1.close();%>