Убрал блок кода, который нигде не вызывался.
This commit is contained in:
parent
b7003d0c63
commit
075165d37d
39
buttons.php
39
buttons.php
@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/* Главный игровой файл. */
|
||||||
|
|
||||||
use Core\Config;
|
use Core\Config;
|
||||||
use Core\Database;
|
use Core\Database;
|
||||||
use Core\Db;
|
use Core\Db;
|
||||||
@ -93,8 +95,9 @@ $u->stats = $u->getStats($u->info['id'], 0);
|
|||||||
lafstReg = {},
|
lafstReg = {},
|
||||||
enterUse = 0;
|
enterUse = 0;
|
||||||
|
|
||||||
|
// Проверка на совпедение города.
|
||||||
function ctest(city) {
|
function ctest(city) {
|
||||||
if (city != c['city']) {
|
if (city !== c['city']) {
|
||||||
top.location = '/bk';
|
top.location = '/bk';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -585,41 +588,7 @@ $u->stats = $u->getStats($u->info['id'], 0);
|
|||||||
});
|
});
|
||||||
$(window).resize();
|
$(window).resize();
|
||||||
}
|
}
|
||||||
</script>
|
|
||||||
<?php
|
|
||||||
if ($u->info['bithday'] == '01.01.1800') {
|
|
||||||
?>
|
|
||||||
<script>
|
|
||||||
function startRegistration() {
|
|
||||||
$.post('reg.php', {
|
|
||||||
'ajax_reg': true,
|
|
||||||
'reg_login': $('#reg_login').val(),
|
|
||||||
'reg_mail': $('#reg_mail').val(),
|
|
||||||
'reg_dd': $('#reg_dd').val(),
|
|
||||||
'reg_mm': $('#reg_mm').val(),
|
|
||||||
'reg_yy': $('#reg_yy').val(),
|
|
||||||
'reg_sex': $('#reg_sex').val(),
|
|
||||||
'reg_pass': $('#reg_pass').val(),
|
|
||||||
'reg_pass2': $('#reg_pass2').val(),
|
|
||||||
'mail_post': $('#mail_post').attr('checked')
|
|
||||||
}, function (data) {
|
|
||||||
$('#errorreg').html(data);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
cc('#regblock');
|
|
||||||
</script>
|
|
||||||
<?php
|
|
||||||
} elseif (!empty($u->info['active']) && $u->info['mail'] == 'No E-mail') {
|
|
||||||
if (!empty($error)) {
|
|
||||||
echo '<script>alert("' . $error . '");</script>';
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<!-- ACTIVE -->
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<script>
|
|
||||||
var lasts = [-1, -1];
|
var lasts = [-1, -1];
|
||||||
|
|
||||||
function myexpLineTop27(e1, e2) {
|
function myexpLineTop27(e1, e2) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user