<?php
/*
 ########################################################################
#                                                                        #
#           Version 4       /                        /   /               #
#          -----------__---/__---__------__----__---/---/-               #
#           | /| /  /___) /   ) (_ `   /   ) /___) /   /                 #
#          _|/_|/__(___ _(___/_(__)___/___/_(___ _/___/___               #
#                       Free Content / Management System                 #
#                                   /                                    #
#                                                                        #
#                                                                        #
#   Copyright 2005-2006 by webspell.org                                  #
#                                                                        #
#   visit webSPELL.org, webspell.info to get webSPELL for free           #
#   - Script runs under the GNU GENERAL PUBLIC LICENSE                   #
#   - It's NOT allowed to remove this copyright-tag                      #
#   -- http://www.fsf.org/licensing/licenses/gpl.html                    #
#                                                                        #
#   Code based on WebSPELL Clanpackage (Michael Gruber - webspell.at),   #
#   Far Development by Development Team - webspell.org                   #
#                                                                        #
#   visit webspell.org                                                   #
#                                                                        #
 ########################################################################
*/

$ergebnis=safe_query("SELECT u.firstname, u.lastname, u.nickname, u.userID FROM ".PREFIX."user_groups as g, ".PREFIX."user as u WHERE u.userID = g.userID AND g.page='1'");
while($ds=mysql_fetch_array($ergebnis)) {
 $administrators .= "<a href='index.php?site=profile&id=".$ds[userID]."'>".$ds[firstname]." '".$ds[nickname]."' ".$ds[lastname]."<br>";
}
$ergebnis=safe_query("SELECT u.firstname, u.lastname, u.nickname, u.userID FROM ".PREFIX."user_groups as g, ".PREFIX."user as u WHERE u.userID = g.userID AND g.moderator='1'");
while($ds=mysql_fetch_array($ergebnis)) {
 $moderators .= "<a href='index.php?site=profile&id=".$ds[userID]."'>".$ds[firstname]." '".$ds[nickname]."' ".$ds[lastname]."<br>";
}

// reading version
include('version.php');

 $bg1=BG_1;
 $headline1 = "imprint";
 $headline2 = "coding";
 
 if($imprint_type) {

 $ds=mysql_fetch_array(safe_query("SELECT imprint FROM `".PREFIX."imprint`"));
 $imprint_head = htmloutput($ds[imprint])."<br><br>";
 
 } else{
 
  $imprint_head='<table border="0" width="96%" align="center">
     <tr>
      <td width="150">
       <b>responsible persons</b>
       <br>
       <br>
      </td>
     </tr>
     <tr>
      <td>webmaster:</td>
      <td><i><a href="mailto:'.$admin_email.'">'.$admin_name.'</a></i></td>
     </tr>
     <tr>
      <td valign="top">administrators:</td>
      <td><i>'.$administrators.'</i></td>
     </tr>
     <tr>
      <td valign="top">moderators:</td>
      <td><i>'.$moderators.'</i><br><br></td>
     </tr>
    </table>';
 }

	eval ("\$imprint = \"".gettemplate("imprint")."\";");
    echo $imprint;
?>
