Фикс ошибок допущенных в c25335d846.

This commit is contained in:
lopar 2020-09-20 23:16:28 +03:00
parent c25335d846
commit 5b78d00f19
2 changed files with 15 additions and 5 deletions

View File

@ -1735,7 +1735,7 @@ function drawmap($map1, $players, $x, $y, $direction)
} }
} else { } else {
if ($i == 1) { if ($i == 1) {
$ret .= " />"; $ret .= "<img width=\"65\" height=\"80\" src=\"/i/dungeon/objects/$o.gif\" style=\"position: absolute; left: 0px; top: 110px\" />";
} }
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>"; if (!passablewall($map[4][$sidewall])) $ret .= "<div style=\"position:absolute;left:0;top:0;width:352px;height:240px;background-image:url($base/rsw$i$objInWall[2].gif)\"></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>"; if (!passablewall($map[2][$sidewall])) $ret .= "<div style=\"position:absolute;left:0;top:0;width:352px;height:240px;background-image:url($base/lsw$i$objInWall[2].gif)\"></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,7 +1837,12 @@ function drawmap($map1, $players, $x, $y, $direction)
$i--; $i--;
} }
$ret .= ">0</div> $ret .= "</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:0\" id=\"moveto\">0</div>
</div>"; </div>";
if ($direction == 0) { if ($direction == 0) {

View File

@ -387,7 +387,12 @@ class Lottery{
function view_buy_ticket(){ function view_buy_ticket(){
$str = ''; $str = '';
$str .= '; $str .= ')">30</td>
</tr>
</table>
Выбраные Вами номера : <input style="border: 0; background:transparent;" readonly id="value" name="value" />
\'';
return $str; return $str;
} }