Просмотр исходного кода

CHG Nettoyage du code obsolète (fiche v1 et download handler)

julien.legrand 9 лет назад
Родитель
Сommit
685bb6414f

+ 1 - 17
Web/CG67.FicheCollege.Web/CG67.FicheCollege.Web.csproj

@@ -70,18 +70,14 @@
   </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\bandeau-fiche-college.png" />
     <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\EcoleEuropenne_0673079H.JPG" />
     <Content Include="photo\Mundolsheim_0672013Z.jpg" />
     <Content Include="photo\Rosheim_0671913R.jpg" />
@@ -108,9 +104,6 @@
     <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">
@@ -121,20 +114,12 @@
       <DependentUpon>Default.aspx</DependentUpon>
     </Compile>
     <Compile Include="FicheCollege.aspx.cs">
-      <SubType>ASPXCodeBehind</SubType>
       <DependentUpon>FicheCollege.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
     </Compile>
     <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>
       <DependentUpon>GenerationFiche.aspx</DependentUpon>
@@ -144,7 +129,6 @@
     </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">

+ 1 - 1
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("FicheCollegev2.aspx");
+            Server.Transfer("FicheCollege.aspx");
         }
     }
 }

+ 24 - 17
Web/CG67.FicheCollege.Web/FicheCollege.aspx

@@ -1,30 +1,37 @@
-<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FicheCollege.aspx.cs" Inherits="CG67.FicheCollege.FicheCollege" %>
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FicheCollege.aspx.cs"
+    Inherits="CG67.FicheCollege.FicheCollege" %>
 
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" >
+<!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/fichecollege.css" rel="stylesheet" type="text/css" />    
+    <link href="css/fichecollege.css" rel="stylesheet" type="text/css" />
     <link href="css/Print.css" rel="stylesheet" type="text/css" />
-     <script type="text/javascript">
+    <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);
-  })();
+        _gaq.push(['_setAccount', 'UA-6108365-9']);
+        _gaq.push(['_setDomainName', '.cg67.fr']);
+        _gaq.push(['_trackPageview']);
 
-</script>
+        (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/FicheCollege.xslt"></asp:Xml></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>

+ 36 - 12
Web/CG67.FicheCollege.Web/FicheCollege.aspx.cs

@@ -1,7 +1,9 @@
 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;
@@ -10,26 +12,48 @@ 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 FicheCollege : System.Web.UI.Page
     {
         protected void Page_Load(object sender, EventArgs e)
         {
-            if (!this.IsPostBack)
+            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
             {
-                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;
-                
-                this.Xml1.DocumentContent = xmlFicheCollege.OuterXml ;
-                
                 this.DataBind();
             }
+            catch (NullReferenceException nre)
+            {
+                Console.WriteLine("Erreur de pointeur : null", nre.Message);
+            }
+
         }
     }
-}
+}

+ 18 - 0
Web/CG67.FicheCollege.Web/FicheCollege.aspx.designer.cs

@@ -29,5 +29,23 @@ namespace CG67.FicheCollege {
         /// 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;
     }
 }

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

@@ -1,37 +0,0 @@
-<%@ 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>

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

@@ -1,59 +0,0 @@
-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);
-            }
-
-        }
-    }
-}

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

@@ -1,51 +0,0 @@
-//------------------------------------------------------------------------------
-// <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;
-    }
-}

+ 0 - 100
Web/CG67.FicheCollege.Web/FileDownloadHandler.cs

