diff options
author | raylu <raylu@mixpanel.com> | 2011-09-14 23:20:48 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-09-14 23:20:48 -0700 |
commit | efb3150053c7cb62dec98fc7c4ea1531d3c0acfc (patch) | |
tree | 13b281d7c561f07e351f6a37d6c72d296e75cb04 /pages/home.php | |
parent | 5332f68b60f6c37850468ab3922936d0a12d9daf (diff) | |
download | pathery-efb3150053c7cb62dec98fc7c4ea1531d3c0acfc.tar.xz |
fix some validation issues; get rid of div around like button
Diffstat (limited to 'pages/home.php')
-rw-r--r-- | pages/home.php | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/pages/home.php b/pages/home.php index 27605dd..3d3a371 100644 --- a/pages/home.php +++ b/pages/home.php @@ -82,7 +82,6 @@ $motd = MapOfTheDay($maptype); topbar($Links);
-
$mapID = $motd['id'];
$map = $motd['map'];
$userID = $_SESSION['userID'];
@@ -92,32 +91,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/&layout=button_count&show_faces=false&width=90&action=like&font&colorscheme=light&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&layout=button_count&show_faces=false&width=90&action=like&font&colorscheme=dark&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&layout=button_count&show_faces=false&width=90&action=like&font&colorscheme=dark&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 – 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&maptype=easy'><? echo $easy; ?></a>
- <br /><a href='?page=home&maptype=normal'><? echo $normal; ?></a>
- <br /><a href='?page=home&maptype=hard'><? echo $hard; ?></a>
- <br /><a href='?page=home&maptype=day'><? echo $special; ?></a>
+ <br><a href='?page=home&maptype=easy'><? echo $easy; ?></a>
+ <br><a href='?page=home&maptype=normal'><? echo $normal; ?></a>
+ <br><a href='?page=home&maptype=hard'><? echo $hard; ?></a>
+ <br><a href='?page=home&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 +166,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&layout=button_count&show_faces=false&width=90&action=like&font&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>
-//
?>
|