Ignore:
Timestamp:
Mar 7, 2009, 5:11:22 PM (16 years ago)
Author:
amun
Message:

Přidáno do financí "odměna"...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/pages/admin_finance_modify.php

    r470 r472  
    1919$oper = $_POST['operace'];
    2020$popis = $_POST['popis'];
     21$odmena = $_POST['odmena'];
    2122
    2223$operace = $operace_obracene[$oper];
     
    2829   $upravit_operace = mysql_query("update finance set operation='$operace' where id='$id2'");
    2930   $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'");
    3032   
    3133   if($upravit_money and $upravit_operace and $upravit_popis):
     
    5759      <th>Suma</th>
    5860      <th>Popis</th>
     61          <th>Odměna</th>
    5962          <th>&nbsp;</th>
    6063    </tr> 
     
    8487        <td align=\"center\">".$plus.$row["money"]."</td>
    8588        <td align=\"left\">".$operace[$row["operation"]]." ".$row["description"]."</td>
     89                <td align=\"center\">".$row["odmena"]."</td>
    8690                <form method=post><td align=\"center\" valign=\"middle\"><input type=hidden name='id_upravit' value='$id'><input type=submit value='Upravit'></form></td>
    8791      </tr> 
     
    132136            <td align=\"center\"><input type=text name=money value=".$row["money"]."></td>
    133137        <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>
    134139                <td align=\"center\" valign=\"middle\"><input type=hidden name=id value='$id'><input type=submit value='Upravit'></td>
    135140      </form> </tr>
Note: See TracChangeset for help on using the changeset viewer.