href link not working - php

I'm learning PHP from a book and I copied the code below from the book site. When I run it in Zend Studio and select any of the hyperlinks eg Home, all that's displayed is the name of the php file. For example index.php. It does not link to and execute the php file. Why is that?
Any help would be much appreciated, thank you.
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class Registration Template</title>
<link rel= "stylesheet" type= "text/css" href= "C:\Users\trevor.reeves\Documents\PHP&mySQLBook\php-mysql-abg-listings-1\ClassRegistration_Public/registration.css"/>
<script type= "text/javascript"></script>
</head>
<body>
<div id="wrapper">
<div id="header">
<img src="C:\Users\trevor.reeves\Documents\PHP&mySQLBook\php-mysql-abg-listings-1\ClassRegistration_Public/MatTechLogo.gif" alt="Matthews Technology" />
<h1 id="title">Class Selection and Registration</h1>
</div> <!-- id="header" -->
<div id="hnav">
<table width="400" border="0" cellspacing="2" cellpadding="2">
<tr>
<td><a class="hmenu" href="index.php">Home</a> </td>
<td>About </td>
<td>Support </td>
<td>Maintain </td>
</tr>
</table>
</div> <!-- id="hnav" -->
<div id="vnav">
<table width="120" border="0" cellspacing="2" cellpadding="2">
<tr>
<td id="vhead">Go To: </td>
</tr>
<tr>
<td>Class List </td>
</tr>
<tr>
<td>Student Entry
</td>
</tr>
</table>
</div> <!-- id="vnav" -->
<div id="main">
<h1 id="maintitle">Spring Class Schedule</h1>
<p id="mainpara">Click Register to do so for a class.</p>
<p class="red">*A footnote.</p>
</div> <!-- id="main" -->
<div id="footer">
<p id="copyright">
Copyright &copy:2008 -
<?php
date_default_timezone_set('America/Vancouver');
echo date('Y');
?>
Matthews Technology
</p>
<p id="contact">
Contact us by clicking here.
</p>
</div> <!-- id="footer" -->
</div> <!-- id="wrapper" -->
<?php
;
?>
</body>
</html>

You are using the file reference your disk operating system using to access the files. You need to use the reference your server is using. Normally it would be localhost/directory/filename.php localhost will point to the location your server tells it to point to, which is located in you php.ini file.

Related

title is stuck with everything in the center of the screen

