Glavna stranica | Popis datoteka | Članovi klasa u datoteci

login.php

Dokumenacija za ovu datoteku.
00001 <?
00002 /**************************************************************************************
00003  Studentski Informacijski servis, 2004
00004  **************************************************************************************
00005  login.php
00006  login screen za ulaz na sistem
00007 
00008 
00009  Srdjan Segvic - srle
00010  **************************************************************************************
00011  **************************************************************************************
00012  This program is free software; you can redistribute it and/or modify
00013  it under the terms of the GNU General Public License as published by
00014  the Free Software Foundation; either version 2 of the License, or
00015  (at your option) any later version.
00016 
00017  This program is distributed in the hope that it will be useful,
00018  but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  GNU Library General Public License for more details.
00021 
00022  You should have received a copy of the GNU General Public License
00023  along with this program; if not, write to the Free Software
00024  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00025  **************************************************************************************/
00026 session_start();
00027 include('template/status.php');
00028 include('template/template_login.php');
00029 echo "
00030 <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
00031 <html>
00032 <head>
00033 <title>Studentski Informacijski Servis</title>
00034 <META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=ISO-8859-2\">
00035 <META NAME=\"AUTHOR\" CONTENT=\"Srdjan Segvic\">
00036 <META NAME=\"COPYRIGHT\" CONTENT=\"Copyright (c) 2004 by Srdjan Segvic\">
00037 <META NAME=\"GENERATOR\" CONTENT=\"SiS.Student - Copyright 2004 by http://sservis.sourceforge.net\">
00038 <link REL=\"shortcut icon\" HREF=\"template/favicon.ico\" TYPE=\"image/x-icon\">
00039 <link href=\"template/sis.css\" rel=\"stylesheet\" type=\"text/css\">
00040 
00041 </head>";
00042 
00043 $content = "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"8\">
00044                   <form method=\"post\"  action=\"dologin.php\">
00045                                   <tr>
00046                           <td align=\"center\" valign=\"middle\"> 
00047                             <table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" class=\"table\">
00048                               <tr> 
00049                                 <td width=\"9\">&nbsp;</td>
00050                                 <td width=\"79\">&nbsp;</td>
00051                                 <td colspan=\"2\">&nbsp;</td>
00052                               </tr>
00053                               <tr> 
00054                                 <td>&nbsp;</td>
00055                                 <td> <div align=\"left\"><strong><font color=\"#FFFFFF\" size=\"2\" face=\"arial, helvetica, sans-serif\">username:</font></strong></div></td>
00056                                 <td colspan=\"2\">&nbsp;</td>
00057                               </tr>
00058                               <tr> 
00059                                 <td>&nbsp;</td>
00060                                 <td><div align=\"left\"><strong><font color=\"#666666\" size=\"2\" face=\"arial, helvetica, sans-serif\"> 
00061                                     <input name=\"username\" type=\"text\" size=\"15\" maxlength=\"15\">
00062                                     </font></strong></div></td>
00063                                 <td colspan=\"2\"> <div align=\"center\"><strong><font color=\"#FFFFFF\" size=\"2\" face=\"arial, helvetica, sans-serif\">Dobro 
00064                                     došli, </font></strong></div></td>
00065                               </tr>
00066                               <tr> 
00067                                 <td valign=\"top\">&nbsp;</td>
00068                                 <td valign=\"top\"> <div align=\"left\"><strong><font color=\"#FFFFFF\" size=\"2\" face=\"arial, helvetica, sans-serif\">password:</font></strong></div></td>
00069                                 <td colspan=\"2\"> <div align=\"center\"><strong><font color=\"#FFFFFF\" size=\"2\" face=\"arial, helvetica, sans-serif\">&lt;&lt; 
00070                                     unesite username i password,</font></strong></div></td>
00071                               </tr>
00072                               <tr> 
00073                                 <td>&nbsp;</td>
00074                                 <td><div align=\"left\"><strong><font color=\"#666666\" size=\"2\" face=\"arial, helvetica, sans-serif\"> 
00075                                     <input name=\"password\" type=\"password\" size=\"15\" maxlength=\"15\">
00076                                     </font></strong></div></td>
00077                                 <td colspan=\"2\"> <div align=\"center\"><strong><font color=\"#FFFFFF\" size=\"2\" face=\"arial, helvetica, sans-serif\">i 
00078                                     kliknite na Login.</font></strong></div></td>
00079                               </tr>
00080                               <tr> 
00081                                 <td height=\"5\">&nbsp;</td>
00082                               </tr>
00083                               <tr> 
00084                                 <td>&nbsp;</td>
00085                                 <td><div align=\"right\"><strong><font color=\"#666666\" size=\"2\" face=\"arial, helvetica, sans-serif\"> 
00086                                     <input name=\"Submit\" type=\"submit\" value=\"Login\" ".$disable.">
00087                                     </font></strong></div></td>
00088                                 <td width=\"215\"> <div align=\"right\"><strong><font color=\"#FFFFFF\" size=\"2\" face=\"arial, helvetica, sans-serif\">Status 
00089                                     servisa: </font></strong></div></td>
00090                                 <td width=\"113\">";
00091 $content .= "
00092                                                  " . $status; 
00093 $content .= "                  
00094                                                           </td>
00095                               </tr>
00096                               <tr> 
00097                                 <td>&nbsp;</td>
00098                                 <td>&nbsp;</td>
00099                                 <td colspan=\"2\">&nbsp;</td>
00100                               </tr>
00101                             </table>
00102                                                         </td>
00103                         </tr>
00104                       </form>
00105                                           </table>
00106                                           </div>";
00107 
00108 templateLogin($content);                                                        
00109 ?>

Generirano Thu Sep 16 17:16:01 2004 projekt: SiS.Student generator: doxygen 1.3.2