1 <?php
if(!defined(
'IN_GAME')) exit(
'Access Denied'); ?>
2 <input type=
"hidden" name=
"mode" value=
"itemmain">
3 <input type=
"hidden" name=
"command" value=
"itemmerge">
4 <input type=
"hidden" name=
"merge1" value=
"0">
5 <input type=
"hidden" id=
"merge2" name=
"merge2" value=
"n">
7 是否将 <span
class=
"yellow"><?php echo $itm0?></span>与以下物品合并?
9 <?php
if(in_array(1,$sameitem)) { ?>
10 <input type=
"button" id=
"itm1" value=
"<?php echo $itm1?>/<?php echo $itme1?>/<?php echo $itms1?>" onclick=
"$('merge2').value='1';postCmd('gamecmd','command.php');return false;"><br>
11 <?php }
if(in_array(2,$sameitem)) { ?>
12 <input type=
"button" id=
"itm2" value=
"<?php echo $itm2?>/<?php echo $itme2?>/<?php echo $itms2?>" onclick=
"$('merge2').value='2';postCmd('gamecmd','command.php');return false;"><br>
13 <?php }
if(in_array(3,$sameitem)) { ?>
14 <input type=
"button" id=
"itm3" value=
"<?php echo $itm3?>/<?php echo $itme3?>/<?php echo $itms3?>" onclick=
"$('merge2').value='3';postCmd('gamecmd','command.php');return false;"><br>
15 <?php }
if(in_array(4,$sameitem)) { ?>
16 <input type=
"button" id=
"itm4" value=
"<?php echo $itm4?>/<?php echo $itme4?>/<?php echo $itms4?>" onclick=
"$('merge2').value='4';postCmd('gamecmd','command.php');return false;"><br>
17 <?php }
if(in_array(5,$sameitem)) { ?>
18 <input type=
"button" id=
"itm5" value=
"<?php echo $itm5?>/<?php echo $itme5?>/<?php echo $itms5?>" onclick=
"$('merge2').value='5';postCmd('gamecmd','command.php');return false;"><br>
19 <?php }
if(in_array(6,$sameitem)) { ?>
20 <input type=
"button" id=
"itm6" value=
"<?php echo $itm6?>/<?php echo $itme6?>/<?php echo $itms6?>" onclick=
"$('merge2').value='6';postCmd('gamecmd','command.php');return false;"><br>
23 <input type=
"button" class=
"cmdbutton" name=
"no" value=
"不合并" onclick=
"postCmd('gamecmd','command.php');return false;">