Skip to content

Commit 4e2d8d5

Browse files
committed
footer tweaks
fixed #799 and replaced paypal form witha simple link
1 parent 61f45d4 commit 4e2d8d5

File tree

2 files changed

+20
-23
lines changed

2 files changed

+20
-23
lines changed

footer.php

+18-22
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
<?php mysqli_close($link); ?>
2-
<div class="icon smalldiv center">
3-
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" style="float:left; margin-left:5px;">
4-
<input type="hidden" name="cmd" value="_s-xclick">
5-
<input type="hidden" name="hosted_button_id" value="CJF8R55CJE9R4">
6-
<input type="image" src="<?php echo $site_url; ?>images/footer/paypal.png" border="0" name="submit" class="icon lighten" alt="PayPal" title="Donate using PayPal!">
7-
</form>
8-
<a href="bitcoin:1Gpa3NKn8nR9ipXPZbwkjYxqZX3cmz7q97?label=Ancient%20Beast"><img src="<?php echo $site_url; ?>images/footer/bitcoin.png" class="icon lighten" alt="bitcoin" title="Donate some Bitcoins!"></a>
9-
<a href="https://www.bountysource.com/trackers/260151-ancient-beast"><img src="<?php echo $site_url; ?>images/footer/bountysource.png" class="icon lighten" alt="bountysource" title="Place some bounties!"></a>
10-
<a href="http://www.patreon.com/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/patreon.png" class="icon lighten" alt="patreon" title="Donate via Patreon!"></a>
11-
<a href="https://flattr.com/thing/126547/Ancient-Beast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/flattr.png" class="icon lighten" alt="flattr" title="Donate via Flattr!"></a>
12-
<a href="http://steamcommunity.com/sharedfiles/filedetails/?id=195722359" target="_blank"><img src="<?php echo $site_url; ?>images/footer/steam.png" class="icon lighten" alt="steam" title="Steam"></a>
13-
<a href="http://www.indiedb.com/games/ancient-beast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/indiedb.png" class="icon lighten" alt="indiedb" title="IndieDB"></a>
14-
<a href="http://gamejolt.com/games/arcade/ancient-beast/15964/" target="_blank"><img src="<?php echo $site_url; ?>images/footer/gamejolt.png" class="icon lighten" alt="gamejolt" title="Game Jolt"></a>
15-
<a href="https://facebook.com/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/facebook.png" class="icon lighten" alt="facebook" title="Facebook"></a>
16-
<a href="https://twitter.com/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/twitter.png" class="icon lighten" alt="twitter" title="Twitter"></a>
17-
<a href="https://plus.google.com/+AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/google.png" class="icon lighten" alt="google" title="Google Plus"></a>
18-
<a href="https://www.youtube.com/AncientBeastGame" target="_blank"><img src="<?php echo $site_url; ?>images/footer/youtube.png" class="icon lighten" alt="youtube" title="Youtube"></a>
19-
<a href="https://github.com/FreezingMoon/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/github.png" class="icon lighten" alt="github" title="Github"></a>
20-
<a href="https://wuala.com/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/wuala.png" class="icon lighten" alt="wuala" title="Wuala"></a>
21-
<a href="https://Ancient-Beast.deviantart.com" target="_blank"><img src="<?php echo $site_url; ?>images/footer/deviantart.png" class="icon lighten" alt="deviantart" title="deviantArt"></a>
22-
<a href="http://www.reddit.com/r/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/reddit.png" class="icon lighten" alt="reddit" title="Reddit"></a>
23-
<a href="mailto:[email protected]?Subject=You%20Rock!" target="_blank"><img src="<?php echo $site_url; ?>images/footer/contact.png" class="icon lighten" alt="contact" title="Contact"></a>
2+
<div class="footer smalldiv center">
3+
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CJF8R55CJE9R4" target="_blank"><img src="<?php echo $site_url; ?>images/footer/paypal.png" class="lighten" alt="paypal" title="Donate using PayPal!"></a>
4+
<a href="bitcoin:1Gpa3NKn8nR9ipXPZbwkjYxqZX3cmz7q97?label=Ancient%20Beast"><img src="<?php echo $site_url; ?>images/footer/bitcoin.png" class="lighten" alt="bitcoin" title="Donate some Bitcoins!"></a>
5+
<a href="https://www.bountysource.com/trackers/260151-ancient-beast"><img src="<?php echo $site_url; ?>images/footer/bountysource.png" class="lighten" alt="bountysource" title="Place some bounties!"></a>
6+
<a href="http://www.patreon.com/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/patreon.png" class="lighten" alt="patreon" title="Donate via Patreon!"></a>
7+
<a href="https://flattr.com/thing/126547/Ancient-Beast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/flattr.png" class="lighten" alt="flattr" title="Donate via Flattr!"></a>
8+
<a href="http://steamcommunity.com/sharedfiles/filedetails/?id=195722359" target="_blank"><img src="<?php echo $site_url; ?>images/footer/steam.png" class="lighten" alt="steam" title="Steam"></a>
9+
<a href="http://www.indiedb.com/games/ancient-beast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/indiedb.png" class="lighten" alt="indiedb" title="IndieDB"></a>
10+
<a href="http://gamejolt.com/games/arcade/ancient-beast/15964/" target="_blank"><img src="<?php echo $site_url; ?>images/footer/gamejolt.png" class="lighten" alt="gamejolt" title="Game Jolt"></a>
11+
<a href="https://facebook.com/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/facebook.png" class="lighten" alt="facebook" title="Facebook"></a>
12+
<a href="https://twitter.com/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/twitter.png" class="lighten" alt="twitter" title="Twitter"></a>
13+
<a href="https://plus.google.com/+AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/google.png" class="lighten" alt="google" title="Google Plus"></a>
14+
<a href="https://www.youtube.com/AncientBeastGame" target="_blank"><img src="<?php echo $site_url; ?>images/footer/youtube.png" class="lighten" alt="youtube" title="Youtube"></a>
15+
<a href="https://github.com/FreezingMoon/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/github.png" class="lighten" alt="github" title="Github"></a>
16+
<a href="https://wuala.com/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/wuala.png" class="lighten" alt="wuala" title="Wuala"></a>
17+
<a href="https://Ancient-Beast.deviantart.com" target="_blank"><img src="<?php echo $site_url; ?>images/footer/deviantart.png" class="lighten" alt="deviantart" title="deviantArt"></a>
18+
<a href="http://www.reddit.com/r/AncientBeast" target="_blank"><img src="<?php echo $site_url; ?>images/footer/reddit.png" class="lighten" alt="reddit" title="Reddit"></a>
19+
<a href="mailto:[email protected]?Subject=You%20Rock!" target="_blank"><img src="<?php echo $site_url; ?>images/footer/contact.png" class="lighten" alt="contact" title="Contact"></a>
2420
</div>
2521
</body>
2622
</html>

