summaryrefslogtreecommitdiffstats
path: root/pages/home.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2011-09-15 00:41:50 -0700
committerPatrick Davison <snapwilliam@gmail.com>2011-09-15 00:41:50 -0700
commit4ae90e848a65802bb9c9d83721c262e634657650 (patch)
tree080b910320ef7aefafacf3fbeb4cb39391feac4d /pages/home.php
parentcc2e1384904ff984208cf0236a9a5c6e957ba899 (diff)
parent3d11ea75aaa71cc3e83f1c9121f2ba59369204ef (diff)
downloadpathery-4ae90e848a65802bb9c9d83721c262e634657650.tar.xz
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Diffstat (limited to 'pages/home.php')
-rw-r--r--pages/home.php27
1 files changed, 8 insertions, 19 deletions
diff --git a/pages/home.php b/pages/home.php
index 27605dd..8bd7d11 100644
--- a/pages/home.php
+++ b/pages/home.php
@@ -11,8 +11,6 @@ include('./includes/mapoftheday.php');
include('./includes/datas.php');
-
-
//Get the current day as int.
$numday = date('w');
$numday = intval($numday);
@@ -82,7 +80,6 @@ $motd = MapOfTheDay($maptype);
topbar($Links);
-
$mapID = $motd['id'];
$map = $motd['map'];
$userID = $_SESSION['userID'];
@@ -92,32 +89,26 @@ $topscores = topScores($motd['id'], 30);
$topscorediv = "<div id='$mapID,dspScore'>\n$topscores\n</div>";
$mergesolution = $map;
-//Like button
- //<br /><b>I made a like button!</b> I'm not sure what happens if you press it.
- //<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fpathery.com/&amp;layout=button_count&amp;show_faces=false&amp;width=90&amp;action=like&amp;font&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>
-
?>
-<br />
-<div width='94%' align='right'>
-<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com/pages/Pathery/176985129018434&amp;layout=button_count&amp;show_faces=false&amp;width=90&amp;action=like&amp;font&amp;colorscheme=dark&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:95px; height:21px;" allowTransparency="true"></iframe>
-</div>
+<br>
+<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com/pages/Pathery/176985129018434&amp;layout=button_count&amp;show_faces=false&amp;width=90&amp;action=like&amp;font&amp;colorscheme=dark&amp;height=21" style="border:none; overflow:hidden; width:95px; height:21px; float:right"></iframe>
<div class="col1">
<p>
- <center><strong>News:</strong></center>
+ <strong>News:</strong><br>
<strong>We've moved to pathery.com</strong> (look up, you're already there)! You'll need to re-login with Google.
<br />Don't worry &ndash; we've saved all your solutions and history (soon you'll even be able to see them! hehe).
</p>
<p>Maps for <?php echo "$date" ?>:
- <br /><a href='?page=home&amp;maptype=easy'><? echo $easy; ?></a>
- <br /><a href='?page=home&amp;maptype=normal'><? echo $normal; ?></a>
- <br /><a href='?page=home&amp;maptype=hard'><? echo $hard; ?></a>
- <br /><a href='?page=home&amp;maptype=day'><? echo $special; ?></a>
+ <br><a href='?page=home&amp;maptype=easy'><? echo $easy; ?></a>
+ <br><a href='?page=home&amp;maptype=normal'><? echo $normal; ?></a>
+ <br><a href='?page=home&amp;maptype=hard'><? echo $hard; ?></a>
+ <br><a href='?page=home&amp;maptype=day'><? echo $special; ?></a>
</p>
<p>
New maps are generated daily at 9:00 PM Pacific Time.
- <br />
+ <br>
</p>
<? echo $topscorediv; ?>
@@ -173,8 +164,6 @@ echo $solutiondiv;
// <meta property="og:title" content="Pathery - The Game"/>
// <meta property="og:site_name" content="Pathery.com"/>
// <meta property="og:image" content="http://www.pathery.com/ some sort of logo.... "/>
-// <br /><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com/pages/Pathery/176985129018434&amp;layout=button_count&amp;show_faces=false&amp;width=90&amp;action=like&amp;font&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>
-//
?>