</td>
                <td id="s_price">
                  <input type="text" class="form-control" name="price" value="<?php 
echo remove_junk($product['sale_price']);
?>
" >
                </td>
                <td>
                  <input type="text" class="form-control" name="total" value="<?php 
echo remove_junk($sale['price']);
?>
">
                </td>
                <td id="s_date">
                  <input type="date" class="form-control datePicker"  name="date" data-date-format="" value="<?php 
echo read_date($sale['date']);
?>
">
                </td>
                <td>
                  <button type="submit" name="update_sale" class="btn btn-primary">Update sale</button>
                </td>
              </form>
              </tr>
           </tbody>
       </table>

    </div>
  </div>
  </div>
Exemple #2
0
        echo "Aktiv";
        ?>
</span>
          <?php 
    } else {
        ?>
            <span class="label label-danger"><?php 
        echo "Inaktiv";
        ?>
</span>
          <?php 
    }
    ?>
           </td>
           <td><?php 
    echo read_date($a_user['last_login']);
    ?>
</td>
           <td class="text-center">
             <div class="btn-group">
                <a href="edit_user.php?id=<?php 
    echo (int) $a_user['id'];
    ?>
" class="btn btn-xs btn-warning" data-toggle="tooltip" title="Edit">
                  <i class="glyphicon glyphicon-pencil"></i>
               </a>
                <a href="delete_user.php?id=<?php 
    echo (int) $a_user['id'];
    ?>
" class="btn btn-xs btn-danger" data-toggle="tooltip" title="Remove">
                  <i class="glyphicon glyphicon-remove"></i>
    ?>
</td>
                <td class="text-center"> <?php 
    echo remove_junk($product['quantity']);
    ?>
</td>
                <td class="text-center"> <?php 
    echo remove_junk($product['buy_price']);
    ?>
</td>
                <td class="text-center"> <?php 
    echo remove_junk($product['sale_price']);
    ?>
</td>
                <td class="text-center"> <?php 
    echo read_date($product['date']);
    ?>
</td>
                <td class="text-center">
                  <div class="btn-group">
                    <a href="edit_product.php?id=<?php 
    echo (int) $product['id'];
    ?>
" class="btn btn-info btn-xs"  title="Edit" data-toggle="tooltip">
                      <span class="glyphicon glyphicon-edit"></span>
                    </a>
                    <a href="delete_product.php?id=<?php 
    echo (int) $product['id'];
    ?>
" class="btn btn-danger btn-xs"  title="Delete" data-toggle="tooltip">
                      <span class="glyphicon glyphicon-trash"></span>