@@ -1,100 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Configuration;
-using System.Web;
-using CG67.FicheCollege.Domaine;
-using CG67.FicheCollege.Tools;
-using System.IO;
-using System.Security.Principal;
-
-namespace CG67.FicheCollege
-{
-    /// <summary>
-    /// Gestionnaire de téléchargement de fichier avec impersonification
-    /// </summary>
-    public class FileDownloadHandler : IHttpHandler
-    {
-        #region IHttpHandler Membres
-
-        public bool IsReusable
-        {
-            get { return true; }
-        }
-
-        /// <summary>
-        /// Traite la requête HTTP
-        /// </summary>
-        /// <param name="context">Le contexte HTTP</param>
-        public void ProcessRequest(HttpContext context)
-        {
-
-          //  context.Response.Write("hello");
-            IntPtr token = IntPtr.Zero;
-            WindowsImpersonationContext impersonatedUser = null;
-
-
-           
-            //On crée un jeton avec l'utilisateur devant accèder à la liste des fichiers
-            bool result = Impersonation.LogonUser(ConfigurationManager.AppSettings["ImpersonationUser"], ConfigurationManager.AppSettings["ImpersonationDomain"],
-                        ConfigurationManager.AppSettings["ImpersonationPassword"],
-                        LogonSessionType.Interactive,
-                        LogonProvider.Default,
-                        out token);
-
-            //Si le jeton est récupéré
-            if (result)
-            {
-                //On récupère l'identité Windows
-                WindowsIdentity id = new WindowsIdentity(token);
-
-                //On change d'identité
-                impersonatedUser = id.Impersonate();
-                //On construit le chemin et le FileInfo vers le fichier à télécharger
-
-              //  string filePath = Path.Combine(ConfigurationManager.AppSettings["FileRepository"], context.Request.QueryString["file"]);
-           // string filePath = Path.Combine(ConfigurationManager.AppSettings["FileRepository"], context.Request.QueryString["file"]);
-           //   FileInfo file = new FileInfo(filePath);
-
-                FileInfo file = new FileInfo(ConfigurationManager.AppSettings["FileRepository"] + context.Request.QueryString["file"]);
-
-
-                //Si le fichier existe
-                // if (File.Exists(filePath))
-                  if (File.Exists(file.FullName))
-                {
-                    context.Response.ClearContent();
-                    //Préparation des headers HTTP pour le téléchargement
-                    context.Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
-                    context.Response.AddHeader("Content-Length", file.Length.ToString());
-                    string fileExtension = Path.GetExtension(file.Name).ToLower();
-
-                    //On passe le bon Mime Type
-                    switch (fileExtension)
-                    {
-                        case "xls":
-                            context.Response.ContentType = "application/vnd.ms-excel";
-                            break;
-                        case "xlsx":
-                            context.Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
-                            break;
-                        default:
-                            break;
-                    }
-                    //On transmet le fichier pour téléchargement
-                    context.Response.TransmitFile(file.FullName);
-                    context.Response.End();
-                }
-            }
-
-            // Finalement on termine le changement d'identité
-            if (impersonatedUser != null)
-                impersonatedUser.Undo();
-            // On supprime le jeton
-            if (token != IntPtr.Zero)
-                Impersonation.CloseHandle(token);
-            
-        }
-
-        #endregion
-    }
-}

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

@@ -1,21 +0,0 @@
-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);
-        
-        }
-    }

+ 424 - 299
Web/CG67.FicheCollege.Web/css/fichecollege.css

@@ -1,329 +1,454 @@
+
+@media screen
+{
+    body
+    {
+        font-size: smaller;
+        font-family: Verdana;
+        background-color: #FFFFFF;
+        min-width: 810px;      
+    }
 
-@media screen {
-body
-{
-	font-size: smaller;
-	font-family: Verdana;
+    body#Default
+    {
+        font-size: smaller;
+        font-family: Verdana;
+        background-color: #FFFFFF;
+    }
 
-}
+    #conteneur
+    {
+        width: 100%;
+        overflow: hidden;
+        margin: auto;
+    }
 
-}
+    #info_fiche
+    {
+        margin-top: 5px;
+        height: auto;
+        float: left;
+    }
 
-#conteneur
-{
-	margin-left:10px;
-}
+    #header_index
+    {
+        background-image: url('../images/cg67.jpg');
+        height: 180px;
+        background-size: 100% auto;
+        background-position: 0% 50%;
+        background-repeat: no-repeat;
+    }
 
-.libellerestruct
-{
-		width:300px;	
-}
-.libelle
-{
-	width:350px;	
-}
+    #header_fiche
+    {
+        float: left;
+        clear: left;
+        margin-left: 50px;
+        margin-top: 30px;
+        width: 43%;
+    }
 
-.infoAction
-{
-	width:250px;	
-}
-   
+    #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: 150px;
+        position: relative;
+        margin-left: 20px;
+        width: auto;
+        float: left;
+    }
 
