You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
2.2 KiB
77 lines
2.2 KiB
<!-- $Id: user_info.htm 16854 2009-12-07 06:20:09Z sxc_shop $ -->
|
|
{include file="pageheader.htm"}
|
|
<div class="main-div">
|
|
<form method="post" action="goods.php" name="theForm" onsubmit="return validate()">
|
|
<table width="100%" style=" width:100%">
|
|
<tr>
|
|
<td class="label">商品名称:</td>
|
|
<td>{$goods_info.goods_name}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">商品类型名称:</td>
|
|
<td>{$attr_info.attr_name}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">属性名称:</td>
|
|
<td>{$goods_attr_name}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">属性价格:</td>
|
|
<td>
|
|
<table width="100%" style="border:none; width:80%; padding:0px;">
|
|
{foreach from=$warehouse_area_list item=warehouse}
|
|
<tr>
|
|
<td style="color:#F00">{$warehouse.region_name} <input name="warehouse_name[]" value="{$warehouse.region_id}" type="hidden" /><input name="attr_price_{$warehouse.region_id}" value="{$warehouse.attr_price}" type="text" size="7" /></td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="center">
|
|
<input type="submit" value="{$lang.button_submit}" class="button" />
|
|
<input type="reset" value="{$lang.button_reset}" class="button" />
|
|
<input type="hidden" name="act" value="{$form_action}" />
|
|
<input type="hidden" name="goods_id" value="{$goods_id}" />
|
|
<input type="hidden" name="attr_id" value="{$attr_id}" />
|
|
<input type="hidden" name="goods_attr_id" value="{$goods_attr_id}" />
|
|
<input type="hidden" name="goods_attr_name" value="{$goods_attr_name}" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|
|
</div>
|
|
{insert_scripts files="../js/utils.js,validator.js"}
|
|
{literal}
|
|
<script language="JavaScript">
|
|
<!--
|
|
|
|
if (document.forms['theForm'].elements['act'].value == "insert")
|
|
{
|
|
document.forms['theForm'].elements['username'].focus();
|
|
}
|
|
else
|
|
{
|
|
document.forms['theForm'].elements['email'].focus();
|
|
}
|
|
|
|
onload = function()
|
|
{
|
|
// 开始检查订单
|
|
startCheckOrder();
|
|
}
|
|
|
|
/**
|
|
* 检查表单输入的数据
|
|
*/
|
|
function validate()
|
|
{
|
|
|
|
}
|
|
//-->
|
|
</script>
|
|
{/literal}
|
|
{include file="pagefooter.htm"}
|
|
|