Dominique.freyd 16 years ago
parent
commit
a156e682b3
41 changed files with 251 additions and 86 deletions
  1. 10 2
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Domaine/ATC.cs
  2. 31 3
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Domaine/Etablissement.cs
  3. 6 5
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotATC.cs
  4. 6 9
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotChiffresSignificatifs.cs
  5. 1 0
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotEtablissement.cs
  6. 1 1
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotProjetPilote.cs
  7. 32 0
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/CG67.FicheCollege.Web.csproj
  8. 20 5
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/css/fichecollege.css
  9. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0000536 ces mundo.jpg
  10. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0000994 ces sources saverne.jpg
  11. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0001349 college rosheim.jpg
  12. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0001988 ces sundhouse.jpg
  13. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0003234 ces wingen.jpg
  14. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0004596 ces eschau.jpg
  15. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005258 ces molsheim.jpg
  16. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005301 ces lamartine.jpg
  17. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005435 ces ingwiller.jpg
  18. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005469 ces duttlenheim.jpg
  19. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005492 ces lauterbourg.jpg
  20. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005494 ces soultz foret.jpg
  21. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0006635 ces marmoutier.jpg
  22. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0006672 ces marlenheim.jpg
  23. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0007588 ces truffaut.jpg
  24. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0008533 ces graffenstaden.jpg
  25. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0008741 ces hochfeden.jpg
  26. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0010788 ces poincarre¦ü saverne.jpg
  27. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/013034 college de vendenheim.jpg
  28. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/013189 college erasme.jpg
  29. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/014221 college de la wantzenau.jpg
  30. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/014393 college de wissembourg.jpg
  31. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/014918 ces hoerdt resto scolaire.jpg
  32. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/014979 ces soufflenheim.JPG
  33. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/031008_heiligenstein (4).JPG
  34. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/080409_Hans_Arp.JPG
  35. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/110309_Woerth (1).JPG
  36. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/260309_Bouxwiller (3).jpg
  37. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/Stras foch.jpg
  38. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/fév_2009_Mutzig (3).JPG
  39. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/hall(1)_jpg.jpg
  40. BIN
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/mars_2009_Stockfeld (3).JPG
  41. 144 61
      CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/xslt/FicheCollege.xslt

+ 10 - 2
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Domaine/ATC.cs

@@ -27,6 +27,9 @@ namespace CG67.FicheCollege.Domaine
         /// Nombre de jours de formations suivis par l'ATC
         /// </summary>
         private int mNbJoursFormation;
+
+        private bool mContratAide;
+
         #endregion
 
         #region méthodes
@@ -64,13 +67,18 @@ namespace CG67.FicheCollege.Domaine
         }
         #endregion
 
-        public ATC(double valeurETP, string nom, string prenom, string fonction, string typeContact, string categorie, string grade, int nbJoursFormation) : base(nom, prenom, fonction, typeContact)
+        public ATC(double valeurETP, string nom, string prenom, string fonction, string typeContact, string categorie, string grade, int nbJoursFormation,bool contratAide) : base(nom, prenom, fonction, typeContact)
         {
             this.mValeurETP = valeurETP;
             this.mCategorie = categorie;
             this.mGrade = grade;
             this.mNbJoursFormation = nbJoursFormation;
+            this.mContratAide = contratAide;     
+        }
+        public bool ContratAide
+        {
+            get { return mContratAide; }
+            set { mContratAide = value; }
         }
-
     }
 }

+ 31 - 3
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Domaine/Etablissement.cs

@@ -40,6 +40,7 @@ namespace CG67.FicheCollege.Domaine
         private dlgLoadProgTravaux LoaderProgTravaux;
         private dlgLoadProjetPilote LoaderProjetPilote;
         private dlgLoadRestauration LoaderRestauration;
+
         #endregion
 
         /// <summary>
@@ -183,6 +184,14 @@ namespace CG67.FicheCollege.Domaine
         /// nombre total de remplacements d'ATC
         /// </summary>
         private int mNbrRemplacementsATC;
