initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
// магия "шаг назад"
|
||||
if (rand(1,100)!=1) {
|
||||
|
||||
if ($_SESSION['uid'] == null) header("Location: index.php");
|
||||
|
||||
mysql_query("UPDATE `users` SET `hp`=`maxhp` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;");
|
||||
|
||||
echo "<font color=red><b>‚ы подкрепили свои силы...<b></font>";
|
||||
$bet=1;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user