« Return to Thread: Adding Encoded Customer ID Numbers
<td class="menu_group_items">
<table width="100%" class="table_index">
<tr>
<td class="menu_group_item">
<?php echo "<A HREF='" . $rootpath . ' /SunshineDecodeCustomer.php?' . SID "'><LI>" . _('Decode Encoded Customer ID') . '</LI></A>'; ?>
</td>
</tr>
<tr>
<td class="menu_group_item">
<?php echo "<A HREF='" . $rootpath . ' /SelectCustomer.php?' . SID "'><LI>" . _('Customer Transaction Inquiries') . '</LI></A>'; ?>
</td>
</tr>
<tr>
<td class="menu_group_item">
<?php echo "<A HREF='" . $rootpath . ' /CustWhereAlloc.php?' . SID "'><LI>" . _('Where Allocated Inquiry') . '</LI></A>'; ?>
</td>
</tr>
<tr>
<tr>
<td class="menu_group_item">
<?php echo "<A HREF='" . $rootpath . ' /SunshineDecodeCustomer.php?' . SID "'><LI>" . _('Decode Encoded Customer ID') . '</LI></A>'; ?>
</td>
</tr>
<tr>
echo '<CENTER><FONT SIZE=3>' . _('Customer') . ' :<B> ' . $_SESSION['CustomerID'] . ' - ' . $CustomerName . ' (Encoded as ' . strtoupper(base_convert($_SESSION['CustomerID'], 10, 36)) . ')</B> ' . _('has been selected') . '.<BR>' . _('Select a menu option to operate using this customer') . '.</FONT><BR>';
<?php
$PageSecurity = 2;
include('includes/session.inc');
$title = _('Sunshine Decode Customer Number');
include('includes/header.inc');
include('includes/Wiki.php');
?>
<BR>
<FORM ACTION="<?php echo $_SERVER['PHP_SELF'] . '?' . SID; ?>" METHOD=POST>
<CENTER>
Enter Encoded Customer ID: <INPUT TYPE="Text" NAME="EncodedCustID">
</CENTER>
</FORM>
<?php
$EncodedCustID = $_POST['EncodedCustID'];
?>
<CENTER>
Actual Customer Number of <B><?php echo strtoupper($_POST['EncodedCustID']);?></B> is <B><?php echo strtoupper(base_convert($EncodedCustID, 36, 10));?></B>
</CENTER>
<?php
include('includes/footer.inc');
?>
« Return to Thread: Adding Encoded Customer ID Numbers
| Free Forum Powered by Nabble | Forum Help |