stylesheet.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ img{border:none;vertical-align:bottom;}
1010
.shadow{box-shadow:0 0 10px black;}
1111
*:focus{outline:none;}
1212
#wrapper{text-align:left;}
13-
.div{border:20px solid transparent;border-image:url('images/div.png') 20 fill stretch;margin:0;margin-bottom:10px;padding:0 10px;position:relative;overflow:hidden;}
13+
.div{border:20px solid transparent;border-image:url('images/div.png') 20 fill stretch;margin:0;margin-bottom:10px;padding:4px 10px;position:relative;overflow:hidden;}
1414
.smalldiv{border:20px solid transparent;border-image:url('images/smalldiv.png') 20 fill stretch;margin:0;margin-bottom:10px;padding:0 10px;padding-top:5px;position:relative;overflow:hidden;}
1515
.warning{padding:20px 0; margin-bottom:10px; background:rgba(0,0,0,0.5); border-radius:15px; border:4px ridge red;}
1616
.confirmation{padding:20px 0; margin-bottom:10px; background:rgba(0,0,0,0.5); border-radius:15px; border:4px ridge green;}
@@ -20,5 +20,6 @@ a:active{text-decoration:none;color:#b7b7b7;}
2020
a:hover,.active a,a.active{text-decoration:none;color:#e6e6e6;cursor:pointer;text-shadow:black 0.1em 0.1em 0.2em, red 0 0 10px;}
2121
#scroll{bottom:0;display:block;left:96%;position:fixed;z-index:999;}
2222
iframe{border:0;}
23+
.footer img{width:48px;height:48px;}
2324

2425
@import url(https://fonts.googleapis.com/css?family=Play:400,700);

0 commit comments

Comments
 (0)