새 병종 이미지 반영. 전콘
병종 이미지가 64px보다 크더라도 64px에 맞춰 보이도록 변경
This commit is contained in:
@@ -132,7 +132,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>";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -210,7 +210,7 @@ for($i=0; $i < 4; $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>";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -251,7 +251,7 @@ for($i=0; $i < 4; $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>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -154,7 +154,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><img 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>
|
||||
|
||||
@@ -65,7 +65,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>";
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -283,7 +283,7 @@ for($j=0; $j < $gencount; $j++) {
|
||||
$imageTemp = GetImageURL($general[imgsvr]);
|
||||
echo "
|
||||
<tr>
|
||||
<td align=center"; echo $me[skin]==2?" background={$imageTemp}/{$general[picture]}":""; echo " height=64></td>
|
||||
<td align=center"; echo $me[skin]==2?" style='background:no-repeat center url(\"{$imageTemp}/{$general['picture']}\");background-size:64px;'":""; echo " height=64></td>
|
||||
<td align=center>$general[name]</td>
|
||||
<td align=center>$leader</td>
|
||||
<td align=center>$power</td>
|
||||
|
||||
@@ -82,10 +82,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>
|
||||
";
|
||||
|
||||
@@ -145,7 +145,7 @@ for($j=0; $j < $gencount; $j++) {
|
||||
$imageTemp = GetImageURL($general[imgsvr]);
|
||||
echo "
|
||||
<tr>
|
||||
<td align=center"; echo $me[skin]>0?" background={$imageTemp}/{$general[picture]}":""; echo " height=64></td>
|
||||
<td align=center"; echo $me[skin]>0?" style='background:no-repeat center url(\"{$imageTemp}/{$general['picture']}\");background-size:64px;'":""; echo " height=64></td>
|
||||
<td align=center>$name</td>
|
||||
<td align=center>"; echo getLevel($general[level], $nation[level]); echo "</td>
|
||||
<td align=center>".getDed($general[dedication])."</td>
|
||||
|
||||
@@ -78,7 +78,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>
|
||||
@@ -89,7 +89,7 @@ for($i=0; $i < $troopcount; $i++) {
|
||||
<tr>
|
||||
<td align=center rowspan=2> </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>";
|
||||
|
||||
|
||||
+4
-4
@@ -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 "> </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 "> </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++) {
|
||||
|
||||
+1
-1
@@ -236,7 +236,7 @@ if($admin[img] >= 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>사용
|
||||
|
||||
+20
-20
@@ -399,11 +399,11 @@ function calc(cost, formnum) {
|
||||
$ric = round($ric);
|
||||
$cst = round($cst);
|
||||
$l = $color[$i];
|
||||
$weapImage = "{$images}/weap{$i}.jpg";
|
||||
$weapImage = "{$images}/weap{$i}.png";
|
||||
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
|
||||
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>".getTypename($i)."</td>
|
||||
<td align=center>{$att}</td>
|
||||
<td align=center>{$def}</td>
|
||||
@@ -449,11 +449,11 @@ function calc(cost, formnum) {
|
||||
$ric = round($ric);
|
||||
$cst = round($cst);
|
||||
$l = $color[$i];
|
||||
$weapImage = "{$images}/weap{$i}.jpg";
|
||||
$weapImage = "{$images}/weap{$i}.png";
|
||||
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
|
||||
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>".getTypename($i)."</td>
|
||||
<td align=center>{$att}</td>
|
||||
<td align=center>{$def}</td>
|
||||
@@ -499,11 +499,11 @@ function calc(cost, formnum) {
|
||||
$ric = round($ric);
|
||||
$cst = round($cst);
|
||||
$l = $color[$i];
|
||||
$weapImage = "{$images}/weap{$i}.jpg";
|
||||
$weapImage = "{$images}/weap{$i}.png";
|
||||
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
|
||||
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>".getTypename($i)."</td>
|
||||
<td align=center>{$att}</td>
|
||||
<td align=center>{$def}</td>
|
||||
@@ -549,11 +549,11 @@ function calc(cost, formnum) {
|
||||
$ric = round($ric);
|
||||
$cst = round($cst);
|
||||
$l = $color[$i];
|
||||
$weapImage = "{$images}/weap{$i}.jpg";
|
||||
$weapImage = "{$images}/weap{$i}.png";
|
||||
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
|
||||
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>".getTypename($i)."</td>
|
||||
<td align=center>{$att}</td>
|
||||
<td align=center>{$def}</td>
|
||||
@@ -599,11 +599,11 @@ function calc(cost, formnum) {
|
||||
$ric = round($ric);
|
||||
$cst = round($cst);
|
||||
$l = $color[$i];
|
||||
$weapImage = "{$images}/weap{$i}.jpg";
|
||||
$weapImage = "{$images}/weap{$i}.png";
|
||||
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
|
||||
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>".getTypename($i)."</td>
|
||||
<td align=center>{$att}</td>
|
||||
<td align=center>{$def}</td>
|
||||
@@ -833,11 +833,11 @@ function calc(cost, formnum) {
|
||||
$ric = round($ric);
|
||||
$cst = round($cst);
|
||||
$l = $color[$i];
|
||||
$weapImage = "{$images}/weap{$i}.jpg";
|
||||
$weapImage = "{$images}/weap{$i}.png";
|
||||
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
|
||||
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>".getTypename($i)."</td>
|
||||
<td align=center>{$att}</td>
|
||||
<td align=center>{$def}</td>
|
||||
@@ -883,11 +883,11 @@ function calc(cost, formnum) {
|
||||
$ric = round($ric);
|
||||
$cst = round($cst);
|
||||
$l = $color[$i];
|
||||
$weapImage = "{$images}/weap{$i}.jpg";
|
||||
$weapImage = "{$images}/weap{$i}.png";
|
||||
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
|
||||
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>".getTypename($i)."</td>
|
||||
<td align=center>{$att}</td>
|
||||
<td align=center>{$def}</td>
|
||||
@@ -933,11 +933,11 @@ function calc(cost, formnum) {
|
||||
$ric = round($ric);
|
||||
$cst = round($cst);
|
||||
$l = $color[$i];
|
||||
$weapImage = "{$images}/weap{$i}.jpg";
|
||||
$weapImage = "{$images}/weap{$i}.png";
|
||||
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
|
||||
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>".getTypename($i)."</td>
|
||||
<td align=center>{$att}</td>
|
||||
<td align=center>{$def}</td>
|
||||
@@ -983,11 +983,11 @@ function calc(cost, formnum) {
|
||||
$ric = round($ric);
|
||||
$cst = round($cst);
|
||||
$l = $color[$i];
|
||||
$weapImage = "{$images}/weap{$i}.jpg";
|
||||
$weapImage = "{$images}/weap{$i}.png";
|
||||
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
|
||||
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>".getTypename($i)."</td>
|
||||
<td align=center>{$att}</td>
|
||||
<td align=center>{$def}</td>
|
||||
@@ -1033,11 +1033,11 @@ function calc(cost, formnum) {
|
||||
$ric = round($ric);
|
||||
$cst = round($cst);
|
||||
$l = $color[$i];
|
||||
$weapImage = "{$images}/weap{$i}.jpg";
|
||||
$weapImage = "{$images}/weap{$i}.png";
|
||||
if($admin[img] < 2) { $weapImage = "{$image}/default.jpg"; }
|
||||
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>".getTypename($i)."</td>
|
||||
<td align=center>{$att}</td>
|
||||
<td align=center>{$def}</td>
|
||||
|
||||
@@ -92,7 +92,7 @@ if($admin[img] >= 3) {
|
||||
?>
|
||||
<tr>
|
||||
<td width=498 align=right rowspan=2 height=64 id=bg1>장수</td>
|
||||
<td width=498><img src=<?=$image;?>/1001.jpg border=0 name=picture width=64 height=64></td>
|
||||
<td width=498><img width='64' height='64' src=<?=$image;?>/1001.jpg border=0 name=picture></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user