﻿<?xml version="1.0" encoding="utf-8"?>
<!--Created by: Kevin Innes - 4/30/2007 - used for email template -->
<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<!--param name needs to be the same as the control id located on the .aspx form-->
	<xsl:param name="txtAccountName"/>
	<xsl:param name="txtAccountNumber"/>
	<xsl:param name="txtfirstName"/>
	<xsl:param name="txtLastName"/>
	<xsl:param name="txtBillingAddress"/>
	<xsl:param name="txtBillingCity"/>
	<xsl:param name="ddlState"/>
	<xsl:param name="txtZipcode"/>
	<xsl:param name="txtPhoneNumber"/>
	<xsl:param name="txtEmailAddress"/>
	<xsl:param name="chkPAC"/>
	<xsl:template match="/">


		<html>
			<head>
				<!--No Spaces Before or after the Text in the title this will be used for the subject of the email-->
				<subject>Speakspace: Existing customer Signup</subject>
			</head>
			<EmailHeader>

			</EmailHeader>
			<EmailBody>

				<!--This Will be the body of the Email-->

				<table width="80%" cellpadding="0" cellspacing="0" style="font-family: Verdana, Arial, Helvetica, sans-serif; color:#1c1d1e; font-size:12px;">
					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;">Account Name:</td>
						<td style="padding: 6px 4px; border-bottom:1px solid #c6cccf;"><xsl:value-of select="$txtAccountName"/></td>
					</tr>

					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;">Account Number:</td>
						<td style="padding: 6px 4px; border-bottom:1px solid #c6cccf;"><xsl:value-of select="$txtAccountNumber"/></td>
					</tr>

					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;">First Name:</td>
						<td style="padding: 6px 4px; border-bottom:1px solid #c6cccf;"><xsl:value-of select="$txtfirstName"/></td>
					</tr>

					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;">Last Name:</td>
						<td style="padding: 6px 4px; border-bottom:1px solid #c6cccf;"><xsl:value-of select="$txtLastName"/></td>
					</tr>

					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;" colspan="2"><strong>Billing Information</strong></td>
					</tr>

					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;">Billing Address:</td>
						<td style="padding: 6px 4px; border-bottom:1px solid #c6cccf;"><xsl:value-of select="$txtBillingAddress"/></td>
					</tr>

					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;">Billing City:</td>
						<td style="padding: 6px 4px; border-bottom:1px solid #c6cccf;"><xsl:value-of select="$txtBillingCity"/></td>
					</tr>

					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;">Billing State:</td>
						<td style="padding: 6px 4px; border-bottom:1px solid #c6cccf;"><xsl:value-of select="$ddlState"/></td>
					</tr>

					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;">Billing Zip:</td>
						<td style="padding: 6px 4px; border-bottom:1px solid #c6cccf;"><xsl:value-of select="$txtZipcode"/></td>
					</tr>

					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;">Phone Number:</td>
						<td style="padding: 6px 4px; border-bottom:1px solid #c6cccf;"><xsl:value-of select="$txtPhoneNumber"/></td>
					</tr>

					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;">Email Address:</td>
						<td style="padding: 6px 4px; border-bottom:1px solid #c6cccf;"><xsl:value-of select="$txtEmailAddress"/></td>
					</tr>

					<tr>
						<td align="top" style="padding: 4px; border-bottom:1px solid #c6cccf;">PAC Field:</td>
						<td style="padding: 6px 4px; border-bottom:1px solid #c6cccf;"><xsl:value-of select="$chkPAC"/></td>
                        </tr>
                        </table>
				
			</EmailBody>
		</html>
	</xsl:template>

</xsl:stylesheet>
