Fix bug with disconnect that never disappear on web view

This commit is contained in:
root 2010-10-27 15:52:59 +02:00
parent ed8225407c
commit dc6ec437fa

View File

@ -54,7 +54,7 @@ if (!isset($_SESSION["user"]))
{ {
$users = GetUsers(); $users = GetUsers();
echo "<center><h1>KissCount</h1><br /><br/>\n"; echo "<center><h1>KissCount</h1><br /><br/>\n";
echo "<form id=\"login\" method=\"post\">\n"; echo "<form id=\"login\" method=\"post\" action='index.php'>\n";
echo "Login : <select name=\"user\">\n"; echo "Login : <select name=\"user\">\n";
foreach($users as $i => $name) foreach($users as $i => $name)
echo "<option value=\"$name\">$name</option>\n"; echo "<option value=\"$name\">$name</option>\n";
@ -139,7 +139,7 @@ function changeMonths()
} }
} }
</script> </script>
<form id="date" method="POST"> <form id="date" method="POST" action="index.php">
<select name="month" id="date_month"> <select name="month" id="date_month">
<?php <?php
foreach($_SESSION["operations"][$_SESSION["cur_year"]] as $i => $month) foreach($_SESSION["operations"][$_SESSION["cur_year"]] as $i => $month)