-.nbClasse
-{
-	width: 150px;
-}
-.nbEleve
-{
-	width: 150px;
-}
+    img#logo
+    {
+        height: 150px;
+        position: relative;
+        margin-left: 20px;
+        width: auto;
+        float: left;
+    }
 
-.typeCollege
-{
-	width: 10px;
-}
-.public
-{
-	width: 50px;
-	text-align:left;
-}
-.titre
-{
-	width: 90px;
-}
+    p#entete_fiche
+    {
+        width: auto;
+        float: left;
+    }
 
-.valeur
-{
-	width: 300px;
-}
-.libInv
-{
-	width: 120px;
-}
+    #coordonnees_college
+    {
+    }
 
-.totaleffectif
-{
-  	width: 20px;
+    #photo_college
+    {
+        border-radius: 10px;
+        -moz-border-radius: 10px;
+        -webkit-border-radius: 10px;
+        /*width: 45%;*/
+        
+    }
 
-	
-}
-.espacevide
-{
-	width: 50px;
-	
-}
+    #photo
+    {
+        padding: 10px;
+    }
 
-.colonnevide
-{
-	width: 250px;
-	
-}
-.nombre
-{
-	width: 50px;
-	
-}
-.classe
-{
- 
-	width: 20px;
-}
+    /*img#photo
+    {
+        border-radius: 15px;
+        position: relative;
+        top: 15px;
+    }*/
 
-.vide
-{
- 	width: 100px;
-}
+    .libellerestruct
+    {
+        width: 300px;
+    }
+    .libelle
+    {
+        width: 350px;
+    }
 
+    .infoAction
+    {
+        width: 250px;
+    }
 
-.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;
 
-}
+    .nbClasse
+    {
+        width: 150px;
+    }
+    .nbEleve
+    {
+        width: 150px;
+    }
 
-#graphique
-{
-	text-align: center;
-}
+    .typeCollege
+    {
+        width: 10px;
+    }
+    .public
+    {
+        width: 50px;
+        text-align: left;
+    }
+    .titre
+    {
+        width: 90px;
+    }
 
-.typedotation
-{
-	width: 160px;
-	
-}
-.mtn
-{
-	width:80px;
-	
-	
-}
+    .valeur
+    {
+        width: 300px;
+    }
+    .libInv
+    {
+        width: 120px;
+    }
 
-.mtn1
-{
-	width:80px;
-	
-	 	
-}
-.ecart
-{
-	width:80px;
-	
-	 	
-}
-.bordure
-{
-	border-right: #1683CC 1px solid;
-	border-top: #1683CC 1px solid;
-	border-left: #1683CC 1px solid;
-	border-bottom: #1683CC 1px solid;
-}
+    .totaleffectif
+    {
+        width: 20px;
+    }
+    .espacevide
+    {
+        width: 50px;
+    }
 
-.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; 	
-}
+    .colonnevide
+    {
+        width: 250px;
+    }
+    .nombre
+    {
+        width: 50px;
+    }
+    .classe
+    {
+        width: 20px;
+    }
 
-.travmontant
-{
-	 width:80px;
+    .vide
+    {
+        width: 100px;
+    }
 
-}
-.travstatus
-{
-	width:100px;
-}
-.travimprevu
-{
-	width:80px;
-}
-.filiere
-{
-	width:150px;
-	
-}
-.effectif
-{
-	width:120px;
-	
-}
-#TitreGraph
-{
-	 margin-left:200px;
-	 width:800px;
-	 text-align:center;
-}
-h2
-{
-	background-color: #1683CC;
-}
-table
-{
-    width :100%;
-	table-layout: fixed;
-	border-collapse: collapse;
-}
-td
-{
-	border-right: #1683CC 1px solid;
-	border-top: #1683CC 1px solid;
-	border-left: #1683CC 1px solid;
-	border-bottom: #1683CC 1px solid;
-}
 
