Main Page | Directories | File List | File Members

register/index.php

Go to the documentation of this file.
00001 <?php
00002 # This file is part of the Savane project
00003 # <http://gna.org/projects/savane/>
00004 #
00005 # $Id: index.php 5429 2006-02-17 22:59:20Z toddy $
00006 #
00007 #  Copyright 1999-2000 (c) The SourceForge Crew
00008 #  Copyright 2000-2003 (c) Free Software Foundation
00009 #                          Mathieu Roy <yeupou--at--gnu.org>
00010 #
00011 #  Copyright 2004      (c) ...
00012 #
00013 #
00014 # The Savane project is free software; you can redistribute it and/or
00015 # modify it under the terms of the GNU General Public License
00016 # as published by the Free Software Foundation; either version 2
00017 # of the License, or (at your option) any later version.
00018 #
00019 # The Savane project is distributed in the hope that it will be useful,
00020 # but WITHOUT ANY WARRANTY; without even the implied warranty of
00021 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022 # GNU General Public License for more details.
00023 #
00024 # You should have received a copy of the GNU General Public License
00025 # along with the Savane project; if not, write to the Free Software
00026 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00027 
00028 
00029 require "../include/pre.php";  # Initial db and session library, opens session
00030 #session_require(array(isloggedin=>1));
00031 $HTML->header(array(title=>_("New Project Registration")));
00032 
00033 print '<h2>'._("New Project Registration").'</h2>';
00034 
00035 if (db_numrows(db_query("SELECT type_id FROM group_type")) < 1) {
00036         # group_type is empty; it's not prossible to register projects
00037         print _("No group type has been set. Admins need to create at least one group type. They can make it so clicking on the link \"Group Type Admin\", on the Administration section of the left side menu, while logged in as admin");
00038 } else {
00039         # get site-specific content
00040         utils_get_content("register/index");
00041 }
00042 
00043 print '<form action="requirements.php" method="post">';
00044 print '<div align="center">';
00045 print '<input type="submit" name="Submit" value="'._("Step 1: Services and Requirements").'" />';
00046 print '</div>';
00047 print '</form>';
00048 
00049 $HTML->footer(array());
00050 ?>

Generated on Sun Feb 26 13:23:04 2006 for Savane PHP Frontend Developer Reference by  doxygen 1.4.4