Zaktualizuj 'index.php'
This commit is contained in:
parent
6ef5b62b99
commit
4a96b0f6b7
16
index.php
16
index.php
@ -61,16 +61,16 @@ if ($_SESSION['zalogowany']==true)
|
||||
<table>Do zrobienia
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Numer</td>
|
||||
<td>Nr</td>
|
||||
<td>Zadanie</td>
|
||||
<td>Akcja</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php while ($row = mysqli_fetch_array($tasks)) { ?>
|
||||
<?php $i=1; while ($row = mysqli_fetch_array($tasks)) { ?>
|
||||
|
||||
<tr>
|
||||
<td><?php echo $row['ID']; ?></td>
|
||||
<td><?php echo $i; ?></td>
|
||||
<td class="task"><?php echo $row['task']; ?></td>
|
||||
<td class="action">
|
||||
<a href="delete.php?del_task=<?php echo $row['ID'];?>">x</a>
|
||||
@ -78,7 +78,7 @@ if ($_SESSION['zalogowany']==true)
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
<?php i++; } ?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
@ -86,23 +86,23 @@ if ($_SESSION['zalogowany']==true)
|
||||
<table>Zrobione
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Numer</td>
|
||||
<td>Nr</td>
|
||||
<td>Zadanie</td>
|
||||
<td>Akcja</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php while ($row = mysqli_fetch_array($tasks_done)) { ?>
|
||||
<?php $i=1; while ($row = mysqli_fetch_array($tasks_done)) { ?>
|
||||
|
||||
<tr>
|
||||
<td><?php echo $row['ID']; ?></td>
|
||||
<td><?php echo $i; ?></td>
|
||||
<td class="task"><?php echo $row['task']; ?></td>
|
||||
<td class="action">
|
||||
<a href="delete.php?del_task=<?php echo $row['ID'];?>">x</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
<?php $i++; } ?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue
Block a user