-#catouche
-{
-	margin-top: 10px;
-	font-size: smaller;
-	font-family: Arial;
-}
-#listeagentscg
-{
-	width:100%;
-}
-#listeagentsaide
-{
-	width:100%;
-}
-.Zone
-{
-	width:200px;
-}
-.Nb_Eleves
-{
-	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;
+    }
 
-.Montant_Subvention
-{
-	width:125px;
+    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;
+    }
+    h3#TitreGraph
+    {
+        margin: auto;
+    }
+    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
+    {   
+        font-size: smaller;
+        font-family: Arial; /*float: left;*/
+        bottom: 0px;
+        width: 100%;
+        background-color: White;
+    }
+    #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;
+    }
 
-.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;
-}

+ 0 - 454
Web/CG67.FicheCollege.Web/css/fichecollegev2.css

@@ -1,454 +0,0 @@
-
-@media screen
-{
-    body
-    {
-        font-size: smaller;
-        font-family: Verdana;
-        background-color: #FFFFFF;
-        min-width: 810px;      
-    }
-
-    body#Default
-    {
-        font-size: smaller;
-        font-family: Verdana;
-        background-color: #FFFFFF;
-    }
-
-    #conteneur
-    {
-        width: 100%;
-        overflow: hidden;
-        margin: auto;
-    }
-
-    #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: 150px;
-        position: relative;
-        margin-left: 20px;
-        width: auto;
-        float: left;
-    }
-
-    img#logo
-    {
-        height: 150px;
-        position: relative;
-        margin-left: 20px;
-        width: auto;
-        float: left;
-    }
-
-    p#entete_fiche
-    {
-        width: auto;
-        float: left;
-    }
-
-    #coordonnees_college
-    {
-    }
-
-    #photo_college
-    {
-        border-radius: 10px;
-        -moz-border-radius: 10px;
-        -webkit-border-radius: 10px;
-        /*width: 45%;*/
-        
-    }
-
-    #photo
-    {
-        padding: 10px;
-    }
-
-    /*img#photo
-    {
-        border-radius: 15px;
-        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;
-    }
-    h3#TitreGraph
-    {
-        margin: auto;
-    }
-    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
-    {   
-        font-size: smaller;
-        font-family: Arial; /*float: left;*/
-        bottom: 0px;
-        width: 100%;
-        background-color: White;
-    }
-    #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
Web/CG67.FicheCollege.Web/logoCG67.gif


+ 0 - 1357
Web/CG67.FicheCollege.Web/xslt/FicheCollege.xslt

