Autofix small errors
This commit is contained in:
parent
d330721114
commit
094b8a6027
@ -43,21 +43,21 @@ H.prototype.get = function(key, defaultValue){
|
||||
H.prototype.setHP = function(id, curHP, maxHP){
|
||||
curHP = curHP || 0;
|
||||
maxHP = maxHP || 0;
|
||||
var hp = this.getMainBox().find('#hpKey_'+id);
|
||||
const hp = this.getMainBox().find('#hpKey_' + id);
|
||||
if(hp.length < 1){
|
||||
return false;
|
||||
}
|
||||
var hpA = $('img:eq(1)', hp);
|
||||
var hpB = $('img:eq(2)', hp);
|
||||
var redHP = 0.33; // меньше 30% красный цвет
|
||||
var yellowHP = 0.66; // меньше 60% желтый цвет, иначе зеленый
|
||||
const hpA = $('img:eq(1)', hp);
|
||||
const hpB = $('img:eq(2)', hp);
|
||||
const redHP = 0.33; // меньше 30% красный цвет
|
||||
const yellowHP = 0.66; // меньше 60% желтый цвет, иначе зеленый
|
||||
if(curHP > maxHP){
|
||||
curHP = maxHP;
|
||||
}
|
||||
var text = curHP + '/' + maxHP;
|
||||
var lengthHP = 170 - (text.length - 1) * 8;
|
||||
var sizeFirst = Math.round((lengthHP / maxHP) * curHP);
|
||||
var sizeSecond = lengthHP - sizeFirst;
|
||||
const text = curHP + '/' + maxHP;
|
||||
const lengthHP = 170 - (text.length - 1) * 8;
|
||||
const sizeFirst = Math.round((lengthHP / maxHP) * curHP);
|
||||
const sizeSecond = lengthHP - sizeFirst;
|
||||
hpA.attr('width', sizeFirst);
|
||||
hpB.attr('width', sizeSecond);
|
||||
if(curHP / maxHP < redHP){
|
||||
@ -116,15 +116,19 @@ H.prototype.sdOptionsDefault = {
|
||||
|
||||
H.prototype._sd = function(options){
|
||||
options = $.extend({}, this.sdOptionsDefault, options);
|
||||
var m = $('<div class="sd-container"></div>').css('width',options.width);
|
||||
var t = $('<div class="sd-title">').text(options.title);
|
||||
var c = $('<img class="sd-closer" src="/i/clear.gif" title="Закрыть окно" alt="X">')
|
||||
.click(function(){return options.onClose.call($(this).closest('div.sd-container'))});
|
||||
var f = $('<form class="sd-form"></form>')
|
||||
.attr('method', options.formMethod)
|
||||
.attr('action', options.formAction)
|
||||
.submit(function(){return options.onSubmit.call($(this).closest('div.sd-container'))});
|
||||
for(var i in options.data){
|
||||
const m = $('<div class="sd-container"></div>').css('width', options.width);
|
||||
const t = $('<div class="sd-title">').text(options.title);
|
||||
const c = $('<img class="sd-closer" src="/i/clear.gif" title="Закрыть окно" alt="X">')
|
||||
.click(function () {
|
||||
return options.onClose.call($(this).closest('div.sd-container'))
|
||||
});
|
||||
const f = $('<form class="sd-form"></form>')
|
||||
.attr('method', options.formMethod)
|
||||
.attr('action', options.formAction)
|
||||
.submit(function () {
|
||||
return options.onSubmit.call($(this).closest('div.sd-container'))
|
||||
});
|
||||
for(let i in options.data){
|
||||
$('<input type=hidden>').attr('name',i).val(options.data[i]).appendTo(f);
|
||||
}
|
||||
if(options.formClass){
|
||||
@ -135,18 +139,18 @@ H.prototype._sd = function(options){
|
||||
}
|
||||
|
||||
H.prototype.sd = function(options){
|
||||
var tmp = this._sd(options);
|
||||
return this.getMainBox().append(tmp);
|
||||
const tmp = this._sd(options);
|
||||
return this.getMainBox().append(tmp);
|
||||
}
|
||||
|
||||
H.prototype.sdOneInput = function(options){
|
||||
var onSubmit2 = options.onSubmit;
|
||||
options = $.extend({},this.sdOptionsDefault, {inputName: 'target', inputValue: '', grabber: null}, options);
|
||||
var i = $('<input type="text" class="text">')
|
||||
.css({'width': options.width - 45})
|
||||
.attr('name',options.inputName)
|
||||
.val(options.inputValue);
|
||||
if(options.grabber && this[options.grabber] instanceof Grabber){
|
||||
let onSubmit2 = options.onSubmit;
|
||||
options = $.extend({},this.sdOptionsDefault, {inputName: 'target', inputValue: '', grabber: null}, options);
|
||||
const i = $('<input type="text" class="text">')
|
||||
.css({'width': options.width - 45})
|
||||
.attr('name', options.inputName)
|
||||
.val(options.inputValue);
|
||||
if(options.grabber && this[options.grabber] instanceof Grabber){
|
||||
this[options.grabber].set(i);
|
||||
}else{
|
||||
i.select();
|
||||
@ -155,8 +159,8 @@ H.prototype.sdOneInput = function(options){
|
||||
.append(i)
|
||||
.append('<input type="submit" class="button" style="width:33px;" value=" »» ">'));
|
||||
options.onSubmit = function(){
|
||||
var v = i.val($.trim(i.val())).val();
|
||||
if(v.length <= 0){
|
||||
const v = i.val($.trim(i.val())).val();
|
||||
if(v.length <= 0){
|
||||
alert('Не заполнено обязательное поле');
|
||||
return false
|
||||
}
|
||||
@ -216,7 +220,7 @@ H.prototype.msgPopup = function(type, text){
|
||||
if(this._popupConfig[type] == undefined){
|
||||
type = 'w';
|
||||
}
|
||||
var conf = this._popupConfig[type];
|
||||
const conf = this._popupConfig[type];
|
||||
$.jGrowl(text,{
|
||||
header: '<img src="/i/jgrowl_moover.png" alt="<>" class="jgrowl-moover" title="Передвинуть"> ' + conf[1],
|
||||
glue: 'before',
|
||||
@ -251,10 +255,10 @@ Grabber.prototype.isActive = function(){
|
||||
}
|
||||
|
||||
Grabber.prototype.set = function(input){
|
||||
var obj = this;
|
||||
this.clear();
|
||||
var tmp = $(input);
|
||||
if(tmp.length > 0){
|
||||
const obj = this;
|
||||
this.clear();
|
||||
const tmp = $(input);
|
||||
if(tmp.length > 0){
|
||||
this.input = tmp.get(0);
|
||||
$(this.input)
|
||||
.addClass(this.options.inputClass)
|
||||
|
@ -1043,17 +1043,17 @@ if ($_POST['login'] && $_POST['krest']) {
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
var xmlHttpp = [];
|
||||
const xmlHttpp = [];
|
||||
|
||||
function ajax_func(func, iid, getpar, postpar) {
|
||||
xmlHttpp[iid] = GetXmlHttpObject1();
|
||||
if (xmlHttpp[iid] == null) {
|
||||
alert("Browser does not support HTTP Request")
|
||||
alert("Browser does not support HTTP Request");
|
||||
return
|
||||
}
|
||||
document.getElementById(iid).innerHTML = "<img src='../i/loading2.gif' />";
|
||||
var url = "./ajax/" + func + ".php"
|
||||
url = url + "?" + getpar
|
||||
var url = "./ajax/" + func + ".php";
|
||||
url = url + "?" + getpar;
|
||||
xmlHttpp[iid].open("POST", url, true);
|
||||
xmlHttpp[iid].onreadystatechange = function () {
|
||||
if (xmlHttpp[iid].readyState == 4 || xmlHttpp[iid].readyState == "complete") {
|
||||
@ -1063,13 +1063,13 @@ if ($_POST['login'] && $_POST['krest']) {
|
||||
document.getElementById(iid).innerHTML = xmlHttpp[iid].responseText;
|
||||
document.getElementById('chat').scrollTop = document.getElementById('chat').scrollHeight + 10;
|
||||
}
|
||||
}
|
||||
};
|
||||
xmlHttpp[iid].setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
||||
xmlHttpp[iid].send(postpar);
|
||||
}
|
||||
|
||||
function GetXmlHttpObject1() {
|
||||
var xmlHttp1 = null;
|
||||
let xmlHttp1 = null;
|
||||
try {
|
||||
xmlHttp1 = new XMLHttpRequest();
|
||||
}
|
||||
@ -1085,7 +1085,7 @@ if ($_POST['login'] && $_POST['krest']) {
|
||||
}
|
||||
|
||||
function show(ele) {
|
||||
var srcElement = document.getElementById(ele);
|
||||
const srcElement = document.getElementById(ele);
|
||||
if (srcElement != null) {
|
||||
if (srcElement.style.display == "block") {
|
||||
srcElement.style.display = 'none';
|
||||
@ -1095,8 +1095,8 @@ if ($_POST['login'] && $_POST['krest']) {
|
||||
}
|
||||
}
|
||||
|
||||
var Hint3Name = '';
|
||||
var Hint3Closed = false;
|
||||
let Hint3Name = '';
|
||||
let Hint3Closed = false;
|
||||
|
||||
function runmagic0(title, magic, name) {
|
||||
document.all("hint3").innerHTML = '<table width=100% cellspacing=1 cellpadding=0 bgcolor=CCC3AA><tr><td align=center><B>' + title + '</td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint3();"><BIG><B>x</b></BIG></td></tr><tr><td colspan=2>' +
|
||||
@ -1248,17 +1248,17 @@ if ($_POST['login'] && $_POST['krest']) {
|
||||
</script>
|
||||
|
||||
<script>
|
||||
var xmlHttpp = []
|
||||
var xmlHttpp = [];
|
||||
|
||||
function ajax_func(func, iid, getpar, postpar) {
|
||||
xmlHttpp[iid] = GetXmlHttpObject1()
|
||||
xmlHttpp[iid] = GetXmlHttpObject1();
|
||||
if (xmlHttpp[iid] == null) {
|
||||
alert("Browser does not support HTTP Request")
|
||||
alert("Browser does not support HTTP Request");
|
||||
return
|
||||
}
|
||||
document.getElementById(iid).innerHTML = "<img src='../i/loading2.gif' />";
|
||||
var url = "./ajax/" + func + ".php"
|
||||
url = url + "?" + getpar
|
||||
var url = "./ajax/" + func + ".php";
|
||||
url = url + "?" + getpar;
|
||||
xmlHttpp[iid].open("POST", url, true);
|
||||
xmlHttpp[iid].onreadystatechange = function () {
|
||||
if (xmlHttpp[iid].readyState == 4 || xmlHttpp[iid].readyState == "complete") {
|
||||
@ -1268,13 +1268,13 @@ if ($_POST['login'] && $_POST['krest']) {
|
||||
document.getElementById(iid).innerHTML = xmlHttpp[iid].responseText;
|
||||
document.getElementById('chat').scrollTop = document.getElementById('chat').scrollHeight + 10;
|
||||
}
|
||||
}
|
||||
};
|
||||
xmlHttpp[iid].setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
||||
xmlHttpp[iid].send(postpar);
|
||||
}
|
||||
|
||||
function GetXmlHttpObject1() {
|
||||
var xmlHttp1 = null;
|
||||
let xmlHttp1 = null;
|
||||
try {
|
||||
// Firefox, Opera 8.0+, Safari
|
||||
xmlHttp1 = new XMLHttpRequest();
|
||||
|
@ -26,4 +26,3 @@ while($check++ < $clans) {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@ -184,4 +184,4 @@ if($res[0]!=$res2[0])
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
|
@ -255,8 +255,8 @@ if ($_POST['sale']) {
|
||||
</TD>
|
||||
<TD valign=top width=280>
|
||||
<div style="MARGIN-LEFT:15px; MARGIN-TOP: 10px;">
|
||||
<CENTER><B>Масса всех ваших вещей: <?= getItemsMassaInfo() ?><BR>
|
||||
У вас в наличии: <span style="color: blue"><?=$user['doblest']?></span> реп.</B></CENTER>
|
||||
<div style="text-align: center;"><B>Масса всех ваших вещей: <?= getItemsMassaInfo() ?><BR>
|
||||
У вас в наличии: <span style="color: blue"><?=$user['doblest']?></span> реп.</B></div>
|
||||
<hr>
|
||||
<a href=shop.php>ГОС. МАГАЗИН</a>
|
||||
<hr>
|
||||
|
66
buttons.php
66
buttons.php
@ -123,13 +123,13 @@ if ($header) {
|
||||
</style>
|
||||
<script>
|
||||
function S(name) {
|
||||
var sData = top.frames['bottom'].window.document;
|
||||
const sData = top.frames['bottom'].window.document;
|
||||
sData.F1.text.focus();
|
||||
sData.F1.text.value = sData.F1.text.value + ':' + name + ': ';
|
||||
}
|
||||
|
||||
var currenttab = 1;
|
||||
var viewmask = [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
||||
let currenttab = 1;
|
||||
const viewmask = [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
||||
|
||||
function ctab(n) {
|
||||
if (n === currenttab) return;
|
||||
@ -256,17 +256,17 @@ if ($header) {
|
||||
|
||||
top.ChatTranslit = false;
|
||||
|
||||
var map_en = ['s`h', 'S`h', 'S`H', 's`Х', 'sh`', 'Sh`', 'SH`', "'o", 'yo', "'O", 'Yo', 'YO', 'zh', 'w', 'Zh', 'ZH', 'W', 'ch', 'Ch', 'CH', 'sh', 'Sh', 'SH', 'e`', 'E`', "'u", 'yu', "'U", 'Yu', "YU", "'a", 'ya', "'A", 'Ya', 'YA', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D', 'e', 'E', 'z', 'Z', 'i', 'I', 'j', 'J', 'k', 'K', 'l', 'L', 'm', 'M', 'n', 'N', 'o', 'O', 'p', 'P', 'r', 'R', 's', 'S', 't', 'T', 'u', 'U', 'f', 'F', 'h', 'H', 'c', 'C', '`', 'y', 'Y', "'"];
|
||||
var map_ru = ['сх', 'Сх', 'СХ', 'сХ', 'щ', 'Щ', 'Щ', 'ё', 'ё', 'Ё', 'Ё', 'Ё', 'ж', 'ж', 'Ж', 'Ж', 'Ж', 'ч', 'Ч', 'Ч', 'ш', 'Ш', 'Ш', 'э', 'Э', 'ю', 'ю', 'Ю', 'Ю', 'Ю', 'я', 'я', 'Я', 'Я', 'Я', 'а', 'А', 'б', 'Б', 'в', 'В', 'г', 'Г', 'д', 'Д', 'е', 'Е', 'з', 'З', 'и', 'И', 'й', 'Й', 'к', 'К', 'л', 'Л', 'м', 'М', 'н', 'Н', 'о', 'О', 'п', 'П', 'р', 'Р', 'с', 'С', 'т', 'Т', 'у', 'У', 'ф', 'Ф', 'х', 'Х', 'ц', 'Ц', 'ъ', 'ы', 'Ы', 'ь'];
|
||||
const map_en = ['s`h', 'S`h', 'S`H', 's`Х', 'sh`', 'Sh`', 'SH`', "'o", 'yo', "'O", 'Yo', 'YO', 'zh', 'w', 'Zh', 'ZH', 'W', 'ch', 'Ch', 'CH', 'sh', 'Sh', 'SH', 'e`', 'E`', "'u", 'yu', "'U", 'Yu', "YU", "'a", 'ya', "'A", 'Ya', 'YA', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D', 'e', 'E', 'z', 'Z', 'i', 'I', 'j', 'J', 'k', 'K', 'l', 'L', 'm', 'M', 'n', 'N', 'o', 'O', 'p', 'P', 'r', 'R', 's', 'S', 't', 'T', 'u', 'U', 'f', 'F', 'h', 'H', 'c', 'C', '`', 'y', 'Y', "'"];
|
||||
const map_ru = ['сх', 'Сх', 'СХ', 'сХ', 'щ', 'Щ', 'Щ', 'ё', 'ё', 'Ё', 'Ё', 'Ё', 'ж', 'ж', 'Ж', 'Ж', 'Ж', 'ч', 'Ч', 'Ч', 'ш', 'Ш', 'Ш', 'э', 'Э', 'ю', 'ю', 'Ю', 'Ю', 'Ю', 'я', 'я', 'Я', 'Я', 'Я', 'а', 'А', 'б', 'Б', 'в', 'В', 'г', 'Г', 'д', 'Д', 'е', 'Е', 'з', 'З', 'и', 'И', 'й', 'Й', 'к', 'К', 'л', 'Л', 'м', 'М', 'н', 'Н', 'о', 'О', 'п', 'П', 'р', 'Р', 'с', 'С', 'т', 'Т', 'у', 'У', 'ф', 'Ф', 'х', 'Х', 'ц', 'Ц', 'ъ', 'ы', 'Ы', 'ь'];
|
||||
|
||||
function convert(str) {
|
||||
for (var i = 0; i < map_en.length; ++i) while (str.indexOf(map_en[i]) >= 0) str = str.replace(map_en[i], map_ru[i]);
|
||||
for (let i = 0; i < map_en.length; ++i) while (str.indexOf(map_en[i]) >= 0) str = str.replace(map_en[i], map_ru[i]);
|
||||
return str;
|
||||
}
|
||||
|
||||
function defPosition2(event) {
|
||||
var isIE11 = navigator.userAgent.match(/Trident\/7.0.*rv.*11\.0/);
|
||||
var x = y = 0;
|
||||
const isIE11 = navigator.userAgent.match(/Trident\/7.0.*rv.*11\.0/);
|
||||
let x = y = 0;
|
||||
if (document.attachEvent != null || isIE11) {
|
||||
x = window.event.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft);
|
||||
y = window.event.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
|
||||
@ -290,9 +290,9 @@ if ($header) {
|
||||
}
|
||||
|
||||
function trns() {
|
||||
var strarr;
|
||||
let strarr;
|
||||
strarr = document.F1.text.value.split(' ');
|
||||
for (var k = 0; k < strarr.length; k++) {
|
||||
for (let k = 0; k < strarr.length; k++) {
|
||||
if (strarr[k].indexOf("http://") < 0 && strarr[k].indexOf('@') < 0 && strarr[k].indexOf("www.") < 0 && !(strarr[k].charAt(0) == ":" && strarr[k].charAt(strarr[k].length - 1) == ":")) {
|
||||
if ((k < strarr.length - 1) && (strarr[k] == "to" || strarr[k] == "private") && (strarr[k + 1].charAt(0) == "[")) {
|
||||
while ((k < strarr.length - 1) && (strarr[k].charAt(strarr[k].length - 1) != "]")) k++;
|
||||
@ -341,12 +341,12 @@ if ($header) {
|
||||
|
||||
function smiles() {
|
||||
if (document.all && document.all.item && !window.opera && !document.layers) {
|
||||
var x = event.screenX - 150;
|
||||
var y = event.screenY - 320;
|
||||
var sFeatures = 'dialogLeft:' + x + 'px;dialogTop:' + y + 'px;dialogHeight:310px;dialogWidth:300px;help:no;status:no;unadorned:yes';
|
||||
const x = event.screenX - 150;
|
||||
const y = event.screenY - 320;
|
||||
const sFeatures = 'dialogLeft:' + x + 'px;dialogTop:' + y + 'px;dialogHeight:310px;dialogWidth:300px;help:no;status:no;unadorned:yes';
|
||||
window.showModelessDialog("smiles.html", window, sFeatures);
|
||||
} else {
|
||||
var sm = ["horse", 60, 40, "hug", 48, 20, "laugh", 15, 15, "susel", 70, 34, "fingal", 22, 15, "eek", 15, 15, "flowers", 28, 29, "smoke", 20, 20, "hi", 31, 28, "bye", 15, 15,
|
||||
const sm = ["horse", 60, 40, "hug", 48, 20, "laugh", 15, 15, "susel", 70, 34, "fingal", 22, 15, "eek", 15, 15, "flowers", 28, 29, "smoke", 20, 20, "hi", 31, 28, "bye", 15, 15,
|
||||
"king", 21, 22, "king2", 28, 24, "boks2", 28, 21, "boks", 62, 28, "gent", 15, 21, "lady", 15, 19, "tongue", 15, 15, "smil", 16, 16, "rotate", 15, 15,
|
||||
"ponder", 21, 15, "bow", 15, 21, "smile", 18, 18, "angel", 42, 23, "angel2", 26, 25, "hello", 25, 27, "dont", 26, 26, "idea", 26, 27, "mol", 27, 22, "super", 26, 28,
|
||||
"beer", 15, 15, "drink", 19, 17, "baby", 15, 18, "tongue2", 15, 15, "sword", 49, 18, "agree", 37, 15, "loveya", 27, 15, "kiss", 15, 15, "kiss2", 15, 15, "kiss3", 15, 15, "kiss4", 37, 15, "rose", 15, 15, "love", 27, 28,
|
||||
@ -357,11 +357,11 @@ if ($header) {
|
||||
"smile44", 27, 26, "smile70", 50, 32];
|
||||
|
||||
function createMessage(body) {
|
||||
var container = document.createElement('div');
|
||||
var i = 0;
|
||||
const container = document.createElement('div');
|
||||
let i = 0;
|
||||
body = '';
|
||||
while (i < sm.length) {
|
||||
var s = sm[i++];
|
||||
const s = sm[i++];
|
||||
body += '<a class="hoversmile" href="javascript: void(0);" onClick="SSm(\'' + s + '\')"><IMG SRC=i/smiles/' + s + '.gif WIDTH=' + sm[i++] + ' HEIGHT=' + sm[i++] + ' BORDER=0 ALT="" ></a>';
|
||||
}
|
||||
container.innerHTML = '<div id="ssmsmilediv" class="ssm-smile"><div class="ssm-smile-body">' + body + '</div><input class="ssm-smile-ok" type="button" value="Закрыть"/></div>';
|
||||
@ -369,7 +369,7 @@ if ($header) {
|
||||
}
|
||||
|
||||
function positionMessage(elem) {
|
||||
var ua = navigator.userAgent.toLowerCase();
|
||||
const ua = navigator.userAgent.toLowerCase();
|
||||
if (ua.indexOf("msie") != -1 && ua.indexOf("opera") == -1 && ua.indexOf("webtv") == -1) {
|
||||
IsIE(elem);
|
||||
} else {
|
||||
@ -380,14 +380,14 @@ if ($header) {
|
||||
}
|
||||
|
||||
function addCloseOnClick(messageElem) {
|
||||
var input = messageElem.getElementsByTagName('INPUT')[0];
|
||||
const input = messageElem.getElementsByTagName('INPUT')[0];
|
||||
input.onclick = function () {
|
||||
messageElem.parentNode.removeChild(messageElem);
|
||||
}
|
||||
}
|
||||
|
||||
function setupMessageButton(title, body) {
|
||||
var messageElem = createMessage(title, body);
|
||||
const messageElem = createMessage(title, body);
|
||||
positionMessage(messageElem);
|
||||
addCloseOnClick(messageElem);
|
||||
top.frames['chat'].document.body.appendChild(messageElem);
|
||||
@ -405,7 +405,7 @@ if ($header) {
|
||||
}
|
||||
|
||||
function rslength() { // изменяет размер строки ввода текста
|
||||
var size = document.body.clientWidth - (2 * 30) - 66 - 256 - 30;
|
||||
let size = document.body.clientWidth - (2 * 30) - 66 - 256 - 30;
|
||||
if (size < 100) {
|
||||
size = 100
|
||||
}
|
||||
@ -420,7 +420,7 @@ if ($header) {
|
||||
evt = evt || window.event;
|
||||
evt.cancelBubble = true;
|
||||
|
||||
var html = '<p style="margin: 10px;"><input type="button" style="cursor: pointer;" onclick="clearfull();" value="Очистить весь чат" /><br style="margin-top: 5px;"> \
|
||||
const html = '<p style="margin: 10px;"><input type="button" style="cursor: pointer;" onclick="clearfull();" value="Очистить весь чат" /><br style="margin-top: 5px;"> \
|
||||
<input type="button" style="font-weight: bold; cursor: pointer;" onclick="clearpanel();" value="Очистить текущую вкладку" /><br style="margin-top: 5px;"> \
|
||||
<input type="button" style="cursor: pointer;" value="Отменить" onclick="top.frames[\'chat\'].document.getElementById(\'ClearMenu\').style.display=\'none\';" /><br style="margin-top: 5px;"></p> \
|
||||
';
|
||||
@ -483,18 +483,18 @@ if ($header) {
|
||||
</TABLE>
|
||||
|
||||
<script language="JavaScript">
|
||||
var user = top.getCookie("ChatColor");
|
||||
const user = top.getCookie("ChatColor");
|
||||
if ((user != null) && (user != "")) document.F1.color.value = user;
|
||||
|
||||
function smiles() {
|
||||
if (document.all && document.all.item && !window.opera && !document.layers) {
|
||||
var x = event.screenX - 150;
|
||||
var y = event.screenY - 320;
|
||||
var sFeatures = 'dialogLeft:' + x + 'px;dialogTop:' + y + 'px;dialogHeight:310px;dialogWidth:300px;help:no;status:no;unadorned:yes';
|
||||
const x = event.screenX - 150;
|
||||
const y = event.screenY - 320;
|
||||
const sFeatures = 'dialogLeft:' + x + 'px;dialogTop:' + y + 'px;dialogHeight:310px;dialogWidth:300px;help:no;status:no;unadorned:yes';
|
||||
window.showModelessDialog("smiles.html?", window, sFeatures);
|
||||
}
|
||||
else {
|
||||
var sm = ["horse", 60, 40, "hug", 48, 20, "laugh", 15, 15, "susel", 70, 34, "fingal", 22, 15, "eek", 15, 15, "flowers", 28, 29, "smoke", 20, 20, "hi", 31, 28, "bye", 15, 15,
|
||||
const sm = ["horse", 60, 40, "hug", 48, 20, "laugh", 15, 15, "susel", 70, 34, "fingal", 22, 15, "eek", 15, 15, "flowers", 28, 29, "smoke", 20, 20, "hi", 31, 28, "bye", 15, 15,
|
||||
"king", 21, 22, "king2", 28, 24, "boks2", 28, 21, "boks", 62, 28, "gent", 15, 21, "lady", 15, 19, "tongue", 15, 15, "smil", 16, 16, "rotate", 15, 15,
|
||||
"ponder", 21, 15, "bow", 15, 21, "smile", 18, 18, "angel", 42, 23, "angel2", 26, 25, "hello", 25, 27, "dont", 26, 26, "idea", 26, 27, "mol", 27, 22, "super", 26, 28,
|
||||
"beer", 15, 15, "drink", 19, 17, "baby", 15, 18, "tongue2", 15, 15, "sword", 49, 18, "agree", 37, 15, "loveya", 27, 15, "kiss", 15, 15, "kiss2", 15, 15, "kiss3", 15, 15, "kiss4", 37, 15, "rose", 15, 15, "love", 27, 28,
|
||||
@ -505,11 +505,11 @@ if ($header) {
|
||||
"smile44", 27, 26, "smile70", 50, 32];
|
||||
|
||||
function createMessage(body) {
|
||||
var container = document.createElement('div');
|
||||
var i = 0;
|
||||
const container = document.createElement('div');
|
||||
let i = 0;
|
||||
body = '';
|
||||
while (i < sm.length) {
|
||||
var s = sm[i++];
|
||||
const s = sm[i++];
|
||||
body += '<a class="hoversmile" href="javascript:void(0)" onClick="SSm(\'' + s + '\')"><IMG SRC=i/smiles/' + s + '.gif WIDTH=' + sm[i++] + ' HEIGHT=' + sm[i++] + ' BORDER=0 ALT="" ></a>';
|
||||
}
|
||||
container.innerHTML = '<div id="ssmsmilediv" class="ssm-smile"><div class="ssm-smile-body">' + body + '</div><input class="ssm-smile-ok" type="button" value="Закрыть"/></div>';
|
||||
@ -517,7 +517,7 @@ if ($header) {
|
||||
}
|
||||
|
||||
function positionMessage(elem) {
|
||||
var ua = navigator.userAgent.toLowerCase();
|
||||
const ua = navigator.userAgent.toLowerCase();
|
||||
if (ua.indexOf("msie") != -1 && ua.indexOf("opera") == -1 && ua.indexOf("webtv") == -1) {
|
||||
IsIE(elem);
|
||||
}
|
||||
@ -530,14 +530,14 @@ if ($header) {
|
||||
}
|
||||
|
||||
function addCloseOnClick(messageElem) {
|
||||
var input = messageElem.getElementsByTagName('INPUT')[0];
|
||||
const input = messageElem.getElementsByTagName('INPUT')[0];
|
||||
input.onclick = function () {
|
||||
messageElem.parentNode.removeChild(messageElem);
|
||||
}
|
||||
}
|
||||
|
||||
function setupMessageButton(title, body) {
|
||||
var messageElem = createMessage(title, body);
|
||||
const messageElem = createMessage(title, body);
|
||||
positionMessage(messageElem);
|
||||
addCloseOnClick(messageElem);
|
||||
top.frames['chat'].document.body.appendChild(messageElem);
|
||||
|
@ -102,16 +102,16 @@ if($_GET['move'] == 'true') {
|
||||
<div id="systemMsg" class="system-msg"></div>
|
||||
<div style="position: relative; width: 780px; height: 350px; background-image: url('forest/<?=$forest['room'];?>.jpg');">
|
||||
<? if($map_user['Right'] == 1) { ?>
|
||||
<img style="position: absolute; bottom: 30px; left: 740px; cursor: pointer; width: 20px; height: 117px; border: 0px solid blue;" class="pngimg" src="i/forest/pointer_2.png" title="<?=$var_map['cell_'.($forest['room_id']+1)];?>" onclick="location.href='?move=true&Dir=Right';" />
|
||||
<img style="position: absolute; bottom: 30px; left: 740px; cursor: pointer; width: 20px; height: 117px; border: 0 solid blue;" class="pngimg" src="i/forest/pointer_2.png" title="<?=$var_map['cell_'.($forest['room_id']+1)];?>" onclick="location.href='?move=true&Dir=Right';" />
|
||||
<? } ?>
|
||||
<? if($map_user['Left'] == 1) { ?>
|
||||
<img style="position: absolute; bottom: 30px; left: 20px; cursor: pointer; width: 20px; height: 117px; border: 0px solid blue;" class="pngimg" src="i/forest/pointer_6.png" title="<?=$var_map['cell_'.($forest['room_id']-1)];?>" onclick="location.href='?move=true&Dir=Left';" />
|
||||
<img style="position: absolute; bottom: 30px; left: 20px; cursor: pointer; width: 20px; height: 117px; border: 0 solid blue;" class="pngimg" src="i/forest/pointer_6.png" title="<?=$var_map['cell_'.($forest['room_id']-1)];?>" onclick="location.href='?move=true&Dir=Left';" />
|
||||
<? } ?>
|
||||
<? if($map_user['Down'] == 1) { ?>
|
||||
<img style="position: absolute; bottom: 10px; left: 332px; cursor: pointer; width: 117px; height: 20px; border: 0px solid blue;" class="pngimg" src="i/forest/pointer_4.png" title="<?=$var_map['cell_'.($forest['room_id']+5)];?>" onclick="location.href='?move=true&Dir=Down';" />
|
||||
<img style="position: absolute; bottom: 10px; left: 332px; cursor: pointer; width: 117px; height: 20px; border: 0 solid blue;" class="pngimg" src="i/forest/pointer_4.png" title="<?=$var_map['cell_'.($forest['room_id']+5)];?>" onclick="location.href='?move=true&Dir=Down';" />
|
||||
<? } ?>
|
||||
<? if($map_user['Up'] == 1) { ?>
|
||||
<img style="position: absolute; bottom: 127px; left: 332px; cursor: pointer; width: 117px; height: 20px; border: 0px solid blue;" class="pngimg" src="i/forest/pointer_8.png" title="<?=$var_map['cell_'.($forest['room_id']-5)];?>" onclick="location.href='?move=true&Dir=Up';" />
|
||||
<img style="position: absolute; bottom: 127px; left: 332px; cursor: pointer; width: 117px; height: 20px; border: 0 solid blue;" class="pngimg" src="i/forest/pointer_8.png" title="<?=$var_map['cell_'.($forest['room_id']-5)];?>" onclick="location.href='?move=true&Dir=Up';" />
|
||||
<? } ?>
|
||||
</div>
|
||||
<? if($error != '') { echo '<center><b style=\'color: Red;\'>'.$error.'</b></center>'; } ?>
|
||||
|
@ -196,7 +196,7 @@ elseif ($in_haos['status']==0)
|
||||
}
|
||||
|
||||
else echo(' <em>(Создать новую группу)</em>');
|
||||
echo '<BR />';
|
||||
echo '<BR>';
|
||||
}
|
||||
|
||||
|
||||
|
@ -351,8 +351,6 @@ $tm=time();
|
||||
$p_id=$priz_high[$rand_k];
|
||||
$p_shop="shop";
|
||||
}
|
||||
else
|
||||
{};
|
||||
}
|
||||
elseif($in_haos['room']==30)
|
||||
{
|
||||
@ -365,12 +363,9 @@ $tm=time();
|
||||
$p_id=$priz_low[$rand_k];
|
||||
$p_shop="shop";
|
||||
}
|
||||
else
|
||||
{}
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{};
|
||||
|
||||
//выбираем получателя
|
||||
$all_get=array();
|
||||
$gr_raw=mysql_query("SELECT * FROM `cit_haos_status` WHERE `group` = '{$in_haos['group']}';");
|
||||
|
@ -54,7 +54,7 @@ print "<script>location.href='vxod.php'</script>"; exit();
|
||||
<meta http-equiv="Content-Language" content="ru">
|
||||
<link rel=stylesheet type="text/css" href="css/main.css">
|
||||
<SCRIPT LANGUAGE="JavaScript" >
|
||||
var Hint3Name = '';
|
||||
let Hint3Name = '';
|
||||
// Заголовок, название скрипта, имя поля с логином
|
||||
function findlogin(title, script, name){
|
||||
document.all("hint3").innerHTML = '<form action="'+script+'" method=GET style="margin:0;"><table width=100% cellspacing=1 cellpadding=0 bgcolor=CCC3AA><tr><td align=center><B style="font-size:11px">'+title+'</td><td width=20 align=right valign=top style="cursor: pointer" onclick="closehint3();"><BIG><B>x</td></tr><tr><td colspan=2>'+
|
||||
@ -572,26 +572,27 @@ echo build_move_image($mesto, $vektor, 1, $glava);
|
||||
</tr>
|
||||
</table>
|
||||
<script language="javascript" type="text/javascript">
|
||||
var progressEnd = 32; // set to number of progress <span>'s.
|
||||
var progressColor = '#00CC00'; // set to progress bar color
|
||||
var mtime = parseInt('<?=($_SESSION['time']-time())?>');
|
||||
const progressEnd = 32; // set to number of progress <span>'s.
|
||||
let progressColor = '#00CC00'; // set to progress bar color
|
||||
let mtime = parseInt('<?=($_SESSION['
|
||||
if (!mtime || mtime<=0) {mtime=0;}
|
||||
var progressInterval = Math.round(mtime*1000/progressEnd); // set to time between updates (milli-seconds)
|
||||
var is_accessible = true;
|
||||
var progressAt = progressEnd;
|
||||
var progressTimer;
|
||||
const progressInterval = Math.round(mtime * 1000 / progressEnd); // set to time between updates (milli-seconds)
|
||||
let is_accessible = true;
|
||||
let progressAt = progressEnd;
|
||||
let progressTimer;
|
||||
|
||||
function progress_clear() {
|
||||
for (var i = 1; i <= progressEnd; i++) document.getElementById('progress'+i).style.backgroundColor = 'transparent';
|
||||
for (let i = 1; i <= progressEnd; i++) document.getElementById('progress'+i).style.backgroundColor = 'transparent';
|
||||
progressAt = 0;
|
||||
|
||||
for (var t = 1; t <= 8; t++) {
|
||||
for (let t = 1; t <= 8; t++) {
|
||||
if (document.getElementById('m'+t) ) {
|
||||
var tempname = document.getElementById('m'+t).children[0].src;
|
||||
if (tempname.match(/b\.gif$/)) {
|
||||
const tempname = document.getElementById('m' + t).children[0].src;
|
||||
if (tempname.match(/b\.gif$/)) {
|
||||
document.getElementById('m'+t).children[0].id = 'backend';
|
||||
}
|
||||
var newname;
|
||||
newname = tempname.replace(/(b)?\.gif$/,'i.gif');
|
||||
let newname;
|
||||
newname = tempname.replace(/(b)?\.gif$/,'i.gif');
|
||||
|
||||
document.getElementById('m'+t).children[0].src = newname;
|
||||
}
|
||||
@ -605,11 +606,11 @@ function progress_update() {
|
||||
//if (progressAt > progressEnd) progress_clear();
|
||||
if (progressAt > progressEnd) {
|
||||
|
||||
for (var t = 1; t <= 8; t++) {
|
||||
for (let t = 1; t <= 8; t++) {
|
||||
if (document.getElementById('m'+t) ) {
|
||||
var tempname = document.getElementById('m'+t).children[0].src;
|
||||
var newname;
|
||||
newname = tempname.replace(/i\.gif$/,'.gif');
|
||||
let tempname = document.getElementById('m' + t).children[0].src;
|
||||
let newname;
|
||||
newname = tempname.replace(/i\.gif$/,'.gif');
|
||||
if (document.getElementById('m'+t).children[0].id == 'backend') {
|
||||
tempname = newname.replace(/\.gif$/,'b.gif');
|
||||
newname = tempname;
|
||||
@ -643,7 +644,7 @@ function check_access () {
|
||||
}
|
||||
function ch_counter_color (color) {
|
||||
progressColor = color;
|
||||
for (var i = 1; i <= progressAt; i++) {
|
||||
for (let i = 1; i <= progressAt; i++) {
|
||||
document.getElementById('progress'+i).style.backgroundColor = progressColor;
|
||||
}
|
||||
}
|
||||
@ -711,8 +712,9 @@ color: #000000;
|
||||
|
||||
<LINK REL=StyleSheet HREF='css/style.css' TYPE='text/css'>
|
||||
<script>
|
||||
var rnd = Math.random();
|
||||
function sunduk(n)
|
||||
const rnd = Math.random();
|
||||
|
||||
function sunduk(n)
|
||||
{
|
||||
document.location.href="?act=sunduk&n="+n+"&rnd="+Math.random();
|
||||
}
|
||||
@ -741,10 +743,10 @@ function dialog()
|
||||
document.location.href="?act=luka&rnd="+Math.random();
|
||||
}
|
||||
function OpenMenu(n,e){
|
||||
var el, x, y;
|
||||
el = document.all("oMenu");
|
||||
var event = (window.event) ? window.event : e;
|
||||
x = event.clientX + document.documentElement.scrollLeft +document.body.scrollLeft - 5;
|
||||
let el, x, y;
|
||||
el = document.all("oMenu");
|
||||
const event = (window.event) ? window.event : e;
|
||||
x = event.clientX + document.documentElement.scrollLeft +document.body.scrollLeft - 5;
|
||||
y = event.clientY + document.documentElement.scrollTop + document.body.scrollTop-5;
|
||||
if (event.clientY + 72 > document.body.clientHeight) { y-=62 } else { y-=2 }
|
||||
el.innerHTML = '<div style="color:#000; cursor: pointer; height: 11px; margin: 2px; width: 45px;" class=menuItem onmouseout="this.className=\'menuItem\';" onmouseover="this.className=\'menuItem2\';" onclick="this.disabled = true;attack('+n+');closeMenu(event);">Напасть </div>';
|
||||
@ -754,10 +756,10 @@ function OpenMenu(n,e){
|
||||
el.style.visibility = "visible";
|
||||
}
|
||||
function Opendialog(n,e){
|
||||
var el, x, y;
|
||||
el = document.all("oMenu");
|
||||
var event = (window.event) ? window.event : e;
|
||||
x = event.clientX + document.documentElement.scrollLeft +document.body.scrollLeft - 5;
|
||||
let el, x, y;
|
||||
el = document.all("oMenu");
|
||||
const event = (window.event) ? window.event : e;
|
||||
x = event.clientX + document.documentElement.scrollLeft +document.body.scrollLeft - 5;
|
||||
y = event.clientY + document.documentElement.scrollTop + document.body.scrollTop-5;
|
||||
if (event.clientY + 72 > document.body.clientHeight) { y-=62 } else { y-=2 }
|
||||
el.innerHTML = '<div style="color:#000; cursor: pointer;" class=menuItem onmouseout="this.className=\'menuItem\';" onmouseover="this.className=\'menuItem2\';" onclick="this.disabled = true;attack('+n+');"> Напасть </div><div style="color:#000; cursor: pointer;" class=menuItem onmouseout="this.className=\'menuItem\';" onmouseover="this.className=\'menuItem2\';" onclick="this.disabled = true;dialog();"> Говорить </div>';
|
||||
@ -771,8 +773,9 @@ function Opendialog(n,e){
|
||||
function closeMenu(){
|
||||
|
||||
if (window.event && window.event.toElement)
|
||||
{var cls = window.event.toElement.className;
|
||||
if (cls=='menuItem' || cls=='menu') return;
|
||||
{
|
||||
const cls = window.event.toElement.className;
|
||||
if (cls=='menuItem' || cls=='menu') return;
|
||||
}
|
||||
document.all("oMenu").style.visibility = "hidden";
|
||||
document.all("oMenu").style.top="0px";
|
||||
|
@ -192,4 +192,3 @@ function next_step($location, $vector) {
|
||||
|
||||
//////////////
|
||||
}
|
||||
?>
|
73
cave.php
73
cave.php
@ -822,47 +822,48 @@ function test() {
|
||||
</SCRIPT>
|
||||
<link rel=stylesheet type="text/css" href="/i/main.css">
|
||||
<style>
|
||||
body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; margin: 0px 0px 0px 0px; }
|
||||
.menu {z-index: 100; background-color: #E4F2DF; border-style: solid; border-width: 2px; border-color: #77c3fc; position: absolute; left: 0px; top: 0px; visibility: hidden; cursor: pointer; }
|
||||
a.menuItem { border: 0px solid #000000; background-color: #484848; color: #000000; display: block; font-family: Verdana, Arial; font-size: 8pt; font-weight: bold; padding: 2px 12px 2px 8px; text-decoration: none; }
|
||||
body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; margin: 0 0 0 0; }
|
||||
.menu {z-index: 100; background-color: #E4F2DF; border-style: solid; border-width: 2px; border-color: #77c3fc; position: absolute; left: 0; top: 0; visibility: hidden; cursor: pointer; }
|
||||
a.menuItem { border: 0 solid #000000; background-color: #484848; color: #000000; display: block; font-family: Verdana, Arial; font-size: 8pt; font-weight: bold; padding: 2px 12px 2px 8px; text-decoration: none; }
|
||||
a.menuItem:hover { background-color: #d4cbaa; color: #000000; }
|
||||
div.MoveLine { width: 108px; height: 7px; size: 2px; font-size: 2px; position: relative; overflow: hidden; }
|
||||
img.MoveLine { width: 108px; height: 7px; border: 0px solid; position: absolute; left: 0px; top: 0px }
|
||||
img.MoveLine { width: 108px; height: 7px; border: 0 solid; position: absolute; left: 0; top: 0
|
||||
}
|
||||
|
||||
.cw1 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/cw1.gif?1)}
|
||||
.cw2 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/cw2.gif?1)}
|
||||
.cw3 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/cw3.gif?1)}
|
||||
.cw4 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/cw4.gif?1)}
|
||||
.cw5 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/cw5.gif?1)}
|
||||
.cw1 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/cw1.gif?1)}
|
||||
.cw2 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/cw2.gif?1)}
|
||||
.cw3 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/cw3.gif?1)}
|
||||
.cw4 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/cw4.gif?1)}
|
||||
.cw5 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/cw5.gif?1)}
|
||||
|
||||
.lw0 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lw0.gif)}
|
||||
.lw1 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lw1.gif)}
|
||||
.lw2 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lw2.gif)}
|
||||
.lw3 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lw3.gif)}
|
||||
.lw4 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lw4.gif)}
|
||||
.lw0 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lw0.gif)}
|
||||
.lw1 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lw1.gif)}
|
||||
.lw2 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lw2.gif)}
|
||||
.lw3 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lw3.gif)}
|
||||
.lw4 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lw4.gif)}
|
||||
|
||||
.rw0 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rw0.gif)}
|
||||
.rw1 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rw1.gif)}
|
||||
.rw2 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rw2.gif)}
|
||||
.rw3 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rw3.gif)}
|
||||
.rw4 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rw4.gif)}
|
||||
.rw0 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rw0.gif)}
|
||||
.rw1 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rw1.gif)}
|
||||
.rw2 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rw2.gif)}
|
||||
.rw3 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rw3.gif)}
|
||||
.rw4 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rw4.gif)}
|
||||
|
||||
.lsw0 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lsw0.gif)}
|
||||
.lsw1 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lsw1.gif)}
|
||||
.lsw2 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lsw2.gif)}
|
||||
.lsw3 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lsw3.gif)}
|
||||
.lsw4 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lsw4.gif)}
|
||||
.lsw42 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lsw42.gif)}
|
||||
.lsw0 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lsw0.gif)}
|
||||
.lsw1 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lsw1.gif)}
|
||||
.lsw2 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lsw2.gif)}
|
||||
.lsw3 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lsw3.gif)}
|
||||
.lsw4 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lsw4.gif)}
|
||||
.lsw42 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lsw42.gif)}
|
||||
|
||||
.rsw0 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rsw0.gif)}
|
||||
.rsw1 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rsw1.gif)}
|
||||
.rsw2 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rsw2.gif)}
|
||||
.rsw3 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rsw3.gif)}
|
||||
.rsw4 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rsw4.gif)}
|
||||
.rsw42 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rsw42.gif)}
|
||||
.rsw0 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rsw0.gif)}
|
||||
.rsw1 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rsw1.gif)}
|
||||
.rsw2 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rsw2.gif)}
|
||||
.rsw3 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rsw3.gif)}
|
||||
.rsw4 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rsw4.gif)}
|
||||
.rsw42 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rsw42.gif)}
|
||||
|
||||
.lw42 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/lw42.gif)}
|
||||
.rw42 {position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url(<?=$base?>/rw42.gif)}
|
||||
.lw42 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/lw42.gif)}
|
||||
.rw42 {position:absolute;left:0;top:0;width:352px;height:240px;background-image:url(<?=$base?>/rw42.gif)}
|
||||
.maptd { width: 15px; height: 15px; }
|
||||
</style>
|
||||
<script>
|
||||
@ -974,8 +975,8 @@ setHP(<?=$user['hp'];?>, <?=$user['maxhp'];?>, 100);
|
||||
</head>
|
||||
<body leftmargin=5 topmargin=5 marginwidth=5 marginheight=5 bgcolor="#d7d7d7" style=" background-image: url(/i/bagr.gif); width=100%; background-repeat:repeat;background-position:top" onLoad="<?=topsethp()?>">
|
||||
<div id=hint3 class=ahint></div>
|
||||
<div style="z-index: 100; background-color: #E4F2DF; border-style: solid; border-width: 2px; border-color: #77c3fc; position: absolute; left: 0px; top: 0px; visibility: hidden; cursor:pointer;" id="oMenu"></div>
|
||||
<div style="z-index: 100; background-color: #E4F2DF; border-style: solid; border-width: 2px; border-color: #77c3fc; position: absolute; left: 0px; top: 0px; visibility: hidden; cursor:pointer;" id="oMenu2"></div>
|
||||
<div style="z-index: 100; background-color: #E4F2DF; border-style: solid; border-width: 2px; border-color: #77c3fc; position: absolute; left: 0; top: 0; visibility: hidden; cursor:pointer;" id="oMenu"></div>
|
||||
<div style="z-index: 100; background-color: #E4F2DF; border-style: solid; border-width: 2px; border-color: #77c3fc; position: absolute; left: 0; top: 0; visibility: hidden; cursor:pointer;" id="oMenu2"></div>
|
||||
<?
|
||||
|
||||
if($user['hp'] <= 0) {
|
||||
@ -1483,7 +1484,7 @@ function drawmap($map1, $players, $x, $y, $direction) {
|
||||
<td nowrap=\"nowrap\" id=\"moveto\">
|
||||
</td></tr></TABLE>";
|
||||
$ret.="</div>";
|
||||
$ret.="<script language=\"javascript\" type=\"text/javascript\">
|
||||
$ret.= ">
|
||||
var progressEnd = 108; // set to number of progress <span>'s.
|
||||
var progressColor = '#00CC00'; // set to progress bar color
|
||||
var mtime = parseInt('";
|
||||
|
@ -18,4 +18,3 @@ $botnames = array(
|
||||
6 => "Обезумевший крыс",
|
||||
7 => "Призрак короля крыс ",
|
||||
8 => "Обезумевший палач");
|
||||
?>
|
@ -9,4 +9,3 @@ if($user['room'] == 621) {
|
||||
$caveitems[7] = array(array('id' => 1129, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 10, 'podzem' => 1));
|
||||
$caveitems[8] = array(array('id' => 1131, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 5, 'podzem' => 1));
|
||||
}
|
||||
?>
|
@ -19,4 +19,3 @@ foreach($lomka1 as $k => $v) {
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
@ -84,4 +84,3 @@ if(in_array($user['room'], $caverooms)) {
|
||||
mysql_query("DELETE FROM `cavebots` WHERE `battle` = '".$this->battle_data["id"]."'");
|
||||
mysql_query('UNLOCK TABLES');
|
||||
}
|
||||
?>
|
@ -2,4 +2,3 @@
|
||||
|
||||
$cavedata = array(621 => array('x1' => 6, 'y1' => 11, 'dir1' => 1, 'x2' => 10, 'y2' => 8, 'dir2' => 1, 'x3' => 20, 'y3' => 4, 'dir3' => 1,'x4' => 10, 'y4' => 10, 'dir4' => 1, 'delay' => 360, 'name1' => 'Проклятый Рудник', 'name2' => 'Проклятого Рудника'));
|
||||
|
||||
?>
|
6
ch.php
6
ch.php
@ -188,7 +188,7 @@ if (isset($_GET['online']) && $_GET['online'] != null) {
|
||||
|
||||
<title><?= $rooms[$user['room']], ' (', mysql_num_rows($data) ?>)</title>
|
||||
</head>
|
||||
<body style="margin: 0px; padding: 0px; background: #EEEEEE;" onscroll="top.myscroll()"
|
||||
<body style="margin: 0; padding: 0; background: #EEEEEE;" onscroll="top.myscroll()"
|
||||
onload="document.body.scrollTop=top.OnlineOldPosition">
|
||||
|
||||
<? if ($user['first'] != 99) { ?>
|
||||
@ -201,7 +201,7 @@ if (isset($_GET['online']) && $_GET['online'] != null) {
|
||||
<center>
|
||||
<? if (!$_GET['rms']) { ?>
|
||||
<div id="fixednew"
|
||||
style="position: fixed; margin: 0px; padding: 0px; z-index: 9; width: 100%; text-align: center; overflow: auto;">
|
||||
style="position: fixed; margin: 0; padding: 0; z-index: 9; width: 100%; text-align: center; overflow: auto;">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -219,7 +219,7 @@ if (isset($_GET['online']) && $_GET['online'] != null) {
|
||||
</div><br/><br/><br/>
|
||||
<? } ?>
|
||||
<div id="mmoves"
|
||||
style="background-color: #FFFFCC; visibility:hidden; overflow: visible; position: absolute; border-color: #666666; border-style: solid; border-width: 0px; padding: 0px; white-space: nowrap; display: block; vertical-align: middle; word-wrap: break-word;"></div>
|
||||
style="background-color: #FFFFCC; visibility:hidden; overflow: visible; position: absolute; border-color: #666666; border-style: solid; border-width: 0; padding: 0; white-space: nowrap; display: block; vertical-align: middle; word-wrap: break-word;"></div>
|
||||
<?
|
||||
if (!$_GET['room']) {
|
||||
if (!isset($_GET['chview']) || $_GET['chview'] == 1) {
|
||||
|
27
church.php
27
church.php
@ -108,18 +108,19 @@ if(isset($_GET['info'])){
|
||||
<script type="text/javascript" src="/js/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="/js/tooltip.js"></script>
|
||||
<script type="text/javascript">
|
||||
var timeStamp = <?php echo $timeStamp; ?>;
|
||||
function selecttarget(scrollid){
|
||||
var targertinput = document.getElementById('target');
|
||||
targertinput.value = scrollid;
|
||||
let timeStamp =;
|
||||
|
||||
var targetform = document.getElementById('formtarget');
|
||||
targetform.submit();
|
||||
function selecttarget(scrollid){
|
||||
const targertinput = document.getElementById('target');
|
||||
targertinput.value = scrollid;
|
||||
|
||||
const targetform = document.getElementById('formtarget');
|
||||
targetform.submit();
|
||||
}
|
||||
|
||||
function show_table(title, script){
|
||||
var choicehtml = "<form style='display:none' id='formtarget' action='" + script + "' method=POST><input type='hidden' id='target' name='target'>";
|
||||
choicehtml += "</form><table width='100%' cellspacing='1' cellpadding='0' bgcolor='CCC3AA'>";
|
||||
let choicehtml = "<form style='display:none' id='formtarget' action='" + script + "' method=POST><input type='hidden' id='target' name='target'>";
|
||||
choicehtml += "</form><table width='100%' cellspacing='1' cellpadding='0' bgcolor='CCC3AA'>";
|
||||
choicehtml += "<tr><td align='center'><B>" + title + "</td>";
|
||||
choicehtml += "<td width='20' align='right' valign='top' style='cursor: pointer' onclick='closehint3(true);'>";
|
||||
choicehtml += "<big><b>x</td></tr><tr><td colspan='2' id='tditemcontainer'><div id='itemcontainer' style='width:100%'>";
|
||||
@ -129,9 +130,9 @@ function show_table(title, script){
|
||||
|
||||
function showitemschoice(title, script,al){
|
||||
$.get('itemschoice.php?get=1&svecha=qq&al='+al+'',function(data) {
|
||||
var choicehtml=show_table(title, script);
|
||||
var el = document.getElementById("hint3");
|
||||
el.innerHTML = choicehtml+data;
|
||||
const choicehtml = show_table(title, script);
|
||||
const el = document.getElementById("hint3");
|
||||
el.innerHTML = choicehtml+data;
|
||||
el.style.width = 400 + 'px';
|
||||
el.style.visibility = "visible";
|
||||
el.style.left = 100 + 'px';
|
||||
@ -142,8 +143,8 @@ function showitemschoice(title, script,al){
|
||||
|
||||
function closehint3(clearstored){
|
||||
if(clearstored){
|
||||
var targetform = document.getElementById('formtarget');
|
||||
targetform.action += "&clearstored=1";
|
||||
const targetform = document.getElementById('formtarget');
|
||||
targetform.action += "&clearstored=1";
|
||||
targetform.submit();
|
||||
}
|
||||
document.getElementById("hint3").style.visibility="hidden";
|
||||
|
@ -120,7 +120,7 @@ elseif(($ccd+900)<time() && ($ccd+90+900)>=time())
|
||||
$own=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'castle_owner' LIMIT 1;"));
|
||||
shuffle($zays);
|
||||
$lucky=$zays[array_rand($zays)];
|
||||
if($lucky>0 && $lucky!=$own['vlaue']);
|
||||
// if($lucky>0 && $lucky!=$own['vlaue']);
|
||||
mysql_query("UPDATE `variables` SET `value`='{$lucky}' WHERE `var`='castle_att';");
|
||||
$tmp_k=mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$lucky}' LIMIT 1;"));
|
||||
|
||||
|
@ -77,7 +77,7 @@ if($clan_acces[6][0] == 1) {
|
||||
$(function() {
|
||||
$("#find").on("click", function() {
|
||||
var login = $("#logins").val();
|
||||
var hash = '<?=md5($user['id'].'|'.$user['login']);?>';
|
||||
let hash = '<?=md5($user['
|
||||
if(!login) {
|
||||
alert('Введите логин');
|
||||
} else {
|
||||
@ -101,7 +101,7 @@ $(function() {
|
||||
</script>
|
||||
<? } ?>
|
||||
</head>
|
||||
<body style="background-color: #dedede; margin: 0px; padding: 0px;">
|
||||
<body style="background-color: #dedede; margin: 0; padding: 0;">
|
||||
<style>
|
||||
td.dash {
|
||||
border-bottom-style: dotted;
|
||||
|
@ -38,7 +38,7 @@ class fbattle
|
||||
создание класса и сбор основной инфы
|
||||
--------------------------------------------------------------------*/
|
||||
|
||||
function fbattle($battle_id)
|
||||
function __construct($battle_id)
|
||||
{
|
||||
global $mysql, $user, $_POST, $cavedata, $caverooms, $cavebots, $party;
|
||||
// соединяем мускуль и юзера
|
||||
@ -1147,12 +1147,13 @@ class fbattle
|
||||
unset($this->battle[$kak][$k]);
|
||||
}
|
||||
}
|
||||
if ($us['battle'] == 0) {
|
||||
//unset($this->battle[$k]);
|
||||
foreach ($this->battle as $kak => $vav) {
|
||||
//unset($this->battle[$kak][$k]);
|
||||
}
|
||||
}
|
||||
|
||||
// if ($us['battle'] == 0) {
|
||||
// //unset($this->battle[$k]);
|
||||
// foreach ($this->battle as $kak => $vav) {
|
||||
// //unset($this->battle[$kak][$k]);
|
||||
// }
|
||||
// }
|
||||
unset($us);
|
||||
}
|
||||
// обновить битку
|
||||
@ -1297,9 +1298,9 @@ class fbattle
|
||||
//////////////
|
||||
if ($this->battle_data) {
|
||||
$ss = @array_keys($this->battle);
|
||||
if ($this->user['id'] == 10022) {
|
||||
//var_dump($ss, $this->t1);
|
||||
}
|
||||
// if ($this->user['id'] == 10022) {
|
||||
// //var_dump($ss, $this->t1);
|
||||
// }
|
||||
$t1life = 0;
|
||||
$t2life = 0;
|
||||
// проверяем живность команд
|
||||
|
@ -2,4 +2,3 @@
|
||||
$bots = array(1 => 10025, 2 => 10026, 3 => 10027, 4 => 10028, 5 => 10031, 6 => 10032, 7 => 10033, 8 => 10034);
|
||||
$botnames = array(1 => "Паук", 2 => "Тарантул", 3 => "Гигантская крыса", 4 => "Покровитель нечести", 5 => "Нечто", 6 => "Обезумевший крыс", 7 => "Призрак короля крыс ", 8 => "Обезумевший палач");
|
||||
|
||||
?>
|
@ -9,4 +9,3 @@ if($user['room'] == 621) {
|
||||
$caveitems[7] = array(array('id' => 1129, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 10, 'podzem' => 1));
|
||||
$caveitems[8] = array(array('id' => 1131, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 5, 'podzem' => 1));
|
||||
}
|
||||
?>
|
@ -20,4 +20,3 @@ foreach($lomka1 as $k => $v) {
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
@ -79,4 +79,3 @@ if(in_array($user['room'], $caverooms)) {
|
||||
mysql_query("DELETE FROM `cavebots` WHERE `battle` = '".$this->battle_data["id"]."'");
|
||||
mysql_query('UNLOCK TABLES');
|
||||
}
|
||||
?>
|
@ -4995,4 +4995,3 @@ class upload {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@ -282,7 +282,7 @@ TASK;
|
||||
}
|
||||
|
||||
$bot2 = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "' . $ex2[0] . '" LIMIT 1'));
|
||||
$bot2['id'] = $bot2['id'];
|
||||
//$bot2['id'] = $bot2['id']; ?!?!?!?!?!?!?!
|
||||
if (isset($bot2['id'])) {
|
||||
$x .= ' • <b>' . $bot2['login'] . '</b> [' . $x2 . '/' . $d['all_kill'] . ']<br />';
|
||||
} else {
|
||||
|
@ -520,4 +520,3 @@ class TTournament {
|
||||
echo "</form>";
|
||||
}
|
||||
}
|
||||
?>
|
@ -100,7 +100,7 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
||||
</TABLE>
|
||||
<script>
|
||||
function editcontact(login, comment) {
|
||||
var s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><b>Редактировать контакт</b></td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
let s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><b>Редактировать контакт</b></td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
s += '<table width=100% align=center bgcolor=FFF6DD><form action="contacts.php" method=POST>';
|
||||
s += '<tr><td><input type="hidden" name="friendedit" value="' + login + '">';
|
||||
s += '<input name="comment" value="' + comment + '" placeholder="Комментарий" style="width: 105px"> ';
|
||||
@ -115,7 +115,7 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
||||
}
|
||||
|
||||
function addcontact() {
|
||||
var s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><B>Добавить контакт</td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
let s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><B>Добавить контакт</td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
s += '<table width=100% bgcolor=FFF6DD align=center><form action="contacts.php" method=POST>';
|
||||
s += '<tr><td><input name="friendadd" placeholder="Логин" style="width:105px"> ';
|
||||
s += '<input name="comment" placeholder="Комментарий" style="width:105px"></td></tr>';
|
||||
@ -130,7 +130,7 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
||||
}
|
||||
|
||||
function removecontact() {
|
||||
var s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><b>Удалить контакт</b></td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
let s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><b>Удалить контакт</b></td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
s += '<table width=100% align=center bgcolor=FFF6DD><form action="contacts.php" method=POST>';
|
||||
s += '<tr><td><input name="friendremove" placeholder="Логин" style="width: 105px"> ';
|
||||
s += '<input type="submit" value="Удалить"></td></tr></form></table>';
|
||||
|
@ -55,7 +55,7 @@ class fbattle
|
||||
public $max = 70;
|
||||
public $err = '';
|
||||
|
||||
function fbattle($battle_id)
|
||||
function __construct($battle_id)
|
||||
{
|
||||
global $user, $_POST, $cavedata, $caverooms;
|
||||
$this->user = $user;
|
||||
@ -1692,9 +1692,6 @@ class fbattle
|
||||
case "mech":
|
||||
$uron_vlad_me += $uid_1['mec'];
|
||||
break;
|
||||
default :
|
||||
0;
|
||||
break;
|
||||
}
|
||||
$mfs['me']['udar'] += $uron_vlad_me;
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
html { width:100%; height:100%; padding:0; margin:0;}body { width:100%; height:100%; padding:0; margin:0; overflow:hidden; /*background-image: url('../i/buttons/chat_bg.gif');*/}select,textarea,input { border: solid 1pt #B0B0B0; font-family: MS Sans Serif; font-size: 8px; color: #191970; MARGIN-BOTTOM: 2px; MARGIN-TOP: 1px;}img{ border:0px;}.text_msg { border: 1px solid #CCCCCC; font-size: 11px; color: #000000; font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.chatBtn1_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn1.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn1_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn1.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn2_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn2.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn2_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn2.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn4_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn4.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn4_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn4.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn5_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn5_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn5_3 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0px -59px repeat-x;; cursor:pointer;}.chatBtn6_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn6.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn6_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn6.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn7_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn7_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn7_3 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0px -60px repeat-x;; cursor:pointer;}
|
||||
html { width:100%; height:100%; padding:0; margin:0;}body { width:100%; height:100%; padding:0; margin:0; overflow:hidden; /*background-image: url('../i/buttons/chat_bg.gif');*/}select,textarea,input { border: solid 1pt #B0B0B0; font-family: MS Sans Serif; font-size: 8px; color: #191970; MARGIN-BOTTOM: 2px; MARGIN-TOP: 1px;}img{ border:0;} .text_msg { border: 1px solid #CCCCCC; font-size: 11px; color: #000000; font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;} .chatBtn1_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn1.gif') 0 0 repeat-x;; cursor:pointer;} .chatBtn1_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn1.gif') 0 -30px repeat-x;; cursor:pointer;} .chatBtn2_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn2.gif') 0 0 repeat-x;; cursor:pointer;} .chatBtn2_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn2.gif') 0 -30px repeat-x;; cursor:pointer;} .chatBtn4_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn4.gif') 0 0 repeat-x;; cursor:pointer;} .chatBtn4_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn4.gif') 0 -30px repeat-x;; cursor:pointer;} .chatBtn5_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0 0 repeat-x;; cursor:pointer;} .chatBtn5_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0 -30px repeat-x;; cursor:pointer;} .chatBtn5_3 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0 -59px repeat-x;; cursor:pointer;} .chatBtn6_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn6.gif') 0 0 repeat-x;; cursor:pointer;} .chatBtn6_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn6.gif') 0 -30px repeat-x;; cursor:pointer;} .chatBtn7_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0 0 repeat-x;; cursor:pointer;} .chatBtn7_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0 -30px repeat-x;; cursor:pointer;} .chatBtn7_3 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0 -60px repeat-x;; cursor:pointer;}
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
body {
|
||||
|
||||
margin: 0px;
|
||||
margin: 0;
|
||||
|
||||
height: 100%;
|
||||
|
||||
|
@ -7,10 +7,10 @@ DIV.Dungeon{
|
||||
background: black;
|
||||
}
|
||||
.Dungeon BUTTON {
|
||||
border: 0px solid;
|
||||
border: 0 solid;
|
||||
background: transparent;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
filter: Alpha(opacity=100),Chroma( Color=#c1cacf );
|
||||
}
|
||||
|
@ -7,10 +7,10 @@ DIV.Dungeon{
|
||||
background: black;
|
||||
}
|
||||
.Dungeon BUTTON {
|
||||
border: 0px solid;
|
||||
border: 0 solid;
|
||||
background: transparent;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
filter: Alpha(opacity=100),Chroma( Color=#c1cacf );
|
||||
}
|
||||
|
@ -7,10 +7,10 @@ DIV.Dungeon{
|
||||
background: black;
|
||||
}
|
||||
.Dungeon BUTTON {
|
||||
border: 0px solid;
|
||||
border: 0 solid;
|
||||
background: transparent;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
filter: Alpha(opacity=100),Chroma( Color=#c1cacf );
|
||||
}
|
||||
|
@ -7,10 +7,10 @@ DIV.Dungeon{
|
||||
background: black;
|
||||
}
|
||||
.Dungeon BUTTON {
|
||||
border: 0px solid;
|
||||
border: 0 solid;
|
||||
background: transparent;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
filter: Alpha(opacity=100),Chroma( Color=#c1cacf );
|
||||
}
|
||||
|
@ -7,10 +7,10 @@ DIV.Dungeon{
|
||||
background: black;
|
||||
}
|
||||
.Dungeon BUTTON {
|
||||
border: 0px solid;
|
||||
border: 0 solid;
|
||||
background: transparent;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
filter: Chroma( Color=#c1cacf );
|
||||
}
|
||||
|
@ -7,10 +7,10 @@ DIV.Dungeon{
|
||||
background: black;
|
||||
}
|
||||
.Dungeon BUTTON {
|
||||
border: 0px solid;
|
||||
border: 0 solid;
|
||||
background: transparent;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
filter: Chroma( Color=#c1cacf );
|
||||
}
|
||||
|
@ -7,10 +7,10 @@ DIV.Dungeon{
|
||||
background: black;
|
||||
}
|
||||
.Dungeon BUTTON {
|
||||
border: 0px solid;
|
||||
border: 0 solid;
|
||||
background: transparent;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
filter: Alpha(opacity=100),Chroma( Color=#c1cacf );
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -1 +1,6 @@
|
||||
BODY { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}TD { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}OL { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}UL { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}LI { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}P { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}.inup { BORDER-RIGHT: #302F2A 1px double; BORDER-TOP: #302F2A 1px double; FONT-SIZE: 8pt; BORDER-LEFT: #302F2A 1px double; COLOR: #000000; BORDER-BOTTOM: #302F2A 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #DED7BD}.text { FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}H3 { FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #8f0000; FONT-FAMILY: Arial; TEXT-ALIGN: center}H4 { FONT-WEIGHT: bold; FONT-SIZE: 11pt; MARGIN-BOTTOM: 5px; COLOR: #8f0000; FONT-FAMILY: Arial}A:link { FONT-WEIGHT: normal; COLOR: #524936; TEXT-DECORATION: none}A:visited { FONT-WEIGHT: normal; COLOR: #633525; TEXT-DECORATION: none}A:active { FONT-WEIGHT: normal; COLOR: #77684d; TEXT-DECORATION: none}A:hover { COLOR: #68727B; TEXT-DECORATION: underline}.date { FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #007000; FONT-FAMILY: Courier; TEXT-DECORATION: none}.dsc { FONT-WEIGHT: normal; COLOR: #606060}SELECT { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}TEXTAREA { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}INPUT { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}.pagetknum { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; COLOR: #6f0000; PADDING-TOP: 0px; TEXT-DECORATION: underline}.pagenum A:link { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px}.pagenum A:visited { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px}.pagenum A:active { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px}.pagenum A:hover { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px; BACKGROUND-COLOR: white}.phpeft { PADDING-RIGHT: 0px; PADDING-LEFT: 20px; PADDING-BOTTOM: 7px; MARGIN: 0px; PADDING-TOP: 3px}.pages { BACKGROUND-COLOR: #ffefbf}IMG { BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px}TABLE { BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px}.btn { BORDER-RIGHT: #817a63 1px double; BORDER-TOP: #817a63 1px double; FONT-SIZE: 7.5pt; BORDER-LEFT: #817a63 1px double; COLOR: #dfddd3; BORDER-BOTTOM: #817a63 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #2b2b18}
|
||||
BODY { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}TD { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}OL { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}UL { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}LI { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}P { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}.inup { BORDER-RIGHT: #302F2A 1px double; BORDER-TOP: #302F2A 1px double; FONT-SIZE: 8pt; BORDER-LEFT: #302F2A 1px double; COLOR: #000000; BORDER-BOTTOM: #302F2A 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #DED7BD}.text { FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}H3 { FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #8f0000; FONT-FAMILY: Arial; TEXT-ALIGN: center}H4 { FONT-WEIGHT: bold; FONT-SIZE: 11pt; MARGIN-BOTTOM: 5px; COLOR: #8f0000; FONT-FAMILY: Arial}A:link { FONT-WEIGHT: normal; COLOR: #524936; TEXT-DECORATION: none}A:visited { FONT-WEIGHT: normal; COLOR: #633525; TEXT-DECORATION: none}A:active { FONT-WEIGHT: normal; COLOR: #77684d; TEXT-DECORATION: none}A:hover { COLOR: #68727B; TEXT-DECORATION: underline}.date { FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #007000; FONT-FAMILY: Courier; TEXT-DECORATION: none}.dsc { FONT-WEIGHT: normal; COLOR: #606060}SELECT { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}TEXTAREA { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}INPUT { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}.pagetknum { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0; MARGIN: 0; WIDTH: 1em; COLOR: #6f0000; PADDING-TOP: 0; TEXT-DECORATION: underline} .pagenum A:link { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0; MARGIN: 0; WIDTH: 1em; PADDING-TOP: 0
|
||||
} .pagenum A:visited { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0; MARGIN: 0; WIDTH: 1em; PADDING-TOP: 0
|
||||
} .pagenum A:active { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0; MARGIN: 0; WIDTH: 1em; PADDING-TOP: 0
|
||||
} .pagenum A:hover { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0; MARGIN: 0; WIDTH: 1em; PADDING-TOP: 0; BACKGROUND-COLOR: white} .phpeft { PADDING-RIGHT: 0; PADDING-LEFT: 20px; PADDING-BOTTOM: 7px; MARGIN: 0; PADDING-TOP: 3px} .pages { BACKGROUND-COLOR: #ffefbf} IMG { BORDER-RIGHT: 0; BORDER-TOP: 0; BORDER-LEFT: 0; BORDER-BOTTOM: 0
|
||||
} TABLE { BORDER-RIGHT: 0; BORDER-TOP: 0; BORDER-LEFT: 0; BORDER-BOTTOM: 0
|
||||
} .btn { BORDER-RIGHT: #817a63 1px double; BORDER-TOP: #817a63 1px double; FONT-SIZE: 7.5pt; BORDER-LEFT: #817a63 1px double; COLOR: #dfddd3; BORDER-BOTTOM: #817a63 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #2b2b18}
|
@ -1,6 +1,6 @@
|
||||
body {
|
||||
margin: 0px 1px 0px 1px;
|
||||
padding: 0px 1px 0px 1px;
|
||||
margin: 0 1px 0 1px;
|
||||
padding: 0 1px 0 1px;
|
||||
background-color: #DFDFD8;
|
||||
color: #000000;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width:100%;
|
||||
|
||||
font-family: Arial;
|
||||
@ -12,12 +12,12 @@ border-collapse: collapse;
|
||||
}
|
||||
|
||||
td {
|
||||
margin: 0em;
|
||||
padding: 0em;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
border:0px;
|
||||
border:0;
|
||||
}
|
||||
|
||||
#corners {
|
||||
@ -39,7 +39,7 @@ width: 89px;
|
||||
height: 18px;
|
||||
text-align: left;
|
||||
position: inherit;
|
||||
padding-bottom: 0px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
|
@ -72,7 +72,7 @@ html {
|
||||
min-width: 24px;
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
padding: 0px 1px;
|
||||
padding: 0 1px;
|
||||
cursor: pointer;
|
||||
margin: 0 0 0 1px;
|
||||
font-size: 12px;
|
||||
@ -90,8 +90,8 @@ html {
|
||||
|
||||
.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.on, .wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.on:hover {
|
||||
background: #ccc;
|
||||
padding: 0px 1px;
|
||||
box-shadow: inset 0px 0px 3px #aaa;
|
||||
padding: 0 1px;
|
||||
box-shadow: inset 0 0 3px #aaa;
|
||||
border: 1px solid #999;
|
||||
border-radius: 3px;
|
||||
}
|
||||
@ -139,7 +139,7 @@ html {
|
||||
}
|
||||
|
||||
.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn:hover {
|
||||
padding: 0px 1px;
|
||||
padding: 0 1px;
|
||||
border: 1px solid #bbb;
|
||||
/* box-shadow:-1px 1px 1px #aaa; */
|
||||
border-radius: 3px;
|
||||
@ -155,7 +155,7 @@ html {
|
||||
font-family: 'WysiBBiconFont';
|
||||
font-size: 18px;
|
||||
line-height: 20px;
|
||||
text-shadow: 0px 1px 0px #fff;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
text-align: center;
|
||||
/* -webkit-font-smoothing: antialiased; */
|
||||
speak: none;
|
||||
@ -174,7 +174,7 @@ html {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0px;
|
||||
top: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
@ -410,7 +410,7 @@ html {
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
top: 0px;
|
||||
top: 0;
|
||||
width: 9px;
|
||||
height: 24px;
|
||||
/* background: url(./img/icons.png) -8px -400px; */
|
||||
@ -436,7 +436,7 @@ html {
|
||||
top: 24px;
|
||||
left: -217px;
|
||||
border: 1px solid #bbb;
|
||||
box-shadow: 0px 0px 3px #aaa;
|
||||
box-shadow: 0 0 3px #aaa;
|
||||
width: 190px;
|
||||
padding: 5px;
|
||||
background: #fff;
|
||||
@ -634,7 +634,7 @@ html {
|
||||
max-height: 800px;
|
||||
margin: 50px auto;
|
||||
border: 1px solid #bbb;
|
||||
box-shadow: 0px 0px 10px #999;
|
||||
box-shadow: 0 0 10px #999;
|
||||
}
|
||||
|
||||
#wbbmodal .wbbm-title {
|
||||
@ -805,7 +805,7 @@ html {
|
||||
|
||||
#wbbmodal .wbbm-inp-row input {
|
||||
height: 26px;
|
||||
padding: 0px 3px;
|
||||
padding: 0 3px;
|
||||
line-height: 24px;
|
||||
font-size: 12px;
|
||||
width: 100%;
|
||||
|
@ -69,7 +69,7 @@ input[type="checkbox"]:checked + label:before {
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
#bk-logo-top
|
||||
@ -80,7 +80,7 @@ input[type="checkbox"]:checked + label:before {
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 3;
|
||||
}
|
||||
#bk-body-top-right
|
||||
@ -91,7 +91,7 @@ input[type="checkbox"]:checked + label:before {
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
#bk-body-menu
|
||||
@ -159,7 +159,7 @@ ul.dropdown li { text-align: center; display: table-cell; }
|
||||
background-repeat: repeat-y;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
#bk-body-right
|
||||
@ -171,7 +171,7 @@ ul.dropdown li { text-align: center; display: table-cell; }
|
||||
background-repeat: repeat-y;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
#bk-chat-body
|
||||
@ -222,7 +222,7 @@ ul.dropdown li { text-align: center; display: table-cell; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
#bk-chat-hr-left
|
||||
@ -233,7 +233,7 @@ ul.dropdown li { text-align: center; display: table-cell; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
#bk-chat-hr-right
|
||||
@ -244,7 +244,7 @@ ul.dropdown li { text-align: center; display: table-cell; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
#bk-chat-right
|
||||
@ -255,7 +255,7 @@ ul.dropdown li { text-align: center; display: table-cell; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
#bk-location-frame
|
||||
@ -279,7 +279,7 @@ ul.dropdown li { text-align: center; display: table-cell; }
|
||||
.city-location-container .fireworks {
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 1500;
|
||||
top: 5px;
|
||||
}
|
||||
@ -351,7 +351,7 @@ ul.dropdown li { text-align: center; display: table-cell; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
#bk-buttons-right
|
||||
@ -362,7 +362,7 @@ ul.dropdown li { text-align: center; display: table-cell; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
input
|
||||
@ -416,7 +416,7 @@ input:focus::-webkit-input-placeholder
|
||||
#bk-buttons-panel-right
|
||||
{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
margin-top: 10px;
|
||||
z-index: 3;
|
||||
}
|
@ -68,7 +68,7 @@ input[type="checkbox"]:checked + label:before {
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@ -79,7 +79,7 @@ input[type="checkbox"]:checked + label:before {
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
@ -90,7 +90,7 @@ input[type="checkbox"]:checked + label:before {
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@ -166,7 +166,7 @@ ul.dropdown .dropdown-inside a:hover { background: #3f423c; }
|
||||
background-repeat: repeat-y;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@ -179,7 +179,7 @@ ul.dropdown .dropdown-inside a:hover { background: #3f423c; }
|
||||
background-repeat: repeat-y;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@ -234,7 +234,7 @@ ul.dropdown .dropdown-inside a:hover { background: #3f423c; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@ -246,7 +246,7 @@ ul.dropdown .dropdown-inside a:hover { background: #3f423c; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@ -258,7 +258,7 @@ ul.dropdown .dropdown-inside a:hover { background: #3f423c; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@ -270,7 +270,7 @@ ul.dropdown .dropdown-inside a:hover { background: #3f423c; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@ -306,7 +306,7 @@ ul.dropdown .dropdown-inside a:hover { background: #3f423c; }
|
||||
.city-location-container .fireworks {
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 1500;
|
||||
top: 5px;
|
||||
}
|
||||
@ -388,7 +388,7 @@ ul.dropdown .dropdown-inside a:hover { background: #3f423c; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@ -400,7 +400,7 @@ ul.dropdown .dropdown-inside a:hover { background: #3f423c; }
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
|
@ -42,4 +42,3 @@
|
||||
}
|
||||
echo "</table><input type=submit></form>";
|
||||
}
|
||||
?>
|
22
fbattle.php
22
fbattle.php
@ -37,12 +37,12 @@ $fbattle = new fbattle($user['battle']);
|
||||
function refreshPeriodic() {
|
||||
<?php if($fbattle->battle) { ?>location.href = '<?=$_SERVER['PHP_SELF']?>?batl=<?=$_REQUEST['batl']?>';//reload();
|
||||
<?}?>
|
||||
var timerID = setTimeout("refreshPeriodic()", 20000);
|
||||
const timerID = setTimeout("refreshPeriodic()", 20000);
|
||||
}
|
||||
timerID = setTimeout("refreshPeriodic()", 20000);
|
||||
</SCRIPT>
|
||||
<script>
|
||||
var Hint3Name = '';
|
||||
let Hint3Name = '';
|
||||
|
||||
function findlogin(title, script, name) {
|
||||
document.all("hint3").innerHTML = '<table width=100% cellspacing=1 cellpadding=0 bgcolor=CCC3AA><tr><td align=center><B>' + title + '</td><td width=20 align=right valign=top style="cursor: pointer" onclick="closehint3();"><BIG><B>x</td></tr><tr><td colspan=2>' +
|
||||
@ -55,8 +55,8 @@ $fbattle = new fbattle($user['battle']);
|
||||
Hint3Name = name;
|
||||
}
|
||||
|
||||
var attack = false;
|
||||
var defend = false;
|
||||
let attack = false;
|
||||
let defend = false;
|
||||
|
||||
function check() {
|
||||
if ((!attack) || (!defend)) {
|
||||
@ -81,19 +81,19 @@ $fbattle = new fbattle($user['battle']);
|
||||
|
||||
function refreshPeriodic() {
|
||||
<?php if($fbattle->battle) { ?>location.href = '<?=$_SERVER['PHP_SELF']?>?batl=<?=$_REQUEST['batl']?>'; <? } ?>
|
||||
var timerID = setTimeout("refreshPeriodic()", 30000);
|
||||
const timerID = setTimeout("refreshPeriodic()", 30000);
|
||||
}
|
||||
|
||||
timerID = setTimeout("refreshPeriodic()", 30000);
|
||||
|
||||
function checksubmit() {
|
||||
var ajaxload = 1;
|
||||
const ajaxload = 1;
|
||||
if (ajaxload > 0) {
|
||||
var enemy = <?=$fbattle->enemy;?>;
|
||||
var batl = <?=($user['battle'] ? $user['battle'] : $_REQUEST['batl'])?>;
|
||||
var tac_at = $('input[name=attack]:checked').val();
|
||||
var att = "&attack=" + $('input[name=attack]:checked').val();
|
||||
var def = $('input[name=defend]:checked').val();
|
||||
let enemy =;
|
||||
let batl =;
|
||||
const tac_at = $('input[name=attack]:checked').val();
|
||||
const att = "&attack=" + $('input[name=attack]:checked').val();
|
||||
const def = $('input[name=defend]:checked').val();
|
||||
|
||||
if (tac_at >= 1 && def >= 1) {
|
||||
$.ajax({
|
||||
|
@ -471,7 +471,7 @@ if (isset($_GET['do']) && $isModerator == true) {
|
||||
<a href="?topic=<?= $_GET['topic'] ?>&konftop=<?= htmlspecialchars($_GET['conf']) ?>&page=<?= $_GET['page'] ?>&dp=<?= $row['id'] ?>">
|
||||
<small>Удалить</small>
|
||||
</a> |
|
||||
<a onclick="var obj; if (obj = prompt('Введите комментарий','')) { window.location='forum.php?topic=<?= $_GET['topic'] ?>&konftop=<?= htmlspecialchars($_GET['conf']) ?>&page=<?= $_GET['page'] ?>&cpr='+obj+'&com=<?= $row['id'] ?>'; }"
|
||||
<a onclick="let obj; if (obj = prompt('Введите комментарий','')) { window.location='forum.php?topic=<?= $_GET['topic'] ?>&konftop=<?= htmlspecialchars($_GET['conf']) ?>&page=<?= $_GET['page'] ?>&cpr='+obj+'&com=<?= $row['id'] ?>'; }"
|
||||
href='#'>
|
||||
<small>Комментарий</small>
|
||||
</a>
|
||||
@ -496,7 +496,7 @@ if (isset($_GET['do']) && $isModerator == true) {
|
||||
<a href="?topic=<?= $_GET['topic'] ?>&konftop=<?= htmlspecialchars($_GET['conf']) ?>&page=<?= $_GET['page'] ?>&dp=<?= $row['id'] ?>">
|
||||
<small>Удалить</small>
|
||||
</a>
|
||||
<a onclick="var obj; if (obj = prompt('Введите комментарий','')) { window.location='forum.php?topic=<?= $_GET['topic'] ?>&konftop=<?= htmlspecialchars($_GET['conf']) ?>&page=<?= $_GET['page'] ?>&cpr='+obj+'&com=<?= $row['id'] ?>'; }"
|
||||
<a onclick="let obj; if (obj = prompt('Введите комментарий','')) { window.location='forum.php?topic=<?= $_GET['topic'] ?>&konftop=<?= htmlspecialchars($_GET['conf']) ?>&page=<?= $_GET['page'] ?>&cpr='+obj+'&com=<?= $row['id'] ?>'; }"
|
||||
href='#'>
|
||||
|
|
||||
<small>Комментарий</small>
|
||||
|
@ -213,13 +213,15 @@ if(isset($_POST['leaveZv'])) {
|
||||
<script src="//capitalcity.old-dark.ru/js/jquery.plugins.js"></script>
|
||||
<link rel="stylesheet" href="https://capitalcity.icombats.ru/build/css/kicker-9def406a2a.css" />
|
||||
<script>function growl(title, color, message, stycky) { if(!stycky) { stycky = false; } if(!color) { color = 'Red'; } $.jGrowl(message, { header: '<img src="/i/jgrowl_moover.png" class="jgrowl-moover" title="Передвинуть" style="cursor: pointer;" /> <font style="color: '+color+';">'+title+'</font>', sticky: stycky, glue: 'before' }); }</script>
|
||||
<script>function shows() { var clas = $("#alt").attr('class'); $("#mkgrp").toggle(); if(clas == 'show') { $("#alt").attr('class','hide'); $("#alt").text('Скрыть ...'); } else { $("#alt").attr('class','show'); $("#alt").text('Создать группу'); } }</script>
|
||||
<script>function shows() {
|
||||
const clas = $("#alt").attr('class');
|
||||
$("#mkgrp").toggle(); if(clas == 'show') { $("#alt").attr('class','hide'); $("#alt").text('Скрыть ...'); } else { $("#alt").attr('class','show'); $("#alt").text('Создать группу'); } }</script>
|
||||
<link rel="stylesheet" type="text/css" href="//capitalcity.old-dark.ru/css/jquery.plugins.css" />
|
||||
<style>body { background-image: url('i/r240_1.jpg'); background-repeat: no-repeat; background-position: top right; }</style>
|
||||
</head>
|
||||
|
||||
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 bgcolor=#e2e0e0>
|
||||
<table style="width: 100%; height: 100%; border: 0px;" cellspacing="0" cellpadding="0">
|
||||
<table style="width: 100%; height: 100%; border: 0;" cellspacing="0" cellpadding="0">
|
||||
<tr valign=top>
|
||||
<td width=3% align=center> </td>
|
||||
<td>
|
||||
@ -267,22 +269,22 @@ if(isset($_POST['leaveZv'])) {
|
||||
<div id="response"></div>
|
||||
<script>
|
||||
$(function() {
|
||||
var level = <?=(int)$user['level'];?>;
|
||||
$('#rate').load('ajax/rate_ruins.php?level='+level);
|
||||
let level =;
|
||||
$('#rate').load('ajax/rate_ruins.php?level='+level);
|
||||
|
||||
$.jGrowl.defaults.closerTemplate = '<div style="text-align: center; cursor: pointer;"><b>[ Закрыть ]</b></div>';
|
||||
$.jGrowl.defaults.closeTemplate = '<img src="i/clear.gif" alt="x" title="Закрыть" />';
|
||||
|
||||
$('body').delegate('div#jGrowl .jgrowl-moover', 'click', function() {
|
||||
var j = $(this).closest('div#jGrowl');
|
||||
var c = j.hasClass('top-right') ? 'top-left' : 'top-right';
|
||||
j.removeClass('top-left top-right').addClass(c);
|
||||
const j = $(this).closest('div#jGrowl');
|
||||
const c = j.hasClass('top-right') ? 'top-left' : 'top-right';
|
||||
j.removeClass('top-left top-right').addClass(c);
|
||||
});
|
||||
|
||||
|
||||
$("#rate").on("click", "a", function(e) {
|
||||
var level = $(this).attr("id");
|
||||
$('#rate').load('ajax/rate_ruins.php?level='+level);
|
||||
const level = $(this).attr("id");
|
||||
$('#rate').load('ajax/rate_ruins.php?level='+level);
|
||||
});
|
||||
|
||||
});
|
||||
|
90
help.php
90
help.php
@ -91,8 +91,8 @@
|
||||
<script src="http://www.tadot.ru//j/jquery/jquery.jeegoocontext.mod.js" type="text/javascript"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var isBattle = Number(<?= $user['battle'] ?>);
|
||||
var isBid = Number(<?= $user['zayavka'] ?>);
|
||||
const isBattle = Number(<?= $user['battle'] ?
|
||||
const isBid = Number(<?= $user['zayavka'] ?
|
||||
</script>
|
||||
|
||||
<script src="http://www.tadot.ru//js/iner.js" type="text/javascript"></script>
|
||||
@ -705,7 +705,7 @@ if(in_array($me_room, $ar_150)){ $me_150 = 1; }
|
||||
|
||||
|
||||
|
||||
if(!in_array($serch_room, $ar_all)){ }
|
||||
// if(!in_array($serch_room, $ar_all)){ }
|
||||
echo '<li>"'.$locations_normal[$serch_room].'"</li>';
|
||||
|
||||
|
||||
@ -732,20 +732,20 @@ if(in_array($me_room, $ar_150)){ $me_150 = 1; }
|
||||
|
||||
?>
|
||||
<script>
|
||||
var pages = Number(2);
|
||||
var current_page = Number(0);
|
||||
var link_to = '?page=__id__&rows_on_page=20&source=3&co_type=&sort_by=2&cs_status=1&rand=0.692136749814743';
|
||||
const pages = Number(2);
|
||||
const current_page = Number(0);
|
||||
const link_to = '?page=__id__&rows_on_page=20&source=3&co_type=&sort_by=2&cs_status=1&rand=0.692136749814743';
|
||||
|
||||
var page = Number(<?= $_GET['page'] ?>);
|
||||
var selstatus = Number(<?= $_GET['selstatus'] ?>);
|
||||
const page = Number(<?= $_GET['page'] ?
|
||||
const selstatus = Number(<?= $_GET['selstatus'] ?
|
||||
|
||||
$(function(){
|
||||
|
||||
|
||||
var headCheckbox = $('#pal_otvet thead :checkbox');
|
||||
var bodyCheckboxes = $('#pal_otvet tbody :checkbox');
|
||||
const headCheckbox = $('#pal_otvet thead :checkbox');
|
||||
const bodyCheckboxes = $('#pal_otvet tbody :checkbox');
|
||||
|
||||
headCheckbox.click(function() {
|
||||
headCheckbox.click(function() {
|
||||
if(this.checked) {
|
||||
bodyCheckboxes.attr('checked', 'checked');
|
||||
} else {
|
||||
@ -754,49 +754,45 @@ $(function(){
|
||||
});
|
||||
|
||||
bodyCheckboxes.click(function() {
|
||||
if(bodyCheckboxes.length == bodyCheckboxes.filter(':checked').length) {
|
||||
headCheckbox[0].checked = true;
|
||||
} else {
|
||||
headCheckbox[0].checked = false;
|
||||
}
|
||||
headCheckbox[0].checked = bodyCheckboxes.length === bodyCheckboxes.filter(':checked').length;
|
||||
});
|
||||
|
||||
|
||||
|
||||
$('#pal_otvet input.xbutton').click(function() {
|
||||
var comment = getDialog();
|
||||
comment.dialog('option', 'title', 'Комментарий Паладина');
|
||||
const comment = getDialog();
|
||||
comment.dialog('option', 'title', 'Комментарий Паладина');
|
||||
|
||||
var form = $.buildForm({
|
||||
'fields': [
|
||||
{
|
||||
'name': 'page',
|
||||
'value': page
|
||||
}, {
|
||||
'name': 'selstatus',
|
||||
'value': selstatus
|
||||
}, {
|
||||
'name': 'choosen_question',
|
||||
'value': $(this).data('id')
|
||||
},{
|
||||
'label': 'Комментарий',
|
||||
'group': [
|
||||
{
|
||||
'autocomplete': 'off',
|
||||
'name': 'cp_comment',
|
||||
'size': 60,
|
||||
'type': 'text'
|
||||
}, {
|
||||
'type': 'submit',
|
||||
'value': 'OK'
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
'url': '/help.php?cmd=pal.otvet'
|
||||
});
|
||||
const form = $.buildForm({
|
||||
'fields': [
|
||||
{
|
||||
'name': 'page',
|
||||
'value': page
|
||||
}, {
|
||||
'name': 'selstatus',
|
||||
'value': selstatus
|
||||
}, {
|
||||
'name': 'choosen_question',
|
||||
'value': $(this).data('id')
|
||||
}, {
|
||||
'label': 'Комментарий',
|
||||
'group': [
|
||||
{
|
||||
'autocomplete': 'off',
|
||||
'name': 'cp_comment',
|
||||
'size': 60,
|
||||
'type': 'text'
|
||||
}, {
|
||||
'type': 'submit',
|
||||
'value': 'OK'
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
'url': '/help.php?cmd=pal.otvet'
|
||||
});
|
||||
|
||||
comment.html(form)
|
||||
comment.html(form)
|
||||
dialogOpen(comment);
|
||||
});
|
||||
});
|
||||
|
@ -223,7 +223,7 @@ if($_GET['unsleep'] && $user['sleep'] > 0) {
|
||||
</div>
|
||||
<fieldset class="hostelRules" style="overflow: hidden;">
|
||||
<legend>Правила проживания</legend>
|
||||
<div style="overflow: auto; height: 168px !important; margin: 0px; padding: 0;">
|
||||
<div style="overflow: auto; height: 168px !important; margin: 0; padding: 0;">
|
||||
<div style="margin: 0; padding: 0; height: 100%;">
|
||||
<h2>И что я получу за свои кровные?</h2>
|
||||
У нас ты можешь:
|
||||
|
@ -378,8 +378,8 @@ label{
|
||||
</style>
|
||||
<script>
|
||||
function hide_this(id) {
|
||||
var node = document.getElementById(id);
|
||||
if(node) {
|
||||
const node = document.getElementById(id);
|
||||
if(node) {
|
||||
node.style.display = 'none';
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?
|
||||
$host=GetEnv("HTTP_HOST");
|
||||
Header("Location: http://$host");
|
||||
?>
|
@ -1,4 +1,3 @@
|
||||
<?
|
||||
$host=GetEnv("HTTP_HOST");
|
||||
Header("Location: http://$host");
|
||||
?>
|
@ -1,4 +1,3 @@
|
||||
<?
|
||||
$host=GetEnv("HTTP_HOST");
|
||||
Header("Location: http://$host");
|
||||
?>
|
@ -1,4 +1,3 @@
|
||||
<?
|
||||
$host=GetEnv("HTTP_HOST");
|
||||
Header("Location: http://$host");
|
||||
?>
|
@ -1,4 +1,3 @@
|
||||
<?
|
||||
$host=GetEnv("HTTP_HOST");
|
||||
Header("Location: http://$host");
|
||||
?>
|
@ -1,4 +1,3 @@
|
||||
<?
|
||||
$host=GetEnv("HTTP_HOST");
|
||||
Header("Location: http://$host");
|
||||
?>
|
@ -1,4 +1,3 @@
|
||||
<?
|
||||
$host=GetEnv("HTTP_HOST");
|
||||
Header("Location: http://$host");
|
||||
?>
|
@ -1,4 +1,3 @@
|
||||
<?
|
||||
$host=GetEnv("HTTP_HOST");
|
||||
Header("Location: http://$host");
|
||||
?>
|
@ -1,4 +1,3 @@
|
||||
<?
|
||||
$host=GetEnv("HTTP_HOST");
|
||||
Header("Location: http://$host");
|
||||
?>
|
@ -56,4 +56,3 @@ $coma[] = "Прям как рыбка теперь, только рот откр
|
||||
else {
|
||||
echo "<font color=red><b>Персонаж \"{$target}\" не существует!<b></font>";
|
||||
}
|
||||
?>
|
@ -1,90 +1,100 @@
|
||||
// Simple Set Clipboard System
|
||||
// Author: Joseph Huckaby
|
||||
|
||||
var ZeroClipboard = {
|
||||
|
||||
version: "1.0.6",
|
||||
clients: {}, // registered upload clients on page, indexed by id
|
||||
moviePath: 'i/popup/ZeroClipboard.swf', // URL to movie
|
||||
nextId: 1, // ID of next movie
|
||||
|
||||
$: function(thingy) {
|
||||
// simple DOM lookup utility function
|
||||
if (typeof(thingy) == 'string') thingy = document.getElementById(thingy);
|
||||
if (!thingy.addClass) {
|
||||
// extend element with a few useful methods
|
||||
thingy.hide = function() { this.style.display = 'none'; };
|
||||
thingy.show = function() { this.style.display = ''; };
|
||||
thingy.addClass = function(name) { this.removeClass(name); this.className += ' ' + name; };
|
||||
thingy.removeClass = function(name) {
|
||||
var classes = this.className.split(/\s+/);
|
||||
var idx = -1;
|
||||
for (var k = 0; k < classes.length; k++) {
|
||||
if (classes[k] == name) { idx = k; k = classes.length; }
|
||||
}
|
||||
if (idx > -1) {
|
||||
classes.splice( idx, 1 );
|
||||
this.className = classes.join(' ');
|
||||
}
|
||||
return this;
|
||||
};
|
||||
thingy.hasClass = function(name) {
|
||||
return !!this.className.match( new RegExp("\\s*" + name + "\\s*") );
|
||||
};
|
||||
}
|
||||
return thingy;
|
||||
},
|
||||
|
||||
setMoviePath: function(path) {
|
||||
// set path to ZeroClipboard.swf
|
||||
this.moviePath = path;
|
||||
},
|
||||
|
||||
dispatch: function(id, eventName, args) {
|
||||
// receive event from flash movie, send to client
|
||||
var client = this.clients[id];
|
||||
if (client) {
|
||||
client.receiveEvent(eventName, args);
|
||||
}
|
||||
},
|
||||
|
||||
register: function(id, client) {
|
||||
// register new client to receive events
|
||||
this.clients[id] = client;
|
||||
},
|
||||
|
||||
getDOMObjectPosition: function(obj, stopObj) {
|
||||
// get absolute coordinates for dom element
|
||||
var info = {
|
||||
left: 0,
|
||||
top: 0,
|
||||
width: obj.width ? obj.width : obj.offsetWidth,
|
||||
height: obj.height ? obj.height : obj.offsetHeight
|
||||
};
|
||||
const ZeroClipboard = {
|
||||
|
||||
while (obj && (obj != stopObj)) {
|
||||
info.left += obj.offsetLeft;
|
||||
info.top += obj.offsetTop;
|
||||
obj = obj.offsetParent;
|
||||
}
|
||||
version: "1.0.6",
|
||||
clients: {}, // registered upload clients on page, indexed by id
|
||||
moviePath: 'i/popup/ZeroClipboard.swf', // URL to movie
|
||||
nextId: 1, // ID of next movie
|
||||
|
||||
return info;
|
||||
},
|
||||
|
||||
Client: function(elem) {
|
||||
// constructor for new simple upload client
|
||||
this.handlers = {};
|
||||
|
||||
// unique ID
|
||||
this.id = ZeroClipboard.nextId++;
|
||||
this.movieId = 'ZeroClipboardMovie_' + this.id;
|
||||
|
||||
// register client with singleton to receive flash events
|
||||
ZeroClipboard.register(this.id, this);
|
||||
|
||||
// create movie
|
||||
if (elem) this.glue(elem);
|
||||
}
|
||||
$: function (thingy) {
|
||||
// simple DOM lookup utility function
|
||||
if (typeof(thingy) == 'string') thingy = document.getElementById(thingy);
|
||||
if (!thingy.addClass) {
|
||||
// extend element with a few useful methods
|
||||
thingy.hide = function () {
|
||||
this.style.display = 'none';
|
||||
};
|
||||
thingy.show = function () {
|
||||
this.style.display = '';
|
||||
};
|
||||
thingy.addClass = function (name) {
|
||||
this.removeClass(name);
|
||||
this.className += ' ' + name;
|
||||
};
|
||||
thingy.removeClass = function (name) {
|
||||
const classes = this.className.split(/\s+/);
|
||||
let idx = -1;
|
||||
for (let k = 0; k < classes.length; k++) {
|
||||
if (classes[k] == name) {
|
||||
idx = k;
|
||||
k = classes.length;
|
||||
}
|
||||
}
|
||||
if (idx > -1) {
|
||||
classes.splice(idx, 1);
|
||||
this.className = classes.join(' ');
|
||||
}
|
||||
return this;
|
||||
};
|
||||
thingy.hasClass = function (name) {
|
||||
return !!this.className.match(new RegExp("\\s*" + name + "\\s*"));
|
||||
};
|
||||
}
|
||||
return thingy;
|
||||
},
|
||||
|
||||
setMoviePath: function (path) {
|
||||
// set path to ZeroClipboard.swf
|
||||
this.moviePath = path;
|
||||
},
|
||||
|
||||
dispatch: function (id, eventName, args) {
|
||||
// receive event from flash movie, send to client
|
||||
const client = this.clients[id];
|
||||
if (client) {
|
||||
client.receiveEvent(eventName, args);
|
||||
}
|
||||
},
|
||||
|
||||
register: function (id, client) {
|
||||
// register new client to receive events
|
||||
this.clients[id] = client;
|
||||
},
|
||||
|
||||
getDOMObjectPosition: function (obj, stopObj) {
|
||||
// get absolute coordinates for dom element
|
||||
const info = {
|
||||
left: 0,
|
||||
top: 0,
|
||||
width: obj.width ? obj.width : obj.offsetWidth,
|
||||
height: obj.height ? obj.height : obj.offsetHeight
|
||||
};
|
||||
|
||||
while (obj && (obj != stopObj)) {
|
||||
info.left += obj.offsetLeft;
|
||||
info.top += obj.offsetTop;
|
||||
obj = obj.offsetParent;
|
||||
}
|
||||
|
||||
return info;
|
||||
},
|
||||
|
||||
Client: function (elem) {
|
||||
// constructor for new simple upload client
|
||||
this.handlers = {};
|
||||
|
||||
// unique ID
|
||||
this.id = ZeroClipboard.nextId++;
|
||||
this.movieId = 'ZeroClipboardMovie_' + this.id;
|
||||
|
||||
// register client with singleton to receive flash events
|
||||
ZeroClipboard.register(this.id, this);
|
||||
|
||||
// create movie
|
||||
if (elem) this.glue(elem);
|
||||
}
|
||||
};
|
||||
|
||||
ZeroClipboard.Client.prototype = {
|
||||
@ -103,8 +113,8 @@ ZeroClipboard.Client.prototype = {
|
||||
this.domElement = ZeroClipboard.$(elem);
|
||||
|
||||
// float just above object, or zIndex 99 if dom element isn't set
|
||||
var zIndex = 99;
|
||||
if (this.domElement.style.zIndex) {
|
||||
let zIndex = 99;
|
||||
if (this.domElement.style.zIndex) {
|
||||
zIndex = parseInt(this.domElement.style.zIndex, 10) + 1;
|
||||
}
|
||||
|
||||
@ -116,12 +126,12 @@ ZeroClipboard.Client.prototype = {
|
||||
}
|
||||
|
||||
// find X/Y position of domElement
|
||||
var box = ZeroClipboard.getDOMObjectPosition(this.domElement, appendElem);
|
||||
|
||||
// create floating DIV above element
|
||||
const box = ZeroClipboard.getDOMObjectPosition(this.domElement, appendElem);
|
||||
|
||||
// create floating DIV above element
|
||||
this.div = document.createElement('div');
|
||||
var style = this.div.style;
|
||||
style.position = 'absolute';
|
||||
const style = this.div.style;
|
||||
style.position = 'absolute';
|
||||
style.left = '' + box.left + 'px';
|
||||
style.top = '' + box.top + 'px';
|
||||
style.width = '' + box.width + 'px';
|
||||
@ -143,15 +153,15 @@ ZeroClipboard.Client.prototype = {
|
||||
|
||||
getHTML: function(width, height) {
|
||||
// return HTML for movie
|
||||
var html = '';
|
||||
var flashvars = 'id=' + this.id +
|
||||
'&width=' + width +
|
||||
'&height=' + height;
|
||||
|
||||
if (navigator.userAgent.match(/MSIE/)) {
|
||||
let html = '';
|
||||
const flashvars = 'id=' + this.id +
|
||||
'&width=' + width +
|
||||
'&height=' + height;
|
||||
|
||||
if (navigator.userAgent.match(/MSIE/)) {
|
||||
// IE gets an OBJECT tag
|
||||
var protocol = location.href.match(/^https/i) ? 'https://' : 'http://';
|
||||
html += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+protocol+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+width+'" height="'+height+'" id="'+this.movieId+'" align="middle"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+ZeroClipboard.moviePath+'" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><param name="flashvars" value="'+flashvars+'"/><param name="wmode" value="transparent"/></object>';
|
||||
const protocol = location.href.match(/^https/i) ? 'https://' : 'http://';
|
||||
html += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+protocol+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+width+'" height="'+height+'" id="'+this.movieId+'" align="middle"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+ZeroClipboard.moviePath+'" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><param name="flashvars" value="'+flashvars+'"/><param name="wmode" value="transparent"/></object>';
|
||||
}
|
||||
else {
|
||||
// all other browsers get an EMBED tag
|
||||
@ -178,11 +188,13 @@ ZeroClipboard.Client.prototype = {
|
||||
if (this.domElement && this.div) {
|
||||
this.hide();
|
||||
this.div.innerHTML = '';
|
||||
|
||||
var body = document.getElementsByTagName('body')[0];
|
||||
try { body.removeChild( this.div ); } catch(e) {;}
|
||||
|
||||
this.domElement = null;
|
||||
|
||||
const body = document.getElementsByTagName('body')[0];
|
||||
try {
|
||||
body.removeChild(this.div);
|
||||
} catch (e) {
|
||||
}
|
||||
this.domElement = null;
|
||||
this.div = null;
|
||||
}
|
||||
},
|
||||
@ -196,9 +208,9 @@ ZeroClipboard.Client.prototype = {
|
||||
}
|
||||
|
||||
if (this.domElement && this.div) {
|
||||
var box = ZeroClipboard.getDOMObjectPosition(this.domElement);
|
||||
var style = this.div.style;
|
||||
style.left = '' + box.left + 'px';
|
||||
const box = ZeroClipboard.getDOMObjectPosition(this.domElement);
|
||||
const style = this.div.style;
|
||||
style.left = '' + box.left + 'px';
|
||||
style.top = '' + box.top + 'px';
|
||||
}
|
||||
},
|
||||
@ -290,10 +302,12 @@ ZeroClipboard.Client.prototype = {
|
||||
} // switch eventName
|
||||
|
||||
if (this.handlers[eventName]) {
|
||||
for (var idx = 0, len = this.handlers[eventName].length; idx < len; idx++) {
|
||||
var func = this.handlers[eventName][idx];
|
||||
|
||||
if (typeof(func) == 'function') {
|
||||
let idx = 0;
|
||||
const len = this.handlers[eventName].length;
|
||||
for (; idx < len; idx++) {
|
||||
const func = this.handlers[eventName][idx];
|
||||
|
||||
if (typeof(func) == 'function') {
|
||||
// actual function reference
|
||||
func(this, args);
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ function ajaxLoad(url, iid, params) {
|
||||
|
||||
xmlHttpp[iid] = GetXmlHttpObject1();
|
||||
if(xmlHttpp[iid] == null){
|
||||
alert("Browser does not support HTTP Request")
|
||||
alert("Browser does not support HTTP Request");
|
||||
return
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ function ajaxLoad(url, iid, params) {
|
||||
}
|
||||
$(window).trigger('ajaxLoadComplete');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
xmlHttpp[iid].setRequestHeader("Accept-Charset", "windows-1251");
|
||||
xmlHttpp[iid].setRequestHeader("Accept-Language", "ru, en");
|
||||
|
3
js/ch.js
3
js/ch.js
@ -26,6 +26,9 @@ var flagpop=0;
|
||||
cMenu();
|
||||
} );
|
||||
|
||||
/**
|
||||
* @return {boolean}
|
||||
*/
|
||||
function OpenMenu(evt,level){
|
||||
evt = evt || window.event;
|
||||
evt.cancelBubble = true;
|
||||
|
17
js/chat.js
17
js/chat.js
@ -2,7 +2,7 @@ var sml_img = { };
|
||||
|
||||
Element.prototype.remove = function() {
|
||||
this.parentElement.removeChild(this);
|
||||
}
|
||||
};
|
||||
|
||||
NodeList.prototype.remove = HTMLCollection.prototype.remove = function() {
|
||||
for(var i = 0, len = this.length; i < len; i++) {
|
||||
@ -10,7 +10,7 @@ NodeList.prototype.remove = HTMLCollection.prototype.remove = function() {
|
||||
this[i].parentElement.removeChild(this[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
var chat = {
|
||||
key:'',
|
||||
@ -650,12 +650,7 @@ var chat = {
|
||||
},
|
||||
isNumber:function(s)
|
||||
{
|
||||
if(!isNaN(s))
|
||||
{
|
||||
s = true;
|
||||
}else{
|
||||
s = false;
|
||||
}
|
||||
s = !isNaN(s);
|
||||
return s;
|
||||
},
|
||||
testSmile:function(txt)
|
||||
@ -744,7 +739,7 @@ var chat = {
|
||||
}else if(this.sound == 2) {
|
||||
svolm = 100;
|
||||
}
|
||||
var M$ = navigator.appName.indexOf("Microsoft")!=-1
|
||||
var M$ = navigator.appName.indexOf("Microsoft")!=-1;
|
||||
if(!M$ && this.getSwf('Sound').SetVariable == undefined) {
|
||||
document.getElementById('Sound2').SetVariable("Volume",svolm);
|
||||
document.getElementById('Sound2').SetVariable("Sndplay",s);
|
||||
@ -754,7 +749,7 @@ var chat = {
|
||||
}
|
||||
},
|
||||
getSwf:function(val) {
|
||||
var M$ = navigator.appName.indexOf("Microsoft")!=-1
|
||||
var M$ = navigator.appName.indexOf("Microsoft")!=-1;
|
||||
return (M$ ? window : document)[val]
|
||||
},
|
||||
trim:function(s)
|
||||
@ -830,4 +825,4 @@ var chat = {
|
||||
if(data.key!=undefined){ this.key = data.key; }
|
||||
|
||||
}
|
||||
}
|
||||
};
|
12
js/core.js
12
js/core.js
@ -60,9 +60,9 @@ function dump(arr,level) {
|
||||
Загрузить HTML в контейнер
|
||||
*/
|
||||
function ajaxLoad(url,iid,params){
|
||||
xmlHttpp[iid]=GetXmlHttpObject1()
|
||||
xmlHttpp[iid]=GetXmlHttpObject1();
|
||||
if (xmlHttpp[iid]==null){
|
||||
alert ("Browser does not support HTTP Request")
|
||||
alert ("Browser does not support HTTP Request");
|
||||
return
|
||||
}
|
||||
//document.getElementById(iid).innerHTML="<img src='./i/loading2.gif' />";
|
||||
@ -75,7 +75,7 @@ function ajaxLoad(url,iid,params){
|
||||
if(xmlHttpp[iid].responseText.indexOf('<!--CONTAINER=') == 0){
|
||||
var a = xmlHttpp[iid].responseText.indexOf('-->');
|
||||
if(a >= 0){
|
||||
var b = xmlHttpp[iid].responseText.substr(14,a-14)
|
||||
var b = xmlHttpp[iid].responseText.substr(14,a-14);
|
||||
if(document.getElementById(b) != undefined){
|
||||
container = document.getElementById(b);
|
||||
} else{
|
||||
@ -110,7 +110,7 @@ function ajaxLoad(url,iid,params){
|
||||
// Вызываем своё событие
|
||||
$(window).trigger('ajaxLoadComplete');
|
||||
}
|
||||
}
|
||||
};
|
||||
xmlHttpp[iid].setRequestHeader("Accept-Charset", "windows-1251");
|
||||
xmlHttpp[iid].setRequestHeader("Accept-Language","ru, en");
|
||||
xmlHttpp[iid].setRequestHeader("Content-Type","application/x-www-form-urlencoded");
|
||||
@ -155,7 +155,7 @@ appearance = {
|
||||
error: function(){
|
||||
$('div#appearance_out').text('error');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
core = {
|
||||
|
||||
@ -202,7 +202,7 @@ core = {
|
||||
document.location = document.location;
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
function str_replace ( search, replace, subject ) {
|
||||
if(!(replace instanceof Array)){
|
||||
|
20
js/forum.js
20
js/forum.js
@ -145,14 +145,14 @@ ImageSizeDetector.init = function (src, callback) {
|
||||
if (callback) {
|
||||
callback();
|
||||
}
|
||||
}
|
||||
};
|
||||
ImageSizeDetector.isNotEmpty = function () {
|
||||
return ImageSizeDetector.width != null && ImageSizeDetector.width > 0 &&
|
||||
ImageSizeDetector.height != null && ImageSizeDetector.height > 0;
|
||||
}
|
||||
};
|
||||
ImageSizeDetector.isEmpty = function () {
|
||||
return !ImageSizeDetector.isNotEmpty();
|
||||
}
|
||||
};
|
||||
|
||||
SmileParser = new Object();
|
||||
SmileParser.map = null;
|
||||
@ -174,7 +174,7 @@ SmileParser.init = function (callback) {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
SmileParser.replace = function (str) {
|
||||
var result = str;
|
||||
for (smileCode in SmileParser.map) {
|
||||
@ -186,14 +186,14 @@ SmileParser.replace = function (str) {
|
||||
result = result.replace(smileCode, "<img src='" + smileURL + "'/>");
|
||||
}
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
SmileParser.proceed = function () {
|
||||
jQuery("p.pleft").each(function (index, value) {
|
||||
var html = jQuery(value).html();
|
||||
jQuery(value).html(SmileParser.replace(html));
|
||||
});
|
||||
}
|
||||
};
|
||||
SmileParser.smileList = [];
|
||||
SmileParser.prepareSmileList = function () {
|
||||
SmileParser.smileList = [];
|
||||
@ -207,13 +207,13 @@ SmileParser.prepareSmileList = function () {
|
||||
SmileParser.smileList.push(smileListItem);
|
||||
}
|
||||
return SmileParser.smileList;
|
||||
}
|
||||
};
|
||||
SmileParser.oldMap = {
|
||||
":)":"/i/forum/icon7.gif",
|
||||
":(":"/i/smile/grust.gif",
|
||||
":D":"/i/smile/laugh.gif",
|
||||
";)":"/i/smile/wink.gif"
|
||||
}
|
||||
};
|
||||
|
||||
function storeCaret(text) {
|
||||
if (text.createTextRange) {
|
||||
@ -254,7 +254,7 @@ function cs(s1, s2, formname) {
|
||||
} else {
|
||||
if ((str.text != "") && (s.indexOf(str.text) >= 0)) {
|
||||
if (str.text.indexOf(s1) == 0)
|
||||
return ''
|
||||
return '';
|
||||
str.text = s1 + str.text + s2;
|
||||
} else {
|
||||
if (document[formname].text.createTextRange
|
||||
@ -365,4 +365,4 @@ var $addFavoriteSet = function () {
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
@ -15,9 +15,9 @@ jQuery.cookie = function(name, value, options) {
|
||||
value = '';
|
||||
options.expires = -1;
|
||||
}
|
||||
var expires = '';
|
||||
let expires = '';
|
||||
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
|
||||
var date;
|
||||
let date;
|
||||
if (typeof options.expires == 'number') {
|
||||
date = new Date();
|
||||
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
|
||||
@ -29,16 +29,16 @@ jQuery.cookie = function(name, value, options) {
|
||||
// CAUTION: Needed to parenthesize options.path and options.domain
|
||||
// in the following expressions, otherwise they evaluate to undefined
|
||||
// in the packed version for some reason...
|
||||
var path = options.path ? '; path=' + (options.path) : '';
|
||||
var domain = options.domain ? '; domain=' + (options.domain) : '';
|
||||
var secure = options.secure ? '; secure' : '';
|
||||
const path = options.path ? '; path=' + (options.path) : '';
|
||||
const domain = options.domain ? '; domain=' + (options.domain) : '';
|
||||
const secure = options.secure ? '; secure' : '';
|
||||
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
|
||||
} else { // only name given, get cookie
|
||||
var cookieValue = null;
|
||||
let cookieValue = null;
|
||||
if (document.cookie && document.cookie != '') {
|
||||
var cookies = document.cookie.split(';');
|
||||
for (var i = 0; i < cookies.length; i++) {
|
||||
var cookie = jQuery.trim(cookies[i]);
|
||||
const cookies = document.cookie.split(';');
|
||||
for (let i = 0; i < cookies.length; i++) {
|
||||
const cookie = jQuery.trim(cookies[i]);
|
||||
// Does this cookie string begin with the name we want?
|
||||
if (cookie.substring(0, name.length + 1) == (name + '=')) {
|
||||
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
|
||||
|
2
js/jquery.js
vendored
2
js/jquery.js
vendored
@ -3537,7 +3537,7 @@ var Expr = Sizzle.selectors = {
|
||||
match[3] = Sizzle(match[3], null, null, curLoop);
|
||||
|
||||
} else {
|
||||
var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
|
||||
var ret = Sizzle.filter(match[3], curLoop, inplace, !not);
|
||||
|
||||
if ( !inplace ) {
|
||||
result.push.apply( result, ret );
|
||||
|
File diff suppressed because one or more lines are too long
@ -21,23 +21,25 @@
|
||||
|
||||
(function($){
|
||||
$.fn.tipTip = function(options) {
|
||||
var defaults = {
|
||||
activation: "hover",
|
||||
keepAlive: false,
|
||||
maxWidth: "150px",
|
||||
edgeOffset: 0,
|
||||
defaultPosition: "right",
|
||||
delay: 0,
|
||||
fadeIn: 200,
|
||||
fadeOut: 200,
|
||||
attribute: "title",
|
||||
content: false, // HTML or String to fill TipTIp with
|
||||
enter: function(){},
|
||||
exit: function(){}
|
||||
};
|
||||
var opts = $.extend(defaults, options);
|
||||
|
||||
// Setup tip tip elements and render them to the DOM
|
||||
const defaults = {
|
||||
activation: "hover",
|
||||
keepAlive: false,
|
||||
maxWidth: "150px",
|
||||
edgeOffset: 0,
|
||||
defaultPosition: "right",
|
||||
delay: 0,
|
||||
fadeIn: 200,
|
||||
fadeOut: 200,
|
||||
attribute: "title",
|
||||
content: false, // HTML or String to fill TipTIp with
|
||||
enter: function () {
|
||||
},
|
||||
exit: function () {
|
||||
}
|
||||
};
|
||||
const opts = $.extend(defaults, options);
|
||||
|
||||
// Setup tip tip elements and render them to the DOM
|
||||
if($("#tiptip_holder").length <= 0){
|
||||
var tiptip_holder = $('<div id="tiptip_holder" style="max-width:'+ opts.maxWidth +';"></div>');
|
||||
var tiptip_content = $('<div id="tiptip_content"></div>');
|
||||
@ -50,8 +52,8 @@
|
||||
}
|
||||
|
||||
return this.each(function(){
|
||||
var org_elem = $(this);
|
||||
if(opts.content){
|
||||
const org_elem = $(this);
|
||||
if(opts.content){
|
||||
var org_title = opts.content;
|
||||
} else {
|
||||
var org_title = org_elem.attr(opts.attribute);
|
||||
@ -60,9 +62,9 @@
|
||||
if(!opts.content){
|
||||
org_elem.removeAttr(opts.attribute); //remove original Attribute
|
||||
}
|
||||
var timeout = false;
|
||||
|
||||
if(opts.activation == "hover"){
|
||||
let timeout = false;
|
||||
|
||||
if(opts.activation == "hover"){
|
||||
org_elem.hover(function(){
|
||||
active_tiptip();
|
||||
}, function(){
|
||||
@ -102,20 +104,20 @@
|
||||
tiptip_content.html(org_title);
|
||||
tiptip_holder.hide().removeAttr("class").css("margin","0");
|
||||
tiptip_arrow.removeAttr("style");
|
||||
|
||||
var top = parseInt(org_elem.offset()['top']);
|
||||
var left = parseInt(org_elem.offset()['left']);
|
||||
var org_width = parseInt(org_elem.outerWidth());
|
||||
var org_height = parseInt(org_elem.outerHeight());
|
||||
var tip_w = tiptip_holder.outerWidth();
|
||||
var tip_h = tiptip_holder.outerHeight();
|
||||
var w_compare = Math.round((org_width - tip_w) / 2);
|
||||
var h_compare = Math.round((org_height - tip_h) / 2);
|
||||
var marg_left = Math.round(left + w_compare);
|
||||
var marg_top = Math.round(top + org_height + opts.edgeOffset);
|
||||
var t_class = "";
|
||||
var arrow_top = "";
|
||||
var arrow_left = Math.round(tip_w - 12) / 2;
|
||||
|
||||
const top = parseInt(org_elem.offset()['top']);
|
||||
const left = parseInt(org_elem.offset()['left']);
|
||||
const org_width = parseInt(org_elem.outerWidth());
|
||||
const org_height = parseInt(org_elem.outerHeight());
|
||||
const tip_w = tiptip_holder.outerWidth();
|
||||
const tip_h = tiptip_holder.outerHeight();
|
||||
const w_compare = Math.round((org_width - tip_w) / 2);
|
||||
const h_compare = Math.round((org_height - tip_h) / 2);
|
||||
let marg_left = Math.round(left + w_compare);
|
||||
let marg_top = Math.round(top + org_height + opts.edgeOffset);
|
||||
let t_class = "";
|
||||
let arrow_top = "";
|
||||
let arrow_left = Math.round(tip_w - 12) / 2;
|
||||
|
||||
if(opts.defaultPosition == "bottom"){
|
||||
t_class = "_bottom";
|
||||
@ -126,11 +128,11 @@
|
||||
} else if(opts.defaultPosition == "right"){
|
||||
t_class = "_right";
|
||||
}
|
||||
|
||||
var right_compare = (w_compare + left) < parseInt($(window).scrollLeft());
|
||||
var left_compare = (tip_w + left) > parseInt($(window).width());
|
||||
|
||||
if((right_compare && w_compare < 0) || (t_class == "_right" && !left_compare) || (t_class == "_left" && left < (tip_w + opts.edgeOffset + 5))){
|
||||
|
||||
let right_compare = (w_compare + left) < parseInt($(window).scrollLeft());
|
||||
let left_compare = (tip_w + left) > parseInt($(window).width());
|
||||
|
||||
if((right_compare && w_compare < 0) || (t_class == "_right" && !left_compare) || (t_class == "_left" && left < (tip_w + opts.edgeOffset + 5))){
|
||||
t_class = "_right";
|
||||
arrow_top = Math.round(tip_h - 13) / 2;
|
||||
arrow_left = -12;
|
||||
@ -147,10 +149,10 @@
|
||||
marg_top = Math.round(top + h_compare);
|
||||
}
|
||||
|
||||
var top_compare = (top + org_height + opts.edgeOffset + tip_h + 8) > parseInt($(window).height() + $(window).scrollTop());
|
||||
var bottom_compare = ((top + org_height) - (opts.edgeOffset + tip_h + 8)) < 0;
|
||||
|
||||
if(top_compare || (t_class == "_bottom" && top_compare) || (t_class == "_top" && !bottom_compare)){
|
||||
let top_compare = (top + org_height + opts.edgeOffset + tip_h + 8) > parseInt($(window).height() + $(window).scrollTop());
|
||||
let bottom_compare = ((top + org_height) - (opts.edgeOffset + tip_h + 8)) < 0;
|
||||
|
||||
if(top_compare || (t_class == "_bottom" && top_compare) || (t_class == "_top" && !bottom_compare)){
|
||||
if(t_class == "_top" || t_class == "_bottom"){
|
||||
t_class = "_top";
|
||||
} else {
|
||||
@ -177,9 +179,9 @@
|
||||
marg_left = marg_left + 5;
|
||||
}
|
||||
tiptip_arrow.css({"margin-left": arrow_left+"px", "margin-top": 200+arrow_top+"px"});
|
||||
|
||||
var art_top = top + org_height - tip_h/2;
|
||||
if(art_top < 0){art_top=10;}
|
||||
|
||||
let art_top = top + org_height - tip_h / 2;
|
||||
if(art_top < 0){art_top=10;}
|
||||
// old one - marg_top
|
||||
tiptip_holder.css({"margin-left": marg_left+10+"px", "margin-top": art_top+"px"}).attr("class","tip");
|
||||
|
||||
|
@ -320,7 +320,7 @@ body { margin-left: 5px; margin-top: 5px; margin-right: 5px; margin-bottom: 5px;
|
||||
<body bgcolor=#e2e0e0 >
|
||||
<div style="float: right;">
|
||||
<input type="button" onclick="location.href='lab_enter.php';" value="Обновить" /> <input type="button" onclick="location.href='?exitlaba=1';" value="Покинуть вход" /></div>
|
||||
<div style="padding-left: 0px;" align="center">
|
||||
<div style="padding-left: 0;" align="center">
|
||||
<h3>Вход в Лабиринты</h3>
|
||||
</div>
|
||||
<?
|
||||
|
46
labirint.php
46
labirint.php
@ -391,7 +391,7 @@ if($user['room'] == 1052) {
|
||||
}
|
||||
if($var['obj']['use'] > 0) {
|
||||
mysql_query('UPDATE `laba_obj` SET `use` = "'.$var['obj']['use'].'" WHERE `id` = "'.$var['obj']['id'].'" LIMIT 1');
|
||||
$var['obj']['use'] = $var['obj']['use'];
|
||||
#$var['obj']['use'] = $var['obj']['use']; ?!?!?!?!?!
|
||||
}
|
||||
} else {
|
||||
$errors = '<font color=red><b>Кто-то уже использовал это до Вас...</b></font>';
|
||||
@ -614,7 +614,7 @@ $('body').keydown(function(event) {
|
||||
}
|
||||
});
|
||||
|
||||
var update = true;
|
||||
const update = true;
|
||||
$('body').keydown(function( event ) {
|
||||
if( event.which == 37 || event.which == 65 ) {
|
||||
if(update == true){
|
||||
@ -639,7 +639,9 @@ $('body').keydown(function( event ) {
|
||||
}
|
||||
});
|
||||
|
||||
var delay = 30, TimerOn = -1, tkHP, maxHP, speed = 750, stLen = 185, redHP = 0.33, yellowHP = 0.66;
|
||||
const delay = 30;
|
||||
let TimerOn = -1, tkHP, maxHP, speed = 750;
|
||||
const stLen = 185, redHP = 0.33, yellowHP = 0.66;
|
||||
|
||||
function setHP(a, b, c) {
|
||||
tkHP = a; maxHP = b;
|
||||
@ -675,7 +677,7 @@ function GoAJAX(goLink){
|
||||
// }
|
||||
}
|
||||
function confirmSubmit(mes){
|
||||
var agree = confirm(mes);
|
||||
const agree = confirm(mes);
|
||||
return agree ? true : false ;
|
||||
}
|
||||
<? if($user['battle'] == 0) { ?>
|
||||
@ -699,19 +701,17 @@ setHP(<?=$user['hp'];?>, <?=$user['maxhp'];?>, 100);
|
||||
<script language="javascript" type="text/javascript">
|
||||
function confirmSubmit(mes)
|
||||
{
|
||||
var agree=confirm(mes);
|
||||
if (agree)
|
||||
return true ;
|
||||
else
|
||||
return false ;
|
||||
const agree = confirm(mes);
|
||||
return agree;
|
||||
}
|
||||
</script>
|
||||
<script language=javascript>
|
||||
<!--
|
||||
var message="Правая кнопка мыши отключена!";
|
||||
<!--
|
||||
const message = "Правая кнопка мыши отключена!";
|
||||
|
||||
function click(e) {
|
||||
if (document.all) { // IE
|
||||
if (event.button == 2) { // Чтобы отключить левую кнопку поставьте цифру 1
|
||||
if (event.button === 2) { // Чтобы отключить левую кнопку поставьте цифру 1
|
||||
alert(message); // чтобы отключить среднюю кнопку поставьте цифру 1
|
||||
return false;}
|
||||
}
|
||||
@ -808,29 +808,29 @@ document.oncontextmenu=function(e){return false};
|
||||
<tbody>
|
||||
<tr valign="middle">
|
||||
<td> </td>
|
||||
<td><div id="showbar" style="font-size: 2pt; padding: 2px; border: 0px solid black; visibility: visible;"> <span id="progress1" style="background-color: green;"> </span> <span id="progress2" style="background-color: green;"> </span> <span id="progress3" style="background-color: green;"> </span> <span id="progress4" style="background-color: green;"> </span> <span id="progress5" style="background-color: green;"> </span> <span id="progress6" style="background-color: green;"> </span> <span id="progress7" style="background-color: green;"> </span> <span id="progress8" style="background-color: green;"> </span> <span id="progress9" style="background-color: green;"> </span> <span id="progress10" style="background-color: green;"> </span> <span id="progress11" style="background-color: green;"> </span> <span id="progress12" style="background-color: green;"> </span> <span id="progress13" style="background-color: green;"> </span> <span id="progress14" style="background-color: green;"> </span> <span id="progress15" style="background-color: green;"> </span> <span id="progress16" style="background-color: green;"> </span> <span id="progress17" style="background-color: green;"> </span> <span id="progress18" style="background-color: green;"> </span> <span id="progress19" style="background-color: green;"> </span> <span id="progress20" style="background-color: green;"> </span> <span id="progress21" style="background-color: green;"> </span> <span id="progress22" style="background-color: green;"> </span> <span id="progress23" style="background-color: green;"> </span> <span id="progress24" style="background-color: green;"> </span> <span id="progress25" style="background-color: green;"> </span> <span id="progress26" style="background-color: green;"> </span> <span id="progress27" style="background-color: green;"> </span> <span id="progress28" style="background-color: green;"> </span> <span id="progress29" style="background-color: green;"> </span> <span id="progress30" style="background-color: green;"> </span> <span id="progress31" style="background-color: green;"> </span> <span id="progress32" style="background-color: green;"> </span> <span id="progress33" style="background-color: green;"> </span> <span id="progress34" style="background-color: green;"> </span> <span id="progress35" style="background-color: green;"> </span> <span id="progress36" style="background-color: green;"> </span> <span id="progress37" style="background-color: green;"> </span> <span id="progress38" style="background-color: green;"> </span> <span id="progress39" style="background-color: green;"> </span> <span id="progress40" style="background-color: green;"> </span></div></td>
|
||||
<td><div id="showbar" style="font-size: 2pt; padding: 2px; border: 0 solid black; visibility: visible;"> <span id="progress1" style="background-color: green;"> </span> <span id="progress2" style="background-color: green;"> </span> <span id="progress3" style="background-color: green;"> </span> <span id="progress4" style="background-color: green;"> </span> <span id="progress5" style="background-color: green;"> </span> <span id="progress6" style="background-color: green;"> </span> <span id="progress7" style="background-color: green;"> </span> <span id="progress8" style="background-color: green;"> </span> <span id="progress9" style="background-color: green;"> </span> <span id="progress10" style="background-color: green;"> </span> <span id="progress11" style="background-color: green;"> </span> <span id="progress12" style="background-color: green;"> </span> <span id="progress13" style="background-color: green;"> </span> <span id="progress14" style="background-color: green;"> </span> <span id="progress15" style="background-color: green;"> </span> <span id="progress16" style="background-color: green;"> </span> <span id="progress17" style="background-color: green;"> </span> <span id="progress18" style="background-color: green;"> </span> <span id="progress19" style="background-color: green;"> </span> <span id="progress20" style="background-color: green;"> </span> <span id="progress21" style="background-color: green;"> </span> <span id="progress22" style="background-color: green;"> </span> <span id="progress23" style="background-color: green;"> </span> <span id="progress24" style="background-color: green;"> </span> <span id="progress25" style="background-color: green;"> </span> <span id="progress26" style="background-color: green;"> </span> <span id="progress27" style="background-color: green;"> </span> <span id="progress28" style="background-color: green;"> </span> <span id="progress29" style="background-color: green;"> </span> <span id="progress30" style="background-color: green;"> </span> <span id="progress31" style="background-color: green;"> </span> <span id="progress32" style="background-color: green;"> </span> <span id="progress33" style="background-color: green;"> </span> <span id="progress34" style="background-color: green;"> </span> <span id="progress35" style="background-color: green;"> </span> <span id="progress36" style="background-color: green;"> </span> <span id="progress37" style="background-color: green;"> </span> <span id="progress38" style="background-color: green;"> </span> <span id="progress39" style="background-color: green;"> </span> <span id="progress40" style="background-color: green;"> </span></div></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<script language="javascript">
|
||||
var progressEnd = 40; // set to number of progress <span>'s.
|
||||
var progressColor = 'green'; // set to progress bar color
|
||||
var progressInterval = <?=$tmdgm?>;
|
||||
var progressAt = <?=$tmdg?>;
|
||||
var progressTimer;
|
||||
|
||||
|
||||
const progressEnd = 40; // set to number of progress <span>'s.
|
||||
const progressColor = 'green'; // set to progress bar color
|
||||
let progressInterval =;
|
||||
let progressAt =;
|
||||
let progressTimer;
|
||||
|
||||
|
||||
function progress_set(too) {
|
||||
for (var i = 1; i <= too; i++) document.getElementById('progress'+i).style.backgroundColor = progressColor;
|
||||
for (let i = 1; i <= too; i++) document.getElementById('progress'+i).style.backgroundColor = progressColor;
|
||||
}
|
||||
|
||||
function progress_none() {
|
||||
for (var i = 1; i <= 40; i++) document.getElementById('progress'+i).style.backgroundColor = progressColor;
|
||||
for (let i = 1; i <= 40; i++) document.getElementById('progress'+i).style.backgroundColor = progressColor;
|
||||
}
|
||||
|
||||
function progress_clear() {
|
||||
for (var i = <?=$tmdg?>; i <= progressEnd; i++) document.getElementById('progress'+i).style.backgroundColor = 'transparent';
|
||||
for (let i = <?=$tmdg?>; i <= progressEnd; i++) document.getElementById('progress'+i).style.backgroundColor = 'transparent';
|
||||
progressAt = <?=$tmdg?>;
|
||||
}
|
||||
function progress_update() {
|
||||
|
16
library.php
16
library.php
@ -392,14 +392,14 @@ echo('</td></tr>');
|
||||
}
|
||||
|
||||
}
|
||||
if($book2)
|
||||
{
|
||||
|
||||
}
|
||||
if($book3)
|
||||
{
|
||||
|
||||
}
|
||||
// if($book2)
|
||||
// {
|
||||
//
|
||||
// }
|
||||
// if($book3)
|
||||
// {
|
||||
//
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
.city-location-container .fireworks {
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
z-index: 1500;
|
||||
top: 5px;
|
||||
}
|
||||
|
91
lotery.php
91
lotery.php
@ -387,97 +387,12 @@ class Lottery{
|
||||
function view_buy_ticket(){
|
||||
$str = '';
|
||||
|
||||
$str .= '
|
||||
<style>
|
||||
td.select{ width: 20px; text-align: center; background-color: #999; cursor: pointer; }
|
||||
td.unselect{ width: 20px; text-align: center; background-color: none; cursor: pointer; }
|
||||
</style>
|
||||
<script>
|
||||
function add(name){
|
||||
var array = new Array();
|
||||
var test = document.getElementById(\'value\').value;
|
||||
|
||||
if (test.indexOf(",") > 0){
|
||||
array = test.split(",");
|
||||
|
||||
//alert(array.lenght);
|
||||
|
||||
if (array[5] != \'\'){
|
||||
document.getElementById(name).className=\'select\';
|
||||
document.getElementById(name).onclick = function() { del(name) };
|
||||
test = test + name + ",";
|
||||
document.getElementById(\'value\').value = test;
|
||||
}
|
||||
else{
|
||||
alert(\'Вы выбрали уже 5 номеров. Снимите выделение с любого номера.\');
|
||||
|
||||
}
|
||||
}
|
||||
else{
|
||||
document.getElementById(name).className=\'select\';
|
||||
document.getElementById(name).onclick = function() { del(name) };
|
||||
test = test + name + ",";
|
||||
document.getElementById(\'value\').value = test;
|
||||
}
|
||||
}
|
||||
function del(name){
|
||||
var array = new Array();
|
||||
var test = document.getElementById(\'value\').value;
|
||||
|
||||
document.getElementById(name).className=\'unselect\';
|
||||
document.getElementById(name).onclick = function() { add(name) };
|
||||
test = test.replace(name+",","");
|
||||
document.getElementById(\'value\').value = test;
|
||||
}
|
||||
</script>
|
||||
|
||||
<table style="background-color: #ccc">
|
||||
<tr>
|
||||
<td class="unselect" id="1" onclick="add(\'1\')">1</td>
|
||||
<td class="unselect" id="2" onclick="add(\'2\')">2</td>
|
||||
<td class="unselect" id="3" onclick="add(\'3\')">3</td>
|
||||
<td class="unselect" id="4" onclick="add(\'4\')">4</td>
|
||||
<td class="unselect" id="5" onclick="add(\'5\')">5</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="unselect" id="6" onclick="add(\'6\')">6</td>
|
||||
<td class="unselect" id="7" onclick="add(\'7\')">7</td>
|
||||
<td class="unselect" id="8" onclick="add(\'8\')">8</td>
|
||||
<td class="unselect" id="9" onclick="add(\'9\')">9</td>
|
||||
<td class="unselect" id="10" onclick="add(\'10\')">10</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="unselect" id="11" onclick="add(\'11\')">11</td>
|
||||
<td class="unselect" id="12" onclick="add(\'12\')">12</td>
|
||||
<td class="unselect" id="13" onclick="add(\'13\')">13</td>
|
||||
<td class="unselect" id="14" onclick="add(\'14\')">14</td>
|
||||
<td class="unselect" id="15" onclick="add(\'15\')">15</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="unselect" id="16" onclick="add(\'16\')">16</td>
|
||||
<td class="unselect" id="17" onclick="add(\'17\')">17</td>
|
||||
<td class="unselect" id="18" onclick="add(\'18\')">18</td>
|
||||
<td class="unselect" id="19" onclick="add(\'19\')">19</td>
|
||||
<td class="unselect" id="20" onclick="add(\'20\')">20</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="unselect" id="21" onclick="add(\'21\')">21</td>
|
||||
<td class="unselect" id="22" onclick="add(\'22\')">22</td>
|
||||
<td class="unselect" id="23" onclick="add(\'23\')">23</td>
|
||||
<td class="unselect" id="24" onclick="add(\'24\')">24</td>
|
||||
<td class="unselect" id="25" onclick="add(\'25\')">25</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="unselect" id="26" onclick="add(\'26\')">26</td>
|
||||
<td class="unselect" id="27" onclick="add(\'27\')">27</td>
|
||||
<td class="unselect" id="28" onclick="add(\'28\')">28</td>
|
||||
<td class="unselect" id="29" onclick="add(\'29\')">29</td>
|
||||
<td class="unselect" id="30" onclick="add(\'30\')">30</td>
|
||||
$str .= ')">30</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Выбраные Вами номера : <input style="border: 0px solid #000; background:transparent;" type="text" readonly="true" id="value" name="value" />
|
||||
';
|
||||
\'';
|
||||
|
||||
return $str;
|
||||
}
|
||||
@ -519,7 +434,7 @@ if ($_POST['value']) {
|
||||
<input type="button" value="Купить лотерейный билет" onClick="document.all['adde'].style.visibility='visible';document.all['adde'].style.display='block';">
|
||||
<div style="display:none;visivility:hidden;" id="adde">
|
||||
<h4>Выберите 5 номеров</h4>
|
||||
<form method='post' style="margin:0px;">
|
||||
<form method='post' style="margin:0;">
|
||||
<? echo $Lottery->view_buy_ticket(); ?>
|
||||
<BR><input type=submit value='Купить билет'></form></div>
|
||||
<BR>
|
||||
|
@ -96,8 +96,8 @@ mysql_query("UPDATE `inventory` set `maxdur` = '$vsego',massa='$mas' WHERE `type
|
||||
<META Http-Equiv=Expires Content=0>
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
function AddCount(name, txt,event){
|
||||
var x=y=0;
|
||||
if (document.attachEvent != null) { // Internet Explorer & Opera
|
||||
let x = y = 0;
|
||||
if (document.attachEvent != null) { // Internet Explorer & Opera
|
||||
x = window.event.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft);
|
||||
y = window.event.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
|
||||
}
|
||||
|
@ -54,7 +54,4 @@ if ($_SESSION['uid'] == null) header("Location: index.php");
|
||||
$bet=1;
|
||||
|
||||
}
|
||||
echo "</B></FONT>";
|
||||
|
||||
|
||||
?>
|
||||
echo "</B></FONT>";
|
@ -26,4 +26,4 @@ elseif (rand(1,100) < $int) {
|
||||
echo "Свиток рассыпался в ваших руках...";
|
||||
$bet=1;
|
||||
}
|
||||
?>
|
||||
|
||||
|
@ -176,4 +176,3 @@ if ($user['battle'] > 0) {
|
||||
echo "Свиток рассыпался в ваших руках...";
|
||||
$bet=1;
|
||||
}
|
||||
?>
|
@ -192,4 +192,3 @@ elseif (!$us['online']) {
|
||||
}
|
||||
//$bet=1;
|
||||
}
|
||||
?>
|
@ -82,4 +82,3 @@ if ($user['battle'] > 0) {
|
||||
echo "Свиток рассыпался в ваших руках...";
|
||||
$bet=1;
|
||||
}
|
||||
?>
|
@ -185,4 +185,3 @@ elseif (!$us['online']) {
|
||||
echo "Свиток рассыпался в ваших руках...";
|
||||
$bet=1;
|
||||
}
|
||||
?>
|
@ -152,4 +152,3 @@ elseif (!$us['online']) {
|
||||
echo "Свиток рассыпался в ваших руках...";
|
||||
$bet=1;
|
||||
}
|
||||
?>
|
@ -152,4 +152,3 @@ if ($user['battle'] > 0) {
|
||||
echo "Свиток рассыпался в ваших руках...";
|
||||
$bet=1;
|
||||
}
|
||||
?>
|
@ -194,4 +194,3 @@ elseif (!$us['online']) {
|
||||
echo "Свиток рассыпался в ваших руках...";
|
||||
$bet=1;
|
||||
}
|
||||
?>
|
@ -58,4 +58,3 @@ if ($user['battle'] == 0) {
|
||||
|
||||
}
|
||||
|
||||
?>
|
@ -160,4 +160,3 @@ elseif ($user['zayavka'] > 0) {
|
||||
echo "Свиток рассыпался в ваших руках...";
|
||||
$bet=1;
|
||||
}*/
|
||||
?>
|
@ -58,4 +58,3 @@ if ($_SESSION['uid'] == null) header("Location: index.php");
|
||||
echo "</B></FONT>";
|
||||
|
||||
|
||||
?>
|
@ -41,4 +41,3 @@
|
||||
else {
|
||||
echo "<font color=red><b>Персонаж \"$target\" не существует!<b></font>";
|
||||
}
|
||||
?>
|
@ -153,4 +153,3 @@ if ($user['room'] == 20) {
|
||||
}
|
||||
echo "</b></font></div>";
|
||||
}
|
||||
?>
|
@ -46,4 +46,3 @@ if ($user['battle'] == 0) {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@ -36,4 +36,3 @@ if($user['battle'] == 0) {
|
||||
$bet = 1;
|
||||
}
|
||||
}
|
||||
?>
|
@ -193,4 +193,3 @@ elseif (!$us['online']) {
|
||||
echo "Свиток рассыпался в ваших руках...";
|
||||
$bet=1;
|
||||
}
|
||||
?>
|
@ -42,4 +42,3 @@ if ($user['battle'] > 0) {
|
||||
echo "Свиток рассыпался в ваших руках...";
|
||||
$bet=1;
|
||||
}
|
||||
?>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user