Админское к админскому, крон к крону, ненужное в корзину.
This commit is contained in:
parent
bb4e4fe9f1
commit
35443b8996
@ -1,4 +1,10 @@
|
||||
<?
|
||||
/**
|
||||
* Copyright (c) 2018.
|
||||
* Author: Igor Barkov <lopar.4ever@gmail.com>
|
||||
* Project name: Battles-Game
|
||||
*/
|
||||
|
||||
include('config.php');
|
||||
|
||||
if($_POST['name']) {
|
||||
@ -32,7 +38,7 @@ else
|
||||
<html>
|
||||
<head>
|
||||
<title>404</title>
|
||||
<script src="js/jquery-1.7.2.min.js"></script>
|
||||
<script src="../js/jquery-1.7.2.min.js"></script>
|
||||
<script>
|
||||
window.onload = function() {
|
||||
for(var i = 0, l = document.getElementsByTagName('input').length; i < l; i++) {
|
@ -1,4 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright (c) 2018.
|
||||
* Author: Igor Barkov <lopar.4ever@gmail.com>
|
||||
* Project name: Battles-Game
|
||||
*/
|
||||
|
||||
session_start();
|
||||
include "config.php";
|
||||
include "functions.php";
|
||||
@ -17,7 +23,7 @@ define('ADMINS', microtime());
|
||||
<meta charset="utf-8">
|
||||
<title>ᐰdmin</title>
|
||||
</head>
|
||||
<link type="text/css" rel="stylesheet" href="./css/main.css">
|
||||
<link type="text/css" rel="stylesheet" href="../css/main.css">
|
||||
<style type="text/css">
|
||||
body {
|
||||
background: silver;
|
||||
@ -153,59 +159,59 @@ if ($_POST['sbr_par']) {
|
||||
<td colspan=3>
|
||||
<table valign=middle>
|
||||
<tr>
|
||||
<td><input type='checkbox' name='sleep' class='input'><img src='i/magic/sleep.gif'></td>
|
||||
<td><input type='checkbox' name='sleepf' class='input'><img src='i/magic/sleepf.gif'>
|
||||
<td><input type='checkbox' name='sleep' class='input'><img src='../i/magic/sleep.gif'></td>
|
||||
<td><input type='checkbox' name='sleepf' class='input'><img src='../i/magic/sleepf.gif'>
|
||||
</td>
|
||||
<td><input type='checkbox' name='sleep_off' class='input'><img
|
||||
src='i/magic/sleep_off.gif'></td>
|
||||
src='../i/magic/sleep_off.gif'></td>
|
||||
<td><input type='checkbox' name='sleepf_off' class='input'><img
|
||||
src='i/magic/sleepf_off.gif'></td>
|
||||
<td><input type='checkbox' name='haos' class='input'><img src='i/magic/haos.gif'></td>
|
||||
src='../i/magic/sleepf_off.gif'></td>
|
||||
<td><input type='checkbox' name='haos' class='input'><img src='../i/magic/haos.gif'></td>
|
||||
<td><input type='checkbox' name='haos_off' class='input'><img
|
||||
src='i/magic/haos_off.gif'></td>
|
||||
<td><input type='checkbox' name='death' class='input'><img src='i/magic/death.gif'></td>
|
||||
src='../i/magic/haos_off.gif'></td>
|
||||
<td><input type='checkbox' name='death' class='input'><img src='../i/magic/death.gif'></td>
|
||||
<td><input type='checkbox' name='death_off' class='input'><img
|
||||
src='i/magic/death_off.gif'></td>
|
||||
src='../i/magic/death_off.gif'></td>
|
||||
<!--<td><input type='checkbox' name='pal_buttons' class='input'><img src='i/magic/pal_buttons.gif'></td>-->
|
||||
<td><input type='checkbox' name='check' class='input'><img src='i/magic/check.gif'></td>
|
||||
<td><input type='checkbox' name='check' class='input'><img src='../i/magic/check.gif'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='checkbox' name='attack' class='input'><img src='i/magic/attack.gif'>
|
||||
<td><input type='checkbox' name='attack' class='input'><img src='../i/magic/attack.gif'>
|
||||
</td>
|
||||
<td><input type='checkbox' name='attackb' class='input'><img src='i/magic/attackb.gif'>
|
||||
<td><input type='checkbox' name='attackb' class='input'><img src='../i/magic/attackb.gif'>
|
||||
</td>
|
||||
<td><input type='checkbox' name='hidden' class='input'><img src='i/magic/hidden.gif'>
|
||||
<td><input type='checkbox' name='hidden' class='input'><img src='../i/magic/hidden.gif'>
|
||||
</td>
|
||||
<td><input type='checkbox' name='teleport' class='input'><img
|
||||
src='i/magic/teleport.gif'></td>
|
||||
<td><input type='checkbox' name='travma' class='input'><img src='i/magic/travma.gif'>
|
||||
src='../i/magic/teleport.gif'></td>
|
||||
<td><input type='checkbox' name='travma' class='input'><img src='../i/magic/travma.gif'>
|
||||
</td>
|
||||
<td><input type='checkbox' name='cure' class='input'><img src='i/magic/cure.gif'></td>
|
||||
<td><input type='checkbox' name='vampir' class='input'><img src='i/magic/vampir.gif'>
|
||||
<td><input type='checkbox' name='cure' class='input'><img src='../i/magic/cure.gif'></td>
|
||||
<td><input type='checkbox' name='vampir' class='input'><img src='../i/magic/vampir.gif'>
|
||||
</td>
|
||||
<td><input type='checkbox' name='brat' class='input'><img src='i/magic/brat.gif'></td>
|
||||
<td><input type='checkbox' name='dneit' class='input'><img src='i/magic/dneit.gif'></td>
|
||||
<td><input type='checkbox' name='brat' class='input'><img src='../i/magic/brat.gif'></td>
|
||||
<td><input type='checkbox' name='dneit' class='input'><img src='../i/magic/dneit.gif'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='checkbox' name='dpal' class='input'><img src='i/magic/dpal.gif'></td>
|
||||
<td><input type='checkbox' name='ddark' class='input'><img src='i/magic/ddark.gif'></td>
|
||||
<td><input type='checkbox' name='note' class='input'><img src='i/magic/note.gif'></td>
|
||||
<td><input type='checkbox' name='sys' class='input'><img src='i/magic/sys.gif'></td>
|
||||
<td><input type='checkbox' name='scanner' class='input'><img src='i/magic/scanner.gif'>
|
||||
<td><input type='checkbox' name='dpal' class='input'><img src='../i/magic/dpal.gif'></td>
|
||||
<td><input type='checkbox' name='ddark' class='input'><img src='../i/magic/ddark.gif'></td>
|
||||
<td><input type='checkbox' name='note' class='input'><img src='../i/magic/note.gif'></td>
|
||||
<td><input type='checkbox' name='sys' class='input'><img src='../i/magic/sys.gif'></td>
|
||||
<td><input type='checkbox' name='scanner' class='input'><img src='../i/magic/scanner.gif'>
|
||||
</td>
|
||||
<td><input type='checkbox' name='rep' class='input'><img src='i/magic/rep.gif'></td>
|
||||
<td><input type='checkbox' name='rost' class='input'><img src='i/magic/rost.gif'></td>
|
||||
<td><input type='checkbox' name='bexit' class='input'><img src='i/magic/bexit.gif'></td>
|
||||
<td><input type='checkbox' name='obezl' class='input'><img src='i/magic/obezl.gif'></td>
|
||||
<td><input type='checkbox' name='rep' class='input'><img src='../i/magic/rep.gif'></td>
|
||||
<td><input type='checkbox' name='rost' class='input'><img src='../i/magic/rost.gif'></td>
|
||||
<td><input type='checkbox' name='bexit' class='input'><img src='../i/magic/bexit.gif'></td>
|
||||
<td><input type='checkbox' name='obezl' class='input'><img src='../i/magic/obezl.gif'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='checkbox' name='obezl_off' class='input'><img
|
||||
src='i/magic/obezl_off.gif'></td>
|
||||
<td><input type='checkbox' name='marry' class='input'><img src='i/magic/marry.gif'></td>
|
||||
<td><input type='checkbox' name='unmarry' class='input'><img src='i/magic/unmarry.gif'>
|
||||
src='../i/magic/obezl_off.gif'></td>
|
||||
<td><input type='checkbox' name='marry' class='input'><img src='../i/magic/marry.gif'></td>
|
||||
<td><input type='checkbox' name='unmarry' class='input'><img src='../i/magic/unmarry.gif'>
|
||||
</td>
|
||||
<td><input type='checkbox' name='un_align' class='input'><img
|
||||
src='i/magic/un_align.gif'></td>
|
||||
src='../i/magic/un_align.gif'></td>
|
||||
</tr>
|
||||
</table>
|
||||
<BR><input type='submit' class=button value='Добавить/изменить'></td>
|
||||
@ -1169,7 +1175,7 @@ if (($user['deal'] == 1) || $user['admin'] == 1) {
|
||||
alert("Browser does not support HTTP Request")
|
||||
return
|
||||
}
|
||||
document.getElementById(iid).innerHTML = "<img src='./i/loading2.gif' />";
|
||||
document.getElementById(iid).innerHTML = "<img src='../i/loading2.gif' />";
|
||||
var url = "./ajax/" + func + ".php"
|
||||
url = url + "?" + getpar
|
||||
xmlHttpp[iid].open("POST", url, true);
|
||||
@ -1374,7 +1380,7 @@ if (($user['deal'] == 1) || $user['admin'] == 1) {
|
||||
alert("Browser does not support HTTP Request")
|
||||
return
|
||||
}
|
||||
document.getElementById(iid).innerHTML = "<img src='./i/loading2.gif' />";
|
||||
document.getElementById(iid).innerHTML = "<img src='../i/loading2.gif' />";
|
||||
var url = "./ajax/" + func + ".php"
|
||||
url = url + "?" + getpar
|
||||
xmlHttpp[iid].open("POST", url, true);
|
21
admin/test_cr.php
Normal file
21
admin/test_cr.php
Normal file
@ -0,0 +1,21 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../js/jquery-1.7.2.min.js"></script>
|
||||
<script src="../js/jquery.simplemodal.js"></script>
|
||||
<script src="../js/jquery.ui.js?100"></script>
|
||||
<script src="../js/mi.js"></script>
|
||||
<link rel="stylesheet" href="../css/bkstyle.css?101" />
|
||||
<link rel="stylesheet" href="../css/mi.css" />
|
||||
<script>
|
||||
function saveComplect() {
|
||||
new miDialog({title : 'Сохранить комплект'}, {edit : 1}, function() {
|
||||
document.location = '/main.php?'+$.param(this.data);
|
||||
},
|
||||
$('<div>Название комплекта :<br /><div style="font-size: smaller;"><b>может содеражать только буквы (англ / русс) и цифры.</b></div></div>').append(miDialog._oneInput({name : 'savecomplect'})), {width : 250});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<a href="javascript: void(0);" onclick="saveComplect(); return false;">Запомнить комплект</a>
|
||||
</body>
|
||||
</html>
|
@ -20,5 +20,4 @@ $mods['vel_op']=1.1;
|
||||
$mods['velichayshaya']=90;
|
||||
$mods['velich_op']=1.15;
|
||||
$mods['epohalnaya']=200;
|
||||
$mods['epoh_op']=1.35;
|
||||
?>
|
||||
$mods['epoh_op']=1.35;
|
@ -1,23 +0,0 @@
|
||||
<?php
|
||||
$mods['perv']=1.7;
|
||||
$mods['kulon']=1.5;
|
||||
$mods['haos']=2;
|
||||
$mods['alignprot']=1.5;
|
||||
$mods['kulakpenalty']=0.5;
|
||||
$mods['bloodb']=3;
|
||||
$mods['btl_1']=1;
|
||||
$mods['btl_2']=0.5;
|
||||
$mods['btl_3']=0;
|
||||
$mods['krov_oop']=0.2;
|
||||
$mods['krov_bitv']=30;
|
||||
$mods['krov_op']=1.15;
|
||||
$mods['krov_rez']=70;
|
||||
$mods['krovr_op']=1.25;
|
||||
$mods['krov_sech']=150;
|
||||
$mods['krovs_op']=1.4;
|
||||
$mods['velikaya']=40;
|
||||
$mods['vel_op']=1.1;
|
||||
$mods['velichayshaya']=90;
|
||||
$mods['velich_op']=1.15;
|
||||
$mods['epohalnaya']=200;
|
||||
$mods['epoh_op']=1.35;
|
@ -1,94 +0,0 @@
|
||||
<?
|
||||
ini_set('display_errors', 'Off');
|
||||
session_start();
|
||||
if (!isset($_SESSION['uid']) || $_SESSION['uid'] < 1)
|
||||
{
|
||||
die();
|
||||
}
|
||||
include('config.php');
|
||||
$user = mysql_fetch_assoc(mysql_query("SELECT * FROM users WHERE id = {$_SESSION['uid']} "));
|
||||
$msg = '';
|
||||
if (isset($_POST['problem']))
|
||||
{
|
||||
$mail1 = 'old-dark.moderaciya@yandex.ru';
|
||||
$ip = $_SERVER['REMOTE_ADDR'];
|
||||
$body = "
|
||||
<b>ID пользователя:</b> {$user['id']}<br>
|
||||
<b>Пользователь:</b> {$user['login']}<br>
|
||||
<b>IP пользователя:</b> {$ip}<br>
|
||||
<b>E-mail replay:</b> {$user['email']}<br>
|
||||
<b>Время отправки:</b> ".date("Y.d.m H:i:s")."<br>
|
||||
<br>
|
||||
=======================================================<br>
|
||||
<br>
|
||||
<b>Тема сообщения:</b> {$_POST['tred']}<br>
|
||||
<br>
|
||||
=======================================================<br>
|
||||
<br>
|
||||
<b>Описание проблеммы:</b><br>
|
||||
";
|
||||
$_POST['problem'] = str_replace("\n", "<br>", $_POST['problem']);
|
||||
$body .= $_POST['problem'];
|
||||
$headers = "Content-type: text/html; charset=utf-8\r\n".
|
||||
"From: {$user['email']}\r\n".
|
||||
"Reply-To: old-dark.moderaciya@yandex.ru\r\n".
|
||||
"X-Mailer: PHP mailer";
|
||||
$subject = 'Тех. поддержка old-dark.ru: ['.$user['login'].']';
|
||||
mail($mail1, $subject, $body, $headers);
|
||||
$msg = '<b><font color=red>Ваше сообщение было успешно отправлено! Ответ прийдет на вашу регистрационную почту!</font></b>';
|
||||
}
|
||||
|
||||
?>
|
||||
<HTML><HEAD>
|
||||
<link rel=stylesheet type="text/css" href="css/main.css">
|
||||
<meta content="text/html; charset=utf-8" http-equiv=Content-type>
|
||||
<META Http-Equiv=Cache-Control Content="no-cache, max-age=0, must-revalidate, no-store">
|
||||
<meta http-equiv=PRAGMA content=NO-CACHE>
|
||||
<META Http-Equiv=Expires Content=0>
|
||||
<style>
|
||||
.row {
|
||||
cursor:pointer;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
function show(ele) {
|
||||
var srcElement = document.getElementById(ele);
|
||||
if(srcElement != null) {
|
||||
if(srcElement.style.display == "block") {
|
||||
srcElement.style.display= 'none';
|
||||
}
|
||||
else {
|
||||
srcElement.style.display='block';
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 bgcolor=e2e0e0>
|
||||
<div id=hint4 class=ahint></div>
|
||||
<TABLE cellspacing=0 cellpadding=2 width=100%>
|
||||
<TD style="width: 100%; vertical-align: top; ">
|
||||
<TABLE cellspacing=0 cellpadding=2 style="width: 100%; ">
|
||||
<TD align=center><h4>Здесь вы можете подать заявку на выход с тюремного заключения в К.О. отдел Оредна света.</h4></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
</head>
|
||||
<TD nowrap>
|
||||
<b>Введите сообщение!</b> <br><?=$msg?>
|
||||
<form method="POST">
|
||||
<input type="text" name="tred" style="width: 500px;"><br>
|
||||
<textarea name="problem" style="width: 500px; height: 150px;"></textarea>
|
||||
<br>
|
||||
<input type="submit" value="Отправить">
|
||||
</TD>
|
||||
|
||||
</TR>
|
||||
</TABLE></TD>
|
||||
<TD style="width: 5%; vertical-align: top; "> </TD>
|
||||
<TD style="width: 25%; vertical-align: top; text-align: right; ">
|
||||
<INPUT TYPE=button value="Вернуться" style='width: 75px' onclick="location.href='main.php'"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<br><div align=left>
|
||||
<div>
|
||||
</body>
|
||||
</html>
|
@ -1,94 +0,0 @@
|
||||
<?
|
||||
ini_set('display_errors', 'Off');
|
||||
session_start();
|
||||
if (!isset($_SESSION['uid']) || $_SESSION['uid'] < 1)
|
||||
{
|
||||
die();
|
||||
}
|
||||
include('config.php');
|
||||
$user = mysql_fetch_assoc(mysql_query("SELECT * FROM users WHERE id = {$_SESSION['uid']} "));
|
||||
$msg = '';
|
||||
if (isset($_POST['problem']))
|
||||
{
|
||||
$mail1 = 'old-dark2003@yandex.ru';
|
||||
$ip = $_SERVER['REMOTE_ADDR'];
|
||||
$body = "
|
||||
<b>ID пользователя:</b> {$user['id']}<br>
|
||||
<b>Пользователь:</b> {$user['login']}<br>
|
||||
<b>IP пользователя:</b> {$ip}<br>
|
||||
<b>E-mail replay:</b> {$user['email']}<br>
|
||||
<b>Время отправки:</b> ".date("Y.d.m H:i:s")."<br>
|
||||
<br>
|
||||
=======================================================<br>
|
||||
<br>
|
||||
<b>Тема сообщения:</b> {$_POST['tred']}<br>
|
||||
<br>
|
||||
=======================================================<br>
|
||||
<br>
|
||||
<b>Описание проблеммы:</b><br>
|
||||
";
|
||||
$_POST['problem'] = str_replace("\n", "<br>", $_POST['problem']);
|
||||
$body .= $_POST['problem'];
|
||||
$headers = "Content-type: text/html; charset=utf-8\r\n".
|
||||
"From: {$user['email']}\r\n".
|
||||
"Reply-To: old-dark2003@yandex.ru\r\n".
|
||||
"X-Mailer: PHP mailer";
|
||||
$subject = 'Тех. поддержка old-dark.ru: ['.$user['login'].']';
|
||||
mail($mail1, $subject, $body, $headers);
|
||||
$msg = '<b><font color=red>Ваше сообщение было успешно отправлено! Ответ прийдет на вашу регистрационную почту!</font></b>';
|
||||
}
|
||||
|
||||
?>
|
||||
<HTML><HEAD>
|
||||
<link rel=stylesheet type="text/css" href="css/main.css">
|
||||
<meta content="text/html; charset=utf-8" http-equiv=Content-type>
|
||||
<META Http-Equiv=Cache-Control Content="no-cache, max-age=0, must-revalidate, no-store">
|
||||
<meta http-equiv=PRAGMA content=NO-CACHE>
|
||||
<META Http-Equiv=Expires Content=0>
|
||||
<style>
|
||||
.row {
|
||||
cursor:pointer;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
function show(ele) {
|
||||
var srcElement = document.getElementById(ele);
|
||||
if(srcElement != null) {
|
||||
if(srcElement.style.display == "block") {
|
||||
srcElement.style.display= 'none';
|
||||
}
|
||||
else {
|
||||
srcElement.style.display='block';
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 bgcolor=e2e0e0>
|
||||
<div id=hint4 class=ahint></div>
|
||||
<TABLE cellspacing=0 cellpadding=2 width=100%>
|
||||
<TD style="width: 100%; vertical-align: top; ">
|
||||
<TABLE cellspacing=0 cellpadding=2 style="width: 100%; ">
|
||||
<TD align=center><h4>Здесь вы можете задать свой вопрос Администрации.</h4></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
</head>
|
||||
<TD nowrap>
|
||||
<b>Введите сообщение!</b> <br><?=$msg?>
|
||||
<form method="POST">
|
||||
<input type="text" name="tred" style="width: 500px;"><br>
|
||||
<textarea name="problem" style="width: 500px; height: 150px;"></textarea>
|
||||
<br>
|
||||
<input type="submit" value="Отправить">
|
||||
</TD>
|
||||
|
||||
</TR>
|
||||
</TABLE></TD>
|
||||
<TD style="width: 5%; vertical-align: top; "> </TD>
|
||||
<TD style="width: 25%; vertical-align: top; text-align: right; ">
|
||||
<INPUT TYPE=button value="Вернуться" style='width: 75px' onclick="location.href='main.php'"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<br><div align=left>
|
||||
<div>
|
||||
</body>
|
||||
</html>
|
21
test_cr.php
21
test_cr.php
@ -1,21 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="js/jquery-1.7.2.min.js"></script>
|
||||
<script src="js/jquery.simplemodal.js"></script>
|
||||
<script src="js/jquery.ui.js?100"></script>
|
||||
<script src="js/mi.js"></script>
|
||||
<link rel="stylesheet" href="css/bkstyle.css?101" />
|
||||
<link rel="stylesheet" href="css/mi.css" />
|
||||
<script>
|
||||
function saveComplect() {
|
||||
new miDialog({title : 'Сохранить комплект'}, {edit : 1}, function() {
|
||||
document.location = '/main.php?'+$.param(this.data);
|
||||
},
|
||||
$('<div>Название комплекта :<br /><div style="font-size: smaller;"><b>может содеражать только буквы (англ / русс) и цифры.</b></div></div>').append(miDialog._oneInput({name : 'savecomplect'})), {width : 250});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<a href="javascript: void(0);" onclick="saveComplect(); return false;">Запомнить комплект</a>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user