Browse Source

Merge branch 'develop'

julien.legrand 8 years ago
parent
commit
9e45c28d15

+ 0 - 16
Web/CG67.FicheCollege.Web/Default.aspx

@@ -9,22 +9,6 @@
     <title>Fiche de synthèse collège</title>
     <link href="css/fichecollege.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 id="Default">
     <form id="form1" runat="server">

+ 11 - 18
Web/CG67.FicheCollege.Web/FicheCollege.aspx

@@ -9,24 +9,18 @@
     <title>Fiche collège</title>
     <link href="css/fichecollege.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']);
+    
+    <!-- Appel à Universal Analytics -->
+    <script>
+      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+      })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
 
-        _gaq.push(['_setCustomVar',
-      1,                   // This custom var is set to slot #1.  Required parameter.
-      'Visitor',     // The name acts as a kind of category for the user activity.  Required parameter.
-      '<%=user%>',               // This value of the custom variable.  Required parameter.
-      2                    // Sets the scope to session-level.  Optional parameter.
-        ]);
-
-        (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);
-        })();
+      ga('create', 'UA-6108365-40', 'auto');
+      ga('send', 'pageview', {
+          'Visitor': '<%=user%>'
+      });
     </script>
 
     <style media="print">
@@ -43,7 +37,6 @@
     </asp:GridView>
     <asp:XmlDataSource ID="xmlDataSourceExcel" runat="server" TransformFile="~/xslt/FicheCollege.xslt">
     </asp:XmlDataSource>
-    <WebPartPages:AllowFraming run="server" />
     </form>
 </body>
 </html>

+ 4 - 23
Web/CG67.FicheCollege.Web/FicheCollege.aspx.cs

@@ -30,19 +30,11 @@ namespace CG67.FicheCollege
             //Intialisation des paramètres
             //l'année en cours est déclarée dans le fichier de configuration
             int annee = int.Parse(ConfigurationManager.AppSettings["AnneeEnCours"]);
-
             HttpContext.Current.Session["Annee"] = annee;
-
             HttpContext.Current.Session["AnneeMoins1"] = annee - 1;
-
-            HttpContext.Current.Session["RNE"] = Request["RNE"];
-            
+            HttpContext.Current.Session["RNE"] = Request["RNE"];           
             string domain = "DC=cg67,DC=fr";
-        
-            //string sUser = ConfigurationManager.AppSettings["USER-LDAP"];
-
-            //string sMdp = ConfigurationManager.AppSettings["MDP-LDAP"];
-            
+           
             using (var rootEntry = new DirectoryEntry("LDAP://CG67/" + domain, null, null, AuthenticationTypes.Secure))
             {
                 using (var directorySearcher = new DirectorySearcher(rootEntry, String.Format("(sAMAccountName={0})", HttpContext.Current.User.Identity.Name.Replace("CG67\\",""))))
@@ -52,26 +44,20 @@ namespace CG67.FicheCollege
                     {
                         using (var userEntry = searchResult.GetDirectoryEntry())
                         {
-                           string cnUser = userEntry.Properties["distinguishedName"].Value.ToString();
+                            string cnUser = userEntry.Properties["distinguishedName"].Value.ToString();
 
                             List<string> Groups = new List<string>();
-
                             Groups = cnUser.Split(new[] {"," } , StringSplitOptions.None).ToList();
 
                             var rx = new Regex("OU=[AEFGHIJKLMP]{1}\\-[A-Z]{3,5}", RegexOptions.IgnoreCase);
-
                             user = "AUTRE";
-                            
                             var mission = Groups.Where(x => rx.IsMatch(x)).FirstOrDefault();
 
-                           
-
                             if (!string.IsNullOrEmpty(mission)) user = mission.Replace("OU=","");
 
                             if (user == "P-CAB")
                             {
                                 var elu = Groups.Where(x => x.Contains("OU=P2-ELUS")).FirstOrDefault();
-
                                 if (!string.IsNullOrEmpty(elu)) user = elu.Replace("OU=", "");
                             }
                         }
@@ -86,22 +72,17 @@ namespace CG67.FicheCollege
             try
             {
                 //modif car si code rne null provoque une erreur
-
                 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);
-                //Response.Redirect("/");
             }
-
         }
     }
-}
+}

+ 1 - 6
Web/CG67.FicheCollege.Web/HttpHandlerHistogramme.cs

@@ -31,7 +31,6 @@ namespace CG67.FicheCollege
                 int CapaciteTheorique = Convert.ToInt32(context.Request["nbCt"]);
                 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"]);
 
