Server : Apache
System : Linux iZ2vcgyutqttsd1p850kl8Z 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
User : www ( 1000)
PHP Version : 5.6.40
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Directory :  /www/wwwroot/saimikebio.com/ecshopjcw/templates/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/saimikebio.com/ecshopjcw/templates/product_spec_pic_info.htm
<!-- $Id: articlecat_info.htm 16752 2009-10-20 09:59:38Z wangleisvn $ -->
{include file="pageheader.htm"}
{insert_scripts files="../js/jscolor/jscolor.js"}
<div class="main-div">
<form method="post" action="product_spec_pic.php" enctype="multipart/form-data" name="theForm"  onsubmit="return validate()">
<table cellspacing="1" cellpadding="3" width="100%">
  <tr>
    <td width="10%" class="label">{$lang.goods_name}</td>
    <td width="90%">{$goods_name}</td>
  </tr>

  <tr>
    <td class="label">{$attribute_info.attr_name}:</td>
    <td>
     {$attribute_info.attr_value}    </td>
  </tr>

  <tr>
    <td class="label">{$lang.hex_color}:</td>
    <td>
     <input class="color {adjust:false}" autocomplete="off" name="hex_color" value="{$attribute_info.hex_color}">{$lang.hex_color_tips}
     
     </td>
  </tr>
  
  <tr>
      <td class="label">上传属性图片:</td>
      <td>
        <input type="file" name="goods_img" size="35" />
      </td>
  </tr>
  {if $attribute_info.thumb_url}
  <tr>
      <td class="label">已上传属性图片:</td>
      <td>
        <img src="../{$attribute_info.img_url}" style="width:60px;height:auto;" />
      </td>
  </tr>
  {/if}  
  <tr id="auto_thumb_1" style="display:none;">
            <td class="label">上传属性缩略图【小图】:</td>
            <td id="auto_thumb_3">
              <input type="file" name="goods_thumb" size="35" />
              <br /><label for="auto_thumb"><input type="checkbox" id="auto_thumb" name="auto_thumb" checked="true" value="1" onclick="handleAutoThumb(this.checked)" />自动生成商品属性缩略图</label>
            </td>
  </tr>
  <tr>
    <td colspan="2" align="center"><br />
      <input type="submit" class="button" value="{$lang.button_submit}" />
      <input type="reset" class="button" value="{$lang.button_reset}" />
      <input type="hidden" name="act" value="act_edit_specification_pic" />
      <input type="hidden" name="goods_id" value="{$goods_id}" />
	  <input type="hidden" name="goods_attr_id" value="{$attribute_info.goods_attr_id}" />
  </tr>
</table>
</form>
</div>
{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
/**
 * 检查表单输入的数据
 */
function validate()
{
    validator = new Validator("theForm");
    return validator.passed();
}

window.onload = function()
{
     
	  if (document.forms['theForm'].elements['auto_thumb'])
      {
          handleAutoThumb(document.forms['theForm'].elements['auto_thumb'].checked);
      }
	 
      // 检查新订单
      startCheckOrder();
      document.forms['theForm'].reset();
}

function handleAutoThumb(checked)
{
	document.forms['theForm'].elements['goods_thumb'].disabled = checked;
}

//-->
</script>
{/literal}
{include file="pagefooter.htm"}