Changeset 472 for branches/beta/pages/admin_finance_modify.php
- Timestamp:
- Mar 7, 2009, 5:11:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/beta/pages/admin_finance_modify.php
r470 r472 19 19 $oper = $_POST['operace']; 20 20 $popis = $_POST['popis']; 21 $odmena = $_POST['odmena']; 21 22 22 23 $operace = $operace_obracene[$oper]; … … 28 29 $upravit_operace = mysql_query("update finance set operation='$operace' where id='$id2'"); 29 30 $upravit_popis = mysql_query("update finance set description='$popis' where id='$id2'"); 31 $upravit_odmenu = mysql_query("update finance set odmena='$odmena' where id='$id2'"); 30 32 31 33 if($upravit_money and $upravit_operace and $upravit_popis): … … 57 59 <th>Suma</th> 58 60 <th>Popis</th> 61 <th>Odměna</th> 59 62 <th> </th> 60 63 </tr> … … 84 87 <td align=\"center\">".$plus.$row["money"]."</td> 85 88 <td align=\"left\">".$operace[$row["operation"]]." ".$row["description"]."</td> 89 <td align=\"center\">".$row["odmena"]."</td> 86 90 <form method=post><td align=\"center\" valign=\"middle\"><input type=hidden name='id_upravit' value='$id'><input type=submit value='Upravit'></form></td> 87 91 </tr> … … 132 136 <td align=\"center\"><input type=text name=money value=".$row["money"]."></td> 133 137 <td align=\"left\"><select name=operace>$option</select><input type=text name=popis value='".$row["description"]."'></td> 138 <td align=\"center\"><input type=text name=odmena value=".$row["odmena"]."></td> 134 139 <td align=\"center\" valign=\"middle\"><input type=hidden name=id value='$id'><input type=submit value='Upravit'></td> 135 140 </form> </tr>
Note:
See TracChangeset
for help on using the changeset viewer.