Changeset 383 for beta/pages/aukce.php
- Timestamp:
- Sep 28, 2008, 11:22:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
beta/pages/aukce.php
r377 r383 17 17 if (isset($_POST["set"])) 18 18 { 19 $ day_half = 129600;20 setcookie("hof-maxlvl",$_POST["maxlvl"],time()+$ day_half);21 setcookie("hof-minlvl",$_POST["minlvl"],time()+$ day_half);22 setcookie("hof-maxgold",$_POST["maxgold"],time()+$ day_half);23 setcookie("hof-frakce",$_POST["frakce"],time()+$ day_half);19 $year = 365 * 24 * 60 * 60; 20 setcookie("hof-maxlvl",$_POST["maxlvl"],time()+$year); 21 setcookie("hof-minlvl",$_POST["minlvl"],time()+$year); 22 setcookie("hof-maxgold",$_POST["maxgold"],time()+$year); 23 setcookie("hof-frakce",$_POST["frakce"],time()+$year); 24 24 echo "<meta http-equiv=\"refresh\" content=\"2;url=?page=aukce\">"; 25 25 $work = "Ukládám nastavení , chvíli strpení"; … … 27 27 if (isset($_POST["reset"])) 28 28 { 29 setcookie("hof-maxlvl",""); 30 setcookie("hof-minlvl",""); 31 setcookie("hof-maxgold",""); 32 setcookie("hof-frakce",""); 29 $year = 365 * 24 * 60 * 60; 30 setcookie("hof-maxlvl","",time()+$year); 31 setcookie("hof-minlvl","",time()+$year); 32 setcookie("hof-maxgold","",time()+$year); 33 setcookie("hof-frakce","",time()+$year); 33 34 echo "<meta http-equiv=\"refresh\" content=\"2;url=?page=aukce\">"; 34 35 $work = "Ukládám nastavení , chvíli strpení";
Note:
See TracChangeset
for help on using the changeset viewer.