PHP Script for .NET Compact Framework Package – E-Commerce
Mar 10, 2012, by admin
MW6 QRCode .NET CF package has three 100% managed code libraries for Pocket PC, Windows CE and Smartphone platforms, the libraries can produce QRCode format model data and your applications can use this model data to make QRCode barcode onto E-Commerce.
- <?php
- session_start();
- header(“Cache-control: private”);
- header(‘Content-Type: text/html; charset=utf-8’);
- require(“_add_item.php”);
- ?>
- <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
- <html>
- <head>
- <title><?=$g_page_title?></title>
- <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
- <link rel=”stylesheet” type=”text/css” media=”all” href=”../global/jscalendar/skins/aqua/theme.css” title=”Aqua” />
- <script type=”text/javascript” src=”../global/jscalendar/calendar.js”></script>
- <script type=”text/javascript” src=”../global/jscalendar/calendar-setup.js”></script>
- <script type=”text/javascript” src=”../global/jscalendar/lang/calendar-en.js”></script>
- <link rel=”stylesheet” type=”text/css” href=”../global/styles.css” />
- <script type=”text/javascript” src=”../global/validation.js”></script>
- </head>
- <body>
- <?php
- require(“../global/banner.php”);
- $page = “items”;
- $page_link = true;
- require(“../global/nav.php”);
- ?>
- <div id=”main_area”>
- <table cellpadding=”30″ width=”100%”>
- <tr>
- <td>
- <div>Add Item</div>
- <?php display_message($success, $message); ?>
- <div>
- This page lets you add a new item. <!– You can also <a href=”items_bulk_upload.php”>bulk upload
- multiple items from a CSV file</a>. –>
- </div>
- <br />
- <form action=”<?=$_SERVER[‘PHP_SELF’]?>” method=”post”>
- <table width=”700″>
- <tr>
- <td width=”160″>Date Added</td>
- <td>
- <table cellspacing=’0′ cellpadding=’0′ border=’0′>
- <tr>
- <td><input type=”text” name=”date_added” id=”date_added” style=”width: 130px;” value=”<?php echo $date_added; ?>” /></td>
- <td><img src=’../images/calendar_icon.gif’ id=”date_added_img” border=’0′ /></td>
- </tr>
- </table>
- <script type=”text/javascript”>
- // init a Calendar for this row
- Calendar.setup({
- inputField : “date_added”,
- showsTime : true,
- timeFormat : “24”,
- ifFormat : “%Y-%m-%d %H:%M:00”,
- button : “date_added_img”,
- align : “B2”,
- singleClick : true
- });
- </script>
- </td>
- </tr>
- <?php
- // show the appropriate columns
- while (list($row_num, $row_info) = each($item_settings))
- {
- $row_title = $row_info[0];
- ?>
- <tr>
- <td width=”160″><?=$row_title?></td>
- <td><input type=”text” name=”row_<?=$row_num?>” value=”” style=”width: 100%;” /></td>
- </tr>
- <?php
- }
- ?>
- <tr>
- <td> </td>
- <td>
- <input type=”submit” name=”submit” value=” ADD ITEM ” style=”margin-top: 5px;” />
- <input type=”submit” name=”submit_invoice” value=” ADD ITEM AND INVOICE >>” style=”margin-top: 5px;” />
- </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-