Cleanup. Removed borders=0. More valid HTML 4.01
This commit is contained in:
@@ -18,7 +18,7 @@ function banner_display ()
|
|||||||
// opening html
|
// opening html
|
||||||
$banner = "";
|
$banner = "";
|
||||||
$banner .= "\n\n".'<!-- START BANNER AD -->'."\n";
|
$banner .= "\n\n".'<!-- START BANNER AD -->'."\n";
|
||||||
$banner .= '<div align=center>'."\n";
|
$banner .= "<div align=center class=\"black\">\n";
|
||||||
|
|
||||||
// read dir and get list of banners
|
// read dir and get list of banners
|
||||||
$ads = array();
|
$ads = array();
|
||||||
@@ -38,7 +38,7 @@ function banner_display ()
|
|||||||
|
|
||||||
// da banner
|
// da banner
|
||||||
$banner .= '<a href="'.$url.'">';
|
$banner .= '<a href="'.$url.'">';
|
||||||
$banner .= '<img src="'.$banner_path_468x60.$img.'.gif" border=0 width=468 height=60 alt="'.$alt.'">';
|
$banner .= '<img src="'.$banner_path_468x60.$img.'.gif" width=468 height=60 alt="'.$alt.'">';
|
||||||
$banner .= '</a>'."\n";
|
$banner .= '</a>'."\n";
|
||||||
|
|
||||||
// closing html
|
// closing html
|
||||||
@@ -46,7 +46,6 @@ function banner_display ()
|
|||||||
$banner .= '<!-- END BANNER AD -->'."\n\n";
|
$banner .= '<!-- END BANNER AD -->'."\n\n";
|
||||||
|
|
||||||
return $banner;
|
return $banner;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -10,35 +10,31 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Wine Application DB <?php echo $title; ?></title>
|
<title>Wine Application DB <?php echo $title; ?></title>
|
||||||
<meta HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT">
|
<meta http-equiv="Expires" content="Mon, 06 Jan 1990 00:00:01 GMT">
|
||||||
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
<meta http-equiv="Pragma" content="no-cache">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
<link rel="stylesheet" href="<?php echo $apidb_root; ?>apidb.css" type="text/css">
|
<link rel="stylesheet" href="<?php echo $apidb_root; ?>apidb.css" type="text/css">
|
||||||
<script language="JavaScript" src="<?php echo $apidb_root; ?>scripts.js" type="text/javascript"></script>
|
<script src="<?php echo $apidb_root; ?>scripts.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body bgcolor="#E2E2E2" text="#000000">
|
<body>
|
||||||
|
|
||||||
<table width="100%" border=0 cellpadding=0 cellspacing=0>
|
<table width="100%" cellpadding=0 cellspacing=0>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<table width="100%" border=0 cellpadding=0 cellspacing=0>
|
<table width="100%" cellpadding=0 cellspacing=0>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%"><a href="<?php echo $apidb_root; ?>"><img src="<?php echo $apidb_root; ?>images/winehq_top_logo.gif" width=300 height=99 border=0 alt="Wine HQ"></a></td>
|
<td width="100%"><a href="<?php echo $apidb_root; ?>"><img src="<?php echo $apidb_root; ?>images/winehq_top_logo.gif" width=300 height=99 alt="Wine HQ"></a></td>
|
||||||
<td>
|
<td>
|
||||||
<img src="<?php echo $apidb_root; ?>images/blank.gif" border=0 width=10 height=1 alt="">
|
<img src="<?php echo $apidb_root; ?>images/blank.gif" width=10 height=1 alt="">
|
||||||
</td>
|
</td>
|
||||||
<td width="100%" align="center" valign="middle">
|
<td width="100%" align="center" valign="middle">
|
||||||
<!-- BANNER AD -->
|
<!-- BANNER AD -->
|
||||||
<table border=0 cellpadding=1 cellspacing=0>
|
<?php echo $banner_ad; ?></td>
|
||||||
<tr><td valign="middle" align="center" class="black"
|
|
||||||
><?php echo $banner_ad; ?></td
|
|
||||||
></tr>
|
|
||||||
</table>
|
|
||||||
<!-- END BANNER AD -->
|
<!-- END BANNER AD -->
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<img src="<?php echo $apidb_root; ?>images/blank.gif" border=0 width=10 height=1 alt="">
|
<img src="<?php echo $apidb_root; ?>images/blank.gif" width=10 height=1 alt="">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user