renamings

This commit is contained in:
Igor Barkov [iwork] 2019-06-21 12:21:11 +03:00
parent 4d66d10086
commit 07c4200e01
7 changed files with 6 additions and 6 deletions

View File

@ -150,7 +150,7 @@ switch ($location[0]) {
move(31, 'tower.php'); move(31, 'tower.php');
break; break;
case 'level14': case 'level14':
move(30, 'klanedit.php'); move(30, 'clan_edit.php');
break; break;
case 'level650': case 'level650':
move(650, 'ul_clans.php'); move(650, 'ul_clans.php');

View File

View File

@ -78,7 +78,7 @@ if (!isset($_SESSION['uid'])) header("Location: index.php");
<a href="/friend.php" title="Друзья" target="main"><img src="http://placehold.it/32x32/33ff33?text=F"/></a> <a href="/friend.php" title="Друзья" target="main"><img src="http://placehold.it/32x32/33ff33?text=F"/></a>
<a href="/main.php?edit=1" title="Инвентарь" target="main"><img src="http://placehold.it/32x32/33ff33?text=I"/></a> <a href="/main.php?edit=1" title="Инвентарь" target="main"><img src="http://placehold.it/32x32/33ff33?text=I"/></a>
<a href="/relikt.php?edit=1" title="Реликты" target="main"><img src="http://placehold.it/32x32?text=R"/></a> <a href="/relikt.php?edit=1" title="Реликты" target="main"><img src="http://placehold.it/32x32?text=R"/></a>
<a href="/klan.php" title="Клан" target="main"><img src="http://placehold.it/32x32/33ff33?text=K"/></a> <a href="/сlan.php" title="Клан" target="main"><img src="http://placehold.it/32x32/33ff33?text=K"/></a>
<a href="/orden.php" title="Особые умения" target="main"><img <a href="/orden.php" title="Особые умения" target="main"><img
src="http://placehold.it/32x32/33ff33?text=O"/></a> src="http://placehold.it/32x32/33ff33?text=O"/></a>
<a href="/moderators.php" title="Модераторы" target="main"><img src="http://placehold.it/32x32/33ff33?text=M"/></a> <a href="/moderators.php" title="Модераторы" target="main"><img src="http://placehold.it/32x32/33ff33?text=M"/></a>

View File

@ -2355,7 +2355,7 @@ if ($user['room'] == 31) {
die(); die();
} }
if ($user['room'] == 30) { if ($user['room'] == 30) {
header('Location: klanedit.php'); header('Location: clan_edit.php');
die(); die();
} }
if ($user['room'] == 34) { if ($user['room'] == 34) {

View File

@ -30,7 +30,7 @@
<a href="/user_anketa.php" title="Анкета" target="gameframe">Анкета</a> <a href="/user_anketa.php" title="Анкета" target="gameframe">Анкета</a>
<a href="/contacts.php" title="Контакты" target="gameframe">Друзья</a> <a href="/contacts.php" title="Контакты" target="gameframe">Друзья</a>
<a href="/main.php?edit=1" title="Инвентарь" target="gameframe">Инвентарь</a> <a href="/main.php?edit=1" title="Инвентарь" target="gameframe">Инвентарь</a>
<a href="/klan.php" title="Клан" target="gameframe">Клан</a> <a href="/сlan.php" title="Клан" target="gameframe">Клан</a>
<a href="/user_abilities.php" title="Особые умения" target="gameframe">Особые умения</a> <a href="/user_abilities.php" title="Особые умения" target="gameframe">Особые умения</a>
<a href="/forum.php" title="Форум" target="gameframe">Форум</a> <a href="/forum.php" title="Форум" target="gameframe">Форум</a>
<a href="/main.php?exit" title="Выход" target="_top">Выход</a> <a href="/main.php?exit" title="Выход" target="_top">Выход</a>

View File

@ -16,14 +16,14 @@ $polno = unserialize($klan['vozm']);
if (isset($_POST['zamok'])) { if (isset($_POST['zamok'])) {
db::c()->query('UPDATE `clans` SET `zamok` = 1 WHERE `glava` = ?i', $_SESSION['uid']); db::c()->query('UPDATE `clans` SET `zamok` = 1 WHERE `glava` = ?i', $_SESSION['uid']);
$status = "Начат сбор средств на строительство Кланового Замка."; $status = "Начат сбор средств на строительство Кланового Замка.";
header("Location: klan.php"); header("Location: сlan.php");
} }
if (isset($_POST['kr']) && ($_POST['kolv'] > 0)) { if (isset($_POST['kr']) && ($_POST['kolv'] > 0)) {
if ($user['money'] >= $_POST['kolv']) { if ($user['money'] >= $_POST['kolv']) {
db::c()->query('UPDATE `clans` SET `zbor` = `zbor` + ?i WHERE `id` = ?i', $_POST['kolv'], $user['klan']); db::c()->query('UPDATE `clans` SET `zbor` = `zbor` + ?i WHERE `id` = ?i', $_POST['kolv'], $user['klan']);
db::c()->query('UPDATE `users` SET `money` = `money` - ?i WHERE `id` = ?i', $_POST['kolv'], $user['id']); db::c()->query('UPDATE `users` SET `money` = `money` - ?i WHERE `id` = ?i', $_POST['kolv'], $user['id']);
header("Location: klan.php"); header("Location: сlan.php");
} else $status = 'Не хватает денег!'; } else $status = 'Не хватает денег!';
} }