示例#1
0
<?php

include "../../convenienceDB.php";
$username = $_POST['username'];
$ro = new convenienceDB();
$ro->coconutDesign();
echo "<Br><br><br>";
$ro->coconutFormStart("post", "addInventory1.php");
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "185");
echo "<br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox("description", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>QTY</td>";
echo "<td>";
$ro->coconutTextBox_short("qty", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Unitcost</td>";
echo "<td>";
$ro->coconutTextBox_short("unitCost", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
示例#2
0
文件: qty.php 项目: rickyx12/protacio
<?php

include "../../convenienceDB.php";
$inventoryNo = $_GET['inventoryNo'];
$transactionNo = $_GET['transactionNo'];
$description = $_GET['description'];
$price = $_GET['price'];
$username = $_GET['username'];
$ro = new convenienceDB();
$ro->coconutDesign();
echo "<br><br><br><br><bR>";
$ro->coconutFormStart("get", "addSales.php");
$ro->coconutHidden("inventoryNo", $inventoryNo);
$ro->coconutHidden("transactionNo", $transactionNo);
$ro->coconutHidden("description", $description);
$ro->coconutHidden("price", $price);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("400", "80");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>QTY&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox_short("qty", "1");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例#3
0
<?php

include "../../convenienceDB.php";
$username = $_GET['username'];
$inventoryNo = $_GET['inventoryNo'];
$description = $_GET['description'];
$qty = $_GET['qty'];
$unitcost = $_GET['unitcost'];
$price = $_GET['price'];
$ro = new convenienceDB();
$ro->coconutDesign();
echo "<Br><br><br>";
$ro->coconutFormStart("post", "editInventory1.php");
$ro->coconutHidden("inventoryNo", $inventoryNo);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "185");
echo "<br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox("description", $description);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>QTY</td>";
echo "<td>";
$ro->coconutTextBox_short("qty", $qty);
echo "</td>";
echo "</tr>";
echo "<tr>";