Current Path : /home/da040400/www_root/adm/
Upload File :
Current File : /home/da040400/www_root/adm/aktualne.php

<?php
	require_once('auth.php');
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>ADMIN - Výlety</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf8">
<META name="description" content="Ekovýlety">
<META name="keywords" content="Ekovýlety, exkurzie, podujatia pre školy a verejnosť">
<META name="author" content="vladimir bacik" >
<META name="copyright" content="http://www.sodbtn.sk">
<meta name="Robots" content="index,follow">
<meta name="Revisit-after" content="5">  
<LINK href="styly.css" type="text/css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/demo.css">

<body>


<br>
<center>
<table width="950" class="admin">
<tr><td class="hlava_adm" height="60">Administrácia stránky - EKOVYLETY.sk</td></tr>
<tr><td class="menu_adm" height="25">
<a class="admin" href="index.php">úvodná stránka</a>
</td></tr>
<tr><td class="hlavna">

<br>

<center>

<?php
	include('identifikacia.php');
?>




</center>

<?

require("spojenie.php"); # Vložíme skript, ktorý obsahuje nastavenie pripojenia.
$spoj = MySQL_Connect($SQL_Server, $SQL_Uzivatel, $SQL_Heslo) OR DIE(MySQL_Error());
MySQL_Select_Db($Databaza) OR DIE(MySQL_Error());
mysql_query("set names utf8");

?>

<center>

<br>

<script type='text/javascript'> 
function notEmpty(){var themessage = ""; 
   if(document.getElementById('aktualita').value.length == 0){themessage = themessage + "Chýba aktualita"+"\n";}
   if(document.getElementById('popis_akt').value.length == 0){themessage = themessage + "Chýba popis"+"\n";}
   if(document.getElementById('confirm').value.length == 0){themessage = themessage + "Nepotvrdil si vloženie"+"\n";}
       
   if (themessage != "") {alert (themessage);  return false; 
}else {return true;} 
} 

</script>	
	
<FORM name="zoznam" action="pridaj_aktualita.php" method="post" onsubmit="return notEmpty();">
<table class="form" width="740" cellpadding="3" cellspacing="1" border="0">

<tr><td width="120">Aktualita</td><td width="400""><INPUT size=60 name="aktualita" id="aktualita"></td></tr>
<tr><td width="120">Popis aktuality</td><td width="400""><textarea class="guest" name="popis_akt" value="" rows="3" cols="70" id="popis_akt"></textarea></td></tr>
<tr><td width="120">potvrdenie</td><td width="400"">
<SELECT size=1 name="confirm" id="confirm">
<OPTION value="">zmeniť na "potvrdzujem"</OPTION> 
<OPTION value="on">potvrdzujem</OPTION>
</SELECT>
</td></tr>

<tr><td width="120">&nbsp;</td><td width="400"">
  <INPUT type=submit value="Odoslať aktualitu">
  <INPUT type=reset value="vymazať">
</td></tr>

 
</table>
</FORM>

<br><br>
</center>



</td></tr></table>
</center>


</body>
</html>

DR.KR LITE SHELL COPYRIGHT 2016