<table width="98%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="80" align="center" valign="middle" bgcolor="#FFFFFF" class="txt"><table width="531" border="0" align="center" cellpadding="0" cellspacing="0">
			  
			  
			  <?php
			  
			   $loginQuery = "SELECT * FROM contact_email WHERE id='1'";
	 $loginResult = mysql_query($loginQuery)or die(mysql_error());
	 $row=mysql_fetch_array($loginResult);
			  
			   ?>
                <tr>
                  <td height="35" align="center">Telephone: <?php echo $row['phone'];?><br /></td>
                  <td align="center"> |    </td>
                  <td align="center">Fax: <?php echo $row['fax'];?></td>
                  <td align="center"> |</td>
                  <td align="center"> Email: <?php echo $row['contactus'];?></td>
                </tr>
                <tr>
                  <td colspan="5" align="center" class="cpy"><?php $ftsql="select * from cmspages where type='footer' and status='1'";
	$ftsql=mysql_query($ftsql);
	$totalrow=$crow=mysql_num_rows($ftsql);
	$dasrow=0;
	while($ftrow=mysql_fetch_array($ftsql))
	{ $dasrow++;
	?>
	
	<a href="<?php echo $ftrow['page_name'];?>.html" class="cpy" style="text-transform:uppercase;"><?php echo $ftrow['page_name'];?> </a> <?php if($dasrow!=$totalrow){?>|<?php }?>
	<?php }?>
				  
				  
				  
				  
				 </td>
                </tr>
				<tr>
                  <td colspan="5" align="center" class="cpy"><h1>Student accommodation, flats, apartments, university halls in Leeds at ST Mark</h1></td>
                </tr>
              </table></td>
            </tr>
          </table>