git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-561
width: 100%;
}
+td#menu { width: 150px; }
+
+#menu th {
+ padding: 0.5em 0em 0.6em 0em;
+ font-size: 95%;
+ text-align: left;
+ font-family: "Arial",sans-serif;
+ vertical-align: middle;
+ text-align: center;
+ font-weight: bold;
+ background: url('images/barre.png') bottom left no-repeat;
+}
+
+#menu td {
+ padding: 0.2em 0em 0.2em 0em;
+ font-size: 95%;
+ text-align: left;
+ font-family: "Arial",sans-serif;
+ vertical-align: middle;
+}
+
+
.descr {
text-align: justify;
font-size: 90%;
font-weight: bold;
}
-td.oval {
- color: #d0c198;
- background: url("../images/oval.png") no-repeat top center;
- height: 50px;
- text-align: center;
- vertical-align: middle !important;
- font-weight: bold;
- width: 200px;
-}
-td.oval a { color: #d0c198; }
-
/***************************************************************************
* Special pages
/***************************************************************************
***************************************************************************/
-table.menu { width: 150px; }
+div.cat {
+ background: #d0c198;
+ width: 180px;
+ padding: 2px;
+ margin: 6px 0px;
+ text-align: center;
+ font-weight: bold;
+ font-size: 90%;
+}
-th.menu {
- padding: 0.5em 0em 0.6em 0em;
- font-size: 95%;
- text-align: left;
- font-family: "Arial",sans-serif;
- vertical-align: middle;
+div.sel { background-color: #5c81aa; color: #d0c198; }
+div.sel a { color: #d0c198; }
+
+td.oval {
+ color: #d0c198;
+ background: url("../images/oval.png") no-repeat top center;
+ height: 50px;
text-align: center;
+ vertical-align: middle !important;
font-weight: bold;
- background: url('images/barre.png') bottom left no-repeat;
+ width: 130px;
+ padding: 4px 12px;
}
+.oval a { color: #d0c198; }
-td.menu {
- padding: 0.2em 0em 0.2em 0em;
- font-size: 95%;
- text-align: left;
- font-family: "Arial",sans-serif;
- vertical-align: middle;
+#content td.oval {
+ font-size: 90%;
+ font-family: "Trebuchet MS", sans-serif;
+ letter-spacing: -0.5px;
}
+/***************************************************************************
+ ***************************************************************************/
+
td.infos {
height: 30px;
text-align: center;
text-decoration: none;
}
-td.choix2actif {
- height: 20px;
- background-color: #5C81AA;
- color:#D0C198;
-}
--- /dev/null
+<?php
+ require 'xnet.inc.php';
+ require 'xnet/page.inc.php';
+
+ if (!($cat = Get::get('cat'))) {
+ header("Location:index.php");
+ exit;
+ }
+
+ new_skinned_page('xnet/groupes.tpl', AUTH_PUBLIC);
+
+ $res = $globals->xdb->iterator("SELECT id,nom FROM groupex.dom WHERE FIND_IN_SET({?}, cat) ORDER BY nom", $cat);
+ $page->assign('doms', $res);
+
+ if (!$res->total()) {
+ $res = $globals->xdb->iterator("SELECT diminutif, nom FROM groupex.asso WHERE FIND_IN_SET({?}, cat) ORDER BY nom", $cat);
+ } elseif (Get::has('dom')) {
+ $res = $globals->xdb->iterator("SELECT diminutif, nom FROM groupex.asso WHERE FIND_IN_SET({?}, cat) AND dom={?} ORDER BY nom", $cat, Get::getInt('dom'));
+ } else {
+ $res = null;
+ }
+ $page->assign('gps', $res);
+
+ $page->setType($cat);
+ $page->run();
+?>
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************}
- <table id="content" cellspacing="0" cellpadding="0">
+<table id="content" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="5">
- <p class="descr">
- Polytechnique.net présente les activités associatives des Polytechniciens, élèves et anciens.
- Ce portail a été conçu par l'équipe qui anime le site <a href="https://www.polytechnique.org/">Polytechnique.org</a>.
- Il a vocation à favoriser la communication entre les groupes X, et leur promotion à
- l'extérieur de la communauté polytechnicienne.
- </p>
- <p class="descr">
- <a href="https://www.polytechnique.org/apropos.php">L'équipe</a> tient à remercier
- <strong>David Bachelart (X99) et Sylvain Joyeux (X2000)</strong> qui ont participé à l'élaboration de
- la charte graphique du site, ainsi que <strong>Laurent El Kaim (X1984)</strong>, qui a protégé le
- domaine Polytechnique.net durant plusieurs années, avant d'en faire don début 2004 à
- l'association.
- </p>
- </td>
- </tr>
+ <tr>
+ <td colspan="5">
+ <p class="descr">
+ Polytechnique.net présente les activités associatives des Polytechniciens, élèves et anciens.
+ Ce portail a été conçu par l'équipe qui anime le site <a href="https://www.polytechnique.org/">Polytechnique.org</a>.
+ Il a vocation à favoriser la communication entre les groupes X, et leur promotion à
+ l'extérieur de la communauté polytechnicienne.
+ </p>
+ <p class="descr">
+ <a href="https://www.polytechnique.org/apropos.php">L'équipe</a> tient à remercier
+ <strong>David Bachelart (X99) et Sylvain Joyeux (X2000)</strong> qui ont participé à l'élaboration de
+ la charte graphique du site, ainsi que <strong>Laurent El Kaim (X1984)</strong>, qui a protégé le
+ domaine Polytechnique.net durant plusieurs années, avant d'en faire don début 2004 à
+ l'association.
+ </p>
+ </td>
+ </tr>
- <tr><td colspan="2"><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
+ {include file="xnet/include/nav.tpl"}
- <tr>
- <td colspan="2">
- <table class="links" summary="liens" cellspacing="0" cellpadding="0">
- <tr>
- <td> <a href="groupes.php?cat=GroupesX">groupes X</a> </td>
- <td> <a href="groupes.php?cat=Binets">binets</a> </td>
- <td> <a href="autres.php?cat=Promotions">promotions</a> </td>
- <td> <a href="autres.php?cat=Institutions">institutions</a> </td>
- <td> <a href="plan.php">plan du site</a> </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
+</table>
- {* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2: *}
--- /dev/null
+{***************************************************************************
+ * Copyright (C) 2003-2004 Polytechnique.org *
+ * http://opensource.polytechnique.org/ *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., *
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
+ ***************************************************************************}
+
+<table id="content">
+ <tr>
+ <td id="menu">
+ </td>
+ <td>
+ <table cellspacing="0" cellpadding="4">
+ <tr>
+ <td colspan="2">
+ {include file="xnet/include/descr.tpl" cat=$smarty.get.cat}
+ </td>
+ </tr>
+
+ <tr>
+ <!-- Enumération de tous les domaines existants dans la catégorie concernées -->
+ <td style="vertical-align: top">
+ {iterate from=$doms item=g}
+ <div class="cat {if $g.id eq $smarty.get.dom}sel{/if}">
+ <a href="groupes.php?cat={$smarty.get.cat}&dom={$g.id}">{$g.nom}</a>
+ </div>
+ {/iterate}
+ </td>
+ <td>
+ {if $gps}
+ {iterate from=$gps item=g}
+ <table style="float: left;" cellspacing="2" cellpadding="0">
+ <tr>
+ <td class="oval"><a href="...">{$g.nom}</a></td>
+ </tr>
+ </table>
+ {/iterate}
+ {else}
+ <img src="images/carre2.jpg" alt="logos_associations" width="201" height="165" />
+ {/if}
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+
+{* vim:set et sw=2 sts=2 sws=2: *}
--- /dev/null
+{***************************************************************************
+ * Copyright (C) 2003-2004 Polytechnique.org *
+ * http://opensource.polytechnique.org/ *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., *
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
+ ***************************************************************************}
+
+{if $cat eq groupesx}
+
+<p class="descr">
+Les groupes X rassemblent des polytechniciens partageant les mêmes centres d'intérêt,
+autour de sujets très différents. Certains de ces groupes sont des associations
+dépendant de l'Amicale des Anciens, définis par <a href='article12.php'>l'article 12</a>
+des statuts de l'AX. Les groupes déclarés auprès de l'AX sont indiqués par une petite
+note en bas de la page qui leur est dédiée sur ce site.
+</p>
+<p class="descr">
+Pour créer un nouveau Groupe X agréé par l'AX au titre de
+<a href='article12.php'>l'article 12</a> des statuts, tu peux te référer
+<a href='services.php#creation'> aux documents de l'AX</a>.
+</p>
+<p class="descr">
+Si tu souhaites obtenir le statut d'association loi de 1901, tu peux obtenir des
+renseignements auprès de <a href='services.php#loi1901'>sites spécialisés</a>.
+</p>
+
+{elseif $cat eq binets}
+
+Les binets sont les associations des élèves polytechniciens effectuant leur scolarité à l'X (sur le
+plateau). Cette appellation, qui peut sembler étrange, est, pour certains, simplement un diminutif
+de "cabinet". Pour d'autres, elle aurait pour origine un certain général Binet, commandant l'Ecole
+Polytechnique, qui aurait le premier autorisé ces regroupements d'élèves. Les binets présents à
+l'Ecole n'ont pas tous leur site web présenté ici. Vous pouvez voir tous les sites des binets en
+cliquant <a href= "http://www.polytechnique.fr/eleves/acces/binets/">ici</a>.
+
+{elseif $cat eq institutions}
+
+De nombreuses organismes officiels sont liés à l'Ecole Polytechnique: le collège de l'Ecole
+Polytechnique, l'amicale des anciens élèves, le site des X sur le web Polytechnique.org, etc...
+Cette liste n'est pas exhaustive. Vous pouvez découvrir chacun de ces organismes en cliquant sur les
+liens correspondants:
+
+{elseif $cat eq promotions}
+
+Quelques promotions de polytechniciens ont mis au point leur propre site web, qui permet aux élèves
+de ces promotions d'organiser des repas promos, de faire partager des souvenirs photographiques, de
+se retrouver sur internet... En voici des exemples:
+
+{/if}
+
+{* vim:set et sw=2 sts=2 sws=2: *}
--- /dev/null
+{***************************************************************************
+ * Copyright (C) 2003-2004 Polytechnique.org *
+ * http://opensource.polytechnique.org/ *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., *
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
+ ***************************************************************************}
+
+<tr><td colspan="2"><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
+
+<tr>
+ <td colspan="2">
+ <table class="links" summary="liens" cellspacing="0" cellpadding="0">
+ <tr>
+ <td> <a href="groupes.php?cat=groupesx">groupes X</a> </td>
+ <td> <a href="groupes.php?cat=binets">binets</a> </td>
+ <td> <a href="groupes.php?cat=promotions">promotions</a> </td>
+ <td> <a href="groupes.php?cat=institutions">institutions</a> </td>
+ <td> <a href="plan.php">plan du site</a> </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+{* vim:set et sw=2 sts=2 sws=2: *}
</td>
</tr>
- <tr><td colspan="2"><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
+ {include file="xnet/include/nav.tpl"}
- <tr>
- <td colspan="2">
- <table class="links" summary="liens" cellspacing="0" cellpadding="0">
- <tr>
- <td> <a href="groupes.php?cat=GroupesX">groupes X</a> </td>
- <td> <a href="groupes.php?cat=Binets">binets</a> </td>
- <td> <a href="autres.php?cat=Promotions">promotions</a> </td>
- <td> <a href="autres.php?cat=Institutions">institutions</a> </td>
- <td> <a href="plan.php">plan du site</a> </td>
- </tr>
- </table>
- </td>
- </tr>
</table>
{* vim:set et sw=2 sts=2 sws=2: *}
<td class="fourth">
<table>
<tr>
- <td class="oval"><a href="groupes.php?cat=GroupesX">Groupes X</a></td>
+ <td class="oval"><a href="groupes.php?cat=groupesx">Groupes X</a></td>
</tr>
<tr>
<td class="liste">
{foreach from=$groupesx key=id item=dom}
- <a class="cat" href="sommaire.php?cat=GroupesX&dom={$id}">{$dom[0].domnom}</a>
+ <a class="cat" href="sommaire.php?cat=groupesx&dom={$id}">{$dom[0].domnom}</a>
{foreach from=$dom item=g}
<a href="{$g.diminutif}/asso.php">{$g.nom}</a>
{/foreach}
<td class="fourth">
<table>
<tr>
- <td class="oval"><a href="groupes.php?cat=Binets">Binets</a></td>
+ <td class="oval"><a href="groupes.php?cat=binets">Binets</a></td>
</tr>
<tr>
<td class="liste">
{foreach from=$binets key=id item=dom}
- <a class="cat" href="sommaire.php?cat=BinetsX&dom={$id}">{$dom[0].domnom}</a>
+ <a class="cat" href="sommaire.php?cat=binets&dom={$id}">{$dom[0].domnom}</a>
{foreach from=$dom item=g}
<a href="{$g.diminutif}/asso.php">{$g.nom}</a>
{/foreach}
<td class="fourth">
<table>
<tr>
- <td class="oval"><a href="groupes.php?cat=Promotions">Promotions</a></td>
+ <td class="oval"><a href="groupes.php?cat=promotions">Promotions</a></td>
</tr>
<tr>
<td class="listec">
<td class="fourth">
<table>
<tr>
- <td class="oval"><a href="groupes.php?cat=Institutions">Institutions</a></td>
+ <td class="oval"><a href="groupes.php?cat=institutions">Institutions</a></td>
</tr>
<tr>
<td class="listec">
</td>
</tr>
- <tr><td><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
+ {include file="xnet/include/nav.tpl"}
- <tr>
- <td>
- <table class="links" summary="liens" cellspacing="0" cellpadding="0">
- <tr>
- <td> <a href="groupes.php?cat=GroupesX">groupes X</a> </td>
- <td> <a href="groupes.php?cat=Binets">binets</a> </td>
- <td> <a href="autres.php?cat=Promotions">promotions</a> </td>
- <td> <a href="autres.php?cat=Institutions">institutions</a> </td>
- <td> <a href="plan.php">plan du site</a> </td>
- </tr>
- </table>
- </td>
- </tr>
</table>
{* vim:set et sw=2 sts=2 sws=2: *}