새 병종 이미지 반영. 전콘

병종 이미지가 64px보다 크더라도 64px에 맞춰 보이도록 변경
This commit is contained in:
2018-04-14 04:00:38 +09:00
parent 71af68f2a5
commit 10e7e65acd
11 changed files with 37 additions and 37 deletions
+4 -4
View File
@@ -2782,7 +2782,7 @@ function generalInfo($connect, $no, $skin) {
$general[mode] = unfont($general[mode]);
}
$weapImage = "{$images}/weap{$general[crewtype]}.jpg";
$weapImage = "{$images}/weap{$general[crewtype]}.png";
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; };
$imageTemp = GetImageURL($general[imgsvr]);
echo "<table width=498 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg2>
@@ -2810,7 +2810,7 @@ function generalInfo($connect, $no, $skin) {
<td align=center colspan=2><font size=1>$bookname</font></td>
</tr>
<tr>
<td align=center height=64 rowspan=3"; echo $skin>0?" background={$weapImage}":""; echo ">&nbsp;</td>
<td align=center height=64 rowspan=3"; echo $skin>0?" style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;'":""; echo ">&nbsp;</td>
<td align=center id=bg1><b>자금</b></td>
<td align=center colspan=2>$general[gold]</td>
<td align=center id=bg1><b>군량</b></td>
@@ -3572,7 +3572,7 @@ function ShowMsg($skin, $bgcolor, $type, $picture, $imgsvr, $me, $mycolor, $you,
} else {
$imageTemp = GetImageURL($imgsvr);
$naming = "[<font color=$mycolor>$me</font>{$sign}<font color=$youcolor>$you</font>]";
$picture = "<img src={$imageTemp}/{$picture}>";
$picture = "<img width='64' height='64' src={$imageTemp}/{$picture}>";
}
if($site != "") {
$form = "<form name=scout method=post action={$site}>";
@@ -3621,7 +3621,7 @@ function msgprint($connect, $msg, $name, $picture, $imgsvr, $when, $num, $type)
<td width=148 align=center id=bg1>$when</td>
</tr>
<tr>
<td width=64 height=64 valign=top><img src={$imageTemp}/{$picture} width=64 height=64 border=0></td>
<td width=64 height=64 valign=top><img width='64' height='64' src={$imageTemp}/{$picture} border=0></td>
<td width=932 colspan=2>$message[1]</td>
</tr>";
for($i=0; $i < $count; $i++) {