Update calc.php

This commit is contained in:
Sebastian Ranoszek 2025-01-30 01:30:34 +00:00
parent 81b8fe6cda
commit 538a60f417

View File

@ -27,7 +27,7 @@ if(isSet($_POST['w'])) {
setcookie("obW",$obW,time()+60,"/"); setcookie("obW",$obW,time()+60,"/");
setcookie("hw",$h,time()+60,"/"); setcookie("hw",$h,time()+60,"/");
setcookie("rw",$r,time()+60,"/"); setcookie("rw",$r,time()+60,"/");
header("Location: brala.php"); header("Location: index.php");
} }
if(isSet($_POST['stozek'])) { if(isSet($_POST['stozek'])) {
@ -52,7 +52,7 @@ if(isSet($_POST['s'])) {
setcookie("hs",$h,time()+60,"/"); setcookie("hs",$h,time()+60,"/");
setcookie("rs",$r,time()+60,"/"); setcookie("rs",$r,time()+60,"/");
setcookie("ls",$r,time()+60,"/"); setcookie("ls",$r,time()+60,"/");
header("Location: brala.php"); header("Location: index.php");
} }
if(isSet($_POST['graniastoslup'])) { if(isSet($_POST['graniastoslup'])) {
echo "<form method='post'> echo "<form method='post'>
@ -73,7 +73,7 @@ if(isSet($_POST['g'])) {
setcookie("obG",$obG,time()+60,"/"); setcookie("obG",$obG,time()+60,"/");
setcookie("hg",$h,time()+60,"/"); setcookie("hg",$h,time()+60,"/");
setcookie("ag",$a,time()+60,"/"); setcookie("ag",$a,time()+60,"/");
header("Location: brala.php"); header("Location: index.php");
} }
if(isSet($_POST['ostroslup'])) { if(isSet($_POST['ostroslup'])) {
echo "<form method='post'> echo "<form method='post'>
@ -94,7 +94,7 @@ if(isSet($_POST['o'])) {
setcookie("obO",$obO,time()+60,"/"); setcookie("obO",$obO,time()+60,"/");
setcookie("ho",$h,time()+60,"/"); setcookie("ho",$h,time()+60,"/");
setcookie("ao",$a,time()+60,"/"); setcookie("ao",$a,time()+60,"/");
header("Location: brala.php"); header("Location: index.php");
} }
?> ?>
</body> </body>