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/shipping_template.htm
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}

<div class="list-div" style="margin-bottom: 5px">
  <table id="general-table" align="center" width="100%" cellpadding="3" cellspacing="1" border="0">
  <tr>
    <td colspan="2" width="100%"><a href="javascript:showNotice('noticeGoodsSN');" title="{$lang.form_notice}"><img src="images/notice.gif" width="21" height="21" border="0" alt="{$lang.form_notice}"></a><strong>请选择模板的模式:</strong><input type="radio" name="model" id="model_1" value="1" {if $shipping.print_model == 1}checked="checked"{/if} onclick="javascript:model_change('1');">代码模式&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="model" id="model_2" value="2" {if $shipping.print_model == 2}checked="checked"{/if} onclick="javascript:model_change('2');">所见即所得模式<br/><span class="notice-span" {if $help_open}style="display:block" {else} style="display:none" {/if} id="noticeGoodsSN">选择“代码模式”可以切换到以前版本。建议您使用“所见即所得模式”。所有模式选择后,同样在打印模板中生效。</span></td>
  </tr>
  <tr>
    <th colspan="2" width="100%">编辑模板</th>
  </tr>

  <tr id="visual" {if $shipping.print_model == 1}style="display:none"{/if}>
    <td colspan="2" width="100%"><!--Flash播放器 start--><iframe id="goods_desc___Frame" src="shipping.php?act=print_index&shipping={$shipping_id}" width="99%" height="675" frameborder="0" scrolling="no"></iframe><!--Flash播放器 end--></td>
  </tr>
  
  <form method="post" name="theForm" action="shipping.php?act=do_edit_print_template&shipping={$shipping.shipping_id}">
  <input type="hidden" name="print_model" value="1">
  <input type="hidden" name="shipping_name" value="{$shipping.shipping_name}">
  <tr id="code_shipping_print" {if $shipping.print_model == 2}style="display:none"{/if}>
    <td width="75%"><textarea id="shipping_print" name="shipping_print" rows="26" cols="100" >{$shipping.shipping_print|escape:html}</textarea></td>
    <td align="left" valign="top" width="25%">{$lang.shipping_template_info}</td>
  </tr>
  <tr id="code_submit" {if $shipping.print_model == 2}style="display:none"{/if}>
    <td colspan="2" align="center" width="100%"><input type="submit" value="{$lang.button_submit}" class="button" /></td>
  </tr>
  </form>

  </table>
</div>

{insert_scripts files="validator.js"}

<script type="text/javascript">
<!--
var display_yes = (Browser.isIE) ? 'block' : '';

/**
 * 切换编辑模式
 */
function model_change(type)
{
  //获取表单对象
  switch (type)
  {
    case '1': //代码模式

        document.getElementById('code_shipping_print').style.display = display_yes;
        document.getElementById('code_submit').style.display = display_yes;

        document.getElementById('visual').style.display = 'none';

    break;

    case '2': //所见即所得模式

        document.getElementById('code_shipping_print').style.display = 'none';
        document.getElementById('code_submit').style.display = 'none';

        document.getElementById('visual').style.display = display_yes;

    break;
  }

  return true;

}
//-->
</script>

{include file="pagefooter.htm"}