<?
#print $CustomerID;
include "./auth.inc.php";
include "./mysql.inc.php";
$sql="SELECT MasterAccounts.FirstName, MasterAccounts.LastName, Login, Password, ContactEmail FROM MasterAccounts, SubAccounts WHERE
MasterAccounts.CustomerID=SubAccounts.CustomerID
AND MasterAccounts.CustomerID=$CustomerID";
$res=mysql_query($sql);
if (!mysql_num_rows($res))
die("No Customers?".mysql_error());
$row = mysql_fetch_array($res);
?>
<html>
<head>
<title>New Customer <? echo $CustomerID+10000 ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<base href="http://dealer.adam.com.au/">
</head>
<body bgcolor="#FFFFFF">
<table width="605" border="0" cellspacing="0" cellpadding="0" height="600" align="center">
<tr valign="top">
<td><img src="adamsm.gif" width="212" height="64"><img src="blue.gif" width="98" height="32" align="top"><img src="blue.gif" width="98" height="32"
align="top"><img src="blue.gif" width="98" height="32" align="top"><img src="blue.gif" width="98" height="32" align="top"></td>
</tr>
<tr valign="top">
<td>
<div align="right"><font face="Arial, Helvetica, sans-serif" size="2" color="#000080"><i><font size="3"><b>Adam
Internet<br>
199 Sturt Street Adelaide 5000<br>
Phone: 8231 0303 Facsimile: 8231 0223<br>
Monday - Friday 9am til 7pm</b></font></i></font></div>
</td>
</tr>
<tr valign="top">
<td height="487"> <br>
<font face="Arial, Helvetica, sans-serif" size="3" color="#000066"><font color="#000080">Dear <? echo $row[FirstName]."
".$row[LastName] ?></font></font>
<p><font face="Arial, Helvetica, sans-serif" size="3" color="#000080">Welcome
to Adam Internet. </font><br>
<font face="Arial, Helvetica, sans-serif" size="3" color="#000080">This
letter contains all your user details and setup information you may need
in the future. </font></p>
<p><font face="Arial, Helvetica, sans-serif" size="3" color="#000080">Your
USER NAME to log on to the internet is <B><? echo $row[Login] ?></B><br>
All letters must be typed in lowercase with no spaces in between.</font></p>
<p><font face="Arial, Helvetica, sans-serif" size="3" color="#000080">Your
PASSWORD is <B><?
if ($security > 40)
echo $row[Password]
?></B><br>
All letters must be typed in lowercase with no spaces in between. </font></p>
<p><font face="Arial, Helvetica, sans-serif" size="3" color="#000080">Your
main email address is <B><? echo $row[ContactEmail] ?></B><BR>
This address will be used to send you billing information and important news
about our system</font></P>
<font face="Arial, Helvetica, sans-serif" size="3" color="#000080">TECHNICAL
SUPPORT:<br>
For technical support contact Adam during office hours on 8231 0303 or
after hours on 8358 6662. Other information can be found on our website
</font><font face="Arial, Helvetica, sans-serif" size="2"><font size="3" color="#000080">http://www.adam.com.au</font></font></p>
<p><font face="Arial, Helvetica, sans-serif" size="3"><font color="#000080">SET-UP
DETAILS:<br>
</font></font></p>
<table width="100%" border="1" cellspacing="0" cellpadding="4" height="59" align="center">
<tr>
<td width="35%" height="32"><font face="Arial, Helvetica, sans-serif" size="3"><font color="#000080">Dial-Up
Phone Number</font></font></td>
<td width="65%" height="32"><font face="Arial, Helvetica, sans-serif" size="3"><font color="#000080">8275
4000 56k modems</font></font></td>
</tr>
<tr>
<td width="35%" height="22"> </td>
<td width="65%" height="22"><font face="Arial, Helvetica, sans-serif" size="3"><font color="#000080">8275
4001 all other modems</font></font></td>
</tr>
<tr>
<td width="35%" height="22"><font face="Arial, Helvetica, sans-serif" size="3" color="#000080">Proxy
Settings</font></td>
<td width="65%" height="22"><font face="Arial, Helvetica, sans-serif" size="3"><font face="Arial, Helvetica, sans-serif" size="3"
color="#000080">proxy.adam.com.au</font><font face="Arial, Helvetica, sans-serif" size="3" color="#000080"></font></font></td>
</tr>
<tr>
<td width="35%" height="18"> </td>
<td width="65%" height="18"><font face="Arial, Helvetica, sans-serif" size="3" color="#000080">port
= 8080</font> </td>
</tr>
<tr>
<td width="35%" height="18"><font face="Arial, Helvetica, sans-serif" size="3" color="#000080">DNS
number </font></td>
<td width="65%" height="18"><font face="Arial, Helvetica, sans-serif" size="2"><font size="3" color="#000080">203.2.124.2</font></font></td>
</tr>
<tr>
<td width="35%" height="18"><font face="Arial, Helvetica, sans-serif" size="3" color="#000080">Mail
Server</font></td>
<td width="65%" height="18"><font face="Arial, Helvetica, sans-serif" size="3"><font color="#000080">mail.adam.com.au</font></font></td>
</tr>
</table>
<p><font face="Arial, Helvetica, sans-serif" size="2"></font></p>
</td>
</tr>
</table>
</body>
</html>