Lucky Space Faerie Charm

From Computers Wiki
Revision as of 02:55, 31 July 2024 by Huntertur (talk | contribs) (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

/games/lucky_charm.phtml

Example URL: https://www.neopets.com/games/lucky_charm.phtml?plc_orig_np=742

plc_orig_np is intended to be a positive integer, but it can be zero or negative. Decimals, letters, or any other non-numeric character cause integer parsing to be cut off at that point. If the input is wholly non-numeric, the value is treated as zero. However, the whole string is still present in the output, saying, for instance, "3e11 NP to 6 NP", or "3.5 NP to 6 NP", or "abc NP to 0 NP".

<style type=text/css>
A{COLOR:#000099;FONT-FAMILY:verdana,arial,helvetica;FONT-SIZE:9pt;TEXT-DECORATION:none}
TD,P,body{FONT-FAMILY:verdana,arial,helvetica;FONT-SIZE:9pt;}
A:hover{COLOR:#990000;}
.smallfont, .sf{FONT-SIZE:7.5pt;}
</style>

<html>
	<head>
		<title>Neopets - Lucky Space Faerie Charm!</title>
	</head>
<body>
<div align="center">
		<table width="450" cellpadding="3" cellspacing="0" border="0">
			<tr>
				<td bgcolor="#FFFFCC" width="400" align="center" colspan="2"><strong>Something has happened!</strong></td>
			</tr>
			
			<tr>
				<td width="80"><img src="//images.neopets.com/trophies/premium_lucky_charm.gif" width="80" height="80" alt="" border="1"></td>
				<td>Wow!  Aren't you lucky?!  Your Neopoint reward has been doubled from <strong>742 NP</strong> to <strong>1484 NP</strong>!  What in the world could have caused that to happen?</td>
			</tr>
		</table>
<br>
<a href="javascript:window.close();"><strong>Close Window</strong></a>
</div>