Unit of measure 'px' is redundant
This commit is contained in:
parent
d753684958
commit
c25335d846
13
cave.php
13
cave.php
@ -1735,7 +1735,7 @@ function drawmap($map1, $players, $x, $y, $direction)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($i == 1) {
|
if ($i == 1) {
|
||||||
$ret .= "<img width=\"65\" height=\"80\" src=\"/i/dungeon/objects/$o.gif\" style=\"position: absolute; left: 0px; top: 110px\" />";
|
$ret .= " />";
|
||||||
}
|
}
|
||||||
if ($i == 2) {
|
if ($i == 2) {
|
||||||
$ret .= "<img width=\"43\" height=\"56\" src=\"/i/dungeon/objects/$o.gif\" style=\"position: absolute; left: 17px; top: 90px\" />";
|
$ret .= "<img width=\"43\" height=\"56\" src=\"/i/dungeon/objects/$o.gif\" style=\"position: absolute; left: 17px; top: 90px\" />";
|
||||||
@ -1776,13 +1776,13 @@ function drawmap($map1, $players, $x, $y, $direction)
|
|||||||
|
|
||||||
$objInWall = explode('/', $map[4][$sidewall]);
|
$objInWall = explode('/', $map[4][$sidewall]);
|
||||||
if ($objInWall[1] == 'o') {
|
if ($objInWall[1] == 'o') {
|
||||||
if (!passablewall($map[4][$sidewall])) $ret .= "<div style=\"position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url($base/rsw$i$objInWall[2].gif)\"></div>";
|
if (!passablewall($map[4][$sidewall])) $ret .= "></div>";
|
||||||
} else {
|
} else {
|
||||||
if (!passablewall($map[4][$sidewall])) $ret .= "<div class=\"rsw$i\"></div>";
|
if (!passablewall($map[4][$sidewall])) $ret .= "<div class=\"rsw$i\"></div>";
|
||||||
}
|
}
|
||||||
$objInWall = explode('/', $map[2][$sidewall]);
|
$objInWall = explode('/', $map[2][$sidewall]);
|
||||||
if ($objInWall[1] == 'o') {
|
if ($objInWall[1] == 'o') {
|
||||||
if (!passablewall($map[2][$sidewall])) $ret .= "<div style=\"position:absolute;left:0px;top:0px;width:352px;height:240px;background-image:url($base/lsw$i$objInWall[2].gif)\"></div>";
|
if (!passablewall($map[2][$sidewall])) $ret .= "></div>";
|
||||||
} else {
|
} else {
|
||||||
if (!passablewall($map[2][$sidewall])) $ret .= "<div class=\"lsw$i\"></div>";
|
if (!passablewall($map[2][$sidewall])) $ret .= "<div class=\"lsw$i\"></div>";
|
||||||
}
|
}
|
||||||
@ -1837,12 +1837,7 @@ function drawmap($map1, $players, $x, $y, $direction)
|
|||||||
$i--;
|
$i--;
|
||||||
}
|
}
|
||||||
|
|
||||||
$ret .= "</div>
|
$ret .= ">0</div>
|
||||||
</td><td valign=\"top\">
|
|
||||||
<div style=\"height:116px;position:relative\">
|
|
||||||
<div style=\"padding-top:11px;padding-left:33px\">
|
|
||||||
<DIV class=\"MoveLine\"><IMG src=\"/i/move/wait3.gif\" id=\"MoveLine\" class=\"MoveLine\"></DIV>
|
|
||||||
<div style=\"visibility:hidden; height:0px\" id=\"moveto\">0</div>
|
|
||||||
</div>";
|
</div>";
|
||||||
|
|
||||||
if ($direction == 0) {
|
if ($direction == 0) {
|
||||||
|
@ -10,7 +10,7 @@ if(isset($_POST['act']) && $_POST['act'] == 'pay') {
|
|||||||
if(isset($user['id']) && isset($hostel['id'])) {
|
if(isset($user['id']) && isset($hostel['id'])) {
|
||||||
echo '<fieldset class="hostelClientState">';
|
echo '<fieldset class="hostelClientState">';
|
||||||
echo '<legend>Предварительная оплата</legend>';
|
echo '<legend>Предварительная оплата</legend>';
|
||||||
echo '<div style="text-align: center;"><p class="NORMAL" style="margin: 5px 0px">';
|
echo '<div style="text-align: center;"><p class="NORMAL" style="margin: 5px 0">';
|
||||||
echo 'Аренда оплачена по: <b>'.date('h:i d.m.y', $hostel['time']).'</b> <small>('.timeOut($hostel['time']-time()).')</small></p></div>';
|
echo 'Аренда оплачена по: <b>'.date('h:i d.m.y', $hostel['time']).'</b> <small>('.timeOut($hostel['time']-time()).')</small></p></div>';
|
||||||
|
|
||||||
echo '<table align="center" class="periods"><caption style="text-align: left;">Выберите срок предоплаты.</caption>
|
echo '<table align="center" class="periods"><caption style="text-align: left;">Выберите срок предоплаты.</caption>
|
||||||
|
File diff suppressed because one or more lines are too long
@ -309,7 +309,7 @@ img.tip:hover + span.tiptext {
|
|||||||
display: block;
|
display: block;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
left: 0px;
|
left: 0;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -102,7 +102,7 @@ if (($_GET['set'] OR $_POST['set'])) {
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<SCRIPT LANGUAGE="JavaScript">
|
<SCRIPT LANGUAGE="JavaScript">
|
||||||
function AddCount(name, txt) {
|
function AddCount(name, txt) {
|
||||||
document.all("hint3").innerHTML = '<form method=post style="margin:0px; padding:0px;"><table border=0 width=100% cellspacing=1 cellpadding=0 bgcolor="#CCC3AA"><tr><td align=center><B>Купить неск. штук</td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint3();"><BIG><B>x</TD></tr><tr><td colspan=2>' +
|
document.all("hint3").innerHTML = '<form method=post style="margin:0; padding:0;"><table border=0 width=100% cellspacing=1 cellpadding=0 bgcolor="#CCC3AA"><tr><td align=center><B>Купить неск. штук</td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint3();"><BIG><B>x</TD></tr><tr><td colspan=2>' +
|
||||||
'<table border=0 width=100% cellspacing=0 cellpadding=0 bgcolor="#FFF6DD"><tr><INPUT TYPE="hidden" name="set" value="' + name + '"><td colspan=2 align=center><B><I>' + txt + '</td></tr><tr><td width=80% align=right>' +
|
'<table border=0 width=100% cellspacing=0 cellpadding=0 bgcolor="#FFF6DD"><tr><INPUT TYPE="hidden" name="set" value="' + name + '"><td colspan=2 align=center><B><I>' + txt + '</td></tr><tr><td width=80% align=right>' +
|
||||||
'Количество (шт.) <INPUT TYPE="text" NAME="count" size=4 ></td><td width=20%> <INPUT TYPE="submit" value=" »» ">' +
|
'Количество (шт.) <INPUT TYPE="text" NAME="count" size=4 ></td><td width=20%> <INPUT TYPE="submit" value=" »» ">' +
|
||||||
'</TD></TR></TABLE></td></tr></table></form>';
|
'</TD></TR></TABLE></td></tr></table></form>';
|
||||||
@ -942,7 +942,7 @@ if ($_POST['docompare']) {
|
|||||||
echo 'Добавляйте сюда цветы, из которых хотите составить букет';
|
echo 'Добавляйте сюда цветы, из которых хотите составить букет';
|
||||||
} else {
|
} else {
|
||||||
foreach ($_SESSION['flowers'] as $k => $v) {
|
foreach ($_SESSION['flowers'] as $k => $v) {
|
||||||
echo '<form method="post" style="margin:0px; padding:0px;"><div style="float: left;" align="center"><img src="i/sh/', $v[0], '" align="center"><BR><input type="hidden" name="flower" value="', $k, '"><input type="hidden" value="1" name="compare"><input type="submit" value="Убрать" name="delflower"></div></form>';
|
echo '<form method="post" style="margin:0; padding:0;"><div style="float: left;" align="center"><img src="i/sh/', $v[0], '" align="center"><BR><input type="hidden" name="flower" value="', $k, '"><input type="hidden" value="1" name="compare"><input type="submit" value="Убрать" name="delflower"></div></form>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -276,7 +276,7 @@ if($user['first'] == 1) {
|
|||||||
|
|
||||||
if($text) {
|
if($text) {
|
||||||
echo "<div class=\"main\"><img src=\"http://capitalcity.old-dark.ru/i/wm1.jpg\" style=\"float: left;\" />";
|
echo "<div class=\"main\"><img src=\"http://capitalcity.old-dark.ru/i/wm1.jpg\" style=\"float: left;\" />";
|
||||||
echo "<table><tr><td style=\"padding: 25px;\">".$text."<hr style='margin: 10px 0px;'>".$status."</td></tr></table></div>";
|
echo "<table><tr><td style=\"padding: 25px;\">".$text. "<hr style='margin: 10px 0;'>" .$status."</td></tr></table></div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -311,7 +311,7 @@ class Lottery{
|
|||||||
$res = mysql_query($sql);
|
$res = mysql_query($sql);
|
||||||
$allbillets = mysql_num_rows($res);
|
$allbillets = mysql_num_rows($res);
|
||||||
|
|
||||||
$str .= '<form method="post" style="margin:0px;"><h4> Итоги тиража номер <input type="text" value="'.$id_lottery.'" size=4 name="tiraj"> <input type=submit value="посмотреть"></h4></form>';
|
$str .= '<form method="post" style="margin:0;"><h4> Итоги тиража номер <input type="text" value="' .$id_lottery.'" size=4 name="tiraj"> <input type=submit value="посмотреть"></h4></form>';
|
||||||
if (!$date) {
|
if (!$date) {
|
||||||
return $str.'Лотерея не проводилась.';
|
return $str.'Лотерея не проводилась.';
|
||||||
}
|
}
|
||||||
@ -387,12 +387,7 @@ class Lottery{
|
|||||||
function view_buy_ticket(){
|
function view_buy_ticket(){
|
||||||
$str = '';
|
$str = '';
|
||||||
|
|
||||||
$str .= ')">30</td>
|
$str .= ';
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
Выбраные Вами номера : <input style="border: 0px solid #000; background:transparent;" type="text" readonly="true" id="value" name="value" />
|
|
||||||
\'';
|
|
||||||
|
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user