Ver Fonte

Vss2Git

Thibaud.willm há 11 anos atrás
pai
commit
f762226c51
29 ficheiros alterados com 2713 adições e 242 exclusões
  1. 7 2
      CG67.FicheCollege.root/CG67.FicheCollege/CG67.FicheCollege.Tools/CG67.FicheCollege.Tools.csproj
  2. 2 2
      CG67.FicheCollege.root/CG67.FicheCollege/CG67.FicheCollege.sln
  3. 5 2
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Domaine/CG67.FicheCollege.Domaine.csproj
  4. 5 2
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/CG67.FicheCollege.Entrepot.csproj
  5. 5 2
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Interface/CG67.FicheCollege.Interface.csproj
  6. 5 2
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Service/CG67.FicheCollege.Service.csproj
  7. 2 2
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Testeur/App.config
  8. 9 2
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Testeur/CG67.FicheCollege.Testeur.csproj
  9. 40 7
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/CG67.FicheCollege.Web.csproj
  10. 16 4
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/Default.aspx
  11. 1 1
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/Default.aspx.cs
  12. 2 12
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/Default.aspx.designer.cs
  13. 2 3
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/FicheCollege.aspx.designer.cs
  14. 37 0
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/FicheCollegev2.aspx
  15. 59 0
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/FicheCollegev2.aspx.cs
  16. 51 0
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/FicheCollegev2.aspx.designer.cs
  17. 90 56
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/HttpHandlerHistogramme.cs
  18. 21 0
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/Test.cs
  19. 57 69
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/Web.config
  20. 430 11
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/css/Print.css
  21. 18 18
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/css/fichecollege.css
  22. 437 0
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/css/fichecollegev2.css
  23. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/images/CG67.png
  24. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/images/DC.png
  25. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/images/cg67.jpg
  26. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/logoCG67.gif
  27. 47 45
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/xslt/FicheCollege.xslt
  28. 1365 0
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/xslt/FicheCollegev2.xslt
  29. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/xslt/Pilotes.xls

+ 7 - 2
CG67.FicheCollege.root/CG67.FicheCollege/CG67.FicheCollege.Tools/CG67.FicheCollege.Tools.csproj

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -10,12 +10,17 @@
     <AppDesignerFolder>Properties</AppDesignerFolder>
     <RootNamespace>CG67.FicheCollege.Tools</RootNamespace>
     <AssemblyName>CG67.FicheCollege.Tools</AssemblyName>
-    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
     <SccProjectName>SAK</SccProjectName>
     <SccLocalPath>SAK</SccLocalPath>
     <SccAuxPath>SAK</SccAuxPath>
     <SccProvider>SAK</SccProvider>
+    <FileUpgradeFlags>
+    </FileUpgradeFlags>
+    <OldToolsVersion>3.5</OldToolsVersion>
+    <UpgradeBackupLocation />
+    <TargetFrameworkProfile />
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>

+ 2 - 2
CG67.FicheCollege.root/CG67.FicheCollege/CG67.FicheCollege.sln

@@ -1,6 +1,6 @@
 
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Core", "Core", "{AF653E19-77A1-4976-B3BF-1B016F16E79B}"
 EndProject
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Web", "Web", "{4C65639C-3B2A-46F8-B412-1FF88E335B34}"

+ 5 - 2
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Domaine/CG67.FicheCollege.Domaine.csproj

@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -15,9 +16,11 @@
     <SccProvider>SAK</SccProvider>
     <FileUpgradeFlags>
     </FileUpgradeFlags>
-    <OldToolsVersion>2.0</OldToolsVersion>
+    <OldToolsVersion>3.5</OldToolsVersion>
     <UpgradeBackupLocation>
     </UpgradeBackupLocation>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <TargetFrameworkProfile />
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>

+ 5 - 2
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/CG67.FicheCollege.Entrepot.csproj

@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -15,9 +16,11 @@
     <SccProvider>SAK</SccProvider>
     <FileUpgradeFlags>
     </FileUpgradeFlags>
-    <OldToolsVersion>2.0</OldToolsVersion>
+    <OldToolsVersion>3.5</OldToolsVersion>
     <UpgradeBackupLocation>
     </UpgradeBackupLocation>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <TargetFrameworkProfile />
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>

+ 5 - 2
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Interface/CG67.FicheCollege.Interface.csproj

@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -15,9 +16,11 @@
     <SccProvider>SAK</SccProvider>
     <FileUpgradeFlags>
     </FileUpgradeFlags>
-    <OldToolsVersion>2.0</OldToolsVersion>
+    <OldToolsVersion>3.5</OldToolsVersion>
     <UpgradeBackupLocation>
     </UpgradeBackupLocation>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <TargetFrameworkProfile />
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>

+ 5 - 2
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Service/CG67.FicheCollege.Service.csproj

@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -15,9 +16,11 @@
     <SccProvider>SAK</SccProvider>
     <FileUpgradeFlags>
     </FileUpgradeFlags>
-    <OldToolsVersion>2.0</OldToolsVersion>
+    <OldToolsVersion>3.5</OldToolsVersion>
     <UpgradeBackupLocation>
     </UpgradeBackupLocation>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <TargetFrameworkProfile />
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>

+ 2 - 2
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Testeur/App.config

@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8" ?>
+<?xml version="1.0"?>
 <configuration>
   <appSettings>
     <add key="ConnexionStringSic" value="Data Source=ESNA\sqlstd2k5_1;Initial Catalog=TSic;User Id=UserTSicRW;password=UserTS!cRW!"/>
@@ -8,4 +8,4 @@
     <add key="ConnexionStringOracleRH" value="Data Source=SRHP;User Id=CG67_ATC;Password=ATC_CG67;"/>
     <add key="ConnexionStringAccess" value="Provider=microsoft.jet.oledb.4.0;Data Source=\\Moder\App_production\College\data\Base\BD Collège_prod.mdb;Persist Security Info=False;"/>
   </appSettings>
-</configuration>
+<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

+ 9 - 2
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Testeur/CG67.FicheCollege.Testeur.csproj

@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -15,9 +16,11 @@
     <SccProvider>SAK</SccProvider>
     <FileUpgradeFlags>
     </FileUpgradeFlags>
-    <OldToolsVersion>2.0</OldToolsVersion>
+    <OldToolsVersion>3.5</OldToolsVersion>
     <UpgradeBackupLocation>
     </UpgradeBackupLocation>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <TargetFrameworkProfile />
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>
@@ -46,6 +49,10 @@
     <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
+    <ProjectReference Include="..\..\CG67.FicheCollege.Tools\CG67.FicheCollege.Tools.csproj">
+      <Project>{6B4DE9CB-C532-4501-B626-F51663EC4E17}</Project>
+      <Name>CG67.FicheCollege.Tools</Name>
+    </ProjectReference>
     <ProjectReference Include="..\CG67.FicheCollege.Domaine\CG67.FicheCollege.Domaine.csproj">
       <Project>{EA9B4153-44A9-46AF-891B-8DFE604CF33F}</Project>
       <Name>CG67.FicheCollege.Domaine</Name>

+ 40 - 7
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/CG67.FicheCollege.Web.csproj

@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -16,9 +17,12 @@
     <SccProvider>SAK</SccProvider>
     <FileUpgradeFlags>
     </FileUpgradeFlags>
-    <OldToolsVersion>2.0</OldToolsVersion>
+    <OldToolsVersion>3.5</OldToolsVersion>
     <UpgradeBackupLocation>
     </UpgradeBackupLocation>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <TargetFrameworkProfile />
+    <UseIISExpress>false</UseIISExpress>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>
@@ -40,21 +44,34 @@
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.Data" />
+    <Reference Include="System.Data.DataSetExtensions" />
     <Reference Include="System.Data.OracleClient" />
     <Reference Include="System.Drawing" />
     <Reference Include="System.Web" />
+    <Reference Include="System.Web.ApplicationServices" />
+    <Reference Include="System.Web.DynamicData" />
+    <Reference Include="System.Web.Entity" />
+    <Reference Include="System.Web.Extensions" />
     <Reference Include="System.Xml" />
     <Reference Include="System.Configuration" />
     <Reference Include="System.Web.Services" />
     <Reference Include="System.EnterpriseServices" />
     <Reference Include="System.Web.Mobile" />
+    <Reference Include="System.Xml.Linq" />
   </ItemGroup>
   <ItemGroup>
     <Content Include="css\fichecollege.css" />
+    <Content Include="css\fichecollegev2.css" />
     <Content Include="Default.aspx" />
     <Content Include="FicheCollege.aspx" />
+    <Content Include="FicheCollegev2.aspx" />
     <Content Include="GenerationFiche.aspx" />
+    <Content Include="images\cg67.jpg" />
+    <Content Include="images\CG67.png" />
+    <None Include="images\Copie de logoCG67N.histo" />
+    <Content Include="images\DC.png" />
     <Content Include="images\logoCG67.gif" />
+    <Content Include="logoCG67.gif" />
     <Content Include="photo\Mundolsheim_0672013Z.jpg" />
     <Content Include="photo\Rosheim_0671913R.jpg" />
     <Content Include="photo\Wingen_0671739B.jpg" />
@@ -71,9 +88,16 @@
     <Content Include="photo\StrasbourgStockfeld_0671691Z.JPG" />
     <Content Include="photo\StrasbourgSophieGermain_0671590P.jpg" />
     <Content Include="photo\untitled.bmp" />
-    <Content Include="Web.config" />
+    <Content Include="Web.config">
+      <SubType>Designer</SubType>
+    </Content>
     <Content Include="xml\Entete.xml" />
-    <Content Include="xslt\FicheCollege.xslt" />
+    <Content Include="xslt\FicheCollegev2.xslt">
+      <SubType>Designer</SubType>
+    </Content>
+    <Content Include="xslt\FicheCollege.xslt">
+      <SubType>Designer</SubType>
+    </Content>
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Default.aspx.cs">
@@ -90,6 +114,13 @@
     <Compile Include="FicheCollege.aspx.designer.cs">
       <DependentUpon>FicheCollege.aspx</DependentUpon>
     </Compile>
+    <Compile Include="FicheCollegev2.aspx.cs">
+      <DependentUpon>FicheCollegev2.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="FicheCollegev2.aspx.designer.cs">
+      <DependentUpon>FicheCollegev2.aspx</DependentUpon>
+    </Compile>
     <Compile Include="FileDownloadHandler.cs" />
     <Compile Include="GenerationFiche.aspx.cs">
       <SubType>ASPXCodeBehind</SubType>
@@ -100,6 +131,7 @@
     </Compile>
     <Compile Include="HttpHandlerHistogramme.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Test.cs" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\..\CG67.FicheCollege.Tools\CG67.FicheCollege.Tools.csproj">
@@ -204,9 +236,10 @@
   <ItemGroup>
     <None Include="pdf\Pilotes.pdf" />
     <None Include="xls\Pilotes.xls" />
+    <None Include="xslt\Pilotes.xls" />
   </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
-  <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" Condition="" />
+  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">
@@ -219,9 +252,9 @@
       <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
         <WebProjectProperties>
           <UseIIS>False</UseIIS>
-          <AutoAssignPort>True</AutoAssignPort>
+          <AutoAssignPort>False</AutoAssignPort>
           <DevelopmentServerPort>1031</DevelopmentServerPort>
-          <DevelopmentServerVPath>/colleges/fichecollege/</DevelopmentServerVPath>
+          <DevelopmentServerVPath>/</DevelopmentServerVPath>
           <IISUrl>
           </IISUrl>
           <NTLMAuthentication>False</NTLMAuthentication>

+ 16 - 4
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/Default.aspx

@@ -1,10 +1,15 @@
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CG67.FicheCollege._Default" %>
 
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 //EN" 
+"http://www.w3.org/TR/html4/strict.dtd">
 
 <html xmlns="http://www.w3.org/1999/xhtml" >
 <head runat="server">
+    <meta http-equiv="X-UA-Compatible" content="IE=9" />
     <title>Fiche de synthèse collège</title>
+    <link href="css/fichecollegev2.css" rel="stylesheet" type="text/css" />    
+    <link href="css/Print.css" rel="stylesheet" type="text/css" />
+    
     <script type="text/javascript">
 
   var _gaq = _gaq || [];
@@ -23,16 +28,23 @@
 </head>
 <body>
     <form id="form1" runat="server">
-    <div>
-        <asp:Label ID="lblChoix" runat="server" Text="Veuillez sélectionner un établissement"></asp:Label><br />
+    <div id="header_index">
+        <img id="logo" src="images/DC.png" alt="Logo du CG67"></img>
+        <h2 id="Default">Fiches de synthèses collèges</h2>
+    </div>
+    <div id="blank"><h3 id="Default">Veuillez sélectionner un établissement</h3></div>
+    <div id="conteneur">
         <asp:DropDownList ID="ddlChoixCollege" runat="server" DataSourceID="ObjectDataSource1" DataTextField="NomCollegePourPresentation" DataValueField="CodeRNE">
         </asp:DropDownList><asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
             SelectMethod="GetAllEtablissement" TypeName="CG67.FicheCollege.Service.ServiceFiche">
         </asp:ObjectDataSource>
         <br />
-    </div>       
+
     <br />
+        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         <asp:Button ID="btnGeneration" runat="server" OnClick="Button1Click" Text="Générer la fiche" />
+    </div>       
+    
     </form>
 </body>
 </html>

