--- /dev/null
+<?php
+ require 'xnet.inc.php';
+
+ XnetSession::destroy();
+
+ new_page('xnet/deconnexion.tpl', AUTH_PUBLIC);
+ $page->run();
+
+?>
exit;
}
- new_skinned_page('xnet/groupes.tpl', AUTH_PUBLIC);
+ new_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);
function may_update() {
global $globals;
+ if (!$globals->asso('id')) { return false; }
if (has_perms()) { return true; }
$res = $globals->xdb->query(
"SELECT perms
function is_member() {
global $globals;
+ if (!$globals->asso('id')) { return false; }
$res = $globals->xdb->query(
"SELECT COUNT(*)
FROM groupex.membres
--- /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 *
+ ***************************************************************************}
+
+
+<div id="content">
+ Au revoir !
+ <br />
+ Tu as bien été déconnecté du site Polytechnique.net.
+</div>
+
+{* vim:set et sw=2 sts=2 sws=2: *}