@@ -69,12 +68,12 @@ namespace CG67.FicheCollege
                 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++)
                 {
@@ -99,7 +98,6 @@ namespace CG67.FicheCollege
                 SolidBrush styloVert = new SolidBrush(Color.Green);
                 g.DrawLine(greenPen, x1, y1, x2, y2);
                 g.DrawString(legendeMoyenne, police, styloVert, (float)(450), (float)(y1 - 80));
-                //g.DrawString(CapaciteTheorique, police, styloVert, (float)(450), (float)(y1 - 20));
                 context.Response.StatusCode = 209;
 
                 // Envoi de l'image dans le flux http de sortie
@@ -110,7 +108,6 @@ namespace CG67.FicheCollege
                 styloVert.Dispose();
                 graphique.Dispose();
                 g.Dispose();
-                
             }
             catch (Exception e)
             {
@@ -118,7 +115,5 @@ namespace CG67.FicheCollege
                 context.Response.Write(e.Message.ToString()); 
             }
         }
-
-
     }
 }

+ 3 - 0
Web/CG67.FicheCollege.Web/xml/Entete.xml

@@ -14,6 +14,9 @@
   <chiffresgeneraux>
     <annee>2016</annee>
     <nbATC>677</nbATC>
+    <nbCollegesPublics>91</nbCollegesPublics>
+    <nbCollegesPrives>13</nbCollegesPrives>
+    <nbRepasServisAnnuel>2 228 498</nbRepasServisAnnuel>
     <nbRepasAnnuel>3 500 000</nbRepasAnnuel>
     <surfaceBatiments>526 440 m²</surfaceBatiments>
     <surfaceExterieur>1 058 310 m2</surfaceExterieur>

+ 23 - 330
Web/CG67.FicheCollege.Web/xslt/FicheCollege.xslt

@@ -11,12 +11,10 @@
       <div id="header_fiche">
         <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>
@@ -44,7 +42,6 @@
         </div>
       </div>
 
-
       <div id="photo">
         <xsl:if test ="Etablissement/LienPhoto !=''">
           <img id="photo_college" alt="Photo du collège"  width="500px">
@@ -55,11 +52,6 @@
         </xsl:if>
       </div>
 
-
-
-
-
-
       <div id="info_fiche">
         <h2>1. Fiche d'identité du collège</h2>
         <table>
@@ -82,10 +74,7 @@
                   <col class="public"></col>
                 </colgroup>
                 <tr>
-
                   <xsl:value-of select="Etablissement/TypeEtablissement"/>
-
-
                   <xsl:if test ="Etablissement/IsPrive='True'">
                     privé
                   </xsl:if>
@@ -98,15 +87,11 @@
                   <xsl:if test ="Etablissement/DispositifEtablissement='3'">
                     REP+
                   </xsl:if>
-
                 </tr>
               </table>
             </td>
           </tr>
 
-
-
-
           <table>
             <colgroup>
               <col class="libelle"></col>
@@ -147,9 +132,7 @@
                   </br>
                 </xsl:if>
                 <xsl:if test ="Etablissement/PrincipalAdjoint=''">
-
                 </xsl:if>
-                
               </td>
             </tr>
             <tr>
@@ -164,7 +147,6 @@
                 </br>
               </td>
             </tr>
-
             <xsl:if test ="Etablissement/Gestionnaire2!=''">
               <tr>
                 <td class="td_head">Gestionnaire 2</td>
@@ -179,7 +161,6 @@
                 </td>
               </tr>
             </xsl:if>
-              
             <tr>
               <td class="td_head">Conseillers Départementaux siégeant au CA </td>
               <td>
@@ -196,47 +177,9 @@
                 <xsl:if test ="Etablissement/ConseillerGeneralSuppleant=''">
                  <!--  Vacant -->
                 </xsl:if>
-                <!--  <xsl:if test="count(Etablissement/LstCanton/Canton[Fonction = '6']) =0">
-					  Vacant
-				  </xsl:if>
-				  <xsl:if test="count(Etablissement/LstCanton/Canton[Fonction = '6']) >0">
-					  <xsl:for-each select="Etablissement/LstCanton/Canton[Fonction = '6']">
-						   <xsl:value-of select="Civilite"/>
-						  <xsl:text> </xsl:text>
-						  <xsl:value-of select="PrenomConseiller"/>
-						  <xsl:text> </xsl:text>
-						  <xsl:value-of select="NomConseiller"/>
-						  <xsl:text> - </xsl:text>
-				  </xsl:for-each>
-				  </xsl:if>  -->
 	          </td>
             </tr>