+ 1 - 1
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/Default.aspx.cs

@@ -34,7 +34,7 @@ namespace CG67.FicheCollege
             HttpContext.Current.Session["AnneeMoins1"] = annee - 1;
             HttpContext.Current.Session["RNE"] = ddlChoixCollege.SelectedValue;
          //   Server.Transfer("GenerationFiche.aspx");
-            Server.Transfer("FicheCollege.aspx");
+            Server.Transfer("FicheCollegev2.aspx");
         }
     }
 }

+ 2 - 12
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/Default.aspx.designer.cs

@@ -1,11 +1,10 @@
 //------------------------------------------------------------------------------
-// <auto-generated>
+// <généré automatiquement>
 //     Ce code a été généré par un outil.
-//     Version du runtime :2.0.50727.5456
 //
 //     Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
 //     le code est régénéré.
-// </auto-generated>
+// </généré automatiquement>
 //------------------------------------------------------------------------------
 
 namespace CG67.FicheCollege {
@@ -22,15 +21,6 @@ namespace CG67.FicheCollege {
         /// </remarks>
         protected global::System.Web.UI.HtmlControls.HtmlForm form1;
         
-        /// <summary>
-        /// Contrôle lblChoix.
-        /// </summary>
-        /// <remarks>
-        /// Champ généré automatiquement.
-        /// Pour modifier, déplacez la déclaration de champ du fichier de concepteur dans le fichier code-behind.
-        /// </remarks>
-        protected global::System.Web.UI.WebControls.Label lblChoix;
-        
         /// <summary>
         /// Contrôle ddlChoixCollege.
         /// </summary>

+ 2 - 3
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/FicheCollege.aspx.designer.cs

@@ -1,11 +1,10 @@
 //------------------------------------------------------------------------------
-// <auto-generated>
+// <généré automatiquement>
 //     Ce code a été généré par un outil.
-//     Version du runtime :2.0.50727.5444
 //
 //     Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
 //     le code est régénéré.
-// </auto-generated>
+// </généré automatiquement>
 //------------------------------------------------------------------------------
 
 namespace CG67.FicheCollege {

+ 37 - 0
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/FicheCollegev2.aspx

@@ -0,0 +1,37 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FicheCollegev2.aspx.cs"
+    Inherits="CG67.FicheCollege.FicheCollegev2" %>
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 //EN" 
+"http://www.w3.org/TR/html4/strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head runat="server">
+    <meta http-equiv="X-UA-Compatible" content="IE=9" />
+    <title>Fiche collège</title>
+    <link href="css/fichecollegev2.css" rel="stylesheet" type="text/css" />
+    <link href="css/Print.css" rel="stylesheet" type="text/css" />
+    <script type="text/javascript">
+        var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-6108365-9']);
+        _gaq.push(['_setDomainName', '.cg67.fr']);
+        _gaq.push(['_trackPageview']);
+
+        (function () {
+            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+        })();
+    </script>
+</head>
+<body>
+    <form id="form1" runat="server">
+    <div>
+        <asp:Xml ID="Xml1" runat="server" TransformSource="~/xslt/FicheCollegev2.xslt"></asp:Xml></div>
+    <asp:GridView ID="gvExcel" runat="server" DataSourceID="xmlDataSourceExcel">
+        <HeaderStyle BackColor="Gray" />
+    </asp:GridView>
+    <asp:XmlDataSource ID="xmlDataSourceExcel" runat="server" TransformFile="~/xslt/FicheCollegev2.xslt">
+    </asp:XmlDataSource>
+    <WebPartPages:AllowFraming run="server" />
+    </form>
+</body>
+</html>

+ 59 - 0
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/FicheCollegev2.aspx.cs

@@ -0,0 +1,59 @@
+using System;
+using System.Data;
+using System.Data.OleDb;
+using System.Configuration;
+using System.Collections;
+using System.IO;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+using System.Xml;
+using CG67.FicheCollege.Service;
+using CG67.FicheCollege.Domaine;
+using System.Collections.Generic;
+
+namespace CG67.FicheCollege
+{
+    public partial class FicheCollegev2 : System.Web.UI.Page
+    {
+        protected void Page_Load(object sender, EventArgs e)
+        {
+            XmlDocument entete = new XmlDocument();
+            entete.Load(Server.MapPath(@"~/xml/entete.xml"));
+
+            XmlNode xmlFicheCollege = ServiceFiche.GetFicheCollege(Session["RNE"].ToString(), int.Parse(Session["annee"].ToString()));
+
+            this.Title = xmlFicheCollege.SelectSingleNode("college/Etablissement/NomCollegePourPresentation").InnerText;
+            xmlFicheCollege.SelectSingleNode("college").InnerXml += entete.DocumentElement.OuterXml;
+
+            /*String fichier = xmlFicheCollege.SelectSingleNode("college/Etablissement/ListFichiersTravaux/FichierTravaux/Fichier").InnerText;
+
+            String sfile = Server.MapPath(ConfigurationManager.AppSettings["FileRepository"] + fichier);
+
+            FileStream fs = new FileStream(sfile, FileMode.Open, FileAccess.Read);
+            byte[] b= new byte[(int)fs.Length];
+
+            fs.Read(b, 0, (int)fs.Length);
+            fs.Close();
+
+            Response.Clear();
+            Response.BinaryWrite(b);
+            Response.End();*/
+
+            this.Xml1.DocumentContent = xmlFicheCollege.OuterXml;
+
+            try
+            {
+                this.DataBind();
+            }
+            catch (NullReferenceException nre)
+            {
+                Console.WriteLine("Erreur de pointeur : null", nre.Message);
+            }
+
+        }
+    }
+}

+ 51 - 0
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/FicheCollegev2.aspx.designer.cs

@@ -0,0 +1,51 @@
+//------------------------------------------------------------------------------
+// <généré automatiquement>
+//     Ce code a été généré par un outil.
+//
+//     Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+//     le code est régénéré.
+// </généré automatiquement>
+//------------------------------------------------------------------------------
+
+namespace CG67.FicheCollege {
+    
+    
+    public partial class FicheCollegev2 {
+        
+        /// <summary>
+        /// Contrôle form1.
+        /// </summary>
+        /// <remarks>
+        /// Champ généré automatiquement.
+        /// Pour modifier, déplacez la déclaration de champ du fichier de concepteur dans le fichier code-behind.
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+        
+        /// <summary>
+        /// Contrôle Xml1.
+        /// </summary>
+        /// <remarks>
+        /// Champ généré automatiquement.
+        /// Pour modifier, déplacez la déclaration de champ du fichier de concepteur dans le fichier code-behind.
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Xml Xml1;
+        
+        /// <summary>
+        /// Contrôle gvExcel.
+        /// </summary>
+        /// <remarks>
+        /// Champ généré automatiquement.
+        /// Pour modifier, déplacez la déclaration de champ du fichier de concepteur dans le fichier code-behind.
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.GridView gvExcel;
+        
+        /// <summary>
+        /// Contrôle xmlDataSourceExcel.
+        /// </summary>
+        /// <remarks>
+        /// Champ généré automatiquement.
+        /// Pour modifier, déplacez la déclaration de champ du fichier de concepteur dans le fichier code-behind.
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.XmlDataSource xmlDataSourceExcel;
+    }
+}

+ 90 - 56
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/HttpHandlerHistogramme.cs

@@ -8,7 +8,7 @@ using System.Web.UI.WebControls;
 using System.Web.UI.WebControls.WebParts;
 using System.Web.UI.HtmlControls;
 using System.Drawing;
-using System.Drawing.Imaging; 
+using System.Drawing.Imaging;
 namespace CG67.FicheCollege
 {
     public class HttpHandlerHistogramme : IHttpHandler
@@ -21,69 +21,103 @@ namespace CG67.FicheCollege
 
         public void ProcessRequest(HttpContext context)
         {
-            const int ecartEntreBarre = 10;
-            const int largeurBarre = 30;
-
-            // recupération des parametres
-            int largeur = Convert.ToInt32(context.Request["l"]);
-            int hauteur = Convert.ToInt32(context.Request["h"]);
-            Color fond = Color.FromArgb(Convert.ToInt32(context.Request["f"]));
-            int nbBarre = Convert.ToInt32(context.Request["nb"]);
-
-            decimal[] valeurs = new decimal[nbBarre];
-            Color[] couleurs = new Color[nbBarre];
-            string[] legende = new string[nbBarre];
-            decimal valeurMaxi = decimal.MinValue;
-            decimal valeurMini = decimal.MaxValue;
-
-            //  chargement des valeurs et détermination de la valeur maxi et mini (bien que cette dernière ne serve pas pour le moment)
-            for (int i = 1; i < nbBarre + 1; i++)
+
+            try
             {
-                valeurs[i - 1] = Convert.ToInt32(context.Request[string.Format("v{0}", i)]);
-                couleurs[i - 1] = Color.FromArgb(Convert.ToInt32(context.Request[string.Format("c{0}", i)]));
-                legende[i - 1] = context.Request[string.Format("t{0}", i)];
-                if (i == 1)
-                {
-                    valeurMaxi = valeurs[i - 1];
-                    valeurMini = valeurs[i - 1];
-                }
-                else
+                const int ecartEntreBarre = 10;
+                const int largeurBarre = 30;
+
+                // recupération des parametres
+                int largeur = Convert.ToInt32(context.Request["l"]);
+                int hauteur = Convert.ToInt32(context.Request["h"]);
+                //Color fond = Color.FromArgb(Convert.ToInt32(context.Request["f"]));
+                Color fond = Color.White;
+                int nbBarre = Convert.ToInt32(context.Request["nb"]);
+
+                decimal[] valeurs = new decimal[nbBarre];
+                Color[] couleurs = new Color[nbBarre];
+                string[] legende = new string[nbBarre];
+                decimal valeurMaxi = decimal.MinValue;
+                decimal valeurMini = decimal.MaxValue;
+                decimal moyenne = 0;
+
+                //  chargement des valeurs et détermination de la valeur maxi et mini (bien que cette dernière ne serve pas pour le moment)
+                for (int i = 1; i < nbBarre + 1; i++)
                 {
-                    if (valeurs[i - 1] > valeurMaxi)
+                    valeurs[i - 1] = Convert.ToInt32(context.Request[string.Format("v{0}", i)]);
+                    couleurs[i - 1] = Color.FromArgb(Convert.ToInt32(context.Request[string.Format("c{0}", i)]));
+                    legende[i - 1] = context.Request[string.Format("t{0}", i)];
+                    if (i == 1)
+                    {
                         valeurMaxi = valeurs[i - 1];
-                    if (valeurs[i - 1] < valeurMini)
                         valeurMini = valeurs[i - 1];
+                    }
+                    else
+                    {
+                        if (valeurs[i - 1] > valeurMaxi)
+                            valeurMaxi = valeurs[i - 1];
+                        if (valeurs[i - 1] < valeurMini)
+                            valeurMini = valeurs[i - 1];
+                    }
+                    moyenne += valeurs[i - 1];
                 }
+
+                moyenne = moyenne / nbBarre;
+                moyenne = Math.Round(moyenne, 2);
+                string legendeMoyenne = "Moyenne : " + moyenne.ToString();
+
+                // calcul de l'échelle
+                decimal echelle = (hauteur - 40) / valeurMaxi;
+                Bitmap graphique = new Bitmap(largeur, hauteur);
+                Graphics g = Graphics.FromImage(graphique);
+
+                // affichage du fond d'écran
+
+                SolidBrush pinceau = new SolidBrush(fond);
+                g.FillRectangle(pinceau, 0, 0, largeur, hauteur);
+                pinceau.Dispose();
+                SolidBrush stylo = new SolidBrush(Color.Black);
+                Font police = new Font("Arial", 10, FontStyle.Bold);
+                // affichage des barres
+                for (int i = 0; i < nbBarre; i++)
+                {
+                    pinceau = new SolidBrush(couleurs[i]);
+                    g.FillRectangle(pinceau, ecartEntreBarre + ((largeurBarre + ecartEntreBarre) * i), (float)(hauteur - 20 - valeurs[i] * echelle), largeurBarre, (float)(valeurs[i] * echelle));
+                    g.DrawString(valeurs[i].ToString(), police, stylo, ecartEntreBarre + ((largeurBarre + ecartEntreBarre) * i), (float)(hauteur - 35 - valeurs[i] * echelle));
+                    pinceau.Dispose();
+                    g.DrawString(legende[i], police, stylo, ecartEntreBarre + ((largeurBarre + ecartEntreBarre) * i), (float)(hauteur - 20));
+                }
+                stylo.Dispose();
+
+                // Affichage de la ligne moyenne
+                Pen greenPen = new Pen(Color.Green, 3);
+
+                int x1 = 0;
+                int y1 = (int)(hauteur - 20 - moyenne * echelle);
+                int x2 = largeur;
+                int y2 = (int)(hauteur - 20 - moyenne * echelle);
+
+                // Draw line to screen.  
+                SolidBrush styloVert = new SolidBrush(Color.Green);
+                g.DrawLine(greenPen, x1, y1, x2, y2);
+                g.DrawString(legendeMoyenne, police, styloVert, (float)(450), (float)(y1 - 20));
+                context.Response.StatusCode = 209;
+
+                // Envoi de l'image dans le flux http de sortie
+                context.Response.ContentType = "image/gif";
+                graphique.Save(context.Response.OutputStream, ImageFormat.Gif);
+
+                // libération des ressources
+                styloVert.Dispose();
+                graphique.Dispose();
+                g.Dispose();
+                
             }
-            // calcul de l'échelle
-            decimal echelle = (hauteur - 40) / valeurMaxi;
-            Bitmap graphique = new Bitmap(largeur, hauteur);
-            Graphics g = Graphics.FromImage(graphique);
-
-            // affichage du fond d'écran
-
-            SolidBrush pinceau = new SolidBrush(fond);
-            g.FillRectangle(pinceau, 0, 0, largeur, hauteur);
-            pinceau.Dispose();
-            SolidBrush stylo = new SolidBrush(Color.Black);
-            Font police = new Font("Arial", 10, FontStyle.Bold);
-            // affichage des barres
-            for (int i = 0; i < nbBarre; i++)
+            catch (Exception e)
             {
-                pinceau = new SolidBrush(couleurs[i]);
-                g.FillRectangle(pinceau, ecartEntreBarre + ((largeurBarre + ecartEntreBarre) * i), (float)(hauteur - 20 - valeurs[i] * echelle), largeurBarre, (float)(valeurs[i] * echelle));
-                g.DrawString(valeurs[i].ToString(), police, stylo, ecartEntreBarre + ((largeurBarre + ecartEntreBarre) * i), (float)(hauteur - 35 - valeurs[i] * echelle));
-                pinceau.Dispose();
-                g.DrawString(legende[i], police, stylo, ecartEntreBarre + ((largeurBarre + ecartEntreBarre) * i), (float)(hauteur - 20));
+                context.Response.StatusCode = 510;
+                context.Response.Write(e.Message.ToString()); 
             }
-            stylo.Dispose();
-            // Envoi de l'image dans le flux http de sortie
-            context.Response.ContentType = "image/bitmap";
-            graphique.Save(context.Response.OutputStream, ImageFormat.Gif);
-
-            // libération des ressources
-            graphique.Dispose();
-            g.Dispose();
         }
 
 

+ 21 - 0
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/Test.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+
+
+    public class Test : IHttpHandler
+    {
+
+        public bool IsReusable
+        {
+            get { return true; }
+        }
+
+        public void ProcessRequest(HttpContext context)
+        {
+
+            context.Response.RedirectPermanent("http://www.google.fr/", true);
+        
+        }
+    }

+ 57 - 69
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/Web.config

@@ -1,73 +1,61 @@
-<?xml version="1.0" encoding="utf-8"?>
-
+<?xml version="1.0"?>
+<!--
+  Pour plus d'informations sur la configuration de votre application ASP.NET, consultez
+  http://go.microsoft.com/fwlink/?LinkId=169433
+  -->
 <configuration>
-
+  <connectionStrings>
+    <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
+  </connectionStrings>
   <appSettings>
-      <add key="ConnexionStringSic" value="Data Source=PAN\SQLSTD2K5_1;Initial Catalog=TSic;User Id=UserTSicRW;password=UserTS!cRW!"/>
-  <!--   <add key="ConnexionStringOracleCollege" value="Data Source=PCOL;User Id=college;Password=college;"/> -->
-      <add key="ConnexionStringAccess" value="Provider=microsoft.jet.oledb.4.0;Data Source=\\Moder\App_production\College\data\Base\BD Collège_prod.mdb;Persist Security Info=False;"/>
-      <add key="ConnexionStringOracleSubvention" value="Data Source=SGFP;User Id=ASTRE;Password=ASTRE;"/>
-      <add key="ConnexionStringOracleAstreGF" value="Data Source=SGFP;User Id=SO;Password=SO;"/>
-      <add key="ConnexionStringOracleRH" value="Data Source=SRHP;User Id=CG67_ATC;Password=ATC_CG67;"/>
-      <add key="AnneeEnCours" value="2013"/>
-	  <add key="FileRepository" value="\\public\publicng\1PAT\12DIMG\1230SGEPI\PPM\Fichiers DSI (fiches collèges)\" />
-	  <add key="ImpersonationUser" value ="service.college"/>
-	  <add key ="ImpersonationPassword" value ="2sr72297rN7BzX8QB48t"/>
-	  <add key ="ImpersonationDomain" value="cg67"/> 
+    <add key="ConnexionStringSic" value="Data Source=PAN\SQLSTD2K5_1;Initial Catalog=TSic;User Id=UserTSicRW;password=UserTS!cRW!"/>
+    <!--   <add key="ConnexionStringOracleCollege" value="Data Source=PCOL;User Id=college;Password=college;"/> -->
+    <add key="ConnexionStringAccess" value="Provider=microsoft.jet.oledb.4.0;Data Source=\\Moder\App_production\College\data\Base\BD Collège_prod.mdb;Persist Security Info=False;"/>
+    <add key="ConnexionStringOracleSubvention" value="Data Source=SGFP;User Id=ASTRE;Password=ASTRE;"/>
+    <add key="ConnexionStringOracleAstreGF" value="Data Source=SGFP;User Id=SO;Password=SO;"/>
+    <add key="ConnexionStringOracleRH" value="Data Source=SRHP;User Id=CG67_ATC;Password=ATC_CG67;"/>
+    <add key="AnneeEnCours" value="2013"/>
+    <add key="FileRepository" value="\\public\publicng\1PAT\12DIMG\1230SGEPI\PPM\Fichiers DSI (fiches collèges)\"/>
+    <add key="ImpersonationUser" value="service.college"/>
+    <add key="ImpersonationPassword" value="2sr72297rN7BzX8QB48t"/>
+    <add key="ImpersonationDomain" value="cg67"/>
   </appSettings>
-	<!-- 	<applicationSettings>
-		<applicationSettings>
-		<CG67.FicheCollege.Properties.Settings>
-			<setting name="FileRepository" serializeAs="String">
-				<value>\\public\publicng\1PAT\12DIMG\1230SGEPI\PPM\Fichiers DSI (fiches collèges)</value>
-			</setting>
-			<setting name="ImpersonationUser" serializeAs="String">
-				<value>service.college</value>
-			</setting>
-			<setting name="ImpersonationPassword" serializeAs="String">
-				<value>2sr72297rN7BzX8QB48t</value>
-			</setting>
-			<setting name="ImpersonationDomain" serializeAs="String">
-				<value>cg67</value>
-			</setting>
-		</CG67.FicheCollege.Properties.Settings>
-	</applicationSettings>
-  <connectionStrings/>
- -->
-    <system.web>
-        <!-- 
-            Définissez compilation debug="true" pour insérer des symboles 
-            de débogage dans la page compilée. Comme ceci 
-            affecte les performances, définissez cette valeur à true uniquement 
-            lors du développement.
-        -->
-        <compilation debug="true" />
-        <!--
-            La section <authentication> permet la configuration 
-            du mode d'authentification de sécurité utilisé par 
-            ASP.NET pour identifier un utilisateur entrant. 
-        -->
-        <authentication mode="Windows" />
-        <!--
-            La section <customErrors> permet de configurer 
-            les actions à exécuter si/quand une erreur non gérée se produit 
-            lors de l'exécution d'une demande. Plus précisément, 
-            elle permet aux développeurs de configurer les pages d'erreur html 
-            pour qu'elles s'affichent à la place d'une trace de la pile d'erreur.
-
-        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
-            <error statusCode="403" redirect="NoAccess.htm" />
-            <error statusCode="404" redirect="FileNotFound.htm" />
-        </customErrors>
-        -->
-
-      <httpHandlers>
-        <add verb="GET,POST" path="*.histo" type="CG67.FicheCollege.HttpHandlerHistogramme, CG67.FicheCollege"/>
-		<add verb="*" path="file.download" validate="false" type="CG67.FicheCollege.FileDownloadHandler, CG67.FicheCollege"/>
-	  
-  	</httpHandlers>
+  <system.web>
+    <httpHandlers>
+      <add path="*.histo" verb="*" type="CG67.FicheCollege.HttpHandlerHistogramme, CG67.FicheCollege" />
+      <add path="file.download" validate="false" verb="*" type="CG67.FicheCollege.FileDownloadHandler, CG67.FicheCollege"/>
+    </httpHandlers>
 
-    </system.web>
-	
-	
-</configuration>
+    <compilation debug="true" targetFramework="4.0"/>
+    <authentication mode="Forms">
+      <forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
+    </authentication>
+    <membership>
+      <providers>
+        <clear/>
+        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
+      </providers>
+    </membership>
+    <profile>
+      <providers>
+        <clear/>
+        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
+      </providers>
+    </profile>
+    <roleManager enabled="false">
+      <providers>
+        <clear/>
+        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
+        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
+      </providers>
+    </roleManager>
+  </system.web>
+  <system.webServer>
+    <modules runAllManagedModulesForAllRequests="true"/>
+    <handlers>
+      <add name="HttpHandlerHistogramme" path="*.histo" verb="*" type="CG67.FicheCollege.HttpHandlerHistogramme, CG67.FicheCollege"  allowPathInfo="false" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.Net\Framework\v4.0.30319\aspnet_isapi.dll"
+             resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32"/>
+      <add name="FileDownloadHandler" path="*file.download" verb="*" type="CG67.FicheCollge.FileDownloadHandler, CG67.FicheCollege" allowPathInfo="false"  preCondition="integratedMode, runtimeVersionv2.0" />
+    </handlers>
+  </system.webServer>
+</configuration>

+ 430 - 11
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/css/Print.css

@@ -1,18 +1,437 @@
 
-@media print 
+@media print
 {
-head {	font-size: larger;
-		font-family: Calibri;
+    body
+    {
+        font-size: smaller;
+        font-family: Verdana;
+        background-color: #FFFFFF;
+    }
+
 }
-body
-	{
-		font-size: larger;
-		font-family: Calibri;
-		
-	}
+
 #conteneur
 {
-	margin-left:5px;
+    display: inline-block;
+    overflow: hidden;
+}
+
+#info_fiche
+{
+    margin-top: 5px;
+    height: auto;
+    float: left;
+}
+
+#header_index
+{
+    background-image: url('../images/cg67.jpg');
+    height: 180px;
+    background-size: 100% auto;
+    background-position: 0% 50%;
+    background-repeat: no-repeat;
+}
+
+#header_fiche
+{
+    float: left;
+    clear: left;
+    margin-left: 50px;
+    margin-top: 30px;
+    width: 43%;
+}
+
+#blank
+{
+    background-color: #1683CC;
+    height: 45px;
+    width: 100%;
+    border-top: 1px solid #FDFDFD;
+    border-bottom: 1px solid #FDFDFD;
+    font-weight: bolder;
+    font-size: 12px;
+}
+
+#logo
+{
+    height: 80px;
+    position: relative;
+    margin-left: 20px;
+    width: auto;
+    float: left;
+}
+
+img#logo
+{
+    height: 80px;
+    position: relative;
+    margin-left: 20px;
+    width: auto;
+    float: left;
+}
+
+#entete_fiche
+{
+    width: auto;
+}
+
+#coordonnees_college
+{
+}
+
+#photo_college
+{
+    width: 45%;
+    position: relative;
+    top: 15px;
+    -moz-border-radius: 20px;
+    -webkit-border-radius: 20px;
+    -o-border-radius: 20px;
+}
+
+img#photo
+{
+    border-radius: 15px;
+    width: 45%;
+    position: relative;
+    top: 15px;
+}
+
+.libellerestruct
+{
+    width: 300px;
+}
+.libelle
+{
+    width: 350px;
+}
+
+.infoAction
+{
+    width: 250px;
+}
+
+
+
+.nbClasse
+{
+    width: 150px;
+}
+.nbEleve
+{
+    width: 150px;
+}
+
+.typeCollege
+{
+    width: 10px;
+}
+.public
+{
+    width: 50px;
+    text-align: left;
+}
+.titre
+{
+    width: 90px;
+}
+
+.valeur
+{
+    width: 300px;
+}
+.libInv
+{
+    width: 120px;
+}
+
+.totaleffectif
+{
+    width: 20px;
+}
+.espacevide
+{
+    width: 50px;
+}
+
+.colonnevide
+{
+    width: 250px;
+}
+.nombre
+{
+    width: 50px;
+}
+.classe
+{
+    width: 20px;
+}
+
+.vide
+{
+    width: 100px;
+}
+
+
+.nbEleves
+{
+    width: 15px;
+}
+.totalsansbordure
+{
+    border-top-style: none;
+    border-right-style: none;
+    border-left-style: none;
+    border-bottom-style: none;
+    font-weight: bold;
+    color: black;
+    text-align: left;
+}
+.totalbordure
+{
+    border-top: black 1px solid;
+    border-right-style: none;
+    border-left-style: none;
+    border-bottom-style: none;
+    font-weight: bold;
+    width: 5px;
+    color: black;
+    text-align: right;
+}
+.sansbordure
+{
+    border-top-style: none;
+    border-right-style: none;
+    border-left-style: none;
+    border-bottom-style: none;
 }
 
-}
+.sansborduredroite
+{
+    border-top-style: none;
+    border-right-style: none;
+    border-left-style: none;
+    border-bottom-style: none;
+    text-align: right;
+}
+.sansbordurecentre
+{
+    width: 360px;
+    text-align: center;
+    border-top-style: none;
+    border-right-style: none;
+    border-left-style: none;
+    border-bottom-style: none;
+}
+
+td#public
+{
+    max-width: 50px;
+    background-color: Aqua;
+}
+
+#graphique
+{
+    text-align: center;
+}
+
+.typedotation
+{
+    width: 160px;
+}
+.mtn
+{
+    width: 80px;
+}
+
+.mtn1
+{
+    width: 80px;
+}
+.ecart
+{
+    width: 80px;
+}
+.bordure
+{
+    border-right: #FFFFFF 1px solid;
+    border-top: #FFFFFF 1px solid;
+    border-left: #FFFFFF 1px solid;
+    border-bottom: #FFFFFF 1px solid;
+}
+
+.borduredroite
+{
+    border-right: #1683CC 1px solid;
+    border-top: #1683CC 1px solid;
+    border-left: #1683CC 1px solid;
+    border-bottom: #1683CC 1px solid;
+    text-align: right;
+}
+.bordurecentre
+{
+    border-right: #1683CC 1px solid;
+    border-top: #1683CC 1px solid;
+    border-top: #1683CC 1px solid;
+    border-left: #1683CC 1px solid;
+    border-bottom: #1683CC 1px solid;
+    text-align: center;
+}
+#travaux
+{
+    table-layout: fixed;
+    border-collapse: collapse;
+}
+.travannee
+{
+    width: 80px;
+}
+.typetravaux
+{
+    width: 180px;
+}
+.travlibelle
+{
+    width: 600px;
+}
+
+.travmontant
+{
+    width: 80px;
+}
+.travstatus
+{
+    width: 100px;
+}
+.travimprevu
+{
+    width: 80px;
+}
+.filiere
+{
+    width: 150px;
+}
+.effectif
+{
+    width: 120px;
+}
+#TitreGraph
+{
+    margin-left: 200px;
+    width: 800px;
+    text-align: center;
+}
+h1#fiche
+{
+    width: 430px;
+    color: #1F64BF;
+}
+h3#Default
+{
+    color: White;
+    margin-left: 20px;
+}
+h2
+{
+    /*background-color: #1683CC;*/
+    position: relative;
+    left: 30px;
+    width: 800px;
+    border-bottom: solid 2px black;
+    color: #FF007A;
+}
+
+h2#Default
+{
+    color: White;
+    text-align: right;
+    border-bottom: none;
+    position: absolute;
+    top: 90px;
+    right: 100px;
+    width: 65%;
+}
+table
+{
+    width: 100%;
+    table-layout: auto;
+    border-collapse: collapse;
+    border: 0px #1683CC solid;
+    border-radius: 5px;
+}
+td
+{
+    border-right: #1683CC 0px solid;
+    border-top: #1683CC 0px solid;
+    border-left: #1683CC 0px solid;
+    border-bottom: #1683CC 1.25px dashed;
+}
+
+.td_head
+{
+    /*background-color: #1270CC;*/
+    color: Black;
+    font-weight: bold;
+}
+
+#catouche
+{
+    margin-top: 30px;
+    margin-left: 25px;
+    font-size: smaller;
+    font-family: Arial;
+    float: left;
+}
+#listeagentscg
+{
+    width: 100%;
+    border: 1px solid #EFEFEF;
+}
+#listeagentsaide
+{
+    width: 100%;
+}
+.Zone
+{
+    width: 200px;
+}
+.Nb_Eleves
+{
+    width: 100px;
+}
+
+.Montant_Subvention
+{
+    width: 125px;
+}
+
+.atcnom
+{
+    width: 80px;
+    text-align: left;
+}
+.atcprenom
+{
+    width: 80px;
+    text-align: left;
+}
+.atcfonction
+{
+    width: 150px;
+    text-align: left;
+}
+.atcqtew
+{
+    width: 100px;
+    text-align: right;
+}
+.atcstatut
+{
+    width: 80px;
+    text-align: center;
+}
+.atcgrade
+{
+    width: 150px;
+    text-align: left;
+}

+ 18 - 18
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/css/fichecollege.css

@@ -179,27 +179,27 @@ body
 }
 .bordure
 {
-	border-right: #ffd700 1px solid;
-	border-top: #ffd700 1px solid;
-	border-left: #ffd700 1px solid;
-	border-bottom: #ffd700 1px solid;
+	border-right: #1683CC 1px solid;
+	border-top: #1683CC 1px solid;
+	border-left: #1683CC 1px solid;
+	border-bottom: #1683CC 1px solid;
 }
 
 .borduredroite
 {
-	border-right: #ffd700 1px solid;
-	border-top: #ffd700 1px solid;
-	border-left: #ffd700 1px solid;
-	border-bottom: #ffd700 1px solid;
+	border-right: #1683CC 1px solid;
+	border-top: #1683CC 1px solid;
+	border-left: #1683CC 1px solid;
+	border-bottom: #1683CC 1px solid;
 	text-align:right;
 }
 .bordurecentre
 {
-	border-right: #ffd700 1px solid;
-	border-top:  #ffd700 1px solid;
-	border-top:  #ffd700 1px solid;
-	border-left: #ffd700 1px solid;
-	border-bottom: #ffd700 1px solid;
+	border-right: #1683CC 1px solid;
+	border-top:  #1683CC 1px solid;
+	border-top:  #1683CC 1px solid;
+	border-left: #1683CC 1px solid;
+	border-bottom: #1683CC 1px solid;
 	text-align:center;
 }
 #travaux
@@ -251,7 +251,7 @@ body
 }
 h2
 {
-	background-color: #ffd700;
+	background-color: #1683CC;
 }
 table
 {
@@ -261,10 +261,10 @@ table
 }
 td
 {
-	border-right: #ffd700 1px solid;
-	border-top: #ffd700 1px solid;
-	border-left: #ffd700 1px solid;
-	border-bottom: #ffd700 1px solid;
+	border-right: #1683CC 1px solid;
+	border-top: #1683CC 1px solid;
+	border-left: #1683CC 1px solid;
+	border-bottom: #1683CC 1px solid;
 }
 
 #catouche

+ 437 - 0
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/css/fichecollegev2.css

@@ -0,0 +1,437 @@
+
+@media screen
+{
+    body
+    {
+        font-size: smaller;
+        font-family: Verdana;
+        background-color: #FFFFFF;
+    }
+
+}
+
+#conteneur
+{
+    display: inline-block;
+    overflow: hidden;
+}
+
+#info_fiche
+{
+    margin-top: 5px;
+    height: auto;
+    float: left;
+}
+
+#header_index
+{
+    background-image: url('../images/cg67.jpg');
+    height: 180px;
+    background-size: 100% auto;
+    background-position: 0% 50%;
+    background-repeat: no-repeat;
+}
+
+#header_fiche
+{
+    float: left;
+    clear: left;
+    margin-left: 50px;
+    margin-top: 30px;
+    width: 43%;
+}
+
+#blank
+{
+    background-color: #1683CC;
+    height: 45px;
+    width: 100%;
+    border-top: 1px solid #FDFDFD;
+    border-bottom: 1px solid #FDFDFD;
+    font-weight: bolder;
+    font-size: 12px;
+}
+
+#logo
+{
+    height: 80px;
+    position: relative;
+    margin-left: 20px;
+    width: auto;
+    float: left;
+}
+
+img#logo
+{
+    height: 80px;
+    position: relative;
+    margin-left: 20px;
+    width: auto;
+    float: left;
+}
+
+#entete_fiche
+{
+    width: auto;
+}
+
+#coordonnees_college
+{
+}
+
+#photo_college
+{
+    width: 45%;
+    position: relative;
+    top: 15px;
+    -moz-border-radius: 20px;
+    -webkit-border-radius: 20px;
+    -o-border-radius: 20px;
+}
+
+img#photo
+{
+    border-radius: 15px;
+    width: 45%;
+    position: relative;
+    top: 15px;
+}
+
+.libellerestruct
+{
+    width: 300px;
+}
+.libelle
+{
+    width: 350px;
+}
+
+.infoAction
+{
+    width: 250px;
+}
+
+
+
+.nbClasse
+{
+    width: 150px;
+}
+.nbEleve
+{
+    width: 150px;
+}
+
+.typeCollege
+{
+    width: 10px;
+}
+.public
+{
+    width: 50px;
+    text-align: left;
+}
+.titre
+{
+    width: 90px;
+}
+
+.valeur
+{
+    width: 300px;
+}
+.libInv
+{
+    width: 120px;
+}
+
+.totaleffectif
+{
+    width: 20px;
+}
+.espacevide
+{
+    width: 50px;
+}
+
+.colonnevide
+{
+    width: 250px;
+}
+.nombre
+{
+    width: 50px;
+}
+.classe
+{
+    width: 20px;
+}
+
+.vide
+{
+    width: 100px;
+}
+
+
+.nbEleves
+{
+    width: 15px;
+}
+.totalsansbordure
+{
+    border-top-style: none;
+    border-right-style: none;
+    border-left-style: none;
+    border-bottom-style: none;
+    font-weight: bold;
+    color: black;
+    text-align: left;
+}
+.totalbordure
+{
+    border-top: black 1px solid;
+    border-right-style: none;
+    border-left-style: none;
+    border-bottom-style: none;
+    font-weight: bold;
+    width: 5px;
+    color: black;
+    text-align: right;
+}
+.sansbordure
+{
+    border-top-style: none;
+    border-right-style: none;
+    border-left-style: none;
+    border-bottom-style: none;
+}
+
+.sansborduredroite
+{
+    border-top-style: none;
+    border-right-style: none;
+    border-left-style: none;
+    border-bottom-style: none;
+    text-align: right;
+}
+.sansbordurecentre
+{
+    width: 360px;
+    text-align: center;
+    border-top-style: none;
+    border-right-style: none;
+    border-left-style: none;
+    border-bottom-style: none;
+}
+
+td#public
+{
+    max-width: 50px;
+    background-color: Aqua;
+}
+
+#graphique
+{
+    text-align: center;
+}
+
+.typedotation
+{
+    width: 160px;
+}
+.mtn
+{
+    width: 80px;
+}
+
+.mtn1
+{
+    width: 80px;
+}
+.ecart
+{
+    width: 80px;
+}
+.bordure
+{
+    border-right: #FFFFFF 1px solid;
+    border-top: #FFFFFF 1px solid;
+    border-left: #FFFFFF 1px solid;
+    border-bottom: #FFFFFF 1px solid;
+}
+
+.borduredroite
+{
+    border-right: #1683CC 1px solid;
+    border-top: #1683CC 1px solid;
+    border-left: #1683CC 1px solid;
+    border-bottom: #1683CC 1px solid;
+    text-align: right;
+}
+.bordurecentre
+{
+    border-right: #1683CC 1px solid;
+    border-top: #1683CC 1px solid;
+    border-top: #1683CC 1px solid;
+    border-left: #1683CC 1px solid;
+    border-bottom: #1683CC 1px solid;
+    text-align: center;
+}
+#travaux
+{
+    table-layout: fixed;
+    border-collapse: collapse;
+}
+.travannee
+{
+    width: 80px;
+}
+.typetravaux
+{
+    width: 180px;
+}
+.travlibelle
+{
+    width: 600px;
+}
+
+.travmontant
+{
+    width: 80px;
+}
+.travstatus
+{
+    width: 100px;
+}
+.travimprevu
+{
+    width: 80px;
+}
+.filiere
+{
+    width: 150px;
+}
+.effectif
+{
+    width: 120px;
+}
+#TitreGraph
+{
+    margin-left: 200px;
+    width: 800px;
+    text-align: center;
+}
+h1#fiche
+{
+    width: 430px;
+    color: #1F64BF;
+}
+h3#Default
+{
+    color: White;
+    margin-left: 20px;
+}
+h2
+{
+    /*background-color: #1683CC;*/
+    position: relative;
+    left: 30px;
+    width: 800px;
+    border-bottom: solid 2px black;
+    color: #FF007A;
+}
+
+h2#Default
+{
+    color: White;
+    text-align: right;
+    border-bottom: none;
+    position: absolute;
+    top: 90px;
+    right: 100px;
+    width: 65%;
+}
+table
+{
+    width: 100%;
+    table-layout: auto;
+    border-collapse: collapse;
+    border: 0px #1683CC solid;
+    border-radius: 5px;
+}
+td
+{
+    border-right: #1683CC 0px solid;
+    border-top: #1683CC 0px solid;
+    border-left: #1683CC 0px solid;
+    border-bottom: #1683CC 1.25px dashed;
+}
+
+.td_head
+{
+    /*background-color: #1270CC;*/
+    color: Black;
+    font-weight: bold;
+}
+
+#catouche
+{
+    margin-top: 30px;
+    margin-left: 25px;
+    font-size: smaller;
+    font-family: Arial;
+    float: left;
+}
+#listeagentscg
+{
+    width: 100%;
+    border: 1px solid #EFEFEF;
+}
+#listeagentsaide
+{
+    width: 100%;
+}
+.Zone
+{
+    width: 200px;
+}
+.Nb_Eleves
+{
+    width: 100px;
+}
+
+.Montant_Subvention
+{
+    width: 125px;
+}
+
+.atcnom
+{
+    width: 80px;
+    text-align: left;
+}
+.atcprenom
+{
+    width: 80px;
+    text-align: left;
+}
+.atcfonction
+{
+    width: 150px;
+    text-align: left;
+}
+.atcqtew
+{
+    width: 100px;
+    text-align: right;
+}
+.atcstatut
+{
+    width: 80px;
+    text-align: center;
+}
+.atcgrade
+{
+    width: 150px;
+    text-align: left;
+}

BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/images/CG67.png


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/images/DC.png


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/images/cg67.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/logoCG67.gif


+ 47 - 45
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/xslt/FicheCollege.xslt

@@ -215,6 +215,46 @@
                     </xsl:if>
 
                 </tr>
+              <tr>
+                <td>Effectif bilingue</td>
+                <td>
+                  <xsl:if test ="count(Etablissement/LstBilingue/Bilinguisme)=0">
+                    Non
+                  </xsl:if>
+                  <xsl:if test ="count(Etablissement/LstBilingue/Bilinguisme)!=0">
+                    <table>
+                      <colgroup>
+                        <col class="classe"></col>
+                        <col class="nbEleves"></col>
+                        <col class="vide"></col>
+                      </colgroup>
+                      <xsl:for-each select="Etablissement/LstBilingue/Bilinguisme">
+                        <tr>
+                          <td class="sansbordure">
+                            <xsl:text> Classe de </xsl:text>
+                            <xsl:value-of select="Niveaux"/>
+                          </td>
+                          <td class="sansborduredroite">
+                            <xsl:value-of select ="NbrEleves"/>
+                            <xsl:text> élèves</xsl:text>
+                          </td>
+                          <td class="sansbordure"></td>
+                        </tr>
+                      </xsl:for-each>
+                      <tr>
+                        <td class="totalsansbordure">
+                          Effectif total
+                        </td>
+                        <td class="totalbordure">
+                          <xsl:value-of select="sum(Etablissement/LstBilingue/Bilinguisme/NbrEleves)"/>
+                          <xsl:text> élèves</xsl:text>
+                        </td>
+                        <td class="sansbordure"></td>
+                      </tr>
+                    </table>
+                  </xsl:if>
+                </td>
+              </tr>
 
             </table>
                  <tr>
@@ -359,7 +399,7 @@
                 </td>
             </tr>
             <tr>
-                <td>Ascenseur</td>
+                <td>Accessibilité</td>
                 <td>
                     <xsl:if test ="Etablissement/Ascenseur='True'">
                         Oui
@@ -988,46 +1028,7 @@
              </table>
           </xsl:if>
         </td>
-        <tr>
-            <td>Effectif bilingue</td>
-            <td>
-              <xsl:if test ="count(Etablissement/LstBilingue/Bilinguisme)=0">
-                Non
-              </xsl:if>
-              <xsl:if test ="count(Etablissement/LstBilingue/Bilinguisme)!=0">
-                <table>
-                  <colgroup>
-                    <col class="classe"></col>
-                   <col class="nbEleves"></col>
-                      <col class="vide"></col>
-                  </colgroup>
-                  <xsl:for-each select="Etablissement/LstBilingue/Bilinguisme">
-                    <tr>
-                      <td class="sansbordure">
-                        <xsl:text> Classe de </xsl:text>
-                        <xsl:value-of select="Niveaux"/>
-                      </td>
-                       <td class="sansborduredroite">
-                        <xsl:value-of select ="NbrEleves"/>
-                        <xsl:text> élèves</xsl:text>
-                      </td>
-                        <td class="sansbordure"></td>
-                    </tr>
-                  </xsl:for-each>
-                  <tr>
-                    <td class="totalsansbordure">
-                      Effectif total
-                    </td>
-                      <td class="totalbordure">
-                      <xsl:value-of select="sum(Etablissement/LstBilingue/Bilinguisme/NbrEleves)"/>
-                      <xsl:text> élèves</xsl:text>
-                    </td>
-                      <td class="sansbordure"></td>
-                  </tr>
-                </table>
-              </xsl:if>
-            </td>
-          </tr>
+        
 		  <!-- <tr>
             <td>Complément scolaire par internet </td>
             <xsl:if test ="count(Etablissement/SoutienScolaireEnLigne/NbrEleves)=0">
@@ -1159,7 +1160,7 @@
           </xsl:if>
         </table>
 
-        <h2>8. Programmes expérimentaux de l'Education Nationale</h2>
+        <!-- <h2>8. Programmes expérimentaux de l'Education Nationale</h2>
         <xsl:if test ="count(Etablissement/LstProjetPilote/ProjetPilote[Initiateur='EN'])=0">
           Néant
         </xsl:if>
@@ -1185,8 +1186,9 @@
             </tr>
           </xsl:for-each>
         </table>
+        -->
 
-        <h2>9. Participation à des projets pilotes de la DCE</h2>
+        <h2>8. Participation à des projets pilotes de la DCE</h2>
         <table>
           <colgroup>
             <col class="libelle"></col>
@@ -1210,7 +1212,7 @@
           </xsl:for-each>
         </table>
 
-        <h2>10. Quelques indicateurs d’activité de la DCE</h2>
+        <h2>9. Quelques indicateurs d’activité de la DCE</h2>
         <table>
           <colgroup>
             <col class="libelle"></col>
@@ -1245,7 +1247,7 @@
         </table>
 
 
-        <h2>11. Quelques chiffres significatifs sur l'ensemble des collèges</h2>
+        <h2>10. Quelques chiffres significatifs sur l'ensemble des collèges</h2>
       <table>
         <colgroup>
           <col class="libelle"></col>

+ 1365 - 0
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/xslt/FicheCollegev2.xslt

@@ -0,0 +1,1365 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:decimal-format name="europe" decimal-separator=',' grouping-separator='.' />
+  <xsl:output method="xml" encoding="UTF-8"  omit-xml-declaration="yes"  />
+
+  <xsl:template match="college">
+    <div id="conteneur">
+      <img id="logo" src="images/DC.png" alt="Logo du CG67"></img>
+      <div id="header_fiche">
+        <!-- <div id="logo"></div> -->
+        
+        <!--</div>-->
+        <div id="entete_fiche">
+
+          <h1 id="fiche">
+            <!-- <xsl:value-of select="Etablissement/NomCollegePourPresentation"/> -->
+            <xsl:variable name="fullNom" select="Etablissement/NomCollegePourPresentation" />
+            <xsl:variable name="ville" select="substring-before($fullNom,' - ')" />
+            <xsl:value-of select="$ville"/>
+            <br />
+            
+              <xsl:variable name="college" select="substring-after($fullNom, ' - ')" />
+              <xsl:value-of select="$college" /> 
+          </h1>  
+          <div id="coordonnees_college">
+          <xsl:value-of select="Etablissement/Adresse"/>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="Etablissement/ComplementAdresse"/>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="Etablissement/CodePostal"/>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="Etablissement/Ville"/>
+          <br/>
+          <xsl:text>Tél : </xsl:text>
+          <xsl:value-of select="Etablissement/Telephone"/>
+          <xsl:text> Fax : </xsl:text>
+          <xsl:value-of select="Etablissement/Fax"/>
+          <br/>
+          <xsl:text>Email : </xsl:text>
+          <a href="mailto:{Etablissement/Email}">
+            <xsl:value-of select="Etablissement/Email"/>
+          </a>
+          </div>
+
+
+
+
+
+        </div>
+      </div>
+
+    
+      
+        <xsl:if test ="Etablissement/LienPhoto !=''">
+          <img id="photo_college" alt="Photo du collège"  width="500px">
+            <xsl:attribute name="src">
+              photo/<xsl:value-of select="Etablissement/LienPhoto"/>
+            </xsl:attribute>
+          </img>
+        </xsl:if>
+      
+    </div>
+
+
+
+
+    <div id="info_fiche">
+      <h2>1. Fiche d'identité du collège</h2>
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="information"></col>
+        </colgroup>
+        <tr>
+          <td class="td_head">Code RNE du collège</td>
+          <td>
+            <xsl:value-of select="Etablissement/CodeRNE"/>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Type d'établissement</td>
+          <td>
+            <table>
+              <colgroup>
+                <col class="typeCollege"></col>
+                <col class="public"></col>
+              </colgroup>
+              <tr>
+                
+                  <xsl:value-of select="Etablissement/TypeEtablissement"/>
+                
+                
+                  <xsl:if test ="Etablissement/IsPrive='True'">
+                    privé
+                  </xsl:if>
+                  <xsl:if test ="Etablissement/IsPrive='False'">
+                    public
+                  </xsl:if>
+                
+
+              </tr>
+            </table>
+          </td>
+        </tr>
+
+        
+            
+         
+        <table>
+          <colgroup>
+            <col class="libelle"></col>
+            <col class="information"></col>
+          </colgroup>
+          <tr>
+            <td class="td_head">Principal</td>
+            <td>
+              <xsl:value-of select="Etablissement/Principal"></xsl:value-of>
+              <br>
+                <xsl:text>Email </xsl:text>
+                <a href="mailto:{Etablissement/PrincipalEmail}">
+                  <xsl:value-of select="Etablissement/PrincipalEmail"/>
+                </a>
+              </br>
+            </td>
+          </tr>
+          <tr>
+            <td class="td_head">Principal Adjoint</td>
+            <td>
+              <xsl:if test ="Etablissement/PrincipalAdjoint!=''">
+                <xsl:value-of select="Etablissement/PrincipalAdjoint"></xsl:value-of>
+              </xsl:if>
+              <xsl:if test ="Etablissement/PrincipalAdjoint=''">
+
+              </xsl:if>
+            </td>
+          </tr>
+          <tr>
+            <td class="td_head">Gestionnaire</td>
+            <td>
+              <xsl:value-of select="Etablissement/Gestionnaire"></xsl:value-of>
+              <br>
+                <xsl:text>Email </xsl:text>
+                <a href="mailto:{Etablissement/GestionnaireEmail}">
+                  <xsl:value-of select="Etablissement/GestionnaireEmail"/>
+                </a>
+              </br>
+            </td>
+
+            <xsl:if test ="Etablissement/GestionnaireInterim!=''">
+              <td class="td_head">Gestionnaire par interim</td>
+              <td>
+                <xsl:value-of select="Etablissement/GestionnaireInterim"></xsl:value-of>
+              </td>
+
+            </xsl:if>
+          </tr>
+          <tr>
+            <td class="td_head">Conseiller Général titulaire</td>
+            <td>
+              <xsl:if test ="Etablissement/ConseillerGeneral!=''">
+                <xsl:value-of select="Etablissement/ConseillerGeneral"></xsl:value-of>
+              </xsl:if>
+              <xsl:if test ="Etablissement/ConseillerGeneral=''">
+                Vacant
+              </xsl:if>
+            </td>
+          </tr>
+          <tr>
+            <td class="td_head">Conseiller Général suppléant</td>
+            <td>
+              <xsl:if test ="Etablissement/ConseillerGeneralSuppleant!=''">
+                <xsl:value-of select="Etablissement/ConseillerGeneralSuppleant"></xsl:value-of>
+              </xsl:if>
+              <xsl:if test ="Etablissement/ConseillerGeneralSuppleant=''">
+                Vacant
+              </xsl:if>
+            </td>
+          </tr>
+        </table>
+        <table>
+          <colgroup>
+            <col class="libelle"></col>
+            <col class="information"></col>
+          </colgroup>
+          <tr>
+            <td class="td_head">
+              MCG de rattachement et<br/>Délégué de la Direction Générale (DDG)
+            </td>
+            <td>
+              <xsl:value-of select="Etablissement/MCG/Ville"/>
+              <br/>
+              <xsl:value-of select="Etablissement/MCG/NomPresident"/>
+              <xsl:text> </xsl:text>
+              <xsl:value-of select="Etablissement/MCG/PrenomPresident"/>
+            </td>
+          </tr>
+          <tr>
+            <td class="td_head">
+              Canton de rattachement
+            </td>
+            <td>
+              <xsl:value-of select="Etablissement/Canton"/>
+
+            </td>
+          </tr>
+          <tr>
+            <td class="td_head">Effectifs</td>
+            <xsl:if test="count(Etablissement/LstEffectifDetail/child::*)=1">
+              <td>
+                <xsl:value-of select="Etablissement/Effectif"/>
+              </td>
+            </xsl:if>
+            <xsl:if test="count(Etablissement/LstEffectifDetail/child::*)>1">
+              <td>
+                <table>
+                  <colgroup>
+                    <col class="titre"></col>
+                    <col class="totaleffectif"></col>
+                    <col class="colonnevide"></col>
+                  </colgroup>
+                  <xsl:for-each select="Etablissement/LstEffectifDetail/EffectifDetail">
+                    <tr>
+                      <td class="sansbordure">
+                        <xsl:value-of select="Filiere"/>
+                      </td>
+                      <td class="sansborduredroite">
+                        <xsl:value-of select="DetailEffectif"/>
+                      </td>
+                      <td class="sansbordure"></td>
+                    </tr>
+                  </xsl:for-each>
+                  <tr>
+                    <td class="totalsansbordure">
+                      Nombre d'élèves
+                    </td>
+                    <td class="totalbordure">
+                      <xsl:value-of select="sum(Etablissement/LstEffectifDetail/EffectifDetail/DetailEffectif)"/>
+                    </td>
+                  </tr>
+                </table>
+              </td>
+            </xsl:if>
+
+          </tr>
+          <tr>
+            <td class="td_head">dont effectif bilingue</td>
+            <td>
+              <xsl:if test ="count(Etablissement/LstBilingue/Bilinguisme)=0">
+                Non
+              </xsl:if>
+              <xsl:if test ="count(Etablissement/LstBilingue/Bilinguisme)!=0">
+                <table>
+                  <colgroup>
+                    <col class="classe"></col>
+                    <col class="nbEleves"></col>
+                    <col class="vide"></col>
+                  </colgroup>
+                  <xsl:for-each select="Etablissement/LstBilingue/Bilinguisme">
+                    <tr>
+                      <td class="sansbordure">
+                        <xsl:text> Classe de </xsl:text>
+                        <xsl:value-of select="Niveaux"/>
+                      </td>
+                      <td class="sansborduredroite">
+                        <xsl:value-of select ="NbrEleves"/>
+                        <xsl:text> élèves</xsl:text>
+                      </td>
+                      <td class="sansbordure"></td>
+                    </tr>
+                  </xsl:for-each>
+                  <tr>
+                    <td class="totalsansbordure">
+                      Effectif total
+                    </td>
+                    <td class="totalbordure">
+                      <xsl:value-of select="sum(Etablissement/LstBilingue/Bilinguisme/NbrEleves)"/>
+                      <xsl:text> élèves</xsl:text>
+                    </td>
+                    <td class="sansbordure"></td>
+                  </tr>
+                </table>
+              </xsl:if>
+            </td>
+          </tr>
+
+        </table>
+        <tr>
+          <h2>2. Restauration</h2>
+          <td>
+            <table>
+              <colgroup>
+                <col class="libelle"></col>
+                <col class="information"></col>
+              </colgroup>
+              <xsl:if test ="Etablissement/Restauration/NbrRepas > 0">
+                <td  class="td_head">Nombre moyen de repas par jour</td>
+                <td>
+                  <!--<xsl:value-of select="format-number((Etablissement/Restauration/NbrRepas div 140),'###.##0','europe')"></xsl:value-of>-->
+                  <xsl:value-of select="format-number((Etablissement/Restauration/NbrRepas div Etablissement/Restauration/NbrRepasJourRestauration),'###.##0','europe')"></xsl:value-of>
+                </td>
+              </xsl:if>
+              <xsl:if test ="Etablissement/Restauration/NbrRepas = 0">
+                <td class="td_head">Nombre moyen de repas par jour</td>
+                <td>      </td>
+              </xsl:if>
+              <xsl:if test ="Etablissement/Restauration/NbrRepas > 0">
+                <tr>
+                  <td class="td_head">Nombre de repas annuel</td>
+                  <td>
+                    <xsl:value-of select="format-number(Etablissement/Restauration/NbrRepas,'###.##0','europe')"></xsl:value-of>
+                  </td>
+                </tr>
+              </xsl:if>
+              <xsl:if test ="Etablissement/Restauration/Production='True'">
+                <tr>
+                  <td class="td_head">Production</td>
+                  <td>Oui</td>
+                </tr>
+              </xsl:if>
+              <xsl:if test ="Etablissement/Restauration/Production='False'">
+                <tr>
+                  <td class="td_head">Production</td>
+                  <td>Non</td>
+                </tr>
+              </xsl:if>
+              <xsl:if test ="Etablissement/Restauration/DélégationSP != ''">
+                <tr>
+                  <td class="td_head">Délégation de service public</td>
+                  <td>
+                    <xsl:value-of select="Etablissement/Restauration/DélégationSP"></xsl:value-of>
+                  </td>
+                </tr>
+              </xsl:if>
+              <xsl:if test ="Etablissement/Restauration/Heberge != ''">
+                <tr>
+                  <td class="td_head">Etablissements hébergés</td>
+                  <td>
+                    <xsl:value-of select="Etablissement/Restauration/Heberge"></xsl:value-of>
+                  </td>
+                </tr>
+              </xsl:if>
+              <xsl:if test ="Etablissement/Restauration/EstHebergePar != ''">
+                <tr>
+                  <td class="td_head">Hébergé par</td>
+                  <td>
+                    <xsl:value-of select="Etablissement/Restauration/EstHebergePar"></xsl:value-of>
+                  </td>
+                </tr>
+              </xsl:if>
+              <xsl:if test ="Etablissement/Restauration/Telerestaure != ''">
+                <tr>
+                  <td class="td_head">Etablissements télérestaurés</td>
+                  <td>
+                    <xsl:value-of select="Etablissement/Restauration/Telerestaure"></xsl:value-of>
+                  </td>
+                </tr>
+              </xsl:if>
+              <xsl:if test ="Etablissement/Restauration/EstTelerestaurePar != ''">
+                <tr>
+                  <td class="td_head">Est télérestauré par</td>
+                  <td>
+                    <xsl:value-of select="Etablissement/Restauration/EstTelerestaurePar"></xsl:value-of>
+                  </td>
+                </tr>
+              </xsl:if>
+            </table>
+          </td>
+        </tr>
+      </table>
+
+      <h2>3. Structure Immobilière</h2>
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="information"></col>
+        </colgroup>
+        <tr>
+          <td class="td_head">Propriétaire</td>
+          <td>
+            <xsl:value-of select="Etablissement/NomProprietaire"/>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Année de construction</td>
+          <td>
+            <xsl:value-of select="Etablissement/AnneeConstruction"/>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Année de restructuration lourde</td>
+          <td>
+            <xsl:value-of select="Etablissement/PhraseRestructuration"/>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Surface SHON</td>
+          <td>
+            <xsl:value-of select="format-number(Etablissement/Surface,'###.##0','europe')"/> m2
+          </td>
+        </tr>
+        <!--
+      <tr>
+        <td>Aménagements particuliers</td>
+        <td>
+          <xsl:value-of select="Etablissement/CommentaireAmenagementParticulier"/> m2
+        </td>
+      </tr>
+         -->
+        <tr>
+          <td class="td_head">Logements de fonction</td>
+          <td>
+            <xsl:text>Nombre de logements </xsl:text><xsl:value-of select="Etablissement/Logement/NbrLogements"/>
+            <xsl:text> dont </xsl:text>
+            <xsl:value-of select="Etablissement/Logement/NbrAgentsLoges"/> agent(s) du CG logé(s)
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Internat</td>
+          <td>
+            <xsl:if test ="Etablissement/IsInternat='True'">
+              Oui
+            </xsl:if>
+            <xsl:if test ="Etablissement/IsInternat='False'">
+              Non
+            </xsl:if>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Accessibilité</td>
+          <td>
+            <xsl:if test ="Etablissement/Ascenseur='True'">
+              Oui
+            </xsl:if>
+            <xsl:if test ="Etablissement/Ascenseur='False'">
+              Non
+            </xsl:if>
+          </td>
+        </tr>
+        <tr>
+          <table>
+            <br></br>
+            <h3>Restructuration lourde </h3>
+          </table>
+        </tr>
+        <xsl:if test="count(Etablissement/LstInvestissement/child::*) >0">
+          <table id="restructuration">
+            <colgroup>
+              <col class="travannee"></col>
+              <col class="typetravaux"></col>
+              <col class="libellerestruct"></col>
+              <col class="llibellerestruct"></col>
+              <col class="travmontant"></col>
+              <col class="travmontant"></col>
+              <col class="travmontant"></col>
+              <col class="travmontant"></col>
+            </colgroup>
+            <tr>
+              <th class="bordurecentre">Année</th>
+              <th class="bordurecentre">Type d'opération</th>
+              <th class="bordurecentre">Stade d'avancement</th>
+              <th class="bordurecentre">Prévu année n+1</th>
+              <th class="bordurecentre">Coût de l'opération en €</th>
+              <th class="bordurecentre">Montant CP en €</th>
+              <th class="bordurecentre">Statut</th>
+              <th class="bordurecentre">Date de livraison</th>
+            </tr>
+            <xsl:for-each select="Etablissement/LstInvestissement/Investissement">
+              <tr>
+                <td class="bordure">
+                  <xsl:value-of select="Annee"/>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="Type"/>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select ="Avancement"/>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="Commentaire"/>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(MontantOp,'###.###.##0','europe')"/>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(MontantCP,'###.###.##0','europe')"/>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="Status"/>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="DateLivraison"/>
+                </td>
+              </tr>
+            </xsl:for-each>
+          </table>
+        </xsl:if>
+        <xsl:if test="count(Etablissement/LstInvestissement/child::*)=0">
+          Néant
+        </xsl:if>
+        <tr>
+          <table>
+            <br></br>
+            <h3>Travaux de maintenance réalisés et prévus</h3>
+          </table>
+
+          <xsl:if test="count(Etablissement/LstFichiersTravaux/child::*)>0">
+
+            <xsl:for-each select="Etablissement/LstFichiersTravaux/FichierTravaux">
+
+              veuillez cliquer sur ce
+              <a href="file.download?file={Fichier}">
+                lien
+              </a>
+
+
+              <br></br>
+            </xsl:for-each>
+
+          </xsl:if>
+          <xsl:if test="count(Etablissement/LstFichiersTravaux/child::*)=0">
+            Néant
+          </xsl:if>
+
+          <!--  Données
+			  accessibles en Février 2014
+			  <br></br>
+			  <xsl:element name="a">
+				  <xsl:attribute name="href">
+					  ..\xls\<xsl:value-of select="Etablissement/LienFichier"/>
+				  </xsl:attribute>
+				  Plan pluriannuel de programmation des travaux de maintenance
+				  <xsl:value-of select="Etablissement/LienFichier"/>
+			  </xsl:element>
+			  <br></br>
+            <td>
+              <xsl:if test="count(Etablissement/LstTravaux/child::*) >0">
+                <table id="travaux">
+                  <colgroup>
+                    <col class="travannee"></col>
+                    <col class="typetravaux"></col>
+                    <col class="travlibelle"></col>
+                    <col class="travmontant"></col>
+                    <col class="travstatus"></col>
+                    <col class="travimprevu"></col>
+                  </colgroup>
+                  <tr>
+                    <th class="bordurecentre">Année</th>
+                    <th class="bordurecentre">Type</th>
+                    <th class="bordurecentre">Libelle</th>
+                    <th class="bordurecentre">Montant</th>
+                    <th class="bordurecentre">Statut</th>
+                    <th class="bordurecentre">Prévu</th>
+                  </tr>
+                  <xsl:for-each select="Etablissement/LstTravaux/ProgTravaux">
+                    <tr>
+                      <td class="bordurecentre">
+                        <xsl:value-of select="Annee"/>
+                      </td>
+                      <td class="bordure">
+                        <xsl:value-of select="TypeOperation"/>
+                      </td>
+                      <td class="bordure">
+                        <xsl:value-of select ="Libelle"/>
+                      </td>
+                      <td class="borduredroite">
+                        <xsl:value-of select="Montant"/>
+                        <xsl:text> €</xsl:text>
+                      </td>
+                      <td class="bordurecentre">
+                        <xsl:value-of select="StatutOp"/>
+                      </td>
+                      <td class="bordurecentre">
+                        <xsl:if test ="PrevuOp= 0">
+                          Oui
+                        </xsl:if>
+                        <xsl:if test ="PrevuOp != 0">
+                          Non
+                        </xsl:if>
+                      </td>
+                    </tr>
+                  </xsl:for-each>
+                </table>
+              </xsl:if>
+              <xsl:if test="count(Etablissement/LstTravaux/child::*) =0"> 
+                Néant
+              </xsl:if>
+				
+            </td> -->
+        </tr>
+        <tr>
+          <br/>
+          <td>
+            <xsl:value-of select="Etablissement/CommentaireProgTravaux"/>
+          </td>
+        </tr>
+      </table>
+      <br></br>
+
+      <h2>4. Sectorisation des collèges - évolution des effectifs</h2>
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="information"></col>
+        </colgroup>
+        <tr>
+          <td class="td_head">Secteur de recrutement</td>
+          <td>
+            <xsl:value-of select="Etablissement/PhraseSecteurRecrutement"/>
+          </td>
+        </tr>
+
+        <tr>
+          <td class="td_head">Prévisions sur les 5 prochaines années</td>
+          <td>
+            <xsl:value-of select="Etablissement/PhrasePrevision5Ans"></xsl:value-of>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Capacité Théorique </td>
+          <td>
+            <xsl:value-of select="Etablissement/EffectifTheorique"/>
+            <xsl:text> élèves</xsl:text>
+          </td>
+        </tr>
+        <tr>
+          <table id="TitreGraph">
+            <br></br>
+            <tr>
+              <h3>
+                <xsl:value-of select="Etablissement/Commentaires/TitreGraph"/>
+              </h3>
+              <!-- <h3>Effectifs réels et prévisionnels - inclus SEGPA, UPI, CLA, DIMA, 4e dispo aménagée ou 3e insertion</h3> -->
+            </tr>
+          </table>
+          <br></br>
+          <table id="sansbordurecentre">
+            <td colspan="2" id="graphique">
+              <xsl:apply-templates select="Etablissement/LstEffectif"/>
+              <!--      
+          <img alt="graphique de test" src="dummy.histo?l=400&amp;h=400&amp;f=-64&amp;nb=7&amp;v1=500&amp;c1=-65536&amp;t1=2001&amp;v2=56&amp;c2=-65536&amp;t2=2002&amp;v3=25&amp;c3=-65536&amp;t3=2003&amp;v4=154&amp;c4=-65536&amp;t4=2004&amp;v5=50&amp;c5=-16776961&amp;t5=2005&amp;v6=254&amp;c6=-16776961&amp;t6=2006&amp;v7=25&amp;c7=-16776961&amp;t7=2007"></img>
+          -->
+            </td>
+          </table>
+        </tr>
+        <tr>
+          <td colspan="2">
+            <!--<td>Observations sur le secteur de recrutement</td>-->
+            <xsl:value-of select="Etablissement/CommentaireSecteurRecrutement"/>
+            <br>
+              <xsl:value-of select="Etablissement/CommentaireGraphique"/>
+            </br>
+          </td>
+        </tr>
+      </table>
+      <h2>5. Financement du collège par le Département</h2>
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="information"></col>
+        </colgroup>
+        <!--
+      <tr>
+        <td>Equipement en mobilier et matériel</td>
+        <td>
+          <ul>
+          <xsl:for-each select ="Etablissement/lstEquipements/Equipement">
+            <li>
+              <xsl:value-of select="Phrase" />
+            </li>         
+          </xsl:for-each>
+          </ul>
+        </td>
+      </tr>
+      -->
+        <tr>
+          <td class="td_head">Dotation annuelle de fonctionnement</td>
+          <td>
+            <table id="dotation">
+              <colgroup>
+                <col class="typedotation"></col>
+                <col class="mtn"></col>
+                <col class="mtn1"></col>
+                <col class="ecart"></col>
+              </colgroup>
+              <tr>
+                <th class="bordurecentre td_head">Type de dotation</th>
+                <th class="bordurecentre td_head">
+                  <xsl:value-of select="Etablissement/Dotation[2]/Annee" />
+                </th>
+                <th class="bordurecentre td_head">
+                  <xsl:value-of select="Etablissement/Dotation[1]/Annee" />
+                </th>
+                <th class="bordurecentre td_head">Ecart</th>
+              </tr>
+              <tr>
+                <td class="bordure">Viabilisation</td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(Etablissement/Dotation[2]/Viabilisation,'###.###.##0','europe')" />
+                  <xsl:text> €</xsl:text>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(Etablissement/Dotation[1]/Viabilisation,'###.###.##0','europe')" />
+                  <xsl:text> €</xsl:text>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(Etablissement/Dotation[1]/Viabilisation+(-Etablissement/Dotation[2]/Viabilisation),'###.###.##0','europe')"/>
+                  <xsl:text> €</xsl:text>
+                </td>
+              </tr>
+              <tr>
+                <td class="bordure">Entretien</td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(Etablissement/Dotation[2]/Entretien,'###.###.##0','europe')" />
+                  <xsl:text> €</xsl:text>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(Etablissement/Dotation[1]/Entretien,'###.###.##0','europe')" />
+                  <xsl:text> €</xsl:text>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(Etablissement/Dotation[1]/Entretien+(-Etablissement/Dotation[2]/Entretien),'###.###.##0','europe')"/>
+                  <xsl:text> €</xsl:text>
+                </td>
+              </tr>
+              <tr>
+                <td class="bordure">Autres Depenses</td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(Etablissement/Dotation[2]/AutresDepenses,'###.###.##0','europe')" />
+                  <xsl:text> €</xsl:text>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(Etablissement/Dotation[1]/AutresDepenses,'###.###.##0','europe')" />
+                  <xsl:text> €</xsl:text>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(Etablissement/Dotation[1]/AutresDepenses+(-Etablissement/Dotation[2]/AutresDepenses),'###.###.##0','europe')"/>
+                  <xsl:text> €</xsl:text>
+                </td>
+              </tr>
+              <tr>
+                <td class="bordure">Total dotation</td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number((Etablissement/Dotation[2]/Viabilisation)+(Etablissement/Dotation[2]/Entretien)+(Etablissement/Dotation[2]/AutresDepenses),'###.###.##0','europe')" />
+                  <xsl:text> €</xsl:text>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number((Etablissement/Dotation[1]/Viabilisation)+(Etablissement/Dotation[1]/Entretien)+(Etablissement/Dotation[1]/AutresDepenses),'###.###.##0','europe')" />
+                  <xsl:text> €</xsl:text>
+                </td>
+                <td class="bordure">
+                  <xsl:value-of select="format-number(((Etablissement/Dotation[1]/Viabilisation)+(Etablissement/Dotation[1]/Entretien)+(Etablissement/Dotation[1]/AutresDepenses))-(((Etablissement/Dotation[2]/Viabilisation)+(Etablissement/Dotation[2]/Entretien)+(Etablissement/Dotation[2]/AutresDepenses))),'###.###.##0','europe')"/>
+                  <xsl:text> €</xsl:text>
+                </td>
+
+              </tr>
+
+
+            </table>
+          </td>
+        </tr>
+        <tr>
+          <!--<xsl:if test ="count(Etablissement/LstInvestissementDCE[Annee=2011]/child::*)>0"> -->
+          <xsl:variable name="annee" select="entete/chiffresgeneraux/annee">
+          </xsl:variable>
+          <xsl:if test ="count(Etablissement/LstInvestissementDCE/child::*[Annee=$annee])>0">
+            <td class="td_head">
+              <xsl:text >Autres subventions - Année </xsl:text>
+              <xsl:value-of select="Etablissement/LstInvestissementDCE/InvestissementDCE/Annee"/>
+            </td>
+          </xsl:if>
+          <td>
+            <xsl:if test ="count(Etablissement/LstInvestissementDCE/child::*[Annee=$annee])>0">
+              <table class="sanbordure">
+                <colgroup>
+                  <col class="libInv"></col>
+                  <col class="espacevide"></col>
+                  <col class="nombre"></col>
+                  <col class="colonnevide"></col>
+                </colgroup>
+                <xsl:for-each select="Etablissement/LstInvestissementDCE/InvestissementDCE[Annee=$annee]">
+                  <tr>
+                    <td class="sansbordure">
+                      <xsl:value-of select="Libelle"/>
+                    </td>
+                    <td class="sansbordure"></td>
+                    <td class="sansborduredroite">
+                      <xsl:value-of select="format-number(Montant,'###.###.##0','europe')"/>
+                      <xsl:text> €</xsl:text>
+                    </td>
+                    <td class="sansbordure"></td>
+                  </tr>
+                </xsl:for-each>
+                <td class="totalsansbordure">Total dotation</td>
+                <td class="sansbordure"></td>
+                <td class="totalbordure">
+                  <xsl:value-of select="format-number(sum(Etablissement/LstInvestissementDCE/InvestissementDCE[Annee=$annee]/Montant),'###.###.##0','europe')" />
+                  <xsl:text> €</xsl:text>
+                </td>
+              </table>
+            </xsl:if>
+          </td>
+        </tr>
+
+        <tr>
+          <xsl:variable name="anneePlus1">
+            <xsl:value-of select="entete/chiffresgeneraux/annee + 1"/>
+          </xsl:variable>
+
+          <xsl:if test ="count(Etablissement/LstInvestissementDCE/child::*[Annee=$anneePlus1])>0">
+            <td class="td_head">
+              <xsl:text>Autres subventions - Annee  </xsl:text>
+              <xsl:value-of select="Etablissement/LstInvestissementDCE/InvestissementDCE[Annee=$anneePlus1]/Annee"/>
+            </td>
+          </xsl:if>
+          <td>
+            <xsl:if test ="count(Etablissement/LstInvestissementDCE/child::*[Annee=$anneePlus1])>0">
+              <table class="sanbordure">
+                <colgroup>
+                  <col class="libInv"></col>
+                  <col class="espacevide"></col>
+                  <col class="nombre"></col>
+                  <col class="colonnevide"></col>
+                </colgroup>
+                <xsl:for-each select="Etablissement/LstInvestissementDCE/InvestissementDCE[Annee=$anneePlus1]">
+                  <tr>
+                    <td class="sansbordure">
+                      <xsl:value-of select="Libelle"/>
+                    </td>
+                    <td class="sansbordure"></td>
+                    <td class="sansborduredroite">
+                      <xsl:value-of select="format-number(Montant,'###.###.##0','europe')"/>
+                      <xsl:text> €</xsl:text>
+                    </td>
+                    <td class="sansbordure"></td>
+                  </tr>
+                </xsl:for-each>
+                <td class="totalsansbordure">Total dotation</td>
+                <td class="sansbordure"></td>
+                <td class="totalbordure">
+                  <xsl:value-of select="format-number(sum(Etablissement/LstInvestissementDCE/InvestissementDCE[Annee=$anneePlus1]/Montant),'###.###.##0','europe')" />
+                  <xsl:text> €</xsl:text>
+                </td>
+              </table>
+            </xsl:if>
+            <xsl:if test ="count(Etablissement/LstInvestissementDCE/child::*[Annee=$anneePlus1])=0">
+              pas de valeur
+            </xsl:if>
+          </td>
+        </tr>
+
+
+        <!--
+
+      <tr>
+        <td>Investissement sur 5 ans</td>
+        <td>
+      
+          <xsl:if test ="count(Etablissement/LstInvestissement/Investissement)>0">
+          <table>
+            <xsl:for-each select="Etablissement/LstInvestissement/Investissement">
+              <tr>
+                <td><xsl:value-of select="Type"/></td>
+                <td><xsl:value-of select="Montant"/><xsl:text> €</xsl:text></td>
+                <td><xsl:value-of select="Commentaire"/></td>
+              </tr>
+            </xsl:for-each>
+           
+          </table>
+          </xsl:if>
+       
+        </td>
+      </tr>
+        
+      <tr>
+        <td>Etat des réserves du collège</td>
+        <td>          
+          <xsl:value-of select="format-number(Etablissement/Reserve,'###.###.##0','europe')"/><xsl:text> €</xsl:text>
+        </td>        
+      </tr>
+         <tr>
+        <td>Interventions remarquables du département sur les 5 dernières années</td>
+        <td></td>
+      </tr>
+      -->
+      </table>
+      <h2>6. Gestion des adjoints techniques des collèges (ATC)</h2>
+
+      <h3>Liste nominative des agents ATC du département</h3>
+
+      <xsl:if test ="count(Etablissement/LstATC/ATC[Statut!='PERSONNEL NON CG'])>0">
+        <table id="listeagentscg">
+          <colgroup>
+            <col class="atcnom"></col>
+            <col class="atcprenom"></col>
+            <col class="atcfonction"></col>
+            <!--
+                  <col class="atcqtew"></col>
+                  <col class="atcstatut"></col>
+                  <col class="atcgrade"></col>
+                  -->
+          </colgroup>
+          <tr>
+            <th class="bordurecentre td_head">Nom</th>
+            <th class="bordurecentre td_head">Prénom</th>
+            <th class="bordurecentre td_head">Intitulé de poste</th>
+            <!--
+                  <th class="bordurecentre">Quotité de travail</th>
+                  <th class="bordurecentre">Statut</th>
+                 <th class="bordurecentre">Grade</th>
+                 -->
+          </tr>
+
+          <xsl:for-each select="Etablissement/LstATC/ATC[Statut!='PERSONNEL NON CG']">
+            <tr>
+              <td class="bordure">
+                <xsl:value-of select="Nom"/>
+              </td>
+              <td class="bordure">
+                <xsl:value-of select="Prenom"/>
+              </td>
+              <td class="bordure">
+                <xsl:value-of select="FichePoste"/>
+              </td>
+            </tr>
+
+          </xsl:for-each>
+        </table>
+      </xsl:if>
+      <xsl:if test ="count(Etablissement/LstATC/ATC[Statut!='PERSONNEL NON CG'])=0">
+        Néant
+      </xsl:if>
+      <br/>
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="information"></col>
+        </colgroup>
+        <tr>
+          <td class="td_head">Nombre total d'ATC</td>
+          <td>
+            <xsl:if test ="count(Etablissement/LstATC/ATC[Statut!='PERSONNEL NON CG'])=0">
+              Néant
+            </xsl:if>
+            <xsl:if test ="count(Etablissement/LstATC/ATC[Statut!='PERSONNEL NON CG'])>0">
+              <xsl:value-of select="count(Etablissement/LstATC/ATC[Statut!='PERSONNEL NON CG'])"></xsl:value-of>
+              <xsl:text> agent(s)</xsl:text>
+            </xsl:if>
+          </td>
+        </tr>
+      </table>
+
+
+      <h3>Liste nominative des agents en contrat aidé</h3>
+
+      <xsl:if test ="count(Etablissement/LstATC/ATC[Statut='PERSONNEL NON CG'])>0">
+        <table id="listeagentscg">
+          <colgroup>
+            <col class="atcnom"></col>
+            <col class="atcprenom"></col>
+            <col class="atcfonction"></col>
+            <!--
+                  <col class="atcqtew"></col>
+                  <col class="atcstatut"></col>
+                  <col class="atcgrade"></col>
+                  -->
+          </colgroup>
+          <tr>
+            <th class="bordurecentre td_head">Nom</th>
+            <th class="bordurecentre td_head">Prénom</th>
+            <th class="bordurecentre td_head">Intitulé de poste</th>
+            <!--
+                  <th class="bordurecentre">Quotité de travail</th>
+                  <th class="bordurecentre">Statut</th>
+                 <th class="bordurecentre">Grade</th>
+                 -->
+          </tr>
+
+          <xsl:for-each select="Etablissement/LstATC/ATC[Statut='PERSONNEL NON CG']">
+            <tr>
+              <td class="bordure">
+                <xsl:value-of select="Nom"/>
+              </td>
+              <td class="bordure">
+                <xsl:value-of select="Prenom"/>
+              </td>
+              <td class="bordure">
+                <xsl:value-of select="FichePoste"/>
+              </td>
+            </tr>
+
+          </xsl:for-each>
+        </table>
+      </xsl:if>
+      <!--
+        <xsl:if test ="count(Etablissement/LstATC/ATC[Statut='PERSONNEL NON CG'])=0">
+          néant
+        </xsl:if>
+        -->
+      <br/>
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="information"></col>
+        </colgroup>
+        <tr>
+          <td class="td_head">Nombre total de contrats aidés</td>
+          <td>
+            <xsl:if test ="count(Etablissement/LstATC/ATC[Statut='PERSONNEL NON CG'])=0">
+              néant
+            </xsl:if>
+            <xsl:if test ="count(Etablissement/LstATC/ATC[Statut='PERSONNEL NON CG'])>0">
+              <xsl:value-of select="count(Etablissement/LstATC/ATC[Statut='PERSONNEL NON CG'])"></xsl:value-of>
+              <xsl:text> agent(s)</xsl:text>
+            </xsl:if>
+          </td>
+        </tr>
+      </table>
+
+      <h2>7. Actions éducatives, sportives et culturelles</h2>
+      <h3>Actions de la Direction des Collèges (DC)</h3>
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="information"></col>
+        </colgroup>
+        <td class="td_head">Classes de découvertes</td>
+        <td>
+          <xsl:if test ="count(Etablissement/LstClasseDecouverte/ClasseDecouverte)=0">
+            Non
+          </xsl:if>
+          <xsl:if test ="count(Etablissement/LstClasseDecouverte/ClasseDecouverte)!=0">
+            <table id="decouverte">
+              <colgroup>
+                <col class="Zone"></col>
+                <col class="Nb_Eleves"></col>
+                <col class="Montant_Subvention"></col>
+              </colgroup>
+
+
+              <th class="bordurecentre td_head">ZONE</th>
+              <th class="bordurecentre td_head">Nombre d'élèves</th>
+              <th class="bordurecentre td_head">Montant subvention</th>
+
+              <xsl:for-each select="Etablissement/LstClasseDecouverte/ClasseDecouverte">
+                <tr>
+                  <td class="bordure">
+                    <xsl:value-of select="Libelle"/>
+                  </td>
+                  <td class="bordure">
+                    <xsl:value-of select="NbEleves"/>
+                  </td>
+                  <td class="bordure">
+                    <xsl:value-of select ="Subvention"/>
+                    <xsl:text> €</xsl:text>
+                  </td>
+                </tr>
+              </xsl:for-each>
+            </table>
+          </xsl:if>
+        </td>
+
+        <!-- <tr>
+            <td>Complément scolaire par internet </td>
+            <xsl:if test ="count(Etablissement/SoutienScolaireEnLigne/NbrEleves)=0">
+              <td>  Non</td>
+            </xsl:if>
+            <xsl:if test ="count(Etablissement/SoutienScolaireEnLigne/NbrEleves)!=0">
+              <td>
+                <xsl:value-of select ="Etablissement/SoutienScolaireEnLigne/NbrEleves"/>
+                <xsl:text> élèves</xsl:text>
+              </td>
+            </xsl:if>
+         </tr> -->
+        <xsl:if test ="count(Etablissement/LstActionEducatives/ActionEducative[TypeAction='DCE'])>0">
+          <table>
+            <colgroup>
+              <col class="libelle"></col>
+              <col class="infoAction"></col>
+            </colgroup>
+            <xsl:for-each select="Etablissement/LstActionEducatives/ActionEducative[TypeAction='DCE']">
+              <tr>
+                <td class="td_head">
+                  <xsl:value-of select="Libelle"/>
+                </td>
+                <td>
+                  <xsl:if test ="Participe='True'">
+                    Oui
+                  </xsl:if>
+                  <xsl:if test ="Participe='False'">
+                    Non
+                  </xsl:if>
+                </td>
+                <td>
+                  <xsl:if test="NbrEleves!= 0">
+                    Le nombre d'élèves concernés est de <xsl:value-of select="NbrEleves"/><br/>
+                  </xsl:if>
+                  <xsl:if test="Partenaire!=''">
+                    <xsl:value-of select="Partenaire"/>
+                  </xsl:if>
+                </td>
+              </tr>
+            </xsl:for-each>
+          </table>
+        </xsl:if>
+      </table>
+      <h3>Actions de la Direction des Politiques Éducatives, Sportives et Culturelles (DPESC)</h3>
+
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="infoAction"></col>
+        </colgroup>
+        <xsl:if test ="count(Etablissement/LstActionEducatives/ActionEducative[TypeAction='DJS'])>0">
+          <xsl:for-each select="Etablissement/LstActionEducatives/ActionEducative[TypeAction='DJS']">
+            <tr>
+              <td class="td_head">
+                <xsl:value-of select="Libelle"/>
+              </td>
+              <td>
+                <xsl:if test ="Participe='True'">
+                  Oui
+                </xsl:if>
+                <xsl:if test ="Participe='False'">
+                  Non
+                </xsl:if>
+              </td>
+              <br/>
+              <td>
+                <xsl:if test="NbrEleves!= 0">
+                  Le nombre d'élèves concernés est de <xsl:value-of select="NbrEleves"/><br/>
+                </xsl:if>
+                <xsl:if test="Partenaire!=''">
+                  <xsl:value-of select="Partenaire"/>
+                  <br/>
+                </xsl:if>
+                <xsl:if test="MontantSubvention!= 0">
+                  Le financement est de <xsl:value-of select ="MontantSubvention"/><xsl:text> €</xsl:text>
+                </xsl:if>
+              </td>
+            </tr>
+          </xsl:for-each>
+        </xsl:if>
+        <!--  <tr>
+            <td>Prévention des conduites à risque </td>
+            <td>Non</td>
+            <td></td>
+          </tr>
+          -->
+      </table>
+
+      <h3>Actions du Service Développement Artistique (SDA)</h3>
+
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="infoAction"></col>
+        </colgroup>
+        <xsl:if test ="count(Etablissement/LstActionEducatives/ActionEducative[TypeAction='DCP'])=0">
+          Néant
+        </xsl:if>
+        <xsl:if test ="count(Etablissement/LstActionEducatives/ActionEducative[TypeAction='DCP'])>0">
+          <xsl:for-each select="Etablissement/LstActionEducatives/ActionEducative[TypeAction='DCP']">
+            <tr>
+              <td class="td_head">
+                <xsl:value-of select="Libelle"/>
+              </td>
+              <td>
+                <xsl:if test ="Participe='True'">
+                  Oui
+                </xsl:if>
+                <xsl:if test ="Participe='False'">
+                  Non
+                </xsl:if>
+              </td>
+              <br/>
+              <td>
+                <xsl:if test="NbrEleves!= 0">
+                  Le nombre d'élèves concernés est de <xsl:value-of select="NbrEleves"/><br/>
+                </xsl:if>
+                <xsl:if test="Partenaire!=''">
+                  <xsl:value-of select="Partenaire"/>
+                  <br/>
+                </xsl:if>
+                <xsl:if test="MontantSubvention!= 0">
+                  Le financement est de <xsl:value-of select ="MontantSubvention"/><xsl:text> €</xsl:text>
+                </xsl:if>
+              </td>
+            </tr>
+          </xsl:for-each>
+        </xsl:if>
+      </table>
+
+      <!-- <h2>8. Programmes expérimentaux de l'Education Nationale</h2>
+        <xsl:if test ="count(Etablissement/LstProjetPilote/ProjetPilote[Initiateur='EN'])=0">
+          Néant
+        </xsl:if>
+        <table>
+          <colgroup>
+            <col class="libelle"></col>
+            <col class="information"></col>
+          </colgroup>
+          <xsl:for-each select="Etablissement/LstProjetPilote/ProjetPilote[Initiateur='EN']">
+            <tr>
+              <td>
+                <xsl:value-of select="Libelle"/>
+              </td>
+              <td>
+                <xsl:if test ="Participe='True'">
+                  Oui
+                </xsl:if>
+                <xsl:if test ="Participe='False'">
+                  Non
+                </xsl:if>
+              </td>
+
+            </tr>
+          </xsl:for-each>
+        </table>
+        -->
+
+      <h2>8. Participation à des projets pilotes de la DC</h2>
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="information"></col>
+        </colgroup>
+        <xsl:for-each select="Etablissement/LstProjetPilote/ProjetPilote[Initiateur='DCE']">
+          <tr>
+            <td class="td_head">
+              <xsl:value-of select="Libelle"/>
+            </td>
+            <td>
+              <xsl:if test ="Participe='True'">
+                Oui
+              </xsl:if>
+              <xsl:if test ="Participe='False'">
+                Non
+              </xsl:if>
+            </td>
+
+          </tr>
+        </xsl:for-each>
+      </table>
+
+      <h2>9. Quelques indicateurs d’activité de la DC</h2>
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="information"></col>
+        </colgroup>
+        <tr>
+          <td class="td_head">Nombre total d’adjoints des collèges</td>
+          <td>
+            <xsl:value-of select="entete/chiffresgeneraux/nbATC"/>
+            <xsl:text> agents</xsl:text>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Nombre total de repas produits par an</td>
+          <td>
+            <xsl:value-of select="entete/chiffresgeneraux/nbRepasAnnuel"/>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Surface totale des bâtiments</td>
+          <td>
+            <xsl:value-of select="entete/chiffresgeneraux/surfaceBatiments"/>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Surface totale des espaces extérieurs</td>
+          <td>
+            <xsl:value-of select="entete/chiffresgeneraux/surfaceExterieur"/>
+          </td>
+        </tr>
+
+      </table>
+
+
+      <h2>10. Quelques chiffres significatifs sur l'ensemble des collèges</h2>
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="information"></col>
+        </colgroup>
+        <!--
+      <tr>
+        <td>Montant total des financements du département aux 90 collèges</td>
+        <td>
+          <xsl:value-of select="entete/chiffresgeneraux/financements"/>
+         <xsl:value-of select="ChiffresSignificatifs/MontantTotalFinancements"/><xsl:text> €</xsl:text>
+        </td>
+      </tr> -->
+
+        <tr>
+          <td class="td_head">Nombre total d'élèves</td>
+          <td>
+            <xsl:value-of select="format-number(ChiffresSignificatifs/NbTotalEleves,'###.###.##0','europe')"/>
+            <xsl:text> élèves</xsl:text>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Montant total des investissements</td>
+          <td>
+            <!--
+          <xsl:value-of select="ChiffresSignificatifs/MontantTotalInvestissement"/><xsl:text> €</xsl:text>
+          -->
+            <xsl:value-of select="entete/chiffresgeneraux/investissement"/>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Montant total des dotations de fonctionnement</td>
+          <td>
+            <!--
+          <xsl:value-of select="ChiffresSignificatifs/MontantTotalInvestissement"/><xsl:text> €</xsl:text>
+          -->
+            <xsl:value-of select="entete/chiffresgeneraux/fonctionnement"/>
+          </td>
+        </tr>
+        <tr>
+          <td class="td_head">Montant total des transports scolaires (Hors CUS)</td>
+          <td>
+            <xsl:value-of select="entete/chiffresgeneraux/transport"/>
+            <!--<xsl:value-of select="format-number(ChiffresSignificatifs/MontantTotalTransportScolaire,'###.###.##0,00','europe')"/><xsl:text> €</xsl:text> -->
+          </td>
+        </tr>
+
+      </table>
+
+    </div>
+
+    <div id="catouche">
+      <xsl:text>Editeur : </xsl:text>
+      <xsl:value-of select="entete/suiviepar/direction"/>
+      <br/>
+      <xsl:text>Contact : </xsl:text>
+      <xsl:value-of select="entete/suiviepar/nomprenom"/>
+      <xsl:text> Tél : </xsl:text>
+      <xsl:value-of select="entete/suiviepar/tel"/>
+      <br/>
+      <xsl:text>Crédit photo : </xsl:text>
+      <xsl:value-of select="entete/suiviepar/photo"/>
+      <br/>
+      <xsl:text>Mise à jour :</xsl:text>
+      <xsl:value-of select="entete/suiviepar/maj"/>
+    </div>
+  </xsl:template>
+
+  <xsl:template match="Etablissement/LstEffectif">
+    <img alt="Evolution des effectifs">
+      <xsl:attribute name="src">
+        vide.histo?l=600&amp;h=400&amp;f=-64&amp;nb=<xsl:value-of select="count(Effectif)"></xsl:value-of>
+        <xsl:for-each select="Effectif">
+          <xsl:if test="TypeEffectif='R'">
+            &amp;v<xsl:value-of select ="position()"></xsl:value-of>=<xsl:value-of select="EffectifTotal"/>&amp;c<xsl:value-of select ="position()"></xsl:value-of>=-16776961&amp;t<xsl:value-of select ="position()"></xsl:value-of>=<xsl:value-of select="Annee"/>
+          </xsl:if>
+
+          <xsl:if test="TypeEffectif='P'">
+            &amp;v<xsl:value-of select ="position()"></xsl:value-of>=<xsl:value-of select="EffectifTotal"/>&amp;c<xsl:value-of select ="position()"></xsl:value-of>=-65536&amp;t<xsl:value-of select ="position()"></xsl:value-of>=<xsl:value-of select="Annee"/>
+          </xsl:if>
+        </xsl:for-each>
+      </xsl:attribute>
+    </img>
+  </xsl:template>
+</xsl:stylesheet>

BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/xslt/Pilotes.xls