| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/projects/cslinfo/templates/ |
Upload File : |
<?php
/**
* Sablon stranice sa formom za prijavu administratora.
*
* @package CSLInfo
* @subpackage Sablon
* @category Pregled
* @author Marina Terzic <terzic.marina@gmail.com>
* @copyright Laboratorija za racunarsku tehniku, Tehnicki fakultet Cacak <csl@tfc.kg.ac.rs>
*/
/*
* Zastita od direktnog pristupa sablonu
*/
if(!defined('CSL_OK')){
header('Location: index.php');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CSL Info</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
<!--
window.onload = function(){
document.getElementById('korisnickoIme').focus();
}
//-->
</script>
</head>
<body>
<div id="glavniKontejner">
<div id="header">
<div id="logo"></div>
<div id="meniji">
<ul>
<li><a class="naslovna" href="index.php"></a></li>
<li><a class="pregled" href="pregled.php"></a></li>
<li><a class="administracija" href="administracija.php"></a></li>
<li><a class="izlaz" href="izlaz.php"></a></li>
</ul>
</div>
</div>
<div id="centralni">
<div id="loginKontejner">
// <form method="post" action="<?php echo htmlentities($_SERVER['PHP_SELF'], ENT_QUOTES, 'utf-8'); ?>">
<form method="POST" action="administracija.php">
<fieldset>
<span class="korisnickoLabel">Korisničko ime</span>
<input class="korisnickoIme" name="korisnickoIme" id="korisnickoIme" type="text" />
<span class="lozinkaLabel">Lozinka</span>
<input class="lozinka" type="password" name="lozinka" id="lozinka" />
//<input class="submitDugme" type="image" name="submit" value="1" src="images/login-submit-dugme.png" />
<input class="submitDugme" type="image" src="images/login-submit-dugme.png" />
</fieldset>
</form>
<?php if(isset($greske['KORISNICKO_IME_NIJE_UNETO'])) { ?>
<div id="loginInfo">Korisničko ime nije uneto!</div>
<?php } else if(isset($greske['LOZINKA_NIJE_UNETA'])) { ?>
<div id="loginInfo">Lozinka nije uneta!</div>
<?php } else if(isset($greske['POGRESNI_ADMIN_PARAMETRI'])) { ?>
<div id="loginInfo">Korisničko ime i/ili lozinka nisu odgovarajući!</div>
<?php } ?>
</div>
</div>
<div id="footer">
<hr />
Fakultet tehničkih nauka Čačak, Univerzitet u Kragujevcu, Svetog Save 65, 32000 Čačak</div>
</div>
<div id="tfLogo"></div>
</body>
</html>