So I would like to move up the big title a little bit so i leave space in the main page and css isn't helping i tried many methods like position:absolute , position:relative , position:fixed etc.. still nothing happens
html code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>AGENCE DE VOYAGES</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<center>
<body background="ny.jpg" size="100%" width="100%" height="100%" align="center">
<header>
<div class="main">
<div class="logo">
<img src="logo.png">
</div>
<ul>
<li class="active">Accueil</li>
<li>Services</li>
<li>Clients</li>
<li>A Propos</li>
<li>Contact</li>
</ul>
</div>
<div class="title">
<h1 color="white">AGENCE DE VOYAGES</h1>
</div>
<div class="login">
<center>
<form action="auth.php" method="post">
<fieldset style="width:500px;">
<legend align='center'><h1>Connexion</h1></legend>
<table>
<tr>
<td><b>Email: </b></td>
<td><input type="email" name="email"></td>
</tr>
<tr>
<td><b>Mot de passe: </b></td>
<td><input type="password" name="password"></td>
</tr>
</div>
</table>
</fieldset>
</form>
<div class="button">
S'AUTHENTIFIER
S'INSCRIRE
</div>
</center>
</body>
</html>
I have left you an example of what you can do to move your text with css or make it smaller, hope that will solve your problem. I only added to your <h1> tag the class title like so:
<h1 class="title" color="white">AGENCE DE VOYAGES</h1>
.title{
font-size: 20px; /*You can choose here the size of your text*/
float: left; /*Or use right instead of left its up to you*/
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>AGENCE DE VOYAGES</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<center>
<body background="ny.jpg" size="100%" width="100%" height="100%" align="center">
<header>
<div class="main">
<div class="logo">
<img src="logo.png">
</div>
<ul>
<li class="active">Accueil</li>
<li>Services</li>
<li>Clients</li>
<li>A Propos</li>
<li>Contact</li>
</ul>
</div>
<div class="title">
<h1 class="title" color="white">AGENCE DE VOYAGES</h1>
</div>
<div class="login">
<center>
<form action="auth.php" method="post">
<fieldset style="width:500px;">
<legend align='center'><h1>Connexion</h1></legend>
<table>
<tr>
<td><b>Email: </b></td>
<td><input type="email" name="email"></td>
</tr>
<tr>
<td><b>Mot de passe: </b></td>
<td><input type="password" name="password"></td>
</tr>
</div>
</table>
</fieldset>
</form>
<div class="button">
S'AUTHENTIFIER
S'INSCRIRE
</div>
</center>
</body>
</html>

I want to display my results in table format after passing a parameter of id and button click in my library management system

This is my entire code to generate reports for a particular student using his/her student id.
My SQL query will show the list of books not yet returned by the student....
While debugging I noticed that if I Manually put any student ID in the code, I can see the results but the button click feature is not working ... somehow the button is not taking any data from my SQL query and not executing..
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
{
header('location:index.php');
}
else
{
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>
Online Library Management System | Report Generation
</title>
<!-- BOOTSTRAP CORE STYLE -->
<link href="assets/css/bootstrap.css" rel="stylesheet" />
<!-- FONT AWESOME STYLE -->
<link href="assets/css/font-awesome.css" rel="stylesheet" />
<!-- DATATABLE STYLE -->
<link href="assets/js/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
<!-- CUSTOM STYLE -->
<link href="assets/css/style.css" rel="stylesheet" />
<!-- GOOGLE FONT -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
</head>
<body>
<!------MENU SECTION START-->
<?php include('includes/header.php');?>
<!-- MENU SECTION END-->
<div class="content-wrapper">
<div class="container">
<div class="row pad-botm">
<div class="col-md-12">
<h4 class="header-line">
Employee Reports
</h4>
</div>
<div class="row">
<?php if($_SESSION['error']!="")
{?>
<div class="col-md-6">
<div class="alert alert-danger" >
<strong>
Error :
</strong>
<?php echo htmlentities($_SESSION['error']);?>
<?php echo htmlentities($_SESSION['error']="");?>
</div>
</div>
<?php } ?>
<?php if($_SESSION['msg']!="")
{?>
<div class="col-md-6">
<div class="alert alert-success" >
<strong>
Success :
</strong>
<?php echo htmlentities($_SESSION['msg']);?>
<?php echo htmlentities($_SESSION['msg']="");?>
</div>
</div>
<?php } ?>
<?php if($_SESSION['delmsg']!="")
{?>
<div class="col-md-6">
<div class="alert alert-success" >
<strong>
Success :
</strong>
<?php echo htmlentities($_SESSION['delmsg']);?>
<?php echo htmlentities($_SESSION['delmsg']="");?>
</div>
</div>
<?php } ?>
</div>
</div>
<div class="row">
<div class="col-md-10 col-sm-6 col-xs-12 col-md-offset-1"">
<div class="panel panel-info">
<div class="panel-body">
<form role="form" method="post">
<div class="form-group">
<label>
CPF NUMBER<span style="color:red;">*</span>
</label>
<input class="form-control" type="text" name="studentid" id="studentid" autocomplete="off" required />
</div>
<button type="submit" name="report" id="submit" class="btn btn-info">
Generate
</button>
</form>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<!-- Advanced Tables -->
<div class="panel panel-default">
<div class="panel-heading">
Issued Documents
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover" id="dataTables-example">
<thead>
<tr>
<th>#</th>
<th>Employee Name</th>
<th>Document Name</th>
<th>Reference Number</th>
<th>Issued Date</th>
<th>STATUS</th>
</tr>
</thead>
<tbody>
<?php
if($query->rowCount() > 0)
{
foreach($results as $result)
{
if(isset($_POST['report']))
{
$studentid=strtoupper($_POST['studentid']);
$sql = "SELECT tblstudents.FullName,tblbooks.BookName,tblbooks.ISBNNumber,tblissuedbookdetails.IssuesDate,tblissuedbookdetails.RetrunStatus,tblissuedbookdetails.id as rid from tblissuedbookdetails join tblstudents on tblstudents.StudentId=tblissuedbookdetails.StudentId join tblbooks on tblbooks.id=tblissuedbookdetails.BookId where tblissuedbookdetails.RetrunStatus is NULL and StudentId=:studentid order by tblissuedbookdetails.id desc";
$query = $dbh -> prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
?>
<tr class="odd gradeX">
<td class="center"><?php echo htmlentities($cnt);?></td>
<td class="center"><?php echo htmlentities($result->FullName);?></td>
<td class="center"><?php echo htmlentities($result->BookName);?></td>
<td class="center"><?php echo htmlentities($result->ISBNNumber);?></td>
<td class="center"><?php echo htmlentities($result->IssuesDate);?></td>
<td class="center">
<?php if($result->RetrunStatus==NULL)
{
echo htmlentities("Not Returned Yet");
} else {
echo htmlentities("Returned");
}
?>
</td>
<td class="center">
</td>
</tr>
<?php $cnt=$cnt+1;}}} ?>
</tbody>
</table>
</div>
</div>
</div>
<!--End Advanced Tables -->
</div>
</div>
</div>
</div>
<!-- CONTENT-WRAPPER SECTION END-->
<?php include('includes/footer.php');?>
<!-- FOOTER SECTION END-->
<!-- JAVASCRIPT FILES PLACED AT THE BOTTOM TO REDUCE THE LOADING TIME -->
<!-- CORE JQUERY -->
<script src="assets/js/jquery-1.10.2.js"></script>
<!-- BOOTSTRAP SCRIPTS -->
<script src="assets/js/bootstrap.js"></script>
<!-- DATATABLE SCRIPTS -->
<script src="assets/js/dataTables/jquery.dataTables.js"></script>
<script src="assets/js/dataTables/dataTables.bootstrap.js"></script>
<!-- CUSTOM SCRIPTS -->
<script src="assets/js/custom.js"></script>
Need to put studentid in input field value. So that when form submit, it posted and generate report. Update the following line and check.
<input class="form-control" type="text" name="studentid" id="studentid" autocomplete="off" required value="<?php echo strtoupper($_POST['studentid']); ?>" />

HTML/PHP Site Isn't Displaying Table Correctly

After setting up an Apache web server on my local machine, I've attempted to use a php document to handle uploads/downloads from the server. I used the tutorial found at:
PHP Upload/Download Tutorial
It accepts uploads as normal (after fixing a flaw with page navigation on line 21 of the index.php page ["upload.php" should be "uploads.php"]), but it doesn't display the table of uploaded files as it should. I've attached the index.php code in case something obvious stands out.
<!DOCTYPE html>
<html>
<head>
<title>Upload View & Download file in PHP and MySQL | Demo</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" >
<link rel="stylesheet" href="css/bootstrap.css" type="text/css" />
</head>
<body>
<br/>
<div class="container">
<div class="row">
<div class="col-xs-8 col-xs-offset-2 well">
<form action="uploads.php" method="post" enctype="multipart/form-data">
<legend>Select File to Upload:</legend>
<div class="form-group">
<input type="file" name="file1" />
</div>
<div class="form-group">
<input type="submit" name="submit" value="Upload" class="btn btn-info"/>
</div>
<?php if(isset($_GET['st'])) { ?>
<div class="alert alert-danger text-center">
<?php if ($_GET['st'] == 'success') {
echo "File Uploaded Successfully!";
}
else
{
echo 'Invalid File Extension!';
} ?>
</div>
<?php } ?>
</form>
</div>
</div>
<div class="row">
<div class="col-xs-8 col-xs-offset-2">
<table class="table table-striped table-hover">
<thead>
<tr>
<th>#</th>
<th>File Name</th>
<th>View</th>
<th>Download</th>
</tr>
</thead>
<tbody>
<?php
$i = 1;
while($row = mysqli_fetch_array($result)) { ?>
<tr>
<td><?php echo $i++; ?></td>
<td><?php echo $row['filename']; ?></td>
<td>View</td>
<td><a href="uploads/<?php echo $row['filename']; ?>" download>Download</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>
*Note: I do have the bootstrap.css files downloaded so it's not some weird visual thing as far as I can tell.

Pie chart in jQuery Mobile not showing up

I develop a jQuery mobile site and want to display pie chart, the data fetch form database to show in pie chart. Since the jQuery mobile link to another page using div, I make one div in index.php to display data from database, then when the data is showing up, I can view the data by click on the view link. At this part, I make jQuery load to load page piechart.php when click on the view link. The piechart.php page success called by jQuery load, but pie chart not appear, BUT if I right click on page and click view inspect element, it starts showing up normally the pie chart.
Why do I need to right click to display it??
This is index.php
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SSPIC</title>
<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />
<meta name="description" content="This site was created from a template originally designed and developed by Codify Design Studio. Find more free templates at http://www.adobe.com/devnet/author_bios/chris_converse.html" />
<link href="jquery-mobile/jquery.mobile.structure-1.0.min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/formcalculations.js"></script>
<link href="styles/cakeform.css" rel="stylesheet" type="text/css" />
<script src="jquery-mobile/jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="jquery-mobile/jquery.mobile-1.0.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="themes/my_company.min.css" />
<link rel="stylesheet" href="includes/overrides.css" />
<script type="text/javascript" src="includes/custom.js"></script>
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<link href="stylesheets/app.css" media="screen, projector, print" rel="stylesheet" type="text/css" />
<link href="stylesheets/pizza.css" media="screen, projector, print" rel="stylesheet" type="text/css" />
<script src="javascripts/vendor/snap.svg.js"></script>
<script src="javascripts/pizza.js"></script>
<script type="text/javascript">
function MM_popupMsg(msg) { //v1.0
alert(msg);
}
</script>
</head>
<body onload='hideTotal()'>
<div data-role="page" id="home" data-theme="a">
<div data-role="header">
<h1>Homepage</h1>
</div>
<div data-role="content">
<ul data-role="listview">
<li class="btn_a">About Us</li>
<li class="btn_s">Services</li>
<li class="btn_l">Search</li>
<li class="btn_c">Upload</li>
<li class="btn_c">Chart</li>
</ul>
</div>
<div data-role="">
</div>
</div>
<div data-role="page" id="locations" data-title="Find a Locations">
<div data-role="header">
<h1>Search Data</h1>
back
</div>
<div data-role="content">
<p></p>
<h2>Search Data</h2>
</div>
<div data-role="footer">
<div data-role="controlgroup" data-type="horizontal">
Home
</div>
<h4>©2013 SSPIC</h4>
</div>
</div>
<div data-role="page" id="contact_us" data-title="Contact Us">
<div data-role="header">
<h1>Upload</h1>
back
</div>
<div data-role="content" class="content_container">
<p><form action="insertimage.php" method="post" enctype="multipart/form-data" name="form1">
<h2 align="center"> </h2>
<h2 align="center">Information</h2>
<table width="63%" border="1" align="center">
<tr>
<td width="40%">Upload File</td>
<td width="60%"><input name="pic" type="file" id="pic" /></td>
</tr>
<tr>
<td colspan="2"><div align="center">
<input type="submit" name="Submit" value="Submit" />
</div></td>
</tr>
</table>
<p align="center"> </p>
<p align="center"> </p>
<p align="center">
</form></p>
</div>
<div data-role="footer">
<div data-role="controlgroup" data-type="horizontal">
Home
</div>
<h4>©2013 SSPIC</h4>
</div>
</div>
<div data-role="page" id="chart" data-title="chart Us" class="chart">
<div data-role="header">
<h1>Pie Chart</h1>
back
</div>
<div id="output" data-role="content" class="content_container"></div>
<div data-role="content" class="content_container" id="k_chart">
<p>
<form action="insertimage.php" method="post" enctype="multipart/form-data" name="form1">
<h2 align="center"> </h2>
<h2 align="center">Display File</h2>
<table width="63%" border="1" align="center" class="table_chart">
<tr>
<td width="40%">Bil</td>
<td width="60%">Pusat rawatan</td>
<td width="60%">Pengasas</td>
<td width="60%">Bil pengamal</td>
<td width="60%">Total</td>
<td width="60%">Phone number</td>
<td width="60%">Peratus</td>
<td width="60%">view chart</td>
</tr>
<?php
include("connection.php");
$sel = mysql_query("select * from info");
$a = 1;
while($get_sel = mysql_fetch_array($sel))
{
?>
<tr>
<td width="40%"><?php echo $a++;?></td>
<td width="60%"><?php echo $get_sel['nama_PusatRawatan'];?></td>
<td width="40%"><?php echo $get_sel['nama_Pengasas'];?></td>
<td width="60%"><?php echo $get_sel['bilangan_Pengamal'];?></td>
<td width="40%"><?php echo $get_sel['totalPrice'];?></td>
<td width="60%"><?php echo $get_sel['phonenumber'];?></td>
<td width="60%"><?php echo $get_sel['peratus'];?></td>
<td width="60%"><div class="id"><?php echo $get_sel['id'];?></div><span class="viewBtn">View</span></td>
</tr>
<?php
}
?>
</table>
<p align="center"> </p>
<p align="center"> </p>
<p align="center">
</form></p>
</div>
<div data-role="footer">
<div data-role="controlgroup" data-type="horizontal">
Home
</div>
<h4>©2013 SSPIC</h4>
</div>
</div>
<script>
$(document).ready(function(e) {
// Pizza.init();
$('.viewBtn').on('click',function()
{
var id = $(this).closest('td').find('.id').text();
$('#k_chart').hide();
$('#output').load("piechart.php?id="+id);//load page to display pie chart
});
$(window).load(function() {
Pizza.init({
donut: false, // enable donut chart
donut_inner_ratio: 0.4, // between 0 and 1
percent_offset: 35, // relative to radius
stroke_color: '#333',
stroke_width: 0,
show_percent: true, // show or hide the percentage on the chart.
animation_speed: 500,
animation_type: 'elastic' // options: backin, backout, bounce, easein, easeinout, easeout, linear
});
});
});
</script>
</body>
</html>
This one is piechart.php
<link href="jquery-mobile/jquery.mobile.structure-1.0.min.css" rel="stylesheet" type="text/css" />
<script src="jquery-mobile/jquery.mobile-1.0.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="themes/my_company.min.css" />
<link rel="stylesheet" href="includes/overrides.css" />
<link href="stylesheets/app.css" media="screen, projector, print" rel="stylesheet" type="text/css" />
<link href="stylesheets/pizza.css" media="screen, projector, print" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script><script src="javascripts/vendor/snap.svg.js"></script>
<script src="javascripts/pizza.js"></script>
<div data-role="content" class="content_container">
<p>
<div id="jquery-script-menu">
<div class="jquery-script-center">
<div class="jquery-script-clear"></div>
</div>
</div>
<h1 style="margin-top:150px;" align="center">Papar peratus lulus pie chart </h1>
<div class="row">
<div class="large-12 columns">
<h3>Graphs</h3>
</div>
</div>
<?php
include("connection.php");
$id_info = $_GET['id'];
$papar = mysql_query("select *from info where id = '$id_info'");
$get_papar = mysql_fetch_array($papar);
if($get_papar['peratus']>0 and $get_papar['peratus']<=50)
{
$xlulus = $get_papar['peratus'];
$lulus = 100 - $xlulus;
}
else
{
$lulus = $get_papar['peratus'];
$xlulus = 100 - $lulus;
}
?>
<div class="row">
<div class="large-4 small-4 columns">
<ul data-pie-id="svg">
<li data-value="<?php echo $xlulus;?>">Tidak memenuhi syarat</li><li data-value="<?php echo $lulus;?>">Memenuhi syarat</li>
</ul>
</div>
<div class="large-8 small-8 columns">
<div id="svg"></div>
</div>
</div>
</p>
</div>
The jQuery code is at the bottom of page index.php..
You need to correctly time your plugin initialization.
First forget about document ready and window load, they will not work correctly with jQuery Mobile application (usually they trigger before jQuery Mobile content is successfully enhanced).
Instead you should learn how to use jQuery Mobile page events, for example pageinit event exists to replace document ready.
Read more about it here.
Now regarding your main problem, your plugin must be initialized during the pageshow event. A lot of visual plugins (carousels, charts ..) require correct page height. When working with jQuery Mobile page height is correctly calculated only during pageshow event, it will be 0 in any other case.
Page event initialization order can be found here.

Links aren't working

I'm not sure what is happening to my contact form on my page- "We Can Help." I watched the tutorial series from Dream Weaver Tutorial, and I tried to tie in reCAPTCHA and Hot Dreamweaver's add-on.
Does anyone know why the navigation and the header picture and the Adobe picture don't show?
You are using absolute addresses to your links and resources to places that only exist on your local machine. Instead use relative addresses in your html.
Example.
Instead of this html:
<img src="file:///I|/Town_Monitoring_Website/images/Logo copy.jpg" width="213" height="75" border="none" />
Do this:
<img src="images/Logo copy.jpg" width="213" height="75" border="none" />
You want to remove all of these references in your html
file:///I|/Town_Monitoring_Website/
All of your image sources and links are pointing to a local file system they need to be either absolute or relative paths. I updated the code on your page to reflect relative paths as long as the file names and images are in the correct directories this will be working code just copy and paste:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-- Contact Form Designed by James Brand # dreamweavertutorial.co.uk -->
<!-- Covered under creative commons license - http://dreamweavertutorial.co.uk/permissions/contact-form-permissions.htm -->
<title>Towne Monitoring Service/FAQ's</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="contact/css/contactform.css" rel="stylesheet" type="text/css" />
<link href="css/css style sheet template.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var nameError = 'Please enter a Name to proceed.';
var phoneError = 'Please enter a valid Phone Number to continue.';
var addressError = 'Please enter a valid Maling Address to continue.';
var emailError = 'Please enter a valid Email Address to continue.';
var commentError = 'Please enter your Message to continue.';
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
</script>
</head>
<body onload="MM_preloadImages('images/x.png')">
<div id="container">
<div id="header"><img src="images/Logo copy.jpg" width="213" height="75" border="none" /></div><!-- end div header -->
<div id="nav">
<ul>
<li>Home</li>
<li>Products</li>
<li>About Us</li>
<li>FAQ's</li>
<li>Did You Know?</li>
<li>We Can Help</li>
</ul>
</div><!-- end dic nav -->
<div id="content">
<table width="1000" border="0">
<tr>
<td width="50"> </td>
<td width="574"> </td>
<td width="312"> </td>
</tr>
<tr>
<td> </td>
<td><div id="for mWrap">
<div id="form">
<form action="contact.php" method="post" id="comments_form">
<div class="row">
<div class="label">Your Name</div>
<!-- end .label -->
<div class="input">
<input type="text" id="fullname" class="detail" name="fullname" value="" />
</div>
<!-- end .input -->
<div class="context">e.g. John Smith or Jane Doe</div>
<!-- end .context -->
</div>
<!-- end .row -->
<div class="row">
<div class="label">Your Email Address</div>
<!-- end .label -->
<div class="input">
<input type="text" id="email" class="detail" name="email" value="" />
</div>
<!-- end .input -->
<div class="context">We will not share your email with anyone or spam you with messages either</div>
<!-- end .context -->
</div>
<!-- end .row -->
<div class="row">
<div class="label">Your Phone Number</div>
<!-- end .label -->
<div class="input">
<input type="text" id="phone" class="detail" name="phone" value="" />
</div>
<!-- end .input -->
<div class="context">(123)-123-1234</div>
<!-- end .context -->
</div>
<!-- end .row -->
<div class="row">
<div class="label">Your Address</div>
<!-- end .label -->
<div class="input">
<input type="text" id="address" class="detail" name="address" value="" /> </div>
<!-- end .input -->
<div class="context">e.g. 123 Cherry ln. Happyville P.A. 18999</div>
<!-- end .context -->
</div>
<!-- end .row --><!-- end .row --><br />
<br />
<div class="submit">
<input type="submit" id="submit" name="submit" value="Send Message" />
</div>
<!-- end .submit -->
<input type="hidden" name="hdwfail" id="hdwfail" value="contact.php" />
</form>
</div><!-- edn #form -->
</div></td>
<td valign="top"><div id="loads"><table width="198" border="0">
<tr>
<td width="192" height="143"><h2>Download's<img src=images/Downloads/Adobe-PDF-Logo.jpg" alt="" width="100" height="100" /></h2>
<p> </p>
<p> </p>
<p> </p>
<p>Click here for Adobe Reader.</p>
</td>
</tr>
<tr>
<td><p>Information Sheet</p>
<p>(.pdf size: 182k)</p>
<p>Company Brochure</p>
<p>(.pdf size: 390k)</p>
<p>Handling Emergencies</p>
<p>(.pdf size: 143k)</p></td>
</tr>
<tr>
<td height="67"> </td>
</tr>
</table></div></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<!-- end formWrap -->
</div>
<div id="apDiv7">
<table width="1000" border="0">
<tr>
<td width="5"> </td>
<td width="588"><h3>© 2012 TOWNE MONITORING SERVICE, LP ALL RIGHTS RESERVED</h3></td>
<td width="77" align="right"><img src="images/csaa.jpg" width="74" height="40" /></td>
<td width="336"><img src="images/footer2.jpg" width="334" height="40" /></td>
</tr>
</table>
</div><!-- end div7 -->
</div>
</body>
</html>

Categories