HEX
Server: nginx/1.18.0
System: Linux iZj6c1ieg2jrpk1z5tzi19Z 6.3.9-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 21 22:18:40 EDT 2023 x86_64
User: www (1001)
PHP: 8.2.4
Disabled: 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
Upload Files
File: /www/wwwroot/www.cytocare.cn/wp-content/plugins/online-contact-widget/inc/fold.tpl.php
<div class="wb-ocw plugin-pc<?php echo $class_name . ' ' . $position; ?>" id="OCW_Wp">
  <?php foreach ($tool_items as $tool_item) :
    $key = $tool_item['id'];

    if ($key === 'order') {
      if (!$vk_active) {
        continue;
      }

      $link = home_url('?wbp=member&slug=vk');
  ?>
      <div class="ocw-el-item order">
        <a class="ocw-btn-item order wbp-act-mbc" data-target="vk-order" title="<?php _ex('我的订单', '功能入口', 'wb-ocw'); ?>" href="<?php echo esc_url($link); ?>">
          <svg class="ocw-wb-icon ocw-order">
            <use xlink:href="#ocw-order"></use>
          </svg>
        </a>
      </div>
    <?php
      continue;
    } // order

    $_opt = $tool_item['opt'];
    $_cnf = $tool_item['cnf'];
    $name = isset($_opt['name']) ? $_opt['name'] : $_cnf['name'];
    $item_class = $key === 'msg' ? $key . ' ocw-msg-btn' : $key;
    ?>
    <div class="ocw-el-item <?php echo esc_attr($key); ?>">
      <span class="ocw-btn-item<?php echo esc_attr($key == 'msg' ? ' ocw-msg-btn' : ''); ?>" title="<?php echo esc_attr($name); ?>">
        <svg class="ocw-wb-icon ocw-<?php echo esc_attr($key); ?>">
          <use xlink:href="#ocw-<?php echo esc_attr($key); ?>"></use>
        </svg>
      </span>

      <?php
      /**
       * 泡泡多item
       */
      if ($_cnf['multiple']) : ?>
        <div class="ocw-el-more">
          <div class="ocw-more-inner">
            <?php foreach ($_opt['data'] as $item_detail) :
              $img = isset($item_detail['img']) ? $item_detail['img'] : '';
              $val = isset($item_detail['url']) ? $item_detail['url'] : '';
              $label = isset($item_detail['label']) ? $item_detail['label'] : '';
              $link = '';
              $tips = '';
              if ($key == 'wx' && wp_is_mobile()) {
                $img = '';
              }
            ?>

              <div class="ocw-more-item">
                <?php if ($img) { ?>
                  <div class="wx-inner">
                    <img class="qr-img" src="<?php echo $img; ?>">
                    <div class="wx-text"><?php echo $label; ?></div>
                  </div>
                <?php } ?>

                <?php
                if ($key == 'wx' && $img) {
                  echo '</div>';
                  continue;
                }

                if ($val) {
                  switch ($key) {
                    case 'qq':
                      $link = wp_is_mobile() ? 'mqqwpa://im/chat?chat_type=wpa&uin=' . $val . '&version=1&src_type=web&web_src=' . $current_url  : 'http://wpa.qq.com/msgrd?v=3&uin=' . $val . '&site=qq&menu=yes';
                      break;

                    case 'email':
                      $link = 'mailto:' . $val . ' ';
                      break;

                    case 'tel':
                      $link = 'tel:' . $val . ' ';
                      break;

                    case 'wx':
                      $link = $val;
                      $tips = ' title="' . __('点击复制微信号', 'wb-ocw') . '"';
                      $val = $item_detail['nickname'] ?? $val;
                      break;
                  }
                ?>

                  <svg class="ocw-wb-icon ocw-<?php echo esc_attr($key); ?>">
                    <use xlink:href="#ocw-<?php echo esc_attr($key); ?>"></use>
                  </svg>
                  <div class="ocw-p ocw-label"><?php echo $label; ?></div>
                  <div class="ocw-p">
                    <a class="ocw-link" target="_blank" <?php echo $tips; ?> href="<?php echo $link; ?>" rel="nofollow">
                      <?php echo $val; ?>
                    </a>
                  </div>

                <?php } ?>
              </div>
            <?php endforeach; ?>
          </div>
        </div>
      <?php endif; ?>

      <?php
      /**
       * 在线留言面板
       */
      if ($key === 'msg') : ?>
        <div class="ocw-form-panel ocw-el-more">
          <div class="ocw-more-inner">
            <div class="ocw-form-header"><?php echo $contact_msg; ?></div>

            <div class="ocw-contact-form">
              <?php include_once ONLINE_CONTACT_WIDGET_PATH . '/inc/contact_form.php'; ?>
            </div>

            <span class="ocw-btn-close">
              <svg class="ocw-wb-icon ocw-close">
                <use xlink:href="#ocw-close"></use>
              </svg>
            </span>
          </div>
        </div>
      <?php endif; ?>
    </div>

  <?php endforeach;
  ?>
</div>