separate template header/footer ; new header logo

This commit is contained in:
mappu 2013-11-09 13:35:38 +13:00
parent 6d2160aa26
commit 7942000d96
7 changed files with 26 additions and 20 deletions

11
footer.htm Normal file
View File

@ -0,0 +1,11 @@
<p>
<strong>BUG REPORTS / FEATURE REQUESTS</strong>
</p>
<p>
For bug reports, feature requests, or if you need any help, please
<a
href="http://www.google.com/recaptcha/mailhide/d?k=01GuAWzMc9JjSdooo-2KCMQA==&amp;c=kgR3dBrP39yhPIy8FvLFbuBLmWqorQBDc_Zjbw6NAmU="
onclick="window.open('http://www.google.com/recaptcha/mailhide/d?k\07501GuAWzMc9JjSdooo-2KCMQA\75\75\46c\75kgR3dBrP39yhPIy8FvLFbuBLmWqorQBDc_Zjbw6NAmU\075', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;"
title="Reveal this e-mail address"
>click here</a> to email me.
</p>

1
header.htm Normal file
View File

@ -0,0 +1 @@
<h1><a href="index.html"><div id="ivylogo"></div>code.ivysaur.me</a></h1>

View File

@ -15,15 +15,6 @@
Some of these projects formerly appeared on Google Code <a href="https://code.google.com/p/mappy/">here</a>, but were moved following the discontinuation of the Google Code binary download system. Some of these projects formerly appeared on Google Code <a href="https://code.google.com/p/mappy/">here</a>, but were moved following the discontinuation of the Google Code binary download system.
</p> </p>
<p>
For bug reports, feature requests, or if you need any help, please
<a
href="http://www.google.com/recaptcha/mailhide/d?k=01GuAWzMc9JjSdooo-2KCMQA==&amp;c=kgR3dBrP39yhPIy8FvLFbuBLmWqorQBDc_Zjbw6NAmU="
onclick="window.open('http://www.google.com/recaptcha/mailhide/d?k\07501GuAWzMc9JjSdooo-2KCMQA\75\75\46c\75kgR3dBrP39yhPIy8FvLFbuBLmWqorQBDc_Zjbw6NAmU\075', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;"
title="Reveal this e-mail address"
>click here</a> to email me.
</p>
<p> <p>
<strong>PROJECTS</strong> <strong>PROJECTS</strong>
</p> </p>

View File

@ -220,6 +220,8 @@ class CProject {
<p><?=text2html($this->longdesc)?></p> <p><?=text2html($this->longdesc)?></p>
<?=file_get_contents(__DIR__.'/footer.htm')?>
<?php if (count($this->downloads)) { ?> <?php if (count($this->downloads)) { ?>
<strong>DOWNLOAD</strong> <strong>DOWNLOAD</strong>
@ -267,7 +269,7 @@ function template($title, $content) {
<body> <body>
<div id="container"> <div id="container">
<div id="content"> <div id="content">
<a href="index.html"><div id="bannerlogo"></div></a> <?=file_get_contents(__DIR__.'/header.htm')?>
<?=$content?> <?=$content?>
</div> </div>
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

BIN
static/ivysaur24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -93,18 +93,19 @@ html, body {
/* */ /* */
#bannerlogo { #ivylogo {
width:631px; background:transparent url('ivysaur24.png') no-repeat 0 0;
height:35px; width:24px;
margin:0 auto; height:24px;
background: white url('header.png') no-repeat 0 0; display:inline-block;
padding:8px; *display:block;
*zoom:1;
margin-right:4px;
position:relative;
top:4px;
} }
.headimg { /* */
width:310px;
height:62px;
}
.homeimage { .homeimage {
width:90px; width:90px;