@@ -1,1357 +0,0 @@
-<?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">
-      <div>
-        <img src="images/logocg67N.gif" alt="Logo du CG67"></img>
-      </div>
-      <h1>
-        <xsl:value-of select="Etablissement/NomCollegePourPresentation"/>
-      </h1>
-      <xsl:if test ="Etablissement/LienPhoto !=''">
-        <img id="photo" alt="Photo du collège"  width="500px">
-          <xsl:attribute name="src">
-            photo/<xsl:value-of select="Etablissement/LienPhoto"/>
-          </xsl:attribute>
-        </img>
-      </xsl:if>
-
-      <h2>1. Fiche d'identité du collège</h2>
-      <table>
-        <colgroup>
-          <col class="libelle"></col>
-          <col class="information"></col>
-        </colgroup>
-        <tr>
-          <td>Code RNE du collège</td>
-          <td>
-            <xsl:value-of select="Etablissement/CodeRNE"/>
-          </td>
-        </tr>
-        <tr>
-          <td>Type d'établissement</td>
-          <td>
-            <table>
-              <colgroup>
-                <col class="typeCollege"></col>
-                <col class="public"></col>
-              </colgroup>
-              <tr>
-                <td class="sansbordure">
-                  <xsl:value-of select="Etablissement/TypeEtablissement"/>
-                </td>
-                <td class="sansbordure">
-                  <xsl:if test ="Etablissement/IsPrive='True'">
-                    Privé
-                  </xsl:if>
-                  <xsl:if test ="Etablissement/IsPrive='False'">
-                    Public
-                  </xsl:if>
-                </td>
-
-              </tr>
-            </table>
-          </td>
-        </tr>
-
-        <tr>
-          <td>Coordonnées du collège</td>
-          <td>
-            <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>Tel </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>
-          </td>
-        </tr>
-        <table>
-          <colgroup>
-            <col class="libelle"></col>
-            <col class="information"></col>
-          </colgroup>
-          <tr>
-            <td>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>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>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>Gestionnaire par interim</td>
-              <td>
-                <xsl:value-of select="Etablissement/GestionnaireInterim"></xsl:value-of>
-              </td>
-
-            </xsl:if>
-          </tr>
-          <tr>
-            <td>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>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>
-              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>
-              Référent PEP
-            </td>
-            <td>
-              <xsl:value-of select="Etablissement/MCG/NomReferentPEP"/>
-              <xsl:text> </xsl:text>
-              <xsl:value-of select="Etablissement/MCG/PrenomReferentPEP"/>
-            </td>
-          </tr>
-          <tr>
-            <td>
-              Canton de rattachement
-            </td>
-            <td>
-              <xsl:value-of select="Etablissement/Canton"/>
-
-            </td>
-          </tr>
-          <tr>
-            <td>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>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>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>Nombre moyen de repas par jour</td>
-                <td>      </td>
-              </xsl:if>
-              <xsl:if test ="Etablissement/Restauration/NbrRepas > 0">
-                <tr>
-                  <td>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>Production</td>
-                  <td>Oui</td>
-                </tr>
-              </xsl:if>
-              <xsl:if test ="Etablissement/Restauration/Production='False'">
-                <tr>
-                  <td>Production</td>
-                  <td>Non</td>
-                </tr>
-              </xsl:if>
-              <xsl:if test ="Etablissement/Restauration/DélégationSP != ''">
-                <tr>
-                  <td>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>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>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>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>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>Propriétaire</td>
-          <td>
-            <xsl:value-of select="Etablissement/NomProprietaire"/>
-          </td>
-        </tr>
-        <tr>
-          <td>Année de construction</td>
-          <td>
-            <xsl:value-of select="Etablissement/AnneeConstruction"/>
-          </td>
-        </tr>
-        <tr>
-          <td>Année de restructuration lourde</td>
-          <td>
-            <xsl:value-of select="Etablissement/PhraseRestructuration"/>
-          </td>
-        </tr>
-        <tr>
-          <td>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>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>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>Ascensseur</td>
-          <td>
-            <xsl:if test ="Etablissement/Ascenseur='True'">
-              Oui
-            </xsl:if>
-            <xsl:if test ="Etablissement/Ascenseur='False'">
-              Non
-            </xsl:if>
-          </td>
-		  </tr>
-		  <tr>
-			  <td>Accessibilité</td>
-			  <td>
-				  <xsl:if test ="Etablissement/Accessibilite=0">
-					  Pas d’accès
-				  </xsl:if>
-				  <xsl:if test ="Etablissement/Accessibilite=1">
-					  Accès complet
-				  </xsl:if>
-				  <xsl:if test ="Etablissement/Accessibilite=2">
-					  Accès partiel
-				  </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="bordurecentre">
-                  <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="bordurecentre">
-                  <xsl:value-of select="format-number(MontantOp,'###.###.##0','europe')"/>
-                </td>
-                <td class="bordurecentre">
-                  <xsl:value-of select="format-number(MontantCP,'###.###.##0','europe')"/>
-                </td>
-                <td class="bordurecentre">
-                  <xsl:value-of select="Status"/>
-                </td>
-                <td class="bordurecentre">
-                  <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">
-              <a href="file.download?file={Fichier}">
-                veuillez cliquer sur ce lien
-                <!--<xsl:value-of select="Fichier"/> -->
-
-
-              </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>Secteur de recrutement</td>
-          <td>
-            <xsl:value-of select="Etablissement/PhraseSecteurRecrutement"/>
-          </td>
-        </tr>
-
-        <tr>
-          <td>Prévisions sur les 5 prochaines années</td>
-          <td>
-            <xsl:value-of select="Etablissement/PhrasePrevision5Ans"></xsl:value-of>
-          </td>
-        </tr>
-        <tr>
-          <td>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>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="bordure">Type de dotation</th>
-                <th class="bordurecentre">
-                  <xsl:value-of select="Etablissement/Dotation[2]/Annee" />
-                </th>
-                <th class="bordurecentre">
-                  <xsl:value-of select="Etablissement/Dotation[1]/Annee" />
-                </th>
-                <th class="bordurecentre">Ecart</th>
-              </tr>
-              <tr>
-                <td class="bordure">Viabilisation</td>
-                <td class="borduredroite">
-                  <xsl:value-of select="format-number(Etablissement/Dotation[2]/Viabilisation,'###.###.##0','europe')" />
-                  <xsl:text> €</xsl:text>
-                </td>
-                <td class="borduredroite">
-                  <xsl:value-of select="format-number(Etablissement/Dotation[1]/Viabilisation,'###.###.##0','europe')" />
-                  <xsl:text> €</xsl:text>
-                </td>
-                <td class="borduredroite">
-                  <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="borduredroite">
-                  <xsl:value-of select="format-number(Etablissement/Dotation[2]/Entretien,'###.###.##0','europe')" />
-                  <xsl:text> €</xsl:text>
-                </td>
-                <td class="borduredroite">
-                  <xsl:value-of select="format-number(Etablissement/Dotation[1]/Entretien,'###.###.##0','europe')" />
-                  <xsl:text> €</xsl:text>
-                </td>
-                <td class="borduredroite">
-                  <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="borduredroite">
-                  <xsl:value-of select="format-number(Etablissement/Dotation[2]/AutresDepenses,'###.###.##0','europe')" />
-                  <xsl:text> €</xsl:text>
-                </td>
-                <td class="borduredroite">
-                  <xsl:value-of select="format-number(Etablissement/Dotation[1]/AutresDepenses,'###.###.##0','europe')" />
-                  <xsl:text> €</xsl:text>
-                </td>
-                <td class="borduredroite">
-                  <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="borduredroite">
-                  <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="borduredroite">
-                  <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="borduredroite">
-                  <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>
-              <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>
-              <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">Nom</th>
-            <th class="bordurecentre">Prénom</th>
-            <th class="bordurecentre">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>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">Nom</th>
-            <th class="bordurecentre">Prénom</th>
-            <th class="bordurecentre">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>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>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">ZONE</th>
-              <th class="bordurecentre">Nombre d'élèves</th>
-              <th class="bordurecentre">Montant subvention</th>
-
-              <xsl:for-each select="Etablissement/LstClasseDecouverte/ClasseDecouverte">
-                <tr>
-                  <td class="bordure">
-                    <xsl:value-of select="Libelle"/>
-                  </td>
-                  <td class="borduredroite">
-                    <xsl:value-of select="NbEleves"/>
-                  </td>
-                  <td class="borduredroite">
-                    <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>
-                  <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>
-                <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>
-                  <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>
-              <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>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>Nombre total de repas produits par an</td>
-          <td>
-            <xsl:value-of select="entete/chiffresgeneraux/nbRepasAnnuel"/>
-          </td>
-        </tr>
-        <tr>
-          <td>Surface totale des bâtiments</td>
-          <td>
-            <xsl:value-of select="entete/chiffresgeneraux/surfaceBatiments"/>
-          </td>
-        </tr>
-        <tr>
-          <td>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>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>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>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>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 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>
-    </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>

+ 0 - 4
Web/CG67.FicheCollege.Web/xslt/FicheCollegev2.xslt

@@ -711,10 +711,6 @@
                 <xsl:apply-templates select="Etablissement/LstEffectif">
                   <xsl:with-param name="capacitetheorique" select="Etablissement/EffectifTheorique" />
                 </xsl:apply-templates>
-                  
-                <!--      
-          <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>