<link rel="stylesheet" type="text/css" href="resources/drag/css/styles.css" />
<style>
select {height:32px}
.red {color:#f00 !important}

</style>
 
<script type="text/javascript" src="resources/js/jquery.js"></script>
<script type="text/javascript" src="resources/js/global.js"></script>
<script type="text/javascript" src="resources/js/common.js"></script>
  <script>
              //商品数量的增加
                function numbers(){
                var Input0=document.getElementById('input0');
                var Input1=document.getElementById('input1');
                var Input2=document.getElementById('input2');
                
                    Input1.onclick=function(){
                        this.form.iYear.value++;
						$("#input0").change();
                    }
                    
                        Input2.onclick=function(){
                            if(Input0.value>1){
                            this.form.iYear.value--;
							$("#input0").change();
                        }
                    }


				
                }


	
            </script>
<!--右边-->

<!--填写申请表-->
<div class="part1  pad bgf yahei" style="width:800px;">
	<h3 class="font26" style="padding-bottom:10px;border-bottom:1px solid #ccc;"><span class="l title">{{$product_name}}</span><span class="r more"></span></h3>
	<div class="bx-c">
		<div class="content">

			<form id="shop" action="order_submit.php?lang={{$lang}}" method="post" onsubmit="return checkOrder(this)">
			<table class="form" >
		



<tr>
				    <td  align="left">Pic</td>
				    <td >{{$lang_lb}}</td>
					
					
					 <td >{{$lang_sl}}</td>
					 <td >{{$lang_price}}({{$lang_yuan}})</td>
				</tr>
				

				<tr>
				    <td  align="left">{{if $product_pic==""}}<img src="resources/no_pic.png" style="width:100px;height:70px;" /> {{else}}<img src="{{$product_pic}}" style="width:100px;height:70px;" />{{/if}}</td>
				    <td >{{$product_name}}</td>
					
					 
					   <td>
					   
					    <input class="inputbox" id="input2" type=button value="-" onclick="number();">
                <input class="inputbox" size=3 id="input0" type=text name="iYear" value="{{$iYear}}" style="text-align:center;"  onchange="Sum(this.form)" >
                <input class="inputbox" id="input1" type=button value="+" onclick="numbers();">
					   
					
						
				    </td>
 <td >￥<input name='Charge' type='text' class="inputbox" size="10" style="color:red;font-size:18px;font-weight:bold;border:0;" readonly> </td>

				</tr>

				
			<tr >
					<td colspan="4" align="left"></td>
		</tr>
				
				<tr style="border-top:1px solid #ccc;padding-top:20px;margin-top:20px;">
					<td colspan="4" align="left">{{$product_intro}}</td>
		</tr>


				<tr>
					<td colspan="4" align="center">
						<input type="submit" name="Submit" value="{{$lang_ljgm}}" class="button yahei bg4">
						<input  onclick="vhost_button(this.form)" type="button"  class="button yahei bg4" value="{{$lang_cz}}">
						<input type="hidden" name="IDProduct" value="{{$IDProduct}}">
						<input type="hidden" name="UnitPrice" value="{{$UnitPrice}}">
					</td>
				</tr>



			</table>
		</form>
		</div>
	</div>
	<div class="bx-b"><div class="bx-b2"></div></div>
</div>
</div>

