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.
79 lines
3.6 KiB
79 lines
3.6 KiB
<!-- $Id: user_info.htm 16854 2009-12-07 06:20:09Z sxc_shop $ -->
|
|
|
|
<div class="main-div">
|
|
<form method="post" action="goods.php" name="theForm" onsubmit="return validate()" enctype="multipart/form-data">
|
|
<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>
|
|
<input name="attr_img_flie" type="file" />
|
|
{if $goods_attr_info.attr_img_flie}<a href="../{$goods_attr_info.attr_img_flie}" target="_blank">查看</a>{/if}
|
|
|
|
{if $goods_attr_info.attr_img_flie}
|
|
<input type="button" value="{$lang.drop_attr_img}" onclick="if (confirm('{$lang.confirm_drop_img}'))location.href='goods.php?act=drop_attr_img&goods_id={$goods_id}&attr_id={$attr_id}&goods_attr_name={$goods_attr_name}&goods_attr_id={$goods_attr_id}'">
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">属性相册图:</td>
|
|
<td>
|
|
<input name="choose_attrImg" value="选择图片" type="button" onclick="get_choose_attrImg({$goods_id}, {$goods_attr_id})" />
|
|
{if $goods_attr_info.attr_gallery_flie} <a href="../{$goods_attr_info.attr_gallery_flie}" target="_blank">查看</a>{/if}
|
|
<input type="hidden" name="img_url" value="{$goods_attr_info.attr_gallery_flie}" id="imgUrl" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">属性外链地址:</td>
|
|
<td><input name="attr_img_site" type="text" value="{$goods_attr_info.attr_img_site}" size="50" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">商品默认选择:</td>
|
|
<td><input name="attr_checked" type="radio" value="0" {if $goods_attr_info.attr_checked eq 0} checked="checked"{/if} />否 <input name="attr_checked" type="radio" value="1" {if $goods_attr_info.attr_checked eq 1} checked="checked"{/if} />是</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>
|
|
|
|
<!--模板堂修改 start by zhouH-->
|
|
<style type="text/css">
|
|
#feedbox{ margin:2px 0 20px 10px; padding:0 ;border:#d7d7d7 1px solid; width:979px; background:#fff; float:left; overflow:hidden; clear:both; cursor:pointer; filter:alpha(opacity=100);opacity:1;}
|
|
#feedbox h2{text-align:center;}
|
|
#feedbox h2 span{font-size:12px; float:right; margin-right:5px; margin-top:-10px; }
|
|
#feedbox ul{width:979px; padding:0; margin:0;}
|
|
#feedbox li{float:left; list-style:none; padding:5px; position:relative;}
|
|
#feedbox li i{position:absolute; width:30px; height:30px; right:7px; bottom:10px; display:none;}
|
|
#feedbox li img{border:2px solid #dadada;}
|
|
#feedbox li i img{border:0px;}
|
|
#feedbox li.on i{display:block;}
|
|
</style>
|
|
<div id="feedbox" style="display:none;">
|
|
<h2>选择属性图片<Span onClick="closeedBox('feedbox')">【关闭】</Span></h2>
|
|
<div id="feedcontent">
|
|
|
|
</div>
|
|
</div>
|
|
<!--模板堂修改 end by zhouH-->
|