<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<?php
$unit = $_GET[unit];
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>BrooksideNurseries.co.uk - gardening supplies, cut flowers, bouquets, seed potatoes, tools - shop online now!</title>
<link rel=StyleSheet href="scripts/bn.css">
<script language="javascript" src="scripts/image.js" type="text/javascript"></script>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=300,height=400');");
}
// End -->
</script>
</head>
<body class="bg" bgcolor=777777>
<span id="band"><img src="pics/band.gif" border="0" ismap usemap="#band">
<map name="band">
<area name="band" shape="poly" href="http://www.angelicgroup.com/catalog" coords="97,0,0,97,0,150,150,0"></map>
</span>
<span id="table">
<span id="logo"><a href="home.html"><img src="pics/logo.jpg" height=177 width=800 alt="" border="0"></a></span>
<span id="navbg"><img src="pics/buttonbg.jpg" width=800 alt=""></span>
<span id="nav"><a href="home.html"><img src="pics/button1.jpg" border=0 style=filter:alpha(opacity=0) onMouseOver=nereidFade(this,100,0,10) onMouseOut=nereidFade(this,0,5,5) alt=""></a><a href="about.html"><img src="pics/button2.jpg" border=0 style=filter:alpha(opacity=0) onMouseOver=nereidFade(this,100,0,10) onMouseOut=nereidFade(this,0,5,5) alt=""></a><a href="http://www.angelicgroup.com/catalog"><img src="pics/button3.jpg" border=0 style=filter:alpha(opacity=0) onMouseOver=nereidFade(this,100,0,10) onMouseOut=nereidFade(this,0,5,5) alt=""></a><a href="floristry.html"><img src="pics/button4.jpg" border=0 style=filter:alpha(opacity=0) onMouseOver=nereidFade(this,100,0,10) onMouseOut=nereidFade(this,0,5,5) alt=""></a><a href="contact.html"><img src="pics/button5.jpg" border=0 style=filter:alpha(opacity=0) onMouseOver=nereidFade(this,100,0,10) onMouseOut=nereidFade(this,0,5,5) alt=""></a><a href="links.html"><img src="pics/button6.jpg" border=0 style=filter:alpha(opacity=0) onMouseOver=nereidFade(this,100,0,10) onMouseOut=nereidFade(this,0,5,5) alt=""></a></span>
<span id="box1" class="border">
<p id="textd"><b>Opening hours...</b><br><br>
Monday - Saturday: 9am - 6pm<br>
Sunday: 9am - 1pm<br><br><b>Contact Us...</b><br><br>
t: 01162 364564<br>
e: <a href="mailto:contact@brooksidenurseries.co.uk?subject=Website Enquiry">contact@brooksidenurseries.co.uk</a><br><br><b>Shop Online Now...</b><br><br>
<a href="http://www.angelicgroup.com/catalog">Shop Online Here!</a>
</p>
</span>
<span id="box2" class="border">
<p id="textd">
<center>
<table border="0" background="pics/spwbg.png" width="400"><tr><td>
<p id="textd"><b><u>Step 1:</u></b> Choose your measurement.<br><br>
<?php
echo "Current Unit is <b>\"$unit\"</b>";
?></p><p id="textd">Switch to:
<a href="spw.php?unit=kg">kg</a>
<a href="spw.php?unit=g">g</a>
<a href="spw.php?unit=lb">lb</a>
<a href="spw.php?unit=oz">oz</a>
<a href="spw.php?unit=sack">sack</a>
<a href="spw.php?unit=unit">unit</a>
</p>
</td></tr>
</table>
<br>
<table border="0" background="pics/spwbg.png" width="400"><tr><td colspan="2">
<p id="textd"><b><u>Step 2:</u></b> Enter your details (all fields required).<br><br></td></tr><tr><td>
<?php
echo "<form action=\"submit.php?unit=$unit\" method=\"POST\">";
?>
<label for="name" id="textd">Your Name:</label></td><td>
<input name="name" type="text" STYLE="background-color: #68856C; color: #000000;" class="textfield2" id="name" />
<br /></td></tr><tr><td>
<label for="telephone" id="textd">Contact Telephone Number:</label></td><td>
<input name="telephone" type="text" STYLE="background-color: #68856C; color: #000000;" class="textfield2" id="telephone" />
<br /></td></tr><tr><td>
<label for="address1" id="textd">Address Line 1:</label></td><td>
<input name="address1" type="text" STYLE="background-color: #68856C; color: #000000;" class="textfield2" id="address1" />
<br /></td></tr><tr><td>
<label for="address2" id="textd">Address Line 2:</label></td><td>
<input name="address2" type="text" STYLE="background-color: #68856C; color: #000000;" class="textfield2" id="address2" />
<br /></td></tr><tr><td>
<label for="county" id="textd">County:</label></td><td>
<input name="county" type="text" STYLE="background-color: #68856C; color: #000000;" class="textfield2" id="county" />
<br /></td></tr><tr><td>
<label for="postcode" id="textd">Postcode:</label></td><td>
<input name="postcode" type="text" STYLE="background-color: #68856C; color: #000000;" class="textfield2" id="postcode" />
<br />
</td></tr>
</table>
<br>
<table border="0" background="pics/spwbg.png" width="400"><tr><td>
<p id="textd"><b><u>Step 3:</u></b> Choose your varieties.<br><br>
Simply type into the box next to each variety the quantity of the desired measurement (for example, for 2 <?php echo $unit; ?> of Accent and 3 <?php echo $unit; ?> of Milva, type 2 and 3 in the appropriate places).<br><br>Be sure to fill out <b>ALL</b> desired varieties and submit the form as one for easier processing and to save you submitting multiple forms.<br><br>For more information on each potato, simply click on the variety.<br><br>Please note, varieties highlighted in: <font color="red">RED</font> are First earlies; <font color="green">GREEN</font> are Second Earlies/Early Maincrop; and <font color="blue">BLUE</font> are Maincrop.
</p>
</td></tr>
</table>
<br>
<?php
$bgcol = "68856C";
$textcol = "FFFFFF";
$conn = mysql_connect("localhost", "user", "pass");
mysql_select_db("brook_pots",$conn);
$sql = "SELECT FROM pots ORDER BY VAR";
$result = mysql_query($sql,$conn) or die(mysql_error());
echo "<table width=\"400\" border=\"1\" RULES=ROWS FRAME=HSIDES bordercolor=#A58F7B background=\"pics/earlybg.png\"><tr><td colspan=\"3\"><p id=\"textd\"><b>First Earlies:</b></p></td></tr>";
while ($newArray = mysql_fetch_array($result)) {
$id = $newArrary['ID'];
$var = $newArray['VAR'];
$link = "<tr><td width=\"300\"><p id=\"textd\"><a href=\"javascript:popUp('linkpop.php?id=$var')\" name=\"$var\">$var</a></td><td width=\"60\"><input name=\"$var\" type=\"text\" STYLE=\"background-color: #$bgcol; color: #$textcol;\" class=\"textfield\" id=\"$var\"></td><td width=\"40\"><p id=\"textd\">$unit</td></tr>";
echo $link;
}
echo "</table>";
?>
<br>
<?php
$conn2 = mysql_connect("localhost", "user", "pass");
mysql_select_db("brook_pots",$conn2);
$sql2 = "SELECT FROM pots2 ORDER BY VAR";
$result2 = mysql_query($sql2,$conn2) or die(mysql_error());
echo "<table width=\"400\" border=\"1\" RULES=ROWS FRAME=HSIDES bordercolor=#76B27D background=\"pics/secondbg.png\"><tr><td colspan=\"3\"><p id=\"textd\"><b>Second Earlies/Early Maincrop:</b></p></td></tr>";
while ($newArray2 = mysql_fetch_array($result2)) {
$id2 = $newArrary2['ID'];
$var2 = $newArray2['VAR'];
$link2 = "<tr><td width=\"300\"><p id=\"textd\"><a href=\"javascript:popUp('linkpop.php?id=$var2')\" name=\"$var2\">$var2</a></td><td width=\"60\"><input name=\"$var2\" type=\"text\" STYLE=\"background-color: #$bgcol; color: #$textcol;\" class=\"textfield\" id=\"$var2\"></td><td width=\"40\"><p id=\"textd\">$unit</td></tr>";
echo $link2;
}
echo "</table>";
?>
<br>
<?php
$conn3 = mysql_connect("localhost", "user", "pass");
mysql_select_db("brook_pots",$conn3);
$sql3 = "SELECT * FROM pots3 ORDER BY VARIETY";
$result3 = mysql_query($sql3,$conn3) or die(mysql_error());
echo "<table width=\"400\" border=\"1\" RULES=ROWS FRAME=HSIDES bordercolor=#6C928C background=\"pics/mains.png\"><tr><td colspan=\"3\"><p id=\"textd\"><b>Maincrop:</b></p></td></tr>";
while ($newArray3 = mysql_fetch_array($result3)) {
$id3 = $newArrary3['ID'];
$var3 = $newArray3['VARIETY'];
$link3 = "<tr><td width=\"300\"><p id=\"textd\"><a href=\"javascript:popUp('linkpop.php?id=$var3')\" name=\"$var3\">$var3</a></td><td width=\"60\"><input name=\"variety3\" value=\"\" type=\"text\" STYLE=\"background-color: #$bgcol; color: #$textcol;\" class=\"textfield\" id=\"variety3\"></td><td width=\"40\"><p id=\"textd\">$unit</td></tr>";
echo $link3;
}
echo "</table>";
?>
<br>
<table border="0" background="pics/spwbg.png" width="400"><tr><td>
<p id="textd"><b><u>Step 4:</u></b> Submit your form.<br><br>
This is the final step. Please check you've entered the right quantities in the right boxes and you have the right measurements selected (currently <?php echo $unit; ?>). Finally, just click the big 'Send' button below.<br><br>We shall be in touch with you in January to arrange payment and delivery/collection, and to confirm availability.<br><br>Many thanks for preordering your seed potatoes with us.<br><br>
</p>
</td></tr>
<tr><td>
<center>
<input name="submit" type="image" src="submit.gif" width="150" height="30" alt="Submit Preorder" class="submit" id="submit" value="submit preorder" />
</center>
</td></tr>
</table>
</form>
</center>
</span><span id="picbox" class="bordernp"><img src="pics/pots.jpg" alt="" width=250></span>
<span id="brbox"></span>
</span>
</body>
</html>