+
+
+        private bool mIsRestautant;
+
+        private bool mIsInternat;
+
+        private int mEffectifTheorique;
+
         #endregion
 
         #region méthodes get/set
@@ -569,7 +578,7 @@ namespace CG67.FicheCollege.Domaine
                     if (effectif.TypeEffectif == "R")
                         nbrElevesReel = effectif.EffectifTotal;
                 
-                string retour = nbrElevesReel + " élèves (année scolaire en cours) ";
+                string retour = nbrElevesReel + " élèves";
                 
                 return retour;
             }
@@ -759,7 +768,8 @@ namespace CG67.FicheCollege.Domaine
                     if (adjoint.ValeurETP < 1)
                         nbr++;
                 if (nbr != 0)
-                    return LstATC.Count + " agents, dont " + nbr + " à temps partiel.";
+                    //return LstATC.Count + " agents , dont " + nbr + " à temps partiel.";
+                    return LstATC.Count + " agents.";
                 else
                     return LstATC.Count + " agents.";
             }
@@ -814,6 +824,21 @@ namespace CG67.FicheCollege.Domaine
                     return "Le remplacement de " + NbrRemplacementsATC + " à été assuré";
             }
         }
+        public bool IsRestaurant
+        {
+            get { return mIsRestautant; }
+            set { mIsRestautant = value; }
+        }
+        public bool IsInternat
+        {
+            get { return mIsInternat; }
+            set { mIsInternat = value; }
+        }
+        public int EffectifTheorique
+        {
+            get { return mEffectifTheorique; }
+            set { mEffectifTheorique = value; }
+        }
         #endregion
 
         #region Constructeurs
