Commit 6e5bc04e authored by hisuinohoshi's avatar hisuinohoshi

fix

fix:{system.func.php}
update:{itemplace.func.php,help.php,npcinfohelp.htm}

修复:
addnpc()一次性召唤复数个NPC时数据丢失、news显示错误的问题;

变化:
调整了历史优胜与排行榜的表头宽度;
修改了NPC帮助文件的生成逻辑,不再需要3个不同的文件来显示addnpc和evonpc信息了;
parent f13552d3
...@@ -27,26 +27,33 @@ foreach($enpcinfo as $ekey => $enpcs) ...@@ -27,26 +27,33 @@ foreach($enpcinfo as $ekey => $enpcs)
{ {
foreach($enpcs as $sname => $enpc) foreach($enpcs as $sname => $enpc)
{ {
$npcinfo[$ekey]['sub'][$sname] = $enpc; $npcinfo[$ekey]['esub'][$sname] = $enpc;
}
}
foreach($anpcinfo as $akey => $anpcs)
{
foreach($anpcs['sub'] as $aid => $anpc)
{
$npcinfo[$akey]['asub'][$aid] = $anpc;
} }
} }
$npcinfo = get_npc_helpinfo($npcinfo); $npcinfo = get_npc_helpinfo($npcinfo);
$anpcinfo = get_npc_helpinfo($anpcinfo); //print_r($npcinfo[14]['esub']);
$ty1[1]=1; $ty1[3]=88; $ty1[1]=1; $ty1[2]=88;
$ty2[1]=5; $ty2[2]=6; $ty2[1]=5; $ty2[2]=6;
$ty2a[1]=19; #真红蓝 $ty2a[1]=Array(19,'asub'); #真红蓝
$ty3[1]=11; $ty3[1]=11;
$ty4[1]=90; $ty4[2]=92; $ty4[1]=90; $ty4[2]=92;
$ty5[1]=2; $ty5[1]=2;
$ty6[1]=14; $ty6[2]=4; $ty6[1]=14; $ty6[2]=4;
$ty6e[1]=14; #女主第二形态情报 $ty6e[1]=Array(14,'esub'); #女主第二形态情报
$ty7[1]=13; $ty7[1]=13;
$ty8[1]=15; $ty8[1]=15;
$ty9[1]=22; $ty9[1]=22;
$ty10[1]=21; $ty10[1]=21;
$ty11[1]=89; $ty11[1]=89;
$ty11e[1]=89; #电掣NPC第二形态情报 $ty11e[1]=Array(89,'esub'); #电掣NPC第二形态情报
$ty12[1]=24; $ty12[1]=24;
if(filemtime($vnmixfile) > filemtime($writefile) ||filemtime($mixfile) > filemtime($writefile) || filemtime($shopfile) > filemtime($writefile) || filemtime($mapitemfile) > filemtime($writefile) || filemtime($synfile) > filemtime($writefile) || filemtime($ovlfile) > filemtime($writefile) || filemtime($presentfile) > filemtime($writefile) || filemtime($boxfile) > filemtime($writefile)){ if(filemtime($vnmixfile) > filemtime($writefile) ||filemtime($mixfile) > filemtime($writefile) || filemtime($shopfile) > filemtime($writefile) || filemtime($mapitemfile) > filemtime($writefile) || filemtime($synfile) > filemtime($writefile) || filemtime($ovlfile) > filemtime($writefile) || filemtime($presentfile) > filemtime($writefile) || filemtime($boxfile) > filemtime($writefile)){
......
...@@ -8,132 +8,136 @@ function get_npc_helpinfo($nlist) ...@@ -8,132 +8,136 @@ function get_npc_helpinfo($nlist)
global $plsinfo,$hplsinfo,$gamecfg,$iteminfo,$clubinfo; global $plsinfo,$hplsinfo,$gamecfg,$iteminfo,$clubinfo;
//登记非功能性地点信息时合并隐藏地点 //登记非功能性地点信息时合并隐藏地点
foreach($hplsinfo as $hgroup=>$hpls) $plsinfo += $hpls; foreach($hplsinfo as $hgroup=>$hpls) $plsinfo += $hpls;
$tnlist = $nlist; $tnlist = $nlist;
foreach ($tnlist as $i => $npcs) foreach ($tnlist as $i => $npcs)
{ {
if(!empty($npcs)) if(!empty($npcs))
{ {
foreach($npcs['sub'] as $n => $npc) foreach(Array('sub','asub','esub') as $tsub)
{ {
$snpc = array_merge($npcs,$npc); foreach($npcs[$tsub] as $n => $npc)
unset($snpc['sub']);
foreach(Array('p','k','g','c','d','f') as $val)
{ {
if(isset($snpc['w'.$val])) $snpc = array_merge($npcs,$npc);
unset($snpc['sub']);unset($snpc['asub']);unset($snpc['esub']);
foreach(Array('p','k','g','c','d','f') as $val)
{ {
if(isset($snpc['skill'])) if(isset($snpc['w'.$val]))
{
$snpc['skill'] .= '(?)';
}
else
{ {
$snpc['skill'] = '不定'; if(isset($snpc['skill']))
{
$snpc['skill'] .= '(?)';
}
else
{
$snpc['skill'] = '不定';
}
break;
} }
break;
} }
} if($snpc['gd'] == 'm' || $snpc['gd'] == 'f')
if($snpc['gd'] == 'm' || $snpc['gd'] == 'f') {
{ $snpc['gd'] = $snpc['gd']=='m' ? '男' : '女';
$snpc['gd'] = $snpc['gd']=='m' ? '男' : '女'; }
} else
else {
{ $snpc['gd'] = '未知';
$snpc['gd'] = '未知'; }
} $snpc['pls'] = $snpc['pls']==99 ? '随机' : $plsinfo[$snpc['pls']];
$snpc['pls'] = $snpc['pls']==99 ? '随机' : $plsinfo[$snpc['pls']]; $snpc['club'] = $snpc['club']==99 ? '第一形态' : $clubinfo[$snpc['club']];
$snpc['club'] = $snpc['club']==99 ? '第一形态' : $clubinfo[$snpc['club']]; //合并装备名
//合并装备名 foreach(Array('wep','arb','arh','ara','arf','art') as $t1)
foreach(Array('wep','arb','arh','ara','arf','art') as $t1)
{
foreach(Array('','k','e','s','sk') as $t2)
{ {
if(isset($snpc[$t1.$t2])) foreach(Array('','k','e','s','sk') as $t2)
{ {
//为装备名添加tooltip效果 if(isset($snpc[$t1.$t2]))
if($t2 == '')
{
$snpc[$t1.$t2] = parse_itm_desc($snpc[$t1.$t2],'m');
}
//为装备类别添加tooltip效果
elseif($t2 == 'k')
{ {
foreach($iteminfo as $info_key => $info_value) //为装备名添加tooltip效果
if($t2 == '')
{ {
if(strpos($snpc[$t1.$t2],$info_key)===0) $snpc[$t1.$t2] = parse_itm_desc($snpc[$t1.$t2],'m');
{
$snpc[$t1.$t2] = parse_itm_desc($info_key,'k');
break;
}
} }
} //为装备类别添加tooltip效果
//为装备属性添加tooltip效果 elseif($t2 == 'k')
elseif($t2 == 'sk')
{
$tmpsk = get_itmsk_array($snpc[$t1.$t2]);
foreach($tmpsk as $sk)
{ {
if(!empty($snpc[$t1.$t2.'_words'])) foreach($iteminfo as $info_key => $info_value)
{ {
$snpc[$t1.$t2.'_words'] .= "+".parse_itm_desc($sk,'sk'); if(strpos($snpc[$t1.$t2],$info_key)===0)
{
$snpc[$t1.$t2] = parse_itm_desc($info_key,'k');
break;
}
} }
else }
//为装备属性添加tooltip效果
elseif($t2 == 'sk')
{
$tmpsk = get_itmsk_array($snpc[$t1.$t2]);
foreach($tmpsk as $sk)
{ {
$snpc[$t1.$t2.'_words'] = parse_itm_desc($sk,'sk'); if(!empty($snpc[$t1.$t2.'_words']))
{
$snpc[$t1.$t2.'_words'] .= "+".parse_itm_desc($sk,'sk');
}
else
{
$snpc[$t1.$t2.'_words'] = parse_itm_desc($sk,'sk');
}
} }
} }
} }
} else
else {
{ $snpc[$t1.$t2] = '-';
$snpc[$t1.$t2] = '-'; }
} }
} }
} //合并道具名
//合并道具名 for($ni=0;$ni<=6;$ni++)
for($ni=0;$ni<=6;$ni++)
{
foreach(Array('','k','e','s','sk') as $t2)
{ {
if(isset($snpc['itm'.$t2.$ni])) foreach(Array('','k','e','s','sk') as $t2)
{ {
//为装备名添加tooltip效果 if(isset($snpc['itm'.$t2.$ni]))
if($t2 == '')
{ {
$snpc['itm'.$t2.$ni] = parse_itm_desc($snpc['itm'.$t2.$ni],'m'); //为装备名添加tooltip效果
} if($t2 == '')
//为装备类别添加tooltip效果
elseif($t2 == 'k')
{
foreach($iteminfo as $info_key => $info_value)
{ {
if(strpos($snpc['itm'.$t2.$ni],$info_key)===0) $snpc['itm'.$t2.$ni] = parse_itm_desc($snpc['itm'.$t2.$ni],'m');
{
$snpc['itm'.$t2.$ni] = parse_itm_desc($info_key,'k');
break;
}
} }
} //为装备类别添加tooltip效果
//为装备属性添加tooltip效果 elseif($t2 == 'k')
elseif($t2 == 'sk')
{
$tmpsk = get_itmsk_array($snpc['itm'.$t2.$ni]);
foreach($tmpsk as $sk)
{ {
if(!empty($snpc['itm'.$t2.$ni.'_words'])) foreach($iteminfo as $info_key => $info_value)
{ {
$snpc['itm'.$t2.$ni.'_words'] .= "+".parse_itm_desc($sk,'sk'); if(strpos($snpc['itm'.$t2.$ni],$info_key)===0)
{
$snpc['itm'.$t2.$ni] = parse_itm_desc($info_key,'k');
break;
}
} }
else }
//为装备属性添加tooltip效果
elseif($t2 == 'sk')
{
$tmpsk = get_itmsk_array($snpc['itm'.$t2.$ni]);
foreach($tmpsk as $sk)
{ {
$snpc['itm'.$t2.$ni.'_words'] = parse_itm_desc($sk,'sk'); if(!empty($snpc['itm'.$t2.$ni.'_words']))
{
$snpc['itm'.$t2.$ni.'_words'] .= "+".parse_itm_desc($sk,'sk');
}
else
{
$snpc['itm'.$t2.$ni.'_words'] = parse_itm_desc($sk,'sk');
}
} }
} }
} }
} }
} }
$tnlist[$i][$tsub][$n] = $snpc;
unset($snpc);
} }
$tnlist[$i]['sub'][$n] = $snpc;
unset($snpc);
} }
} }
} }
......
...@@ -4,7 +4,7 @@ if(!defined('IN_GAME')) { ...@@ -4,7 +4,7 @@ if(!defined('IN_GAME')) {
exit('Access Denied'); exit('Access Denied');
} }
require_once './include/game/titles.func.php'; include_once GAME_ROOT.'./include/game/titles.func.php';
function nparse_news($start = 0, $range = 0 ){//$type = '') { function nparse_news($start = 0, $range = 0 ){//$type = '') {
global $week,$nowep,$db,$tablepre,$lwinfo,$plsinfo,$hplsinfo,$wthinfo,$typeinfo,$exdmginf,$newslimit; global $week,$nowep,$db,$tablepre,$lwinfo,$plsinfo,$hplsinfo,$wthinfo,$typeinfo,$exdmginf,$newslimit;
...@@ -258,7 +258,7 @@ function nparse_news($start = 0, $range = 0 ){//$type = '') { ...@@ -258,7 +258,7 @@ function nparse_news($start = 0, $range = 0 ){//$type = '') {
} elseif($news == 'addnpc') { } elseif($news == 'addnpc') {
$newsinfo .= "<li>{$hour}{$min}{$sec}秒,<span class=\"yellow\">{$a}乱入战场!</span><br>\n"; $newsinfo .= "<li>{$hour}{$min}{$sec}秒,<span class=\"yellow\">{$a}乱入战场!</span><br>\n";
} elseif($news == 'addnpcs') { } elseif($news == 'addnpcs') {
$newsinfo .= "<li>{$hour}{$min}{$sec}秒,<span class=\"yellow\">{$b}{$a}加入战斗!</span><br>\n"; $newsinfo .= "<li>{$hour}{$min}{$sec}秒,<span class=\"yellow\">{$b}{$a}乱入战场!</span><br>\n";
} elseif($news == 'secphase') { } elseif($news == 'secphase') {
$newsinfo .= "<li>{$hour}{$min}{$sec}秒,<span class=\"lime\">{$a}使用了挑战者之证,让3名幻影执行官加入了战场!打倒他们去获得ID卡来解除游戏吧!</span><br>\n"; $newsinfo .= "<li>{$hour}{$min}{$sec}秒,<span class=\"lime\">{$a}使用了挑战者之证,让3名幻影执行官加入了战场!打倒他们去获得ID卡来解除游戏吧!</span><br>\n";
} elseif($news == 'thiphase') { } elseif($news == 'thiphase') {
......
...@@ -392,6 +392,7 @@ function duel($time = 0,$keyitm = ''){ ...@@ -392,6 +392,7 @@ function duel($time = 0,$keyitm = ''){
$time = $time == 0 ? $now : $time; $time = $time == 0 ? $now : $time;
$gamestate = 50; $gamestate = 50;
save_gameinfo(); save_gameinfo();
include_once GAME_ROOT.'./include/game/titles.func.php';
$nickinfo = get_title_desc($nick); $nickinfo = get_title_desc($nick);
addnews($time,'duelkey',$nickinfo.' '.$name,$keyitm); addnews($time,'duelkey',$nickinfo.' '.$name,$keyitm);
addnews($time,'duel'); addnews($time,'duel');
...@@ -565,14 +566,16 @@ function addnpc($type,$sub,$num,$time = 0,$clbstatus=NULL,$aitem=NULL,$apls=NULL ...@@ -565,14 +566,16 @@ function addnpc($type,$sub,$num,$time = 0,$clbstatus=NULL,$aitem=NULL,$apls=NULL
if(empty($anpcinfo) || empty($npcinit)){ if(empty($anpcinfo) || empty($npcinit)){
include_once config('addnpc',$gamecfg); include_once config('addnpc',$gamecfg);
} }
$npc=array_merge($npcinit,$anpcinfo[$type]); $anpc_namelist = Array();
//$npcwordlist = Array(); $anpc = array_merge($npcinit,$anpcinfo[$type]);
if(!$npc){ $anpc = array_merge($anpc,$anpc['sub'][$sub]);
if(!$anpc){
//echo 'no npc.'; //echo 'no npc.';
return; return;
} else { } else {
for($i=0;$i< $num;$i++){ for($i=0;$i< $num;$i++)
$npc = array_merge($npc,$npc['sub'][$sub]); {
$npc = $anpc;
$npc['type'] = $type; $npc['type'] = $type;
$npc['endtime'] = $time; $npc['endtime'] = $time;
$npc['exp'] = round(($npc['lvl']*2+1)*$GLOBALS['baseexp']); $npc['exp'] = round(($npc['lvl']*2+1)*$GLOBALS['baseexp']);
...@@ -623,21 +626,30 @@ function addnpc($type,$sub,$num,$time = 0,$clbstatus=NULL,$aitem=NULL,$apls=NULL ...@@ -623,21 +626,30 @@ function addnpc($type,$sub,$num,$time = 0,$clbstatus=NULL,$aitem=NULL,$apls=NULL
$summon_ids[] = $db->insert_id(); $summon_ids[] = $db->insert_id();
//获取新生成npc的pid。不知道高并发时会不会出BUG……呃……出BUG了再看看?但是出BUG了我也不会修啊! //获取新生成npc的pid。不知道高并发时会不会出BUG……呃……出BUG了再看看?但是出BUG了我也不会修啊!
$newsname=$typeinfo[$type].' '.$npc['name']; $newsname=$typeinfo[$type].' '.$npc['name'];
addnews($now, 'addnpc', $newsname); if($num > 1)
{
$anpc_namelist[$newsname] += 1;
}
else
{
addnews($now, 'addnpc', $newsname);
}
unset($npc);
} }
} }
/*if($num > $npc['num']){ if($num > 1)
//if($num > 1){ {
$newsname=$typeinfo[$type]; foreach($anpc_namelist as $aname => $anum)
addnews($time, 'addnpcs', $newsname,$i); {
}else{ addnews($now, 'addnpcs', $aname, $anum);
// for($i=0;$i< $num;$i++){ }
// addnews($time, 'addnpc', $npcwordlist[$i]); unset($anpc_namelist);
// } }
//$newsname=$typeinfo[$type].' '.$npc['name']; else
//addnews($time, 'addnpc', $newsname); {
}*/ return $summon_ids;
return $summon_ids; }
return;
} }
function evonpc($type,$name){ function evonpc($type,$name){
......
...@@ -4,7 +4,7 @@ define('CURSCRIPT', 'rank'); ...@@ -4,7 +4,7 @@ define('CURSCRIPT', 'rank');
require './include/common.inc.php'; require './include/common.inc.php';
require './include/game.func.php'; require './include/game.func.php';
require_once './include/game/titles.func.php'; include_once GAME_ROOT.'./include/game/titles.func.php';
$result = $db->query("SELECT COUNT(*) FROM {$tablepre}users"); $result = $db->query("SELECT COUNT(*) FROM {$tablepre}users");
$count = $db->result($result,0); $count = $db->result($result,0);
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<p>使用【我想要领略真正的红杀之力】后,应约而来的红暮&蓝凝。要战胜她们,光凭蛮力是行不通的……</p> <p>使用【我想要领略真正的红杀之力】后,应约而来的红暮&蓝凝。要战胜她们,光凭蛮力是行不通的……</p>
<br> <br>
<!--{loop $ty2a $vkind $kind}--> <!--{loop $ty2a $vkind $kind}-->
{template npcinfohelp_a} {template npcinfohelp}
<!--{/loop}--> <!--{/loop}-->
<img class="dialog-background" src="img/profile.gif" onclick="closeDialog($('ty2a'))"> <img class="dialog-background" src="img/profile.gif" onclick="closeDialog($('ty2a'))">
</dialog> </dialog>
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<p>女主们的第二形态实力强大,无准备的情况下遭遇她们<span class="yellow b">有性命之忧!</span>不过,击倒她们也是<span class="lime b">特殊胜利</span>的必经之路。</p> <p>女主们的第二形态实力强大,无准备的情况下遭遇她们<span class="yellow b">有性命之忧!</span>不过,击倒她们也是<span class="lime b">特殊胜利</span>的必经之路。</p>
<br> <br>
<!--{loop $ty6e $vkind $kind}--> <!--{loop $ty6e $vkind $kind}-->
{template npcinfohelp_e} {template npcinfohelp}
<!--{/loop}--> <!--{/loop}-->
<img class="dialog-background" src="img/profile.gif" onclick="closeDialog($('ty6e'))"> <img class="dialog-background" src="img/profile.gif" onclick="closeDialog($('ty6e'))">
</dialog> </dialog>
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
<p></p> <p></p>
<br> <br>
<!--{loop $ty11e $vkind $kind}--> <!--{loop $ty11e $vkind $kind}-->
{template npcinfohelp_e} {template npcinfohelp}
<!--{/loop}--> <!--{/loop}-->
<input class="cmdbutton" onclick="closeDialog($('ty11e'))" value="关闭窗口" type="button"> <input class="cmdbutton" onclick="closeDialog($('ty11e'))" value="关闭窗口" type="button">
<img class="dialog-background" src="img/profile.gif" onclick="closeDialog($('ty11e'))"> <img class="dialog-background" src="img/profile.gif" onclick="closeDialog($('ty11e'))">
......
<!--{loop $npcinfo[$kind]['sub'] $key $value}--> <!--{if is_array($kind) }-->
<!--{if isset($npcdescription[$kind]['sub'][$key]['description']) && is_numeric($key)}--> <!--{eval $ksub=$kind[1]; $kind=$kind[0];}-->
<!--{else}-->
<!--{eval $ksub='sub';}-->
<!--{/if}-->
<!--{loop $npcinfo[$kind][$ksub] $key $value}-->
<!--{if isset($npcdescription[$kind]['sub'][$key]['description']) && (is_numeric($key) || $ksub == 'esub')}-->
<table border="1" cellspacing="0" cellpadding="0" valign="middle"> <table border="1" cellspacing="0" cellpadding="0" valign="middle">
<tr> <tr>
<td> <td>
...@@ -7,10 +12,10 @@ ...@@ -7,10 +12,10 @@
<tr> <tr>
<td> <td>
<span class="icon"> <span class="icon">
<IMG width=140px src="img/n_$npcinfo[$kind]['sub'][$key]['icon'].gif" border="0" valign="middle"/> <IMG width=140px src="img/n_$npcinfo[$kind][$ksub][$key]['icon'].gif" border="0" valign="middle"/>
<!--{if file_exists('img/n_'.$npcinfo[$kind]['sub'][$key]['icon'].'a.gif')}--> <!--{if file_exists('img/n_'.$npcinfo[$kind][$ksub][$key]['icon'].'a.gif')}-->
<div class="icona"> <div class="icona">
<IMG class="aicon" width=140px src="img/n_$npcinfo[$kind]['sub'][$key]['icon']a.gif"> <IMG class="aicon" width=140px src="img/n_$npcinfo[$kind][$ksub][$key]['icon']a.gif">
</div> </div>
<!--{/if}--> <!--{/if}-->
</span> </span>
...@@ -28,8 +33,8 @@ ...@@ -28,8 +33,8 @@
数目 数目
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
<!--{if $npcdescription[$kind]['sub'][$key]['count']>0}--> <!--{if $npcdescription[$kind][$ksub][$key]['count']>0}-->
$npcdescription[$kind]['sub'][$key]['count'] $npcdescription[$kind][$ksub][$key]['count']
<!--{else}--> <!--{else}-->
- -
<!--{/if}--> <!--{/if}-->
...@@ -39,7 +44,7 @@ ...@@ -39,7 +44,7 @@
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
<span class="yellow"> <span class="yellow">
$npcinfo[$kind]['sub'][$key]['pls'] $npcinfo[$kind][$ksub][$key]['pls']
</span> </span>
</td> </td>
</tr> </tr>
...@@ -49,7 +54,7 @@ ...@@ -49,7 +54,7 @@
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
<span> <span>
Lv. $npcinfo[$kind]['sub'][$key]['lvl'] Lv. $npcinfo[$kind][$ksub][$key]['lvl']
</span> </span>
</td> </td>
<td width=100px align="center" class="b1"> <td width=100px align="center" class="b1">
...@@ -57,14 +62,14 @@ ...@@ -57,14 +62,14 @@
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
<span class="lime"> <span class="lime">
$npcinfo[$kind]['sub'][$key]['name'] $npcinfo[$kind][$ksub][$key]['name']
</span> </span>
</td> </td>
<td width=100px align="center" class="b1"> <td width=100px align="center" class="b1">
性别 性别
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['gd'] $npcinfo[$kind][$ksub][$key]['gd']
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -72,19 +77,19 @@ ...@@ -72,19 +77,19 @@
内定称号 内定称号
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['club'] $npcinfo[$kind][$ksub][$key]['club']
</td> </td>
<td width=100px align="center" class="b1"> <td width=100px align="center" class="b1">
{lang pose} {lang pose}
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
$poseinfo[$npcinfo[$kind]['sub'][$key]['pose']] $poseinfo[$npcinfo[$kind][$ksub][$key]['pose']]
</td> </td>
<td width=100px align="center" class="b1"> <td width=100px align="center" class="b1">
{lang tactic} {lang tactic}
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
$tacinfo[$npcinfo[$kind]['sub'][$key]['tactic']] $tacinfo[$npcinfo[$kind][$ksub][$key]['tactic']]
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -92,19 +97,19 @@ ...@@ -92,19 +97,19 @@
生命上限 生命上限
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['mhp'] $npcinfo[$kind][$ksub][$key]['mhp']
</td> </td>
<td width=100px align="center" class="b1"> <td width=100px align="center" class="b1">
熟练度 熟练度
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['skill'] $npcinfo[$kind][$ksub][$key]['skill']
</td> </td>
<td width=100px align="center" class="b1"> <td width=100px align="center" class="b1">
怒气值 怒气值
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['rage'] $npcinfo[$kind][$ksub][$key]['rage']
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -112,19 +117,19 @@ ...@@ -112,19 +117,19 @@
基础攻击 基础攻击
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['att'] $npcinfo[$kind][$ksub][$key]['att']
</td> </td>
<td width=100px align="center" class="b1"> <td width=100px align="center" class="b1">
基础防御 基础防御
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['def'] $npcinfo[$kind][$ksub][$key]['def']
</td> </td>
<td width=100px align="center" class="b1"> <td width=100px align="center" class="b1">
掉落金钱 掉落金钱
</td> </td>
<td width=100px align="center" class="b3"> <td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['money'] $npcinfo[$kind][$ksub][$key]['money']
</td> </td>
</tr> </tr>
</table> </table>
...@@ -147,7 +152,7 @@ ...@@ -147,7 +152,7 @@
武器名称 武器名称
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['wep']/$npcinfo[$kind]['sub'][$key]['wepk']/$npcinfo[$kind]['sub'][$key]['wepe']/$npcinfo[$kind]['sub'][$key]['weps']<!--{if isset($npcinfo[$kind]['sub'][$key]['wepsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['wepsk_words']<!--{/if}--> $npcinfo[$kind][$ksub][$key]['wep']/$npcinfo[$kind][$ksub][$key]['wepk']/$npcinfo[$kind][$ksub][$key]['wepe']/$npcinfo[$kind][$ksub][$key]['weps']<!--{if isset($npcinfo[$kind][$ksub][$key]['wepsk_words'])}-->/$npcinfo[$kind][$ksub][$key]['wepsk_words']<!--{/if}-->
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -155,7 +160,7 @@ ...@@ -155,7 +160,7 @@
身体装备 身体装备
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['arb']/$npcinfo[$kind]['sub'][$key]['arbe']/$npcinfo[$kind]['sub'][$key]['arbs']<!--{if isset($npcinfo[$kind]['sub'][$key]['arbsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['arbsk_words']<!--{/if}--> $npcinfo[$kind][$ksub][$key]['arb']/$npcinfo[$kind][$ksub][$key]['arbe']/$npcinfo[$kind][$ksub][$key]['arbs']<!--{if isset($npcinfo[$kind][$ksub][$key]['arbsk_words'])}-->/$npcinfo[$kind][$ksub][$key]['arbsk_words']<!--{/if}-->
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -163,7 +168,7 @@ ...@@ -163,7 +168,7 @@
头部装备 头部装备
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['arh']/$npcinfo[$kind]['sub'][$key]['arhe']/$npcinfo[$kind]['sub'][$key]['arhs']<!--{if isset($npcinfo[$kind]['sub'][$key]['arhsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['arhsk_words']<!--{/if}--> $npcinfo[$kind][$ksub][$key]['arh']/$npcinfo[$kind][$ksub][$key]['arhe']/$npcinfo[$kind][$ksub][$key]['arhs']<!--{if isset($npcinfo[$kind][$ksub][$key]['arhsk_words'])}-->/$npcinfo[$kind][$ksub][$key]['arhsk_words']<!--{/if}-->
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -171,7 +176,7 @@ ...@@ -171,7 +176,7 @@
手臂装备 手臂装备
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['ara']/$npcinfo[$kind]['sub'][$key]['arae']/$npcinfo[$kind]['sub'][$key]['aras']<!--{if isset($npcinfo[$kind]['sub'][$key]['arask_words'])}-->/$npcinfo[$kind]['sub'][$key]['arask_words']<!--{/if}--> $npcinfo[$kind][$ksub][$key]['ara']/$npcinfo[$kind][$ksub][$key]['arae']/$npcinfo[$kind][$ksub][$key]['aras']<!--{if isset($npcinfo[$kind][$ksub][$key]['arask_words'])}-->/$npcinfo[$kind][$ksub][$key]['arask_words']<!--{/if}-->
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -179,7 +184,7 @@ ...@@ -179,7 +184,7 @@
腿部装备 腿部装备
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['arf']/$npcinfo[$kind]['sub'][$key]['arfe']/$npcinfo[$kind]['sub'][$key]['arfs']<!--{if isset($npcinfo[$kind]['sub'][$key]['arfsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['arfsk_words']<!--{/if}--> $npcinfo[$kind][$ksub][$key]['arf']/$npcinfo[$kind][$ksub][$key]['arfe']/$npcinfo[$kind][$ksub][$key]['arfs']<!--{if isset($npcinfo[$kind][$ksub][$key]['arfsk_words'])}-->/$npcinfo[$kind][$ksub][$key]['arfsk_words']<!--{/if}-->
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -187,17 +192,17 @@ ...@@ -187,17 +192,17 @@
饰品 饰品
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['art']/$npcinfo[$kind]['sub'][$key]['artk']<!--{if isset($npcinfo[$kind]['sub'][$key]['artsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['artsk_words']<!--{/if}--> $npcinfo[$kind][$ksub][$key]['art']/$npcinfo[$kind][$ksub][$key]['artk']<!--{if isset($npcinfo[$kind][$ksub][$key]['artsk_words'])}-->/$npcinfo[$kind][$ksub][$key]['artsk_words']<!--{/if}-->
</td> </td>
</tr> </tr>
<!--{loop $itemlst $id $vid}--> <!--{loop $itemlst $id $vid}-->
<!--{if isset($npcinfo[$kind]['sub'][$key]['itm'.$id])}--> <!--{if isset($npcinfo[$kind][$ksub][$key]['itm'.$id])}-->
<tr> <tr>
<td width=100px align="center" class="b1"> <td width=100px align="center" class="b1">
掉落物品 掉落物品
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['itm'.$id]/$npcinfo[$kind]['sub'][$key]['itmk'.$id]/$npcinfo[$kind]['sub'][$key]['itme'.$id]/$npcinfo[$kind]['sub'][$key]['itms'.$id]<!--{if isset($npcinfo[$kind]['sub'][$key]['itmsk'.$id.'_words'])}-->/$npcinfo[$kind]['sub'][$key]['itmsk'.$id.'_words']<!--{/if}--> $npcinfo[$kind][$ksub][$key]['itm'.$id]/$npcinfo[$kind][$ksub][$key]['itmk'.$id]/$npcinfo[$kind][$ksub][$key]['itme'.$id]/$npcinfo[$kind][$ksub][$key]['itms'.$id]<!--{if isset($npcinfo[$kind][$ksub][$key]['itmsk'.$id.'_words'])}-->/$npcinfo[$kind][$ksub][$key]['itmsk'.$id.'_words']<!--{/if}-->
</td> </td>
</tr> </tr>
<!--{/if}--> <!--{/if}-->
......
<!--{loop $anpcinfo[$kind]['sub'] $key $value}-->
<!--{if isset($npcdescription[$kind]['sub'][$key]['description']) && is_numeric($key)}-->
<table border="1" cellspacing="0" cellpadding="0" valign="middle">
<tr>
<td>
<table border="1" cellspacing="0" cellpadding="0" valign="middle">
<tr>
<td>
<span class="icon">
<IMG width=140px src="img/n_$anpcinfo[$kind]['sub'][$key]['icon'].gif" border="0" valign="middle"/>
<!--{if file_exists('img/n_'.$anpcinfo[$kind]['sub'][$key]['icon'].'a.gif')}-->
<div class="icona">
<IMG class="aicon" width=140px src="img/n_$anpcinfo[$kind]['sub'][$key]['icon']a.gif">
</div>
<!--{/if}-->
</span>
</td>
<td>
<table border="1" height=100% width=100% cellspacing="0" cellpadding="0">
<tr>
<td width=100px align="center" class="b1">
NPC类别
</td>
<td width=100px align="center" class="b3">
$typeinfo[$kind]
</td>
<td width=100px align="center" class="b1">
数目
</td>
<td width=100px align="center" class="b3">
<!--{if $npcdescription[$kind]['sub'][$key]['count']>0}-->
$npcdescription[$kind]['sub'][$key]['count']
<!--{else}-->
-
<!--{/if}-->
</td>
<td width=100px align="center" class="b1">
所处地点
</td>
<td width=100px align="center" class="b3">
<span class="yellow">
$anpcinfo[$kind]['sub'][$key]['pls']
</span>
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
NPC等级
</td>
<td width=100px align="center" class="b3">
<span>
Lv. $anpcinfo[$kind]['sub'][$key]['lvl']
</span>
</td>
<td width=100px align="center" class="b1">
NPC名称
</td>
<td width=100px align="center" class="b3">
<span class="lime">
$anpcinfo[$kind]['sub'][$key]['name']
</span>
</td>
<td width=100px align="center" class="b1">
性别
</td>
<td width=100px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['gd']
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
内定称号
</td>
<td width=100px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['club']
</td>
<td width=100px align="center" class="b1">
{lang pose}
</td>
<td width=100px align="center" class="b3">
$poseinfo[$anpcinfo[$kind]['sub'][$key]['pose']]
</td>
<td width=100px align="center" class="b1">
{lang tactic}
</td>
<td width=100px align="center" class="b3">
$tacinfo[$anpcinfo[$kind]['sub'][$key]['tactic']]
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
生命上限
</td>
<td width=100px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['mhp']
</td>
<td width=100px align="center" class="b1">
熟练度
</td>
<td width=100px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['skill']
</td>
<td width=100px align="center" class="b1">
怒气值
</td>
<td width=100px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['rage']
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
基础攻击
</td>
<td width=100px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['att']
</td>
<td width=100px align="center" class="b1">
基础防御
</td>
<td width=100px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['def']
</td>
<td width=100px align="center" class="b1">
掉落金钱
</td>
<td width=100px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['money']
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="1" cellspacing="0" cellpadding="0" valign="middle">
<tr>
<td width=140px>
$npcdescription[$kind]['sub'][$key]['description']
</td>
<td>
<table border="1" cellspacing="0" cellpadding="0" valign="middle">
<tr>
<td width=100px align="center" class="b1">
武器名称
</td>
<td width=505px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['wep']/$anpcinfo[$kind]['sub'][$key]['wepk']/$anpcinfo[$kind]['sub'][$key]['wepe']/$anpcinfo[$kind]['sub'][$key]['weps']<!--{if isset($anpcinfo[$kind]['sub'][$key]['wepsk_words'])}-->/$anpcinfo[$kind]['sub'][$key]['wepsk_words']<!--{/if}-->
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
身体装备
</td>
<td width=505px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['arb']/$anpcinfo[$kind]['sub'][$key]['arbe']/$anpcinfo[$kind]['sub'][$key]['arbs']<!--{if isset($anpcinfo[$kind]['sub'][$key]['arbsk_words'])}-->/$anpcinfo[$kind]['sub'][$key]['arbsk_words']<!--{/if}-->
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
头部装备
</td>
<td width=505px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['arh']/$anpcinfo[$kind]['sub'][$key]['arhe']/$anpcinfo[$kind]['sub'][$key]['arhs']<!--{if isset($anpcinfo[$kind]['sub'][$key]['arhsk_words'])}-->/$anpcinfo[$kind]['sub'][$key]['arhsk_words']<!--{/if}-->
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
手臂装备
</td>
<td width=505px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['ara']/$anpcinfo[$kind]['sub'][$key]['arae']/$anpcinfo[$kind]['sub'][$key]['aras']<!--{if isset($anpcinfo[$kind]['sub'][$key]['arask_words'])}-->/$anpcinfo[$kind]['sub'][$key]['arask_words']<!--{/if}-->
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
腿部装备
</td>
<td width=505px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['arf']/$anpcinfo[$kind]['sub'][$key]['arfe']/$anpcinfo[$kind]['sub'][$key]['arfs']<!--{if isset($anpcinfo[$kind]['sub'][$key]['arfsk_words'])}-->/$anpcinfo[$kind]['sub'][$key]['arfsk_words']<!--{/if}-->
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
饰品
</td>
<td width=505px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['art']/$anpcinfo[$kind]['sub'][$key]['artk']<!--{if isset($anpcinfo[$kind]['sub'][$key]['artsk_words'])}-->/$anpcinfo[$kind]['sub'][$key]['artsk_words']<!--{/if}-->
</td>
</tr>
<!--{loop $itemlst $id $vid}-->
<!--{if isset($anpcinfo[$kind]['sub'][$key]['itm'.$id])}-->
<tr>
<td width=100px align="center" class="b1">
掉落物品
</td>
<td width=505px align="center" class="b3">
$anpcinfo[$kind]['sub'][$key]['itm'.$id]/$anpcinfo[$kind]['sub'][$key]['itmk'.$id]/$anpcinfo[$kind]['sub'][$key]['itme'.$id]/$anpcinfo[$kind]['sub'][$key]['itms'.$id]<!--{if isset($anpcinfo[$kind]['sub'][$key]['itmsk'.$id.'_words'])}-->/$anpcinfo[$kind]['sub'][$key]['itmsk'.$id.'_words']<!--{/if}-->
</td>
</tr>
<!--{/if}-->
<!--{/loop}-->
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<!--{/if}-->
<!--{/loop}-->
<!--{loop $npcinfo[$kind]['sub'] $key $value}-->
<!--{if !is_numeric($key)}-->
<table border="1" cellspacing="0" cellpadding="0" valign="middle">
<tr>
<td>
<table border="1" cellspacing="0" cellpadding="0" valign="middle">
<tr>
<td>
<span class="icon">
<IMG width=140px src="img/n_$npcinfo[$kind]['sub'][$key]['icon'].gif" border="0" valign="middle"/>
<!--{if file_exists('img/n_'.$npcinfo[$kind]['sub'][$key]['icon'].'a.gif')}-->
<div class="icona">
<IMG class="aicon" width=140px src="img/n_$npcinfo[$kind]['sub'][$key]['icon']a.gif">
</div>
<!--{/if}-->
</span>
</td>
<td>
<table border="1" height=100% width=100% cellspacing="0" cellpadding="0">
<tr>
<td width=100px align="center" class="b1">
NPC类别
</td>
<td width=100px align="center" class="b3">
$typeinfo[$kind]
</td>
<td width=100px align="center" class="b1">
数目
</td>
<td width=100px align="center" class="b3">
<!--{if $npcdescription[$kind]['sub'][$key]['count']>0}-->
$npcdescription[$kind]['sub'][$key]['count']
<!--{else}-->
-
<!--{/if}-->
</td>
<td width=100px align="center" class="b1">
所处地点
</td>
<td width=100px align="center" class="b3">
<span class="yellow">
原地
</span>
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
NPC等级
</td>
<td width=100px align="center" class="b3">
<span>
Lv. $npcinfo[$kind]['sub'][$key]['lvl']
</span>
</td>
<td width=100px align="center" class="b1">
NPC名称
</td>
<td width=100px align="center" class="b3">
<span class="lime">
$npcinfo[$kind]['sub'][$key]['name']
</span>
</td>
<td width=100px align="center" class="b1">
性别
</td>
<td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['gd']
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
内定称号
</td>
<td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['club']
</td>
<td width=100px align="center" class="b1">
{lang pose}
</td>
<td width=100px align="center" class="b3">
$poseinfo[$npcinfo[$kind]['sub'][$key]['pose']]
</td>
<td width=100px align="center" class="b1">
{lang tactic}
</td>
<td width=100px align="center" class="b3">
$tacinfo[$npcinfo[$kind]['sub'][$key]['tactic']]
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
生命上限
</td>
<td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['mhp']
</td>
<td width=100px align="center" class="b1">
熟练度
</td>
<td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['skill']
</td>
<td width=100px align="center" class="b1">
怒气值
</td>
<td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['rage']
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
基础攻击
</td>
<td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['att']
</td>
<td width=100px align="center" class="b1">
基础防御
</td>
<td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['def']
</td>
<td width=100px align="center" class="b1">
掉落金钱
</td>
<td width=100px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['money']
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="1" cellspacing="0" cellpadding="0" valign="middle">
<tr>
<td width=140px>
$npcdescription[$kind]['sub'][$key]['description']
</td>
<td>
<table border="1" cellspacing="0" cellpadding="0" valign="middle">
<tr>
<td width=100px align="center" class="b1">
武器名称
</td>
<td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['wep']/$npcinfo[$kind]['sub'][$key]['wepk']/$npcinfo[$kind]['sub'][$key]['wepe']/$npcinfo[$kind]['sub'][$key]['weps']<!--{if isset($npcinfo[$kind]['sub'][$key]['wepsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['wepsk_words']<!--{/if}-->
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
身体装备
</td>
<td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['arb']/$npcinfo[$kind]['sub'][$key]['arbe']/$npcinfo[$kind]['sub'][$key]['arbs']<!--{if isset($npcinfo[$kind]['sub'][$key]['arbsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['arbsk_words']<!--{/if}-->
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
头部装备
</td>
<td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['arh']/$npcinfo[$kind]['sub'][$key]['arhe']/$npcinfo[$kind]['sub'][$key]['arhs']<!--{if isset($npcinfo[$kind]['sub'][$key]['arhsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['arhsk_words']<!--{/if}-->
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
手臂装备
</td>
<td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['ara']/$npcinfo[$kind]['sub'][$key]['arae']/$npcinfo[$kind]['sub'][$key]['aras']<!--{if isset($npcinfo[$kind]['sub'][$key]['arask_words'])}-->/$npcinfo[$kind]['sub'][$key]['arask_words']<!--{/if}-->
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
腿部装备
</td>
<td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['arf']/$npcinfo[$kind]['sub'][$key]['arfe']/$npcinfo[$kind]['sub'][$key]['arfs']<!--{if isset($npcinfo[$kind]['sub'][$key]['arfsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['arfsk_words']<!--{/if}-->
</td>
</tr>
<tr>
<td width=100px align="center" class="b1">
饰品
</td>
<td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['art']/$npcinfo[$kind]['sub'][$key]['artk']<!--{if isset($npcinfo[$kind]['sub'][$key]['artsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['artsk_words']<!--{/if}-->
</td>
</tr>
<!--{loop $itemlst $id $vid}-->
<!--{if isset($npcinfo[$kind]['sub'][$key]['itm'.$id])}-->
<tr>
<td width=100px align="center" class="b1">
掉落物品
</td>
<td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['itm'.$id]/$npcinfo[$kind]['sub'][$key]['itmk'.$id]/$npcinfo[$kind]['sub'][$key]['itme'.$id]/$npcinfo[$kind]['sub'][$key]['itms'.$id]<!--{if isset($npcinfo[$kind]['sub'][$key]['itmsk'.$id.'_words'])}-->/$npcinfo[$kind]['sub'][$key]['itmsk'.$id.'_words']<!--{/if}-->
</td>
</tr>
<!--{/if}-->
<!--{/loop}-->
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<!--{/if}-->
<!--{/loop}-->
<TABLE border="0" cellspacing="0" cellpadding="0"> <TABLE border="0" cellspacing="0" cellpadding="0">
<TR height="20"> <TR height="20">
<TD class="b1" width="40px"><span>排名</span></TD> <TD class="b1" width="30px"><span>排名</span></TD>
<TD class="b1" width="55px"><span>UID</span></TD> <TD class="b1" width="45px"><span>UID</span></TD>
<TD class="b1" width="100px"><span>{lang name}</span></TD> <TD class="b1" width="95px"><span>{lang name}</span></TD>
<TD class="b1" width="65px"><span>{lang nick}</span></TD> <TD class="b1" width="75px"><span>{lang nick}</span></TD>
<TD class="b1" width="40px"><span>{lang gender}</span></TD> <TD class="b1" width="35px"><span>{lang gender}</span></TD>
<TD class="b1"><span>{lang icon}</span></TD> <TD class="b1" width="80px"><span>{lang icon}</span></TD>
<TD class="b1" style="maxwidth:120"><span>{lang motto}</span></TD> <TD class="b1" style="maxwidth:120"><span>{lang motto}</span></TD>
<TD class="b1"><span>{lang credits}</span></TD> <TD class="b1" width="45px"><span>{lang credits}</span></TD>
<TD class="b1"><span>{lang credits2}</span></TD> <TD class="b1" width="35px"><span>{lang credits2}</span></TD>
<TD class="b1"><span>{lang validgames}</span></TD> <TD class="b1" width="85px"><span>{lang validgames}</span></TD>
<TD class="b1"><span>{lang wingames}</span></TD> <TD class="b1" width="60px"><span>{lang wingames}</span></TD>
<TD class="b1"><span>{lang winrate}</span></TD> <TD class="b1" width="35px"><span>{lang winrate}</span></TD>
<TD class="b1"><span>{lang lastgame}</span></TD> <TD class="b1" width="60px"><span>{lang lastgame}</span></TD>
</TR> </TR>
<!--{loop $rankdata $urdata}--> <!--{loop $rankdata $urdata}-->
<TR height="20"> <TR height="20">
......
...@@ -6,24 +6,24 @@ ...@@ -6,24 +6,24 @@
<center> <center>
<TABLE border="1" cellspacing="0" cellpadding="0"> <TABLE border="1" cellspacing="0" cellpadding="0">
<TR height="20"> <TR height="20">
<TD class="b1"><span></span></TD> <TD class="b1" width="30px"><span></span></TD>
<TD class="b1"><span>胜利方式</span></TD> <TD class="b1" width="60px"><span>胜利方式</span></TD>
<TD class="b1"><span>优胜者名</span></TD> <TD class="b1" width="95px"><span>优胜者名</span></TD>
<TD class="b1"><span>头衔</span></TD> <TD class="b1" width="75px"><span>头衔</span></TD>
<TD class="b1"><span>头像</span></TD> <TD class="b1" width="80px"><span>头像</span></TD>
<TD class="b1"><span>游戏结束时间</span></TD> <TD class="b1"><span>游戏结束时间</span></TD>
<TD class="b1"><span>胜利者留言</span></TD> <TD class="b1" style="maxwidth:120"><span>胜利者留言</span></TD>
<TD class="b1"><span>使用武器</span></TD> <TD class="b1" width="120px"><span>使用武器</span></TD>
<TD class="b1"><span>最高伤害</span></TD> <TD class="b1" width="95px"><span>最高伤害</span></TD>
<TD class="b1"><span>杀人最多</span></TD> <TD class="b1" width="95px"><span>杀人最多</span></TD>
<TD class="b1"><span>查看信息</span></TD> <TD class="b1"><span>查看信息</span></TD>
</TR> </TR>
<!--{loop $winfo $gid $info}--> <!--{loop $winfo $gid $info}-->
<TR height="20"> <TR height="20">
<TD class="b2" width="40px"><span>$gid</span></TD> <TD class="b2" ><span>$gid</span></TD>
<TD class="b3" width="65px"><span>$gwin[$info['wmode']]</span></TD> <TD class="b3" ><span>$gwin[$info['wmode']]</span></TD>
<TD class="b3" width="100px" style="white-space: nowrap;"><!--{if $info['name']}--><span class="evergreen"><u><a href="user_profile.php?playerID=$info['name']">$info['name']</a></u></span><!--{else}--><span class="grey"></span><!--{/if}--></TD> <TD class="b3" style="white-space: nowrap;"><!--{if $info['name']}--><span class="evergreen"><u><a href="user_profile.php?playerID=$info['name']">$info['name']</a></u></span><!--{else}--><span class="grey"></span><!--{/if}--></TD>
<TD class="b3" width="75px"><span>$info['nickinfo']</span></TD> <TD class="b3" ><span>$info['nickinfo']</span></TD>
<TD class="b3"><span><img src="img/$info['iconImg']" style="width:70;height:40;"></span></TD> <TD class="b3"><span><img src="img/$info['iconImg']" style="width:70;height:40;"></span></TD>
<TD class="b3"><span>$info['date']</span><br><span>$info['time']</span></TD> <TD class="b3"><span>$info['date']</span><br><span>$info['time']</span></TD>
<TD class="b3" ><!--{if $info['motto']}--><span class="white">$info['motto']</span><!--{else}--><span class="grey"></span><!--{/if}--></TD> <TD class="b3" ><!--{if $info['motto']}--><span class="white">$info['motto']</span><!--{else}--><span class="grey"></span><!--{/if}--></TD>
......
...@@ -4,7 +4,7 @@ define('CURSCRIPT', 'user'); ...@@ -4,7 +4,7 @@ define('CURSCRIPT', 'user');
require './include/common.inc.php'; require './include/common.inc.php';
require './include/user.func.php'; require './include/user.func.php';
require_once './include/game/titles.func.php'; include_once GAME_ROOT.'./include/game/titles.func.php';
if(!$cuser||!$cpass) { gexit($_ERROR['no_login'],__file__,__line__); } if(!$cuser||!$cpass) { gexit($_ERROR['no_login'],__file__,__line__); }
......
...@@ -4,7 +4,7 @@ define('CURSCRIPT', 'user_profile'); ...@@ -4,7 +4,7 @@ define('CURSCRIPT', 'user_profile');
require './include/common.inc.php'; require './include/common.inc.php';
require './include/user.func.php'; require './include/user.func.php';
require_once './include/game/titles.func.php'; include_once GAME_ROOT.'./include/game/titles.func.php';
$_REQUEST = gstrfilter($_REQUEST); $_REQUEST = gstrfilter($_REQUEST);
if ($_REQUEST["playerID"]=="") if ($_REQUEST["playerID"]=="")
......
...@@ -4,7 +4,7 @@ define('CURSCRIPT', 'valid'); ...@@ -4,7 +4,7 @@ define('CURSCRIPT', 'valid');
require './include/common.inc.php'; require './include/common.inc.php';
require './include/user.func.php'; require './include/user.func.php';
require_once './include/game/titles.func.php'; include_once GAME_ROOT.'./include/game/titles.func.php';
if(!$cuser||!$cpass) { gexit($_ERROR['no_login'],__file__,__line__); } if(!$cuser||!$cpass) { gexit($_ERROR['no_login'],__file__,__line__); }
if($gamestate < 20) { gexit($_ERROR['no_start'],__file__,__line__); } if($gamestate < 20) { gexit($_ERROR['no_start'],__file__,__line__); }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
define('CURSCRIPT', 'winner'); define('CURSCRIPT', 'winner');
require './include/common.inc.php'; require './include/common.inc.php';
require_once './include/game/titles.func.php'; include_once GAME_ROOT.'./include/game/titles.func.php';
if(!isset($command)){$command = 'ref';} if(!isset($command)){$command = 'ref';}
if($command == 'info') { if($command == 'info') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment