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/integrates_sync.htm
<!-- $Id: integrates_sync.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{include file="pageheader.htm"}
<!-- start integrate setup form -->
<div class="list-div" id="listDiv">
  <table cellpadding="3" cellspacing="1">
    <tr><th>{$lang.task_name}</th><th>{$lang.task_status}</th></tr>
    {foreach from=$tasks item=task}
    <tr>
      <td>{$task.task_name}</td>
      <td>{$task.task_status}</td>
    </tr>
    {/foreach}
    <tr>
    <td colspan="2">&nbsp;</span>
    </tr>
    <tr>
    <td colspan="2">{$lang.sync_size}&nbsp;&nbsp;<input type="text" name="size" size="5" value="{$size}" id="ECS_SIZE"></td>
    </tr>
    <tr>
    <td colspan="2">
      <input type="button" value="{$lang.button_pre}" class="button" onclick="location.href='integrate.php?act=modify'">
      <input type="button" value="{$lang.start_task}" class="button" onclick="sync_start(this)">
    </tr>
  </table>
</div>
<!-- end integrate setup form -->
{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
function sync_start(obj)
{
  var size_obj = document.getElementById('ECS_SIZE');
  var size = parseInt(size_obj.value);

  obj.disabled = true;
  Ajax.call('integrate.php?act=task', 'size=' + size, taskResponse, 'GET', 'JSON');
}

function taskResponse(result)
{
  if (result.message.length > 0)
  {
    alert(result.message);
  }
  if (result.error == 0)
  {
    if (result.id.length > 0)
    {
      document.getElementById(result.id).innerHTML = result.content;
    }
    if (result.end)
    {
      location.href = 'integrate.php?act=complete';
    }
    else
    {
      Ajax.call('integrate.php?act=task', 'size=' + result.size, taskResponse, 'GET', 'JSON');
    }
  }
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}