새 병종 이미지 적용
- 64px 이미지 태그들을 width="64px"가 아니라 width="64"로 변경
This commit is contained in:
@@ -166,7 +166,7 @@ for ($i=0; $i < 21; $i++) {
|
||||
echo "<td align=center> </td>";
|
||||
} else {
|
||||
$imageTemp = GetImageURL($gen['imgsvr']);
|
||||
echo "<td align=center><img src={$imageTemp}/{$pic[$k]}></img></td>";
|
||||
echo "<td align=center><img width='64' height='64' src={$imageTemp}/{$pic[$k]}></img></td>";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -267,7 +267,7 @@ for ($i=0; $i < 4; $i++) {
|
||||
echo "<td align=center> </td>";
|
||||
} else {
|
||||
$imageTemp = GetImageURL($gen['imgsvr']??0);
|
||||
echo "<td align=center><img src={$imageTemp}/{$pic[$k]}></img></td>";
|
||||
echo "<td align=center> width='64' height='64' src={$imageTemp}/{$pic[$k]}></img></td>";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -319,7 +319,7 @@ for ($i=0; $i < 4; $i++) {
|
||||
echo "<td align=center> </td>";
|
||||
} else {
|
||||
$imageTemp = GetImageURL($gen['imgsvr']??0);
|
||||
echo "<td align=center><img src={$imageTemp}/{$pic[$k]}></img></td>";
|
||||
echo "<td align=center><img width='64' height='64' src={$imageTemp}/{$pic[$k]}></img></td>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -164,7 +164,7 @@ for ($j=0; $j < $gencount; $j++) {
|
||||
$imageTemp = GetImageURL($general['imgsvr']);
|
||||
echo "
|
||||
<tr>
|
||||
<td align=center><img src={$imageTemp}/{$general['picture']}></img></td>
|
||||
<td align=center> width='64' height='64' src={$imageTemp}/{$general['picture']}></img></td>
|
||||
<td align=center>$name</td>
|
||||
<td align=center>{$general['age']}세</td>
|
||||
<td align=center>".getGenChar($general['personal'])."</td>
|
||||
|
||||
@@ -82,7 +82,7 @@ for ($i=0; $i < 21; $i++) {
|
||||
echo "<td align=center> </td>";
|
||||
} else {
|
||||
$imageTemp = GetImageURL($gen['imgsvr']);
|
||||
echo "<td align=center><img src={$imageTemp}/{$pic[$k]}></img></td>";
|
||||
echo "<td align=center><img width='64' height='64' src={$imageTemp}/{$pic[$k]}></img></td>";
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -86,10 +86,10 @@ for($i=12; $i >= $lv; $i-=2) {
|
||||
echo "
|
||||
<tr>
|
||||
<td width=98 align=center id=bg1><font size=4>".getLevel($i1, $nation['level'])."</font></td>
|
||||
<td width=64 height=64 background={$imageTemp1}/{$level[$i1]['picture']}> </td>
|
||||
<td width=64 height=64 style='background:no-repeat center url(\"{$imageTemp1}/{$level[$i1]['picture']}\");background-size:64px;'></td>
|
||||
<td width=332><font size=4>";echo $level[$i1]['name']==''?"-":$level[$i1]['name']; echo " ({$level[$i1]['belong']}년)</font></td>
|
||||
<td width=98 align=center id=bg1><font size=4>".getLevel($i2, $nation['level'])."</font></td>
|
||||
<td width=64 height=64 background={$imageTemp2}/{$level[$i2]['picture']}> </td>
|
||||
<td width=64 height=64 style='background:no-repeat center url(\"{$imageTemp2}/{$level[$i2]['picture']}\");background-size:64px;'></td>
|
||||
<td width=332><font size=4>";echo $level[$i2]['name']==''?"-":$level[$i2]['name']; echo " ({$level[$i2]['belong']}년)</font></td>
|
||||
</tr>
|
||||
";
|
||||
|
||||
+1
-1
@@ -168,7 +168,7 @@ for($j=0; $j < $gencount; $j++) {
|
||||
$imageTemp = GetImageURL($general['imgsvr']);
|
||||
echo "
|
||||
<tr>
|
||||
<td align=center background={$imageTemp}/{$general['picture']} height=64></td>
|
||||
<td align=center style='background:no-repeat center url(\"{$imageTemp}/{$general['picture']}\");background-size:64px;' height=64></td>
|
||||
<td align=center>$name</td>
|
||||
<td align=center>"; echo getLevel($general['level'], $nationLevel); echo "</td>
|
||||
<td align=center>".getDed($general['dedication'])."</td>
|
||||
|
||||
+1
-1
@@ -82,7 +82,7 @@ for($i=0; $i < $troopcount; $i++) {
|
||||
<tr>
|
||||
<td align=center rowspan=2><input "; echo $i==0?"checked ":""; echo "type=radio name=troop value='{$troop['troop']}'></td>
|
||||
<td align=center >{$troop['name']}<br>【 $cityname 】</td>
|
||||
<td height=64 background={$imageTemp}/{$picture}> </td>
|
||||
<td height=64 style='background:no-repeat center url(\"{$imageTemp}/{$picture}\");background-size:64px;'> </td>
|
||||
<td rowspan=2 width=662>$genlist</td>
|
||||
<td rowspan=2>$turn</td>
|
||||
</tr>
|
||||
|
||||
+3
-3
@@ -858,7 +858,7 @@ function generalInfo($no) {
|
||||
elseif($general['mode'] == 1) { $general['mode'] = "<font color=limegreen>수비 함(훈사60)</font>"; }
|
||||
else { $general['mode'] = "<font color=red>수비 안함</font>"; }
|
||||
|
||||
$weapImage = ServConfig::$gameImagePath."/weap{$general['crewtype']}.jpg";
|
||||
$weapImage = ServConfig::$gameImagePath."/weap{$general['crewtype']}.png";
|
||||
if($admin['show_img_level'] < 2) { $weapImage = ServConfig::$sharedIconPath."/default.jpg"; };
|
||||
$imageTemp = GetImageURL($general['imgsvr']);
|
||||
echo "<table width=498 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13px;word-break:break-all; id=bg2>
|
||||
@@ -886,7 +886,7 @@ function generalInfo($no) {
|
||||
<td align=center colspan=2><font size=1>$bookname</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center height=64 rowspan=3 background={$weapImage}> </td>
|
||||
<td align=center height=64 rowspan=3 style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;'></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>
|
||||
@@ -1156,7 +1156,7 @@ function msgprint($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++) {
|
||||
|
||||
@@ -365,7 +365,7 @@ function ShowMsg($bgcolor, $type, $picture, $imgsvr, $me, $mycolor, $you, $youco
|
||||
}
|
||||
$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}>";
|
||||
$form2 = "</form>";
|
||||
|
||||
+1
-1
@@ -98,7 +98,7 @@ if ($admin['show_img_level'] >= 1 && $member['grade'] >= 1 && $member['picture']
|
||||
<tr>
|
||||
<td align=right id=bg1>전콘 사용 여부</td>
|
||||
<td width=64 height=64>
|
||||
<img src='{$imageTemp}/{$member['picture']}' border=0>
|
||||
<img width='64' height='64' src='{$imageTemp}/{$member['picture']}' border=0>
|
||||
</td>
|
||||
<td>
|
||||
<input type=checkbox name=pic value=1 checked>사용
|
||||
|
||||
+4
-4
@@ -363,7 +363,7 @@ function calc(cost, formnum) {
|
||||
$defence = $unit->defence + $abil;
|
||||
$speed = $unit->speed;
|
||||
$avoid = $unit->avoid;
|
||||
$weapImage = ServConfig::$gameImagePath."/weap{$i}.jpg";
|
||||
$weapImage = ServConfig::$gameImagePath."/weap{$i}.png";
|
||||
if($admin['show_img_level'] < 2) { $weapImage = ServConfig::$sharedIconPath."/default.jpg"; }
|
||||
|
||||
$baseRiceShort = round($baseRice, 1);
|
||||
@@ -373,7 +373,7 @@ function calc(cost, formnum) {
|
||||
|
||||
echo "
|
||||
<tr height=64 bgcolor=$l>
|
||||
<td background={$weapImage} align=center></td>
|
||||
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
|
||||
<td align=center>{$name}</td>
|
||||
<td align=center>{$attack}</td>
|
||||
<td align=center>{$defence}</td>
|
||||
@@ -573,7 +573,7 @@ function calc(cost, formnum) {
|
||||
$defence = $unit->defence + $abil;
|
||||
$speed = $unit->speed;
|
||||
$avoid = $unit->avoid;
|
||||
$weapImage = ServConfig::$gameImagePath."/weap{$i}.jpg";
|
||||
$weapImage = ServConfig::$gameImagePath."/weap{$i}.png";
|
||||
if($admin['show_img_level'] < 2) { $weapImage = ServConfig::$sharedIconPath."/default.jpg"; }
|
||||
|
||||
$baseRiceShort = round($baseRice, 1);
|
||||
@@ -583,7 +583,7 @@ function calc(cost, formnum) {
|
||||
|
||||
echo "
|
||||
<tr height=64 bgcolor=$l>
|
||||
<td background={$weapImage} align=center></td>
|
||||
<td style='background:no-repeat center url(\"{$weapImage}\");background-size:64px;background-color:#222222;' align=center></td>
|
||||
<td align=center>{$name}</td>
|
||||
<td align=center>{$attack}</td>
|
||||
<td align=center>{$defence}</td>
|
||||
|
||||
@@ -20,11 +20,11 @@
|
||||
data-id="<?=$id?>"
|
||||
>
|
||||
<tbody><tr>
|
||||
<td width="64px" height="64px">
|
||||
<td width="64" height="64">
|
||||
<?php if ($src['iconPath'] !== null): ?>
|
||||
<img src="<?=$this->e(urlencode($src['iconPath']))?>">
|
||||
<img width='64' height='64' src="<?=$this->e(urlencode($src['iconPath']))?>">
|
||||
<?php else: ?>
|
||||
<img src="<?=$this->imagePath?>/default.jpg">
|
||||
<img width='64' height='64' src="<?=$this->imagePath?>/default.jpg">
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td width="434px" valign="top">
|
||||
|
||||
@@ -96,8 +96,8 @@
|
||||
<tr>
|
||||
<th class="bg1">전용<br>아이콘</th>
|
||||
<td colspan="2" style="height:64px;">
|
||||
<img width="64px" height="64px" id="slot_icon">
|
||||
<img width="64px" height="64px" id="slot_new_icon">
|
||||
<img width="64" height="64" id="slot_icon">
|
||||
<img width="64" height="64" id="slot_new_icon">
|
||||
</td>
|
||||
<td colspan="3" style="position:relative;" >
|
||||
<form name="change_icon_form" id="change_icon_form" method="post" enctype="multipart/form-data">
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ var userFrame = '\
|
||||
<td class="small"><%emailFunc(email)%><br>(<%authType%>)</td>\
|
||||
<td><%userGradeText%><p class="small hide_text user_grade_<%userGrade%>" style="margin:0;"><%shortDate(blockUntil)%></p></td>\
|
||||
<td><%nickname%></td>\
|
||||
<td><img src="<%icon%>" width="64px" height="64px"></td>\
|
||||
<td><img src="<%icon%>" width="64" height="64"></td>\
|
||||
<td class="small"><%slotGeneralList%></td>\
|
||||
<td class="small"><%shortDate(joinDate)%></td>\
|
||||
<td class="small"><%shortDate(loginDate)%></td>\
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
>
|
||||
<div class="msg_icon">
|
||||
<%if(src.icon) { %>
|
||||
<img src="<%encodeURI(src.icon)%>">
|
||||
<img width='64' height='64' src="<%encodeURI(src.icon)%>">
|
||||
<%} else {%>
|
||||
<img src="<%encodeURI(defaultIcon)%>">
|
||||
<img width='64' height='64' src="<%encodeURI(defaultIcon)%>">
|
||||
<%}%>
|
||||
</div>
|
||||
<div class="msg_body">
|
||||
|
||||
Reference in New Issue
Block a user