%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/buggydubrovnik.com/prodaja/
Upload File :
Create Path :
Current File : //var/www/html/buggydubrovnik.com/prodaja/noviizlet.php

<?php

	if (session_id() == ""){

		session_cache_expire(30);

		session_start();

	}

		if(!isset($_SESSION['userx']) && !isset($_SESSION['user']))

 		{header( 'Location: auth.php' ) ; exit;}

	$pop = 0;
	$datum='';

	if(isset($_SESSION['userx']) || ((isset($_SESSION['user']))&&($_SESSION['user']=='sve')))

	{$pop=1;}
	
	if(isset($_GET['datum']) )

	{$datum=($_GET['datum']);}
	else
	{exit;}
	
	

	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<script type="text/javascript" src="businesslayer.js" ></script>

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<script src="jquery.js"></script>

<script type="text/javascript">
function UnesiIz()
{
	var broj = 0;
	var selectElement1 = document.getElementById('sati');
	selectedValue1 = selectElement1[selectElement1.selectedIndex].text;
	
	var selectElement2 = document.getElementById('minute');
	selectedValue2 = selectElement2[selectElement2.selectedIndex].text;
	
	var selectElement3 = document.getElementById('trajanje');
	selectedValue3 = selectElement3[selectElement3.selectedIndex].text;
	
	if (document.getElementById('privatni').checked)
	{
		broj=4;
	}
	
 MakeRequestInsertIzlet( 0, 9,"<?php echo $datum?>"+" "+selectedValue1+":"+selectedValue2+":00", selectedValue3 , broj);
 window.close();
}
</script>

<link href="glyphicons.css" type="text/css" rel="stylesheet"/>
<link href="style.css" rel="stylesheet" type="text/css" />

<title>Unos novog izleta</title>
</head>
<div id="dropdown">
<table>
<form name="unos">
 <tr><td><label>Sati :</label></td><td><select id="sati"> 
 <option value="08">08</option>
 <option value="09">09</option>
 <option value="10">10</option>
 <option value="11">11</option>
 <option value="12">12</option>
 <option value="13">13</option>
 <option value="14">14</option>
 <option value="15">15</option>
 <option value="16">16</option>
 <option value="17">17</option>
 <option value="18">18</option>
 <option value="19">19</option>
 <option value="20">20</option>
 </select></td></tr>
 <tr><td>
 <label>Minute :</label></td><td><select id="minute">
 <option value="00">00</option>
 <option value="05">05</option>
 <option value="10">10</option>
 <option value="15">15</option>
 <option value="20">20</option>
 <option value="25">25</option>
 <option value="30">30</option>
 <option value="35">35</option>
 <option value="40">40</option>
 <option value="45">45</option>
 <option value="50">50</option>
 <option value="55">55</option>
 <option value="60">60</option>
 </select></td></tr>
 
 <tr><td>
 <label>Trajanje :</label></td><td><select id="trajanje">
 <option value="20">20</option>
 <option value="30">30</option>
 <option value="40">40</option>
 <option value="50">50</option>
 <option value="60" selected="selected">60</option>
 <option value="70">70</option>
 <option value="80">80</option>
 <option value="90">90</option>
 <option value="120">120</option>
 <option value="150">150</option>
 <option value="180">180</option>
 </select></td></tr>
 
 <tr><td><label>Privatni :</label></td><td><input type="checkbox" name="privatni" id="privatni"></td></tr>
 
<tr><td colspan="2"><button onclick="javascript:UnesiIz();" style="cursor:pointer;"  class="button">UNESI</button></td></tr>
</form>
</table>
</div>
<body>
</body>
</html>

Zerion Mini Shell 1.0