View Single Post
Old 09-27-2012, 12:50 AM   PM User | #10
zingzing45
New Coder

 
Join Date: Jun 2012
Posts: 57
Thanks: 13
Thanked 0 Times in 0 Posts
zingzing45 is an unknown quantity at this point
Code:
<!DOCTYPE html>

<html>

<head>

<title>Welcome to CoinAwards</title>

<link rel="stylesheet" href="structure/home.css" />

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

<script type="text/javascript" src="http://jzaefferer.github.com/jquery-validation/jquery.validate.js"></script>

<script src="structure/jQueryEase.js"></script>

<script src="structure/home.js"></script>

</head>

<body>



<script>

$(document).ready(function()

{

function addAward()

{

$.ajax(
		
		{
		
		type: "POST",
		
		url: "achievements.php",
		
		data: { HomeCoinLocator: "Yes" }

		});

var div = document.getElementById("newachievementdiv");

var span = div.getElementsByTagName("span")[1]; 

span.innerHTML = "Rewards:<br>+120 Coins<br>+10 Skill Points<br>+1 Award";

$(div).fadeIn("4000");

setInterval( function() { $("#newachievementdiv").fadeOut("4000"); }, 4000);
		
}

		});

</script>

<header>

<hgroup>

<h1 id="coin-awards-welcome">Welcome to CoinAwards!</h1>

<h2 id="coin-awards-welcome-subtitle">A place where you can <span class="highlite-blue">earn coins</span> and <span class="highlite-blue">trade them
</span> in for cool <span class="highlite-blue">virtual prizes</span>!</h2>

</hgroup>

</header>

<section id="extrastuff">

<div id="usefullinksdiv">

<img src="structure/rightarrow.jpg" id="ra" />

</div>

<div id="actualusefullinks">

<a href="structure/forum.php"><input type="button" value="Forum" id="forumbutton" /></a>

<a href="structure/profile.php"><input type="button" value="Profile" id="profilebutton" /></a>

</div>

</section>

<section id="loginbox" style="height:160px;">

<p id="usernamelink">Welcome, <a href="structure/profile.php" id="greenlink">gr</a> | <a href="structure/logout.php" id="orangelink">Logout</a></p>

<p id="userinfop">You have 100 coins</p>

<p id="userskillp">You have 5 skill points</p>

<p id="userawardsp">You have 1 award</p>

</section>

<section id="mainMenu" style="z-index: 2;">

<ul>  
<li id="li1" class="green">  
<p><a href="../Advance_To_Coin_Awards.php">Home</a></p>  
<a href="../Advance_To_Coin_Awards.php"><div class="subtext">Home</div></a>
</li>  
<li id="li2" class="yellow">  
<p><a href="structure/whatisthis.php">What is this?</a></p>  
<a href="structure/whatisthis.php"><div class="subtext">What is this?</div></a>
<a href="structure/moreinfo.php"><div class="subtext">More Info</div></a>
<a href="structure/tipsandtricks.php"><div class="subtext">Tips and Tricks</div></a>
</li>  
<li id="li3" class="red">  
<p><a href="structure/earncoins.php">Earn Coins</a></p>  
<a href="structure/earncoins.php"><div class="subtext">Earn Coins</div></a>
<a href="structure/achievements.php"><div class="subtext">Achievements</div></a>
</li>  
<li id="li4" class="blue">  
<p><a href="structure/chooseawards.php">Shop</a></p>  
<a href="structure/chooseawards.php"><div class="subtext">Shop</div></a>
<a href="structure/wishlist.php"><div class="subtext">Wish List</div></a>
<a href="structure/buyinghistory.php"><div class="subtext">Buying History</div></a>
</li>  
<li id="li5" class="purple">  
<p><a href="structure/profile.php">Profile</a></p>  
<a href="structure/profile.php"><div class="subtext">Profile</div></a>
<a href="structure/spruceitup.php"><div class="subtext">Spruce it up</div></a>  
<a href="structure/compare.php"><div class="subtext">Compare</div></a>
</li>  
<li id="li6" class="brown">
<p><a href="structure/allactivities.php">All Activities</a></p>
<a href="structure/allactivities.php"><div class="subtext">All Activities</div></a>
<a href="structure/games.php"><div class="subtext">Games</div></a>
<a href="structure/chatroom.php"><div class="subtext">Chat Room</div></a>
</li>
</ul> 

</section>

<section id="home-content">

<h2 id="home-content-title">Play games, chat, and earn coins!</h2>

<p id="content-1">Own a customizable profile that sports unlockable parts through the spending of coins, which can be earned by spending time on 
the site, finding secrets, completing achievements, and more. You will have the chance to play games, chat, and do more by visiting this site. While you 
are enjoying the features of this site, you will gain coins - currency. You can spend these coins on an always-updated shop. While it is possible to still 
enjoy this site without logging in (games, chat, etc.), creating an account will help you enjoy the full benefits of your experience here - why not? - 
it is free and fun!</p>

</section>

<footer>

<p id="footercrp">Copyright &copy; CoinAwards 2012 | Hosted for free under <a href="http://www.***************" style="color: #333366;">000webhost</a>. 
Site Version 1.3 by Austin Stout. V 1.3 includes release of achievement #2, as well as important site clean-up.</p>

</footer>

<div id="lsidepanel">

</div>

<div id="rsidepanel">

</div>

<div id="secretcoin" onmouseover="addAward();">
Uncaught ReferenceError: addAward is not defined

</div>

<div id="newachievementdiv" align="center" class="awardBox" 
     style="display: none; margin: 0px auto; position: fixed; left: 250px;">
Congratulations! You have <span class="highlite-blue">found the secret coin</span>!
<br/>
<span></span>
</div>

</body>

</html>				
<!-- Hosting24 Analytics Code -->
<script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
<!-- End Of Analytics Code -->






The related stuff is in bold.
zingzing45 is offline   Reply With Quote