-			  <!--                   <tr>
-     <td class="td_head">Conseillers Départementaux suppléants</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> 
-				  <xsl:if test="count(Etablissement/LstCanton/Canton[Fonction = '91']) =0">
-					  Vacant
-				  </xsl:if>
-				  <xsl:if test="count(Etablissement/LstCanton/Canton[Fonction = '91']) >0">
-					  <xsl:for-each select="Etablissement/LstCanton/Canton[Fonction = '91']">
-						  <xsl:value-of select="Civilite"/>
-						  <xsl:text> </xsl:text>
-						  <xsl:value-of select="PrenomConseiller"/>
-						  <xsl:text> </xsl:text>
-						  <xsl:value-of select="NomConseiller"/>
-						  <xsl:text> - </xsl:text>
-					  </xsl:for-each>
-				  </xsl:if>
-			  </td>
-            </tr>
-			  -->
-		  </table>
+		      </table>
           <table>
             <colgroup>
               <col class="libelle"></col>
@@ -311,7 +254,6 @@
                   </table>
                 </td>
               </xsl:if>
-
             </tr>
             <tr>
               <td class="td_head">dont effectif bilingue</td>
@@ -353,8 +295,8 @@
                 </xsl:if>
               </td>
             </tr>
-
           </table>
+          
           <tr>
             <h2>2. Restauration</h2>
             <td>
@@ -366,7 +308,6 @@
                 <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>
@@ -469,14 +410,6 @@
               <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>
@@ -496,17 +429,6 @@
               </xsl:if>
             </td>
           </tr>
-          <!--<tr>
-            <td class="td_head">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 class="td_head">Accessibilité</td>
             <td>
@@ -587,14 +509,9 @@
               <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}">-->
-                <!--<a href="/FichiersPPM/{Fichier}"> -->
                   <a href="/FichiersPPM/{Fichier}">
                   lien
                 </a>
@@ -604,71 +521,6 @@
             <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/>
@@ -691,7 +543,6 @@
               <xsl:value-of select="Etablissement/PhraseSecteurRecrutement"/>
             </td>
           </tr>
-
           <tr>
             <td class="td_head">Prévisions sur les 5 prochaines années</td>
             <td>
@@ -712,7 +563,6 @@
                 <h3 id="TitreGraph">
                   <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>
@@ -726,7 +576,6 @@
           </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"/>
@@ -740,20 +589,6 @@
             <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>
@@ -833,15 +668,11 @@
                     <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">
@@ -882,12 +713,10 @@
               </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>
@@ -924,49 +753,11 @@
                   </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">
@@ -975,23 +766,12 @@
               <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">
@@ -1004,7 +784,6 @@
                   <xsl:value-of select="FichePoste"/>
                 </td>
               </tr>
-
             </xsl:for-each>
           </table>
         </xsl:if>
@@ -1031,32 +810,19 @@
           </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">
@@ -1069,15 +835,9 @@
                   <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>
@@ -1117,12 +877,9 @@
                   <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">
@@ -1141,18 +898,6 @@
             </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>
@@ -1222,12 +967,6 @@
               </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>
@@ -1272,34 +1011,6 @@
           </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>
@@ -1313,31 +1024,31 @@
               </td>
               <td>
                 <xsl:value-of select="Participe"/>
-               <!--  <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>
+        <h2>9. Quelques indicateurs d’activité du SC</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 class="td_head">Nombre total d’agents techniques 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 servis par an</td>
+            <td>
+              <xsl:value-of select="entete/chiffresgeneraux/nbRepasServisAnnuel"/>
+            </td>
+          </tr>
           <tr>
             <td class="td_head">Nombre total de repas produits par an</td>
             <td>
@@ -1366,15 +1077,18 @@
             <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 de collèges publics</td>
+            <td>
+              <xsl:value-of select="entete/chiffresgeneraux/nbCollegesPublics"/>
+            </td>
+          </tr>
+          <tr>
+            <td class="td_head">Nombre de collèges privés</td>
+            <td>
+              <xsl:value-of select="entete/chiffresgeneraux/nbCollegesPrives"/>
+            </td>
+          </tr>
           <tr>
             <td class="td_head">Nombre total d'élèves</td>
             <td>
@@ -1385,31 +1099,16 @@
           <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, pour écoles, collèges et lycées)</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">
@@ -1435,21 +1134,15 @@
     <xsl:variable name="capacitetheorique" select ="/college/Etablissement/EffectifTheorique" />
       <xsl:attribute name="src">
 		   vide.histo?nbCt=<xsl:value-of select="$capacitetheorique"/>&amp;l=600&amp;h=400&amp;f=-64&amp;nb=<xsl:value-of select="count(Effectif)"></xsl:value-of>  
-		   <!--  vide.histo?nbCt=400&amp;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>
-