<?php
     include "admin/library/config.php";
	 include "admin/library/functions.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>:: Australian Solar Network ::</title>
<script type="text/javascript" src="js/form-functions.js"></script>
<script>
function validateForm(theForm) {
	if(!validRequired(theForm.cname,"your Name"))
		return false;
	if(!validEmail(theForm.email,"your Email"))
		return false;
	if(!validRequired(theForm.yourmessage,"your message"))
		return false;
		
	return true;
}
</script>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="50">&nbsp;</td>
        <td><img src="images/logo.png" width="650" height="93" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="50">&nbsp;</td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td height="48">
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="82" height="49" valign="top"><a href="index.php"><img src="images/menu1.png" width="82" height="48" style="border:none;" /></a></td>
                    <td>
                    <div id="navigation">
                    <ul>
                    <li><a href="our_products.php">OUR PRODUCTS</a></li>
                    <li><a href="our_services.php">OUR SERVICES</a></li>
                    <li><a href="how_solar.php">HOW SOLAR WORKS</a></li>
                    <li><a href="why_solar.php">WHY SOLAR</a></li>
                    <li><a href="faqs.php">FAQ</a></li>
                    <li><a href="gov_rebate.php">GOV REBATE</a></li>
                    <li id="active"><a href="contact.php">CONTACT US</a></li>
                    </ul>
                    </div>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
            <tr>
              <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="20">&nbsp;</td>
                  <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td><img src="images/Header_Contact.jpg" width="860" height="253" /></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td><table width="860" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td align="left" valign="top">&nbsp;</td>
                          <td align="left" valign="top" class="style16">Contact Us</td>
                          <td align="center" valign="top">&nbsp;</td>
                        </tr>
                        <tr>
                          <td width="29" align="left" valign="top">&nbsp;</td>
                          <td width="811" align="left" valign="top">&nbsp;</td>
                          <td width="20" align="center" valign="top">&nbsp;</td>
                        </tr>
                        <tr>
                          <td align="left" valign="top">&nbsp;</td>
                          <td align="left" valign="top" class="style15"><?php 
				$sql = mysql_query("select * from contect"); 
				while($row = mysql_fetch_array($sql))
				{
				  echo $row["contdetail"];
				}
			?>                          </td>
                          <td align="center" valign="top">&nbsp;</td>
                        </tr>
                        <tr>
                          <td align="left" valign="top">&nbsp;</td>
                          <td align="left" valign="top">&nbsp;</td>
                          <td align="center" valign="top">&nbsp;</td>
                        </tr>
                        <tr>
                          <td align="left" valign="top">&nbsp;</td>
                          <td align="left" valign="top" class="style9"><p><a href="http://www.pvmnetwork.com/clients/asn/%22mailto:enquiries@australiansolarnetwork.com.au%22" class="footer">enquiries@australiansolarnetwork.com.au</a></p>
</td>
                          <td align="center" valign="top">&nbsp;</td>
                        </tr>
                        <tr>
                          <td align="left" valign="top">&nbsp;</td>
                          <td align="left" valign="top"><form action="action2.php" method="post" name="contactus" id="contactus" onsubmit="return validateForm(this);">
                              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td  align="left" valign="top" class="title"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                      <tr></tr>
                                      <tr>
                                        <td width="90" align="left" height="10" valign="middle" class="bulits_title"></td>
                                        <td  align="left" valign="middle"></td>
                                      </tr>
                                      <tr>
                                        <td  align="left" valign="top" class="style9">Name <span class="price">*</span>&nbsp;:</td>
                                        <td  align="left" valign="middle" class="style14"><input type="text" name="cname" id="cname" class="textfields" /></td>
                                      </tr>
                                      <tr>
                                        <td width="90" align="left" height="10" valign="middle" class="bulits_title"></td>
                                        <td  align="left" valign="middle"></td>
                                      </tr>
                                      <tr>
                                        <td  align="left" valign="middle" class="style9">Email <span class="price">*</span>&nbsp;: </td>
                                        <td  align="left" valign="middle" class="style14"><input type="text" name="email" id="email" class="textfields" /></td>
                                      </tr>
                                      <tr>
                                        <td width="90" align="left" height="10" valign="middle" class="bulits_title"></td>
                                        <td  align="left" valign="middle"></td>
                                      </tr>
                                      <tr>
                                        <td  align="left" valign="top" class="style9">Enquiry * :</td>
                                        <td  align="left" valign="middle" class="style14"><textarea name="yourmessage" id="yourmessage" class="tarea"></textarea></td>
                                      </tr>
                                      <tr>
                                        <td height="10" colspan="2" align="left" valign="middle"></td>
                                      </tr>
                                      <tr>
                                        <td  align="left" valign="middle">&nbsp;</td>
                                        <td  align="left" valign="middle" class="style14"><input type="submit" name="submit" value="Send" class="btncls" />
                                          &nbsp;&nbsp;</td>
                                      </tr>
                                      <tr>
                                        <td height="10" colspan="2" align="left" valign="middle">&nbsp;</td>
                                      </tr>
                                  </table></td>
                                </tr>
                              </table>
                          </form></td>
                          <td align="center" valign="top">&nbsp;</td>
                        </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                    

                    
                  </table></td>
                  <td width="20">&nbsp;</td>
                </tr>
              </table></td>
            </tr>
            
        </table></td>
        <td width="50">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td height="84" align="center" style="background:url(images/footer2.jpg) no-repeat center">
        <!-- HTML codes by Quackit.com -->
        <?php include("common/logoscroler.php"); ?></td>
  </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><?php include("common/footer.php"); ?></td>
  </tr>
      <tr>
        <td height="30" align="center" class="style15">© Australian Solar Network 2011 </td>
      </tr>
      
    </table></td>
  </tr>
</table>
</body>
</html>