想购买什么物品？<br><br>
<input type="hidden" name="mode" value="shop">
<input type="hidden" name="shoptype" value="$shop">
<input type="hidden" id="command" name="command" value="menu">
<input type="hidden" id="buynum" name="buynum" value="1">
<input type="button" class="cmdbutton" value="离开商店" onclick="$('command').value='menu';postCmd('gamecmd','command.php');this.disabled=true;">
&nbsp;
<input type="button" class="cmdbutton" value="返回列表" onclick="$('command').value='shop';postCmd('gamecmd','command.php');this.disabled=true;">
<br><br>
<!--{loop $itemdata $idata}-->
<!--{if $idata['sid']}-->
	<!--{eval $idsid = $idata['sid'];$buynumflag = $shop==1||$shop==2||$shop==6||$shop==7||$shop==8||$shop==10||$shop==11||$shop==12||$shop==20 ? 1 : 0;}-->
	<div class="shoprow">
		<div class="leftbox">
			<input type="button" class="cmdbutton" value="购买" onclick="$('command').value='$idsid';<!--{if $buynumflag}-->$('buynum').value=$('buynum{$idsid}').value;<!--{/if}-->postCmd('gamecmd','command.php');this.disabled=true;">
		</div>
		<div <!--{if $buynumflag}-->style="width:185px;"<!--{/if}-->>
			$idata['item_words']/$idata['itmk_words']/$idata['itme']/$idata['itms']<!--{if $idata['itmsk_words']}-->/$idata['itmsk_words']<!--{/if}-->/价:$idata['price']/数:$idata['num']
		</div>
		<div class="rightbox">
				<!--{if $buynumflag}-->
				<input type="number" id="buynum{$idsid}" style="width:60px" value="1" min="1" max="1000"><span class="inputunit">个</span>
				<!--{/if}-->			
		</div>
	</div>	
<!--{/if}-->
<!--{/loop}-->