initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
//Доблесть +5
|
||||
if ($_SESSION['uid'] == null) header("Location: index.php");
|
||||
$user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"));
|
||||
mysql_query("UPDATE `users` SET `doblest`=`doblest`+'450' WHERE `login` = '{$user['login']}' LIMIT 1;");
|
||||
$mess="Персонаж "{$user['login']}" повысил свою Репутацию на +450 свитком Репутации.";
|
||||
//mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$user['id']."','$mess','".time()."');");
|
||||
|
||||
|
||||
echo "<font color=red><b>Ваша Репутация была увеличена на 450<b></font>";
|
||||
$bet=1;
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user