Page 66 - 4636
P. 66
P {
color:black; font-size:12pt; text-align:justify; font-family:arial,sans-serif
}
p.foot {
color:white; font-size:9pt; text-align:center; font-family:arial,sans-serif; font-
weight:bold
}
a:link,a:visited,a:active ( color:white
}
</style>
<?php
}
public function DisplayHeader() (
?>
<table width="100%" cellpadding="12" cellspacing="0" border="0">
<tr bgcolor="bl3ck">
<td align="left"ximg src ="logo.gif" /></td>
<tdxhl>BOBAH Convulsing Pty Ltd</hlx/td>
<td align="right"><img src="logo.gif" /x/td>
</tr>
</table>
<?php
)
public function DisplayMenu($buttons) {
echo "<table width=\"100%\" bgcolor=\"white\"".
n
"cellpadding=V4\" cellspacing=\'M\ >\n"; echo "<tr>\n";
//вичисленнярозмірівкнопки $width =
100/count($buttons); while (list($name, $url) =
each($buttons)) (
$this -> DisplayButton($width, $name, $url, !$this->IsURLCurrentPage ($url)) ;
}
echo "</tr>\n"; echo "</table>\n";
)
public function IsUKLCurrentPage($url) ( if(strpos($_SERVER('PHPSELF']/
$url)==false) { return false;
} else ( return true;
}
)
public function DisplayButton($width, $name, $url, $active = true) ( if
($active) (
echo "<td width =\"”,$width."%\"><a href =\"" .$ ur l. .
n
"<img src=\"s-logo.gif\ alt=\'"'.$name."\ border=\"0\" /x/a>".
”<a href=\"". $url. "\><span class=\"menu\">" .$name. "</spanx/a>".
"</td>";
} else {
echo "<td width =\"",$width."%\"ximg src=\"side-logo.gif\" />".
"<span class=\"menu\">". $name. ”</spanx/td>";
}
)
public function DisplayFooter () (
?>
,,
<table width="100%" bgcolor="black" cellpadding="12" border=”0 >
<tr>
<td>
<p class="foot">SiCopy; BOBAH Convulsing Pty Ltd.</p>
<pclass="foot">До ваших послуг - наша
<ahref=”legal .рhр">сторінка з офіційною інформацією'</а></р>
</td>
</tr>
</table>
<?php
63