| 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 glavne stranice aplikacije.
*
* @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("idKod").focus();
document.getElementById("idKod").value = '';
setTimeout(function(){document.getElementById('idInfo').style.visibility='hidden'}, 5000);
}
//-->
</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="idKodKontejner"> <span class="infoLabel">Identifikacioni broj</span>
<form method="post" action="<?php echo htmlentities($_SERVER['PHP_SELF'], ENT_QUOTES, 'utf-8'); ?>">
<fieldset>
<input type="password" id="idKod" name="idKod" value="" maxlength="15" />
</fieldset>
</form>
<div id="idInfo">
<?php
if(isset($greske['ID_BROJ_NIJE_UNET'])){
echo '<span class="greska">Morate uneti identifikacioni kod!</span>';
} else if(isset($greske['NEPOSTOJECI_ID_BROJ'])) {
echo '<span class="greska">Nepostojeći identifikacioni kod!</span>';
}
if(isset($_GET['poruka'])) {
echo '<span class="info">'.$statusPoruke[$_GET['poruka']].'</span>';
}
?>
</div>
</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>