Current Path : /home/da040400/www_root/adm/
Upload File :
Current File : /home/da040400/www_root/adm/index2.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('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_vylet.php" method="post" onsubmit="return notEmpty();">
<table class="form" width="740" cellpadding="3" cellspacing="1" border="0">

<tr><td width="120">Názov výletu</td><td width="400""><INPUT size=60 name="nazov" id="nazov"></td></tr>
<tr><td width="120">Krajina</td><td width="400""><INPUT size=30 name="krajina" id="krajina"></td></tr>
<tr><td width="120">Popis výletu</td><td width="400""><textarea class="guest" name="popis" value="" rows="3" cols="70" id="popis"></textarea></td></tr>
<tr><td width="120">Poznámka</td><td width="400""><INPUT size=80 name="poznamka" id="poznamka"></td></tr>
<tr><td width="120">Výlet pre</td><td width="400"">
<SELECT size=1 name="vylet_pre" id="vylet_pre">
<OPTION value="">vyber</OPTION> 
<OPTION value="skola">školu</OPTION>
<OPTION value="verejnost">verejnosť</OPTION>
</SELECT>
</td></tr>

<tr><td width="120">Rok</td><td width="400""><INPUT size=12 name="rok" id="rok"></td></tr>
<tr><td width="120">Mesiac</td><td width="400"">
<SELECT size=1 name="mesiac" id="mesiac">
<OPTION value="">vyber mesiac</OPTION> 
<OPTION value="januar">január</OPTION>
<OPTION value="februar">február</OPTION>
<OPTION value="marec">marec</OPTION>
<OPTION value="april">apríl</OPTION>
<OPTION value="maj">máj</OPTION>
<OPTION value="jun">jún</OPTION>
<OPTION value="jul">júl</OPTION>
<OPTION value="august">august</OPTION>
<OPTION value="september">september</OPTION>
<OPTION value="oktober">október</OPTION>
<OPTION value="november">november</OPTION>
<OPTION value="december">december</OPTION>
</SELECT>
</td></tr>

<tr><td width="120">Termín</td><td width="400""><INPUT size=12 name="termin" id="termin"></td></tr>

<tr><td width="120">Náročnosť</td><td width="400"">
<input type="radio" value="A" name="narocnost" id="narocnost" style="float: center" checked> A&nbsp;&nbsp;&nbsp; 
<input type="radio" value="B" name="narocnost" id="narocnost" style="float: center"> B&nbsp;&nbsp;&nbsp; 
<input type="radio" value="C" name="narocnost" id="narocnost" style="float: center"> C&nbsp;&nbsp;&nbsp;
<input type="radio" value="D" name="narocnost" id="narocnost" style="float: center"> D&nbsp;&nbsp;&nbsp;
<input type="radio" value="E" name="narocnost" id="narocnost" style="float: center"> E&nbsp;&nbsp;&nbsp;
</td></tr>

<tr><td width="120">Cena zahŕňa</td><td width="400""><INPUT size=30 name="cena_zahrna" id="cena_zahrna"></td></tr>
<tr><td width="120">Cena - dospelí</td><td width="400""><INPUT size=30 name="cena_dosp" id="cena_dosp"></td></tr>
<tr><td width="120">Cena - zľava</td><td width="400""><INPUT size=30 name="cena_zlava" id="cena_zlava"></td></tr>
<tr><td width="120">Počet miest</td><td width="400""><INPUT size=30 name="volne_miesta" id="volne_miesta"></td></tr>
<tr><td width="120">Miesto stretnutia</td><td width="400""><INPUT size=30 name="miesto" id="miesto"></td></tr>
<tr><td width="120">Miesto - mapa</td><td width="400""><INPUT size=30 name="miesto_mapa" id="miesto_mapa"></td></tr>
<tr><td width="120">Dĺžka výletu</td><td width="400""><INPUT size=30 name="dlzka" id="dlzka"></td></tr>

<tr><td width="120">Výlety pre každého</td><td width="400""><input class="guest" type="checkbox" name="o1" id="o1"> áno</td></tr>
<tr><td width="120">Pešie exkurzie</td><td width="400""><input class="guest" type="checkbox" name="o2" id="o2"> áno</td></tr>
<tr><td width="120">Cykloexkurzie</td><td width="400""><input class="guest" type="checkbox" name="o3" id="o3"> áno</td></tr>
<tr><td width="120">Splavy</td><td width="400""><input class="guest" type="checkbox" name="o4" id="o4"> áno</td></tr>
<tr><td width="120">Prednášky</td><td width="400""><input class="guest" type="checkbox" name="o5" id="o5"> áno</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="hidden" name="id" value="<?php echo $row->id ?>">
  <INPUT type=submit value="Odoslať výlet">
  <INPUT type=reset value="vymazať">
</td></tr>

 
</table>
</FORM>

<br><br>
</center>



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


</body>
</html>

DR.KR LITE SHELL COPYRIGHT 2016