rendered paste body<?
include_once("inc/inc.config.php");
$productType = "Uniform";
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
// Login Check
if($_SESSION["loggedIn"] == false){
header("Location: login.php");
}
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
// Get
$productId = $_GET["productId"];
if ($productId == ""){
echo 'you must provide a valid Product ID';
exit;
}
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
// Querys
$query = "SELECT * FROM uniforms WHERE productId = '$productId'";
$result = mysql_query($query, $link) or die ("Died selecting glove information from db. Error:" . mysql_error());
$productInfo = mysql_fetch_array($result);
$query2 = "SELECT * FROM tshirtpricingoptions";
$result2 = mysql_query($query2, $link) or die ("Died selecting pricing information from db. Error:" . mysql_error());
$pricingInfo = mysql_fetch_array($result2);
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
// Insert data in to table customgloveorders from Order Form
if (isset($_POST['submit'])) {
$_SESSION["quantityXS"] = $_POST["quantityXS"];
$_SESSION["quantityS"] = $_POST["quantityS"];
$_SESSION["quantityM"] = $_POST["quantityM"];
$_SESSION["quantityL"] = $_POST["quantityL"];
$_SESSION["quantityXL"] = $_POST["quantityXL"];
$_SESSION["quantityXXL"] = $_POST["quantityXXL"];
$_SESSION["frontScreen"] = $_POST["frontScreen"];
$_SESSION["backScreen"] = $_POST["backScreen"];
$_SESSION["rightSleeveScreen"] = $_POST["rightSleeveScreen"];
$_SESSION["leftSleeveScreen"] = $_POST["leftSleeveScreen"];
$_SESSION["frontNumberScreen"] = $_POST["frontNumberScreen"];
$_SESSION["backNumberScreen"] = $_POST["backNumberScreen"];
$_SESSION["rightSleeveNumberScreen"] = $_POST["rightSleeveNumberScreen"];
$_SESSION["leftSleeveNumberScreen"] = $_POST["leftSleeveNumberScreen"];
$_SESSION["bodyColor"] = $_POST["bodyColor"];
$_SESSION["collarColor"] = $_POST["collarColor"];
$_SESSION["gussetColor"] = $_POST["gussetColor"];
$_SESSION["pipingColor"] = $_POST["pipingColor"];
$_SESSION["trimColor"] = $_POST["trimColor"];
$_SESSION["yokeColor"] = $_POST["yokeColor"];
$_SESSION["color1Color"] = $_POST["color1Color"];
$_SESSION["color2Color"] = $_POST["color2Color"];
$_SESSION["color3Color"] = $_POST["color3Color"];
$_SESSION["color4Color"] = $_POST["color4Color"];
if($_SESSION["frontScreen"] == "a") { $_SESSION["templateTrueFront"] = "true"; }
if($_SESSION["frontScreen"] == "b") { $_SESSION["templateTrueFront"] = "true"; }
if($_SESSION["backScreen"] == "a") { $_SESSION["templateTrueBack"] = "true"; }
if($_SESSION["backScreen"] == "b") { $_SESSION["templateTrueBack"] = "true"; }
if($_SESSION["frontScreen"] == "") { $_SESSION["templateTrueFront"] = "false"; }
if($_SESSION["frontScreen"] == 1) { $_SESSION["templateTrueFront"] = "false"; }
if($_SESSION["frontScreen"] == 2) { $_SESSION["templateTrueFront"] = "false"; }
if($_SESSION["frontScreen"] == 3) { $_SESSION["templateTrueFront"] = "false"; }
if($_SESSION["frontScreen"] == 4) { $_SESSION["templateTrueFront"] = "false"; }
if($_SESSION["backScreen"] == "") { $_SESSION["templateTrueBack"] = "false"; }
if($_SESSION["backScreen"] == 1) { $_SESSION["templateTrueBack"] = "false"; }
if($_SESSION["backScreen"] == 2) { $_SESSION["templateTrueBack"] = "false"; }
if($_SESSION["backScreen"] == 3) { $_SESSION["templateTrueBack"] = "false"; }
if($_SESSION["backScreen"] == 4) { $_SESSION["templateTrueBack"] = "false"; }
var_dump($_SESSION["bodyColor"]);
// Error Check
if ($_SESSION["quantityXS"] + $_SESSION["quantityS"] + $_SESSION["quantityM"] + $_SESSION["quantityL"] + $_SESSION["quantityXL"] + $_SESSION["quantityXXL"] < $pricingInfo["priceBreak1"]) {
$messagesOrder[] = 'You must enter minimum quantity of 12 T-Shirts';
}
if($productInfo["productBody"] == "1") {
if($_SESSION["bodyColor"] == "") {
$messagesOrder[] = 'You must choose the "Body Color" for your Uniform';
}
}
if($productInfo["productCollar"] == "1") {
if($_SESSION["collarColor"] == "") {
$messagesOrder[] = 'You must choose the "Collar Color" for your Uniform';
}
}
if($productInfo["productGusset"] == "1") {
if($_SESSION["gussetColor"] == "") {
$messagesOrder[] = 'You must choose the "Gusset Color" for your Uniform';
}
}
if($productInfo["productPiping"] == "1") {
if($_SESSION["pipingColor"] == "") {
$messagesOrder[] = 'You must choose the "Piping Color" for your Uniform';
}
}
if($productInfo["productTrim"] == "1") {
if($_SESSION["trimColor"] == "") {
$messagesOrder[] = 'You must choose the "Trim Color" for your Uniform';
}
}
if($productInfo["productYoke"] == "1") {
if($_SESSION["yokeColor"] == "") {
$messagesOrder[] = 'You must choose the "Yoke Color" for your Uniform';
}
}
if($productInfo["productColor1"] == "1") {
if($_SESSION["color1Color"] == "") {
$messagesOrder[] = 'You must choose "Color 1" for your Uniform';
}
}
if($productInfo["productColor2"] == "1") {
if($_SESSION["color2Color"] == "") {
$messagesOrder[] = 'You must choose "Color 2" for your Uniform';
}
}
if($productInfo["productColor3"] == "1") {
if($_SESSION["color3Color"] == "") {
$messagesOrder[] = 'You must choose "Color 3" for your Uniform';
}
}
if($productInfo["productColor4"] == "1") {
if($_SESSION["color4Color"] == "") {
$messagesOrder[] = 'You must choose "Color 4" for your Uniform';
}
}
if (empty($messagesOrder)) {
header("Location: customApparel.tshirts.order2.php?productId=".$productId."");
}
}
include_once("inc/inc.header.php");
include_once("inc/inc.leftMenu.php");
?>
<td width="657" class="content" valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="orderProcess" colspan="2">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top">
<strong>ORDER PROCESS:</strong>
<a href="customApparel.tshirts.order1.php?productId=<?php echo $productId; ?>" class="menulinksOrderProcess"
onmouseover="return escape('<table><tr><td><strong>Step 1:</strong></td></tr><tr><td>Quantity, <?php echo $productType; ?> Color, and Screen Printing Options.</td></tr></table>')">
<b>Step 1</b>
</a> >>
<?php if($_SESSION["step2"] == 1): ?>
<a href="customApparel.tshirts.order2.php?productId=<?php echo $productId; ?>" class="menulinksOrderProcess"
onmouseover="return escape('<table><tr><td><strong>Step 2:</strong></td></tr><tr><td>Screen Printing Colors and Template Design.</td></tr></table>')">
Step 2
</a> >>
<?php endif; if($_SESSION["step3"] == 1): ?>
<a href="customApparel.tshirts.order3.php?productId=<?php echo $productId; ?>" class="menulinksOrderProcess"
onmouseover="return escape('<table><tr><td><strong>Step 3:</strong></td></tr><tr><td>Number Sizes and Numbers.</td></tr></table>')">
Step 3
</a> >>
<?php endif; if($_SESSION["step4"] == 1): ?>
<a href="customApparel.tshirts.order4.php?productId=<?php echo $productId; ?>" class="menulinksOrderProcess"
onmouseover="return escape('<table><tr><td><strong>Confirm Order:</strong></td></tr><tr><td>Check your order to make sure it is correct.</td></tr></table>')">
Confirm Order
</a>
<?php endif; ?>
</td>
</tr>
</table>
<script language="JavaScript" type="text/javascript" src="wz_tooltip2.js"></script>
</td>
</tr>
<tr>
<td class="productPhoto" valign="top" align="center"><img src="images/products/customApparel/tShirts/<?=stripslashes($productInfo["productImage"])?>" alt="<?=stripslashes($productInfo["productImageAlt"])?>"></td>
<td valign="top" width="364" class="tdSpacing">
<table cellpadding="0" cellspacing="0" border="0" class="tableSpacing">
<tr>
<td class="menuTop">PRODUCT INFORMATION</td>
</tr>
<tr>
<td class="menuBottom">
<strong>Name:</strong> <?=stripslashes($productInfo["productName"])?>
<br><strong>Designer:</strong> <a href="<?=stripslashes($productInfo["productDesignerWeb"])?>" class="menulinks"><?=stripslashes($productInfo["productDesigner"])?></a>
<br><strong>Turnaround:</strong> <?=stripslashes($productInfo["productTurnaround"])?>
<br>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><strong>Description:</strong></td>
<td style="padding: 0px 0px 0px 3px"><?=stripslashes($productInfo["productDescription"]) ?></td>
</tr>
</table>
<br>
<strong>Price Breaks:</strong>
<?=stripslashes($pricingInfo["priceBreak1"])?>-<?=stripslashes($pricingInfo["priceBreak2"])?>,
<?=stripslashes($pricingInfo["priceBreak3"])?>-<?=stripslashes($pricingInfo["priceBreak4"])?>,
<?=stripslashes($pricingInfo["priceBreak5"])?>-<?=stripslashes($pricingInfo["priceBreak6"])?>,
<?=stripslashes($pricingInfo["priceBreak7"])?>+
<br><strong>Screen Set-Up Fee:</strong> $<?=stripslashes($pricingInfo["screenFee"])?> Per Screen
<br><strong>Template Set-Up Fee:</strong> $<?=stripslashes($pricingInfo["templateFee"])?> Per Template
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2">
<?php if($messagesOrder != ""): ?>
<table cellpadding="0" cellspacing="0" border="0" class="tableSpacing" width="650">
<tr>
<td class="menuTopERROR" style="border: 2px solid #E12D39"; color: #E12D39;">ERROR</td>
</tr>
<tr>
<td class="menuBottom" style="border-color: #E12D39; border-width: 2px;">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<?
if ($messagesOrder){
displayErrors($messagesOrder);
}
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?php endif; ?>
<table cellpadding="0" cellspacing="0" border="0" class="tableSpacing">
<tr>
<td class="menuTop">ORDER INFORMATION <a style="color: #E12D39; text-decoration: none;"
onmouseover="return escape('<table><tr><td><strong>Quantity:</strong></td></tr><tr><td>Fill in the number of each size <?php echo $productType; ?> you want for your order.<br><br></td></tr><tr><td><strong><?php echo $productType; ?> Color:</strong></td></tr><tr><td>Select a <?php echo $productType; ?> Color from the available options.</td></tr></table>')">
(?)
</a>
<script language="JavaScript" type="text/javascript" src="wz_tooltip2.js"></script>
</td>
</tr>
<tr>
<td class="menuBottom">
<form action="customUniforms.order1.php?productId=<?php echo $productId; ?>" method="POST">
<input type="hidden" name="userId" value="<?=stripslashes($_SESSION["userId"])?>">
<input type="hidden" name="orderDate" value="<?php echo $today = date("F j, Y g:i a"); ?>">
<table cellpadding="0" cellspacing="0" border="0" width="635">
<tr>
<td valign="top" width="312" style="padding: 5px 0px 0px 10px;">
<strong>Quantity:</strong> (minimum order of <?php echo $pricingInfo["priceBreak1"]; ?>)<br>
<div style="padding: 5px 0px 0px 10px;">
<table cellspacing="0" cellpadding="1" border="0">
<tr>
<td>X-Small:</td>
<td><input type="text" name="quantityXS" value="<?php echo $_SESSION["quantityXS"]; ?>" class="form" maxlength="2" size="2" style="margin: 0px 0px 0px 2px;"></td>
</tr>
<tr>
<td>Small:</td>
<td><input type="text" name="quantityS" value="<?php echo $_SESSION["quantityS"]; ?>" class="form" maxlength="2" size="2" style="margin: 0px 0px 0px 2px;"></td>
</tr>
<tr>
<td>Medium:</td>
<td><input type="text" name="quantityM" value="<?php echo $_SESSION["quantityM"]; ?>" class="form" maxlength="2" size="2" style="margin: 0px 0px 0px 2px;"></td>
</tr>
<tr>
<td>Large:</td>
<td><input type="text" name="quantityL" value="<?php echo $_SESSION["quantityL"]; ?>" class="form" maxlength="2" size="2" style="margin: 0px 0px 0px 2px;"></td>
</tr>
<tr>
<td>X-Large:</td>
<td><input type="text" name="quantityXL" value="<?php echo $_SESSION["quantityXL"]; ?>" class="form" maxlength="2" size="2" style="margin: 0px 0px 0px 2px;"></td>
</tr>
<tr>
<td>XX-Large:</td>
<td><input type="text" name="quantityXXL" value="<?php echo $_SESSION["quantityXXL"]; ?>" class="form" maxlength="2" size="2" style="margin: 0px 0px 0px 2px;"></td>
</tr>
</table>
</div><br>
</td>
<td valign="top" style="border-left: 1px solid #000000; padding: 5px 0px 0px 25px;">
<strong><?php echo $productType; ?> Colors:</strong><br>
<div style="padding: 5px 0px 0px 10px;">
<table cellspacing="0" cellpadding="1" border="0">
<?php if($productInfo["productBody"] == 1): ?>
<tr>
<td width="55">Body:</td>
<td>
<select name="bodyColor" style="margin: 0px 0px 2px 2px;">
<option value="">Choose A Color...</option>
<?php
$query5 = "SELECT * FROM uniformcolors_body WHERE productId = '$productId'";
$result5 = mysql_query($query5, $link) or die ("Died selecting uniform color information from db. Error:" . mysql_error());
while ($bodyColor = mysql_fetch_array($result5)):
?>
<option value="<?php echo $bodyColor["colorId"]; ?>" <?php if($_SESSION["bodyColor"] == $bodyColor["colorId"]) { echo "selected"; } ?>><?php echo $bodyColor["colorName"]; ?></option>
<?php
endwhile;
?>
</select>
</td>
</tr>
<?php endif; if($productInfo["productCollar"] == 1): ?>
<tr>
<td>Collar:</td>
<td>
<select name="collarColor" style="margin: 0px 0px 2px 2px;">
<option value="">Choose A Color...</option>
<?php
$query6 = "SELECT * FROM uniformcolors_collar WHERE productId = '$productId'";
$result6 = mysql_query($query6, $link) or die ("Died selecting uniform color information from db. Error:" . mysql_error());
while ($collarColor = mysql_fetch_array($result6)):
?>
<option value="<?php echo $collarColor["colorName"]; ?>" <?php if($_SESSION["collarColor"] == "$collarColor[colorName]") { echo "selected"; } ?>><?php echo $collarColor["colorName"]; ?></option>
<?php
endwhile;
?>
</select>
</td>
</tr>
<?php endif; if($productInfo["productGusset"] == 1): ?>
<tr>
<td>Gusset:</td>
<td>
<select name="gussetColor" style="margin: 0px 0px 2px 2px;">
<option value="">Choose A Color...</option>
<?php
$query7 = "SELECT * FROM uniformcolors_gusset WHERE productId = '$productId'";
$result7 = mysql_query($query7, $link) or die ("Died selecting uniform color information from db. Error:" . mysql_error());
while ($gussetColor = mysql_fetch_array($result7)):
?>
<option value="<?php echo $gussetColor["colorName"]; ?>" <?php if($_SESSION["gussetColor"] == "$gussetColor[colorName]") { echo "selected"; } ?>><?php echo $gussetColor["colorName"]; ?></option>
<?php
endwhile;
?>
</select>
</td>
</tr>
<?php endif; if($productInfo["productPiping"] == 1): ?>
<tr>
<td>Piping:</td>
<td>
<select name="pipingColor" style="margin: 0px 0px 2px 2px;">
<option value="">Choose A Color...</option>
<?php
$query8 = "SELECT * FROM uniformcolors_piping WHERE productId = '$productId'";
$result8 = mysql_query($query8, $link) or die ("Died selecting uniform color information from db. Error:" . mysql_error());
while ($pipingColor = mysql_fetch_array($result8)):
?>
<option value="<?php echo $pipingColor["colorName"]; ?>" <?php if($_SESSION["pipingColor"] == "$pipingColor[colorName]") { echo "selected"; } ?>><?php echo $pipingColor["colorName"]; ?></option>
<?php
endwhile;
?>
</select>
</td>
</tr>
<?php endif; if($productInfo["productTrim"] == 1): ?>
<tr>
<td>Trim:</td>
<td>
<select name="trimColor" style="margin: 0px 0px 2px 2px;">
<option value="">Choose A Color...</option>
<?php
$query9 = "SELECT * FROM uniformcolors_trim WHERE productId = '$productId'";
$result9 = mysql_query($query9, $link) or die ("Died selecting uniform color information from db. Error:" . mysql_error());
while ($trimColor = mysql_fetch_array($result9)):
?>
<option value="<?php echo $trimColor["colorName"]; ?>" <?php if($_SESSION["trimColor"] == "$trimColor[colorName]") { echo "selected"; } ?>><?php echo $trimColor["colorName"]; ?></option>
<?php
endwhile;
?>
</select>
</td>
</tr>
<?php endif; if($productInfo["productYoke"]): ?>
<tr>
<td>Yoke:</td>
<td>
<select name="yokeColor" style="margin: 0px 0px 2px 2px;">
<option value="">Choose A Color...</option>
<?php
$query10 = "SELECT * FROM uniformcolors_yoke WHERE productId = '$productId'";
$result10 = mysql_query($query10, $link) or die ("Died selecting uniform color information from db. Error:" . mysql_error());
while ($yokeColor = mysql_fetch_array($result10)):
?>
<option value="<?php echo $yokeColor["colorName"]; ?>" <?php if($_SESSION["yokeColor"] == "$yokeColor[colorName]") { echo "selected"; } ?>><?php echo $yokeColor["colorName"]; ?></option>
<?php
endwhile;
?>
</select>
</td>
</tr>
<?php endif; if($productInfo["productColor1"] == 1): ?>
<tr>
<td>Color 1:</td>
<td>
<select name="color1Color" style="margin: 0px 0px 2px 2px;">
<option value="">Choose A Color...</option>
<?php
$query11 = "SELECT * FROM uniformcolors_color1234 WHERE productId = '$productId'";
$result11 = mysql_query($query11, $link) or die ("Died selecting uniform color information from db. Error:" . mysql_error());
while ($color1234Color = mysql_fetch_array($result11)):
?>
<option value="<?php echo $color1234Color["colorName"]; ?>" <?php if($_SESSION["color1Color"] == "$color1234Color[colorName]") { echo "selected"; } ?>><?php echo $color1234Color["colorName"]; ?></option>
<?php
endwhile;
?>
</select>
</td>
</tr>
<?php endif; if($productInfo["productColor2"] == 1): ?>
<tr>
<td>Color 2:</td>
<td>
<select name="color2Color" style="margin: 0px 0px 2px 2px;">
<option value="">Choose A Color...</option>
<?php
$query12 = "SELECT * FROM uniformcolors_color1234 WHERE productId = '$productId'";
$result12 = mysql_query($query12, $link) or die ("Died selecting uniform color information from db. Error:" . mysql_error());
while ($color1234Color2 = mysql_fetch_array($result12)):
?>
<option value="<?php echo $color1234Color2["colorName"]; ?>" <?php if($_SESSION["color2Color"] == "$color1234Color2[colorName]") { echo "selected"; } ?>><?php echo $color1234Color2["colorName"]; ?></option>
<?php
endwhile;
?>
</select>
</td>
</tr>
<?php endif; if($productInfo["productColor3"] == 1): ?>
<tr>
<td>Color 3:</td>
<td>
<select name="color3Color" style="margin: 0px 0px 2px 2px;">
<option value="">Choose A Color...</option>
<?php
$query13 = "SELECT * FROM uniformcolors_color1234 WHERE productId = '$productId'";
$result13 = mysql_query($query13, $link) or die ("Died selecting uniform color information from db. Error:" . mysql_error());
while ($color1234Color3 = mysql_fetch_array($result13)):
?>
<option value="<?php echo $color1234Color3["colorName"]; ?>" <?php if($_SESSION["color2Color"] == "$color1234Color3[colorName]") { echo "selected"; } ?>><?php echo $color1234Color3["colorName"]; ?></option>
<?php
endwhile;
?>
</select>
</td>
</tr>
<?php endif; if($productInfo["productColor4"] == 1): ?>
<tr>
<td>Color 4:</td>
<td>
<select name="color4Color" style="margin: 0px 0px 2px 2px;">
<option value="">Choose A Color...</option>
<?php
$query14 = "SELECT * FROM uniformcolors_color1234 WHERE productId = '$productId'";
$result14 = mysql_query($query14, $link) or die ("Died selecting uniform color information from db. Error:" . mysql_error());
while ($color1234Color4 = mysql_fetch_array($result14)):
?>
<option value="<?php echo $color1234Color4["colorName"]; ?>" <?php if($_SESSION["color2Color"] == "$color1234Color4[colorName]") { echo "selected"; } ?>><?php echo $color1234Color4["colorName"]; ?></option>
<?php
endwhile;
?>
</select>
</td>
</tr>
<?php endif; ?>
</table>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" style="margin: 0px 5px 10px 4px" width="650">
<tr>
<td class="menuTop">PRINTING OPTIONS <a style="color: #E12D39; text-decoration: none;"
onmouseover="return escape('<table><tr><td><strong>Screen Printing Options:</strong></td></tr><tr><td>Select how many colors you would like on your <?php echo $productType; ?> and where you would like to print, if you do not have a design for your <?php echo $productType; ?> you can choose one of our Templates.<br><br></td></tr><tr><td><strong>Number Printing Options:</strong></td></tr><tr><td>Select how many colors you want your numbers to be and where you would like them placed on the <?php echo $productType; ?>.</td></tr></table>')">
(?)
</a>
<script language="JavaScript" type="text/javascript" src="wz_tooltip2.js"></script>
</td>
</tr>
<tr>
<td class="menuBottom">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="312" style="padding: 5px 0px 0px 10px;">
<strong>Screen Printing Options:</strong>
<div style="padding: 5px 0px 0px 10px;">
<table border="0" cellpadding="1" cellspacing="0" width="293">
<tr>
<td valign="middle" align="left" width="155">
Front Screen:
</td>
<td align="left" width="170">
<select name="frontScreen" style="margin: 0px 0px 2px 2px;">
<option value="">Blank </option>
<option value="1" <?php if($_SESSION["frontScreen"] == 1) { echo "selected"; } ?>>1 Color</option>
<option value="2" <?php if($_SESSION["frontScreen"] == 2) { echo "selected"; } ?>>2 Color</option>
<option value="3" <?php if($_SESSION["frontScreen"] == 3) { echo "selected"; } ?>>3 Color</option>
<option value="4" <?php if($_SESSION["frontScreen"] == 4) { echo "selected"; } ?>>4 Color</option>
<option value="a" <?php if($_SESSION["frontScreen"] == "a") { echo "selected"; } ?>>1 Color Template</option>
<option value="b" <?php if($_SESSION["frontScreen"] == "b") { echo "selected"; } ?>>2 Color Template</option>
</select>
</td>
</tr>
<tr>
<td valign="middle" align="left">
Back Screen:
</td>
<td align="left">
<select name="backScreen" style="margin: 0px 0px 2px 2px;">
<option value="">Blank </option>
<option value="1" <?php if($_SESSION["backScreen"] == 1) { echo "selected"; } ?>>1 Color</option>
<option value="2" <?php if($_SESSION["backScreen"] == 2) { echo "selected"; } ?>>2 Color</option>
<option value="3" <?php if($_SESSION["backScreen"] == 3) { echo "selected"; } ?>>3 Color</option>
<option value="4" <?php if($_SESSION["backScreen"] == 4) { echo "selected"; } ?>>4 Color</option>
<option value="a" <?php if($_SESSION["backScreen"] == "a") { echo "selected"; } ?>>1 Color Template</option>
<option value="b" <?php if($_SESSION["backScreen"] == "b") { echo "selected"; } ?>>2 Color Template</option>
</select>
</td>
</tr>
<tr>
<td valign="middle" align="left" width="125">
Right Sleeve Screen:
</td>
<td align="left">
<select name="rightSleeveScreen" style="margin: 0px 0px 2px 2px;">
<option value="">Blank </option>
<option value="1" <?php if($_SESSION["rightSleeveScreen"] == 1) { echo "selected"; } ?>>1 Color</option>
<option value="2" <?php if($_SESSION["rightSleeveScreen"] == 2) { echo "selected"; } ?>>2 Color</option>
<option value="3" <?php if($_SESSION["rightSleeveScreen"] == 3) { echo "selected"; } ?>>3 Color</option>
<option value="4" <?php if($_SESSION["rightSleeveScreen"] == 4) { echo "selected"; } ?>>4 Color</option>
</select>
</td>
</tr>
<tr>
<td valign="middle" align="left">
Left Sleeve Screen:
</td>
<td align="left">
<select name="leftSleeveScreen" style="margin: 0px 0px 2px 2px;">
<option value="">Blank </option>
<option value="1" <?php if($_SESSION["leftSleeveScreen"] == 1) { echo "selected"; } ?>>1 Color</option>
<option value="2" <?php if($_SESSION["leftSleeveScreen"] == 2) { echo "selected"; } ?>>2 Color</option>
<option value="3" <?php if($_SESSION["leftSleeveScreen"] == 3) { echo "selected"; } ?>>3 Color</option>
<option value="4" <?php if($_SESSION["leftSleeveScreen"] == 4) { echo "selected"; } ?>>4 Color</option>
</select>
</td>
</tr>
</table>
</div>
</td>
<td style="padding: 5px 0px 0px 25px; border-left: 1px solid #000000;">
<strong>Number Printing Options:</strong>
<div style="padding: 5px 0px 0px 10px;">
<table border="0" cellpadding="1" cellspacing="0" width="280">
<tr>
<td valign="middle" align="left" width="140">
Front Numbers:
</td>
<td align="left" >
<select name="frontNumberScreen" style="margin: 0px 0px 2px 2px;">
<option value="">Blank </option>
<option value="1" <?php if($_SESSION["frontNumberScreen"] == 1) { echo "selected"; } ?>>1 Color</option>
<option value="2" <?php if($_SESSION["frontNumberScreen"] == 2) { echo "selected"; } ?>>2 Color</option>
<option value="p" <?php if($_SESSION["frontNumberScreen"] == "p") { echo "selected"; } ?>>Pill Number</option>
</select>
</td>
</tr>
<tr>
<td valign="middle" align="left">
Back Numbers:
</td>
<td align="left">
<select name="backNumberScreen" style="margin: 0px 0px 2px 2px;">
<option value="">Blank </option>
<option value="1" <?php if($_SESSION["backNumberScreen"] == 1) { echo "selected"; } ?>>1 Color</option>
<option value="2" <?php if($_SESSION["backNumberScreen"] == 2) { echo "selected"; } ?>>2 Color</option>
</select>
</td>
</tr>
<tr>
<td valign="middle" align="left">
Right Sleeve Numbers:
</td>
<td align="left">
<select name="rightSleeveNumberScreen" style="margin: 0px 0px 2px 2px;">
<option value="">Blank </option>
<option value="1" <?php if($_SESSION["rightSleeveNumberScreen"] == 1) { echo "selected"; } ?>>1 Color</option>
<option value="2" <?php if($_SESSION["rightSleeveNumberScreen"] == 2) { echo "selected"; } ?>>2 Color</option>
</select>
</td>
</tr>
<tr>
<td valign="middle" align="left">
Left Sleeve Numbers:
</td>
<td align="left">
<select name="leftSleeveNumberScreen" style="margin: 0px 0px 2px 2px;">
<option value="">Blank </option>
<option value="1" <?php if($_SESSION["leftSleeveNumberScreen"] == 1) { echo "selected"; } ?>>1 Color</option>
<option value="2" <?php if($_SESSION["leftSleeveNumberScreen"] == 2) { echo "selected"; } ?>>2 Color</option>
</select>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<div style="padding: 10px 0px 0px 246px;">
<input type="submit" value="Continue Order" name="submit" class="form2"></form>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<?
include_once("inc/inc.footer.php");
?>