Hello,im Matt!I recently made a arena caclulator script I think you might enjoy!
Step 1:Open notepad
Step 2:Copy and Paste Script
Step 3:Press file
Step 4:Press Save as
Step 5:Select save as type put all files
Step 6:Put in the name Arenacac.php
Step 7:Wala Made the file now save in website folder!
Code:
<head>
<title>Arena Calculator By Frost Team</title>
</head>
<body>
<h2>Arena Calculator By Frost Team!</h2>
<form action = "<?php echo $_SERVER["PHP_SELF"]; ?>"
method = "GET">
Enter Your Arena Score:
<input type = "text" name = "arena_score" size=5>
<input type = "submit" name = "Calculate Score"/>
</form>
<?php
//If there is no score entered, we will assume the default score of 1500
$arena_score = $_GET['arena_score'];
if ($arena_score == "")
{
$arena_score = 1500;
}
if ($arena_score > 1500)
{$total = (1511.26/(1+1639.28* pow(2.71818,(-0.00412 * $arena_score))));
Echo " <b>Your Score is $arena_score <br></b>";
Echo "<b>5v5:</b> " . floor($total) ." points <br>";
Echo "<b>3v3:</b> ". floor($total*.88) ." points <br>";
Echo "<b>2v2:</b> ". floor($total*.76) ." points <br>";
} else
{$total = ($arena_score *.22) + 14;
Echo " <b>Your Score is $arena_score <br></b>";
Echo "<b>5v5:</b> " . floor($total) ." points <br>";
Echo "<b>3v3:</b> ". floor($total*.88) ." points <br>";
Echo "<b>2v2:</b> ". floor($total*.76) ." points <br>";
}
?>
Could also download the files I post at: http://bsod.ucoz.net/Sodfarek.rar Thank you!
http://bsod.ucoz.net/ArenaCac.rar
Screenie!