@@ -830,6 +855,7 @@ namespace CG67.FicheCollege.Domaine
             this.mVille = ville;
         }
         public Etablissement(string codeRNE, int annee, string nom, string typeEtablissement, int anneeConstruction, string telephone, string email, string fax, string nomProprietaire, string adresse, string complementAdresse, int codePostal, string ville, string lienPhoto, 
+                                bool isRestaurant,bool isInternat,int effectifTheorique,
                                 dlgLoadActionEducative loaderActionEducative, dlgLoadATC loaderATC, 
                                 dlgLoadBilinguisme loaderBilinguisme, 
                                 dlgLoadCommentaires loaderCommentaires,
@@ -856,7 +882,9 @@ namespace CG67.FicheCollege.Domaine
             this.mVille = ville;
             this.mCodePostal = codePostal;
             this.mLienPhoto = lienPhoto;
-
+            this.mIsRestautant = isRestaurant;
+            this.mIsInternat = isInternat;
+            this.mEffectifTheorique = effectifTheorique;
             this.LoaderActionEducative = loaderActionEducative;
             this.LoaderATC = loaderATC;
             this.LoaderBilinguisme = loaderBilinguisme;

+ 6 - 5
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotATC.cs

@@ -18,26 +18,27 @@ namespace CG67.FicheCollege.Entrepot
                 try
                 {
                     int nbJourFormation;
+                    double valeurETP;
                     connexion.Open();
                     using (SqlCommand command = connexion.CreateCommand())
                     {
                         //on récupère les ATC.
-                        command.CommandText = "Select ValeurETP, TypeContact, Nom, Prenom, Fonction, Fonction, Catégorie, Grade, Sum(NbJours) as NbJoursFormation from ATC INNER JOIN Contact ON (ATC.Id = Contact.Id) LEFT JOIN Formation_ATC ON (ATC.Id = Formation_ATC.IdATC) WHERE CodeRNE = @RNE GROUP BY ValeurETP, TypeContact, Nom, Prenom, Fonction, Fonction, Catégorie, Grade";
+                        command.CommandText = "Select ValeurETP, TypeContact, Nom, Prenom, Fonction, Fonction, Catégorie, Grade, Sum(NbJours) as NbJoursFormation,contratAide from ATC INNER JOIN Contact ON (ATC.Id = Contact.Id) LEFT JOIN Formation_ATC ON (ATC.Id = Formation_ATC.IdATC) WHERE CodeRNE = @RNE GROUP BY ValeurETP, TypeContact, Nom, Prenom, Fonction, Fonction, Catégorie, Grade,ContratAide order by nom,prenom";
                         command.Parameters.AddWithValue("@RNE", codeRNE);
                         using (SqlDataReader dr = command.ExecuteReader())
                         {
                             while (dr.Read())
                             {
                                 nbJourFormation = dr["NbJoursFormation"] == DBNull.Value ? 0 : Convert.ToInt32(dr["NbJoursFormation"].ToString());
-                                
-                                resultat.Add(new ATC(Convert.ToDouble(dr["ValeurETP"].ToString()), dr["Nom"].ToString(), dr["Prenom"].ToString(), dr["Fonction"].ToString(), dr["TypeContact"].ToString(), dr["Catégorie"].ToString(), dr["Grade"].ToString(), nbJourFormation ));
+                                valeurETP = dr["ValeurETP"] == DBNull.Value ? 0 : Convert.ToDouble(dr["ValeurETP"].ToString());
+                                resultat.Add(new ATC(valeurETP, dr["Nom"].ToString(), dr["Prenom"].ToString(), dr["Fonction"].ToString(), dr["TypeContact"].ToString(), dr["Catégorie"].ToString(), dr["Grade"].ToString(), nbJourFormation, dr.GetBoolean(dr.GetOrdinal("contratAide"))));
                             }
                         }
                     }
                 }
-                catch (Exception erreurInterne)
+                catch
                 {
-                    throw new Exception(" " + erreurInterne);
+                    throw;
                 }
                 finally
                 {

+ 6 - 9
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotChiffresSignificatifs.cs

@@ -45,16 +45,13 @@ namespace CG67.FicheCollege.Entrepot
                         //        resultat.MontantTotalFinancements += Convert.ToDouble(dr2["totalSubvention"].ToString());
                         //    }
                         //}
-                        command.CommandText = "SELECT sum(TotalEleves) as totalEleves FROM Effectif WHERE Effectif.Annee = @Annee";
+                        //command.CommandText = "SELECT sum(TotalEleves) as totalEleves FROM Effectif WHERE Effectif.Annee = @Annee";
+                        command.CommandText ="SELECT Sum(EffectifTotal.EffectifTotal) AS SommeDeEffectifTotal FROM EffectifTotal GROUP BY EffectifTotal.Annee HAVING (((EffectifTotal.Annee)=@Annee))";
+
                         sum = command.ExecuteScalar().ToString();
-                        resultat.NbTotalEleves = string.IsNullOrEmpty(sum) ? (Int16) 0 : Convert.ToInt16 (sum);
-                        //using (SqlDataReader dr3 = command.ExecuteReader())
-                        //{
-                        //    while (dr3.Read())
-                        //    {
-                        //        resultat.NbTotalEleves += Convert.ToInt16(dr3["totalEleves"].ToString());
-                        //    }
-                        //}
+                        resultat.NbTotalEleves = string.IsNullOrEmpty(sum) ? (Int32) 0 : Convert.ToInt32 (sum);
+                       
+
                         command.CommandText = "SELECT sum(Montant) as totalInvest FROM Investissement WHERE Investissement.Annee = @Annee";
                         sum = command.ExecuteScalar().ToString();
                         resultat.MontantTotalInvestissement = string.IsNullOrEmpty(sum) ? 0 : Convert.ToDouble (sum);

+ 1 - 0
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotEtablissement.cs

@@ -71,6 +71,7 @@ namespace CG67.FicheCollege.Entrepot
                                     dr["Telephone"].ToString(), dr["Email"].ToString(), dr["Fax"].ToString(),
                                     dr["NomPropriétaire"].ToString(), adresse, dr["ComplementAdresse"].ToString(),
                                     Convert.ToInt32(dr["CodePostal"].ToString()), dr["Ville"].ToString(), dr["LienPhoto"].ToString(),
+                                    dr.GetBoolean(dr.GetOrdinal("DemiPension")),  dr.GetBoolean(dr.GetOrdinal("Internat")),int.Parse(dr["CapaciteTheorique"].ToString()),
                                     EntrepotFactory.GetEntrepotActionEducative().GetByCodeRNEAndAnnee,
                                     EntrepotFactory.GetEntrepotATC().GetByCodeRNE,
                                     EntrepotFactory.GetEntrepotBilinguisme().GetByCodeRNEAndAnnee,

+ 1 - 1
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotProjetPilote.cs

@@ -20,7 +20,7 @@ namespace CG67.FicheCollege.Entrepot
                     connexion.Open();
                     using (SqlCommand command = connexion.CreateCommand())
                     {
-                        command.CommandText = "SELECT Libelle,participer from ProjetPilote INNER JOIN Etablissement_ProjetPilote ON (ProjetPilote.Id = Etablissement_ProjetPilote.IdProjetPilote) WHERE CodeRNE = @RNE AND Participer = 'True' AND Annee = @Annee";
+                        command.CommandText = "SELECT Libelle,participer from ProjetPilote INNER JOIN Etablissement_ProjetPilote ON (ProjetPilote.Id = Etablissement_ProjetPilote.IdProjetPilote) WHERE CodeRNE = @RNE  AND Annee = @Annee";
 //                        command.CommandText = "SELECT Libelle from ProjetPilote INNER JOIN Etablissement_ProjetPilote ON (ProjetPilote.Id = Etablissement_ProjetPilote.IdProjetPilote) WHERE CodeRNE = @RNE AND Annee = @Annee";
                         command.Parameters.AddWithValue("@RNE", codeRNE);
                         command.Parameters.AddWithValue("@Annee", annee);

+ 32 - 0
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/CG67.FicheCollege.Web.csproj

@@ -50,6 +50,38 @@
     <Content Include="FicheCollege.aspx" />
     <Content Include="GenerationFiche.aspx" />
     <Content Include="images\logoCG67.gif" />
+    <Content Include="photo\0000536 ces mundo.jpg" />
+    <Content Include="photo\0000994 ces sources saverne.jpg" />
+    <Content Include="photo\0001349 college rosheim.jpg" />
+    <Content Include="photo\0001988 ces sundhouse.jpg" />
+    <Content Include="photo\0003234 ces wingen.jpg" />
+    <Content Include="photo\0004596 ces eschau.jpg" />
+    <Content Include="photo\0005258 ces molsheim.jpg" />
+    <Content Include="photo\0005301 ces lamartine.jpg" />
+    <Content Include="photo\0005435 ces ingwiller.jpg" />
+    <Content Include="photo\0005469 ces duttlenheim.jpg" />
+    <Content Include="photo\0005492 ces lauterbourg.jpg" />
+    <Content Include="photo\0005494 ces soultz foret.jpg" />
+    <Content Include="photo\0006635 ces marmoutier.jpg" />
+    <Content Include="photo\0006672 ces marlenheim.jpg" />
+    <Content Include="photo\0007588 ces truffaut.jpg" />
+    <Content Include="photo\0008533 ces graffenstaden.jpg" />
+    <Content Include="photo\0008741 ces hochfeden.jpg" />
+    <Content Include="photo\0010788 ces poincarre¦ü saverne.jpg" />
+    <Content Include="photo\013034 college de vendenheim.jpg" />
+    <Content Include="photo\013189 college erasme.jpg" />
+    <Content Include="photo\014221 college de la wantzenau.jpg" />
+    <Content Include="photo\014393 college de wissembourg.jpg" />
+    <Content Include="photo\014918 ces hoerdt resto scolaire.jpg" />
+    <Content Include="photo\014979 ces soufflenheim.JPG" />
+    <Content Include="photo\031008_heiligenstein %284%29.JPG" />
+    <Content Include="photo\080409_Hans_Arp.JPG" />
+    <Content Include="photo\110309_Woerth %281%29.JPG" />
+    <Content Include="photo\260309_Bouxwiller %283%29.jpg" />
+    <Content Include="photo\fév_2009_Mutzig %283%29.JPG" />
+    <Content Include="photo\hall%281%29_jpg.jpg" />
+    <Content Include="photo\mars_2009_Stockfeld %283%29.JPG" />
+    <Content Include="photo\Stras foch.jpg" />
     <Content Include="photo\untitled.bmp" />
     <Content Include="Web.config" />
     <Content Include="xml\Entete.xml" />

+ 20 - 5
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/css/fichecollege.css

@@ -46,7 +46,14 @@ body
 	border-left: gray thin solid;
 	border-bottom: gray thin solid;
 }
-
+.bordurecentre
+{
+	border-right: gray thin solid;
+	border-top: gray thin solid;
+	border-left: gray thin solid;
+	border-bottom: gray thin solid;
+	text-align:center;
+}
 #travaux
 {
 	table-layout: fixed;
@@ -78,10 +85,10 @@ table
 }
 td
 {
-	border-right: #ffd700 thin solid;
-	border-top: #ffd700 thin solid;
-	border-left: #ffd700 thin solid;
-	border-bottom: #ffd700 thin solid;
+	border-right: #ffd700 1px solid;
+	border-top: #ffd700 1px solid;
+	border-left: #ffd700 1px solid;
+	border-bottom: #ffd700 1px solid;
 }
 
 #catouche
@@ -89,4 +96,12 @@ td
 	margin-top: 10px;
 	font-size: smaller;
 	font-family: Arial;
+}
+#listeagentscg
+{
+	width:100%;
+}
+#listeagentsaide
+{
+	width:100%;
 }

BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0000536 ces mundo.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0000994 ces sources saverne.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0001349 college rosheim.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0001988 ces sundhouse.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0003234 ces wingen.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0004596 ces eschau.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005258 ces molsheim.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005301 ces lamartine.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005435 ces ingwiller.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005469 ces duttlenheim.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005492 ces lauterbourg.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0005494 ces soultz foret.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0006635 ces marmoutier.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0006672 ces marlenheim.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0007588 ces truffaut.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0008533 ces graffenstaden.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0008741 ces hochfeden.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/0010788 ces poincarre¦ü saverne.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/013034 college de vendenheim.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/013189 college erasme.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/014221 college de la wantzenau.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/014393 college de wissembourg.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/014918 ces hoerdt resto scolaire.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/014979 ces soufflenheim.JPG


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/031008_heiligenstein (4).JPG


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/080409_Hans_Arp.JPG


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/110309_Woerth (1).JPG


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/260309_Bouxwiller (3).jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/Stras foch.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/fév_2009_Mutzig (3).JPG


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/hall(1)_jpg.jpg


BIN
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/photo/mars_2009_Stockfeld (3).JPG


+ 144 - 61
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/xslt/FicheCollege.xslt

@@ -1,16 +1,17 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-  <xsl:output method="html"   />
+  <xsl:decimal-format name="europe" decimal-separator=',' grouping-separator='.' />  
+  <xsl:output method="xml" encoding="UTF-8"   />
   <xsl:template match="college">
     <div id="conteneur">
       <div>
-        <img src="images/logocg67.gif"></img>
+        <img src="images/logocg67.gif" alt="Logo du CG67"></img>
       </div>
     <h1>
       <xsl:value-of select="Etablissement/NomCollegePourPresentation"/>      
     </h1>
       <xsl:if test ="Etablissement/LienPhoto !=''">
-      <img id="photo">
+      <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>
@@ -118,30 +119,42 @@
         </td>
       </tr>
       <tr>
-        <td>MCG de rattachement et<BR/>directeur de la MCG
+        <td>MCG de rattachement et<br/>délégué de la MCG
       </td>
         <td>
           <xsl:value-of select="Etablissement/MCG/Ville"/>
-          <BR/><xsl:value-of select="Etablissement/MCG/NomPresident"/><xsl:text> </xsl:text>
+          <br/><xsl:value-of select="Etablissement/MCG/NomPresident"/><xsl:text> </xsl:text>
           <xsl:value-of select="Etablissement/MCG/PrenomPresident"/>
         </td>
       </tr>
       <tr>
         <td>Effectifs</td>
         <td>
-          <xsl:value-of select ="Etablissement/Effectif"/>
+          <xsl:value-of select="Etablissement/Effectif"/>
         </td>
       </tr>
       <tr>
         <td>Demi pension
         </td>
         <td>
-          <xsl:value-of select ="Etablissement/Restaurer"/>
+          <xsl:if test="Etablissement/IsRestaurant='True'">
+            Oui
+          </xsl:if>
+          <xsl:if test="Etablissement/IsRestaurant='False'">
+            Non
+          </xsl:if>
         </td>
       </tr>
       <tr>
         <td>Internat</td>
-        <td></td>
+        <td>
+          <xsl:if test ="Etablissement/IsInternat='True'">
+            Oui
+          </xsl:if>
+          <xsl:if test ="Etablissement/IsInternat='False'">
+            Non
+          </xsl:if>          
+        </td>
       </tr>
     </table>
     <h2>2. Structure Immobilière</h2>
@@ -162,16 +175,18 @@
           <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="Etablissement/Surface"/> m2
+          <xsl:value-of select="format-number(Etablissement/Surface,'###.##0','europe')"/> m2
         </td>
       </tr>
       <!--
@@ -243,7 +258,8 @@
       <tr>
         <td>Secteur de recrutement</td>
         <td>
-          <xsl:value-of select="Etablissement/PhraseSecteurRecrutement"/> </td>
+          <!--<xsl:value-of select="Etablissement/PhraseSecteurRecrutement"/>-->
+        </td>
       </tr>
       <tr>
         <td>Observations sur le secteur de recrutement</td>
@@ -257,6 +273,12 @@
           <xsl:value-of select="Etablissement/PhrasePrevision5Ans"></xsl:value-of>
         </td>        
       </tr>
+      <tr>
+        <td>Capacité Théorique </td>
+        <td>
+          <xsl:value-of select="Etablissement/EffectifTheorique"/>
+        </td>
+      </tr>
       <tr>
         <td colspan="2" id="graphique">
           <xsl:apply-templates select="Etablissement/LstEffectif"/>
@@ -271,7 +293,7 @@
         </td>
       </tr>
     </table>
-    <h2>4. Interventions remarquables du Département</h2>    
+    <h2>4. Interventions du Département</h2>    
     <table>
       <colgroup>
         <col class="libelle"></col>
@@ -306,43 +328,48 @@
             <tr>
               <td class="bordure">Viabilisation</td>
               <td class="bordure">
-                <xsl:value-of select="Etablissement/Dotation[2]/Viabilisation" />
+                <xsl:value-of select="format-number(Etablissement/Dotation[2]/Viabilisation,'###.###.##0','europe')" />
                 <xsl:text> €</xsl:text>
               </td>
               <td class="bordure">
-                <xsl:value-of select="Etablissement/Dotation[1]/Viabilisation" />
+                <xsl:value-of select="format-number(Etablissement/Dotation[1]/Viabilisation,'###.###.##0','europe')" />                
                 <xsl:text> €</xsl:text>
               </td>
             </tr>
             <tr>
               <td class="bordure">Entretien</td>
               <td class="bordure">
-                <xsl:value-of select="Etablissement/Dotation[2]/Entretien" />
+                <xsl:value-of select="format-number(Etablissement/Dotation[2]/Entretien,'###.###.##0','europe')" />
                 <xsl:text> €</xsl:text>
               </td>
               <td class="bordure">
-                <xsl:value-of select="Etablissement/Dotation[1]/Entretien" />
+                <xsl:value-of select="format-number(Etablissement/Dotation[1]/Entretien,'###.###.##0','europe')" />
                 <xsl:text> €</xsl:text>
               </td>
             </tr>
             <tr>
               <td class="bordure">Autres Depenses</td>
               <td class="bordure">
-                <xsl:value-of select="Etablissement/Dotation[2]/AutresDepenses" />
+                <xsl:value-of select="format-number(Etablissement/Dotation[2]/AutresDepenses,'###.###.##0','europe')" />                
                 <xsl:text> €</xsl:text>
               </td>
               <td class="bordure">
-                <xsl:value-of select="Etablissement/Dotation[1]/AutresDepenses" />
+                <xsl:value-of select="format-number(Etablissement/Dotation[1]/AutresDepenses,'###.###.##0','europe')" />
                 <xsl:text> €</xsl:text>
               </td>
             </tr>
             
           </table>
         </td>
-      </tr>     
+      </tr>
+      <tr>
+        <td>Fonctionnement hors dotation annuelle DCE</td>
+        <td></td>
+      </tr>
       <tr>
         <td>Investissement</td>
         <td>
+          <xsl:if test ="count(Etablissement/LstInvestissement/Investissement)>0">
           <table>
             <xsl:for-each select="Etablissement/LstInvestissement/Investissement">
               <tr>
@@ -352,30 +379,70 @@
               </tr>
             </xsl:for-each>
           </table>
+          </xsl:if>
         </td>
       </tr>
       <tr>
         <td>Etat des réserves du collège</td>
-        <td>
-          <xsl:value-of select="Etablissement/Reserve"/><xsl:text> €</xsl:text>
+        <td>          
+          <xsl:value-of select="format-number(Etablissement/Reserve,'###.###.##0','europe')"/><xsl:text> €</xsl:text>
         </td>        
       </tr>
       <tr>
-        <td>Intervention remaquable du département sur les 5 dernières années</td>
+        <td>Interventions remarquables du département sur les 5 dernières années</td>
         <td></td>
       </tr>
     </table>
     <h2>5. Gestion des adjoints techniques des collèges (ATC)</h2>
-    <table>
-      <colgroup>
-        <col class="libelle"></col>
-        <col class="information"></col>
-      </colgroup>
-      <tr>
-        <td>Nombre total d'ATC</td>
-        <td><xsl:value-of select="Etablissement/PhraseTotalATC"/> </td>
-      </tr>
-      <!--
+      
+      <h3>Liste nominative des agents ATC du département</h3>
+        
+            <xsl:if test ="count(Etablissement/LstATC/ATC[ContratAide='False'])>0">
+              <table id="listeagentscg">
+                <tr>
+                  <th class="bordure">Nom</th>
+                  <th class="bordure">Prénom</th>
+                  <th class="bordure">Grade</th>
+
+
+                  <th class="bordure">Fonction</th>
+                </tr>
+                <xsl:for-each select="Etablissement/LstATC/ATC[ContratAide='False']">
+                  <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="Grade"/>
+                    </td>
+
+
+                    <td class="bordure">
+                      <xsl:value-of select="Fonction"/>
+                    </td>
+                  </tr>
+                </xsl:for-each>
+              </table>
+            </xsl:if>
+            <xsl:if test ="count(Etablissement/LstATC/ATC[ContratAide='False'])=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:value-of select="Etablissement/PhraseTotalATC"/>
+          </td>
+        </tr>
+        <!--
       <tr>
         <td>Nombre d'ATC en valeur ETP</td>
         <td>
@@ -383,20 +450,23 @@
         </td>
       </tr>
       -->
-      <tr>
-        <td>Liste nominative des agents</td>
-        <td>
-          <xsl:if test ="count(Etablissement/LstATC/child::*)>0">
-            <table id="listeagents">
+      </table>
+      
+      
+       <h3>Liste nominative des agents en contrat aidé</h3>
+      
+          <xsl:if test ="count(Etablissement/LstATC/ATC[ContratAide='True'])>0">
+            <table id="listeagentsaide">
               <tr>
                 <th class="bordure">Nom</th>
                 <th class="bordure">Prénom</th>
-                <th class="bordure">Valeur ETP</th>
-                <th class="bordure">Categorie</th>
-                <th class="bordure">Type</th>
-                <th class="bordure">Fonction</th>
+                <th class="bordure">Quotité en nbr d'heures<br/>par semaine
+              </th>
+
+                <th class="bordure">Type de contrat</th>
+
               </tr>
-              <xsl:for-each select="Etablissement/LstATC/ATC">
+              <xsl:for-each select="Etablissement/LstATC/ATC[ContratAide='True']">
                 <tr>
                   <td class="bordure">
                     <xsl:value-of select="Nom"/>
@@ -404,26 +474,34 @@
                   <td class="bordure">
                     <xsl:value-of select="Prenom"/>
                   </td>
-                  <td class="bordure">
+                  <td class="bordurecentre">
                     <xsl:value-of select="ValeurETP"/>
                   </td>
-                  <td class="bordure">
+
+                  <td class="bordurecentre">
                     <xsl:value-of select="Categorie"/>
                   </td>
-                  <td class="bordure">
-                    <xsl:value-of select="TypeContact"/>
-                  </td>
-                  <td class="bordure">
-                    <xsl:value-of select="Fonction"/>
-                  </td>
                 </tr>
               </xsl:for-each>
             </table>
           </xsl:if>
-          <xsl:if test ="count(Etablissement/LstATC/child::*)=0">
+          <xsl:if test ="count(Etablissement/LstATC/ATC[ContratAide='True'])=0">
             néant
           </xsl:if>
-        </td>
+      <br/>
+      <table>
+        <colgroup>
+          <col class="libelle"></col>
+          <col class="information"></col>
+        </colgroup>
+        <tr>
+          <td>Nombre de contrats aidés</td>
+          <td>
+            <xsl:value-of select="count(Etablissement/LstATC/ATC[ContratAide='True'])"></xsl:value-of>
+            <xsl:text> agent(s)</xsl:text>
+          </td>
+        </tr>
+      </table>
         <!--
         <tr>
           <td>Prévision d'effectif</td>
@@ -432,14 +510,15 @@
           </td>
         </tr>
         -->
+      <!--
         <tr>
           <td>Nombre de jours de formation suivis par les ATC</td>
           <td>
             <xsl:value-of select="Etablissement/PhraseNombreJoursFormation"/>
           </td>
-        </tr>
-      </tr>
-    </table>    
+        </tr>      
+        -->
+    
     <h2>6. Actions éducatives territoriales</h2>
     <table>
       <colgroup>
@@ -469,11 +548,14 @@
           <xsl:value-of select="Libelle"/>
         </td>  
         <td>
-          <xsl:value-of select="Participe"/>
-        </td>
-        <td>
-          
+          <xsl:if test ="Participe='True'">
+            Oui
+          </xsl:if>
+          <xsl:if test ="Participe='False'">
+            Non
+          </xsl:if>
         </td>
+      
       </tr>
     </xsl:for-each>
     </table>
@@ -492,7 +574,7 @@
       <tr>
       <td>Nombre total d'élèves</td>
       <td>
-        <xsl:value-of select="ChiffresSignificatifs/NbTotalEleves"/>
+          <xsl:value-of select="format-number(ChiffresSignificatifs/NbTotalEleves,'###.###.##0','europe')"/> 
       </td>
       </tr>
       <tr>
@@ -504,7 +586,8 @@
       <tr>
         <td>Montant total des transports scolaires</td>
         <td>
-          <xsl:value-of select="ChiffresSignificatifs/MontantTotalTransportScolaire"/><xsl:text> €</xsl:text>
+         
+          <xsl:value-of select="format-number(ChiffresSignificatifs/MontantTotalTransportScolaire,'###.###.##0,00','europe')"/><xsl:text> €</xsl:text>
         </td>
       </tr>
 
@@ -533,4 +616,4 @@
     </xsl:attribute>  
   </img>
   </xsl:template>
-</xsl:stylesheet>
+</xsl:stylesheet>