HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
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/bs.kntsleep.com/system/web/common/html/member/finance.html
{include common=html/member/head}
<div class="packages">
  <div class="tabcheck">
    <ul>
      <li {if:(!get.supply)}class="on"{/if}><a href="{items.folder|url::member='finance'|url::param='supply',null}">购买会员</a></li>
      <li {if:(get.supply=='1')}class="on"{/if}><a href="{items.folder|url::member='finance'|url::param='supply',1}">购买金币</a></li>
      <li {if:(get.supply=='2')}class="on"{/if}><a href="{items.folder|url::member='finance'|url::param='supply',2}">金币充值</a></li>
      <li {if:(get.supply=='3')}class="on"{/if}><a href="{items.folder|url::member='finance'|url::param='supply',3}">积分兑换</a></li>
    </ul>
  </div>
  <form class="buysupply" action="{path.relative}api/member/?action=buy" method="post">
  {get.supply|form::input='supply',setDefault(###,0),null,'hidden',array(),false}
  <div class="startbuy">
    {if:(!get.supply || get.supply==1)}
    <dl>
      <dt><h4>套餐选择:</h4></dt>
      <dd>
        <table class="tables">
            <tbody>
                {if:(!get.supply)}
                <tr>
                    <th>选择</th>
                    <th>名称</th>
                    <th>价格</th>
                    <th>期限</th>
                </tr>
                {$list = page::package(0)}
                {foreach data=$list key=$k}
                <tr>
                    <td width="68">{$input = form::radio('id',null,null,array($v.id=>null),array('required'))}{$input}</td>
                    <td t="名称" width="40%">{$v.name}</td>
                    <td t="价格" width="30%">{$v.price}元</td>
                    <td t="期限">{$v.term|arrExist=$G.option.term,###}</td>
                </tr>
                {/foreach}
                {else if:(get.supply==1)}
                <tr>
                    <th>选择</th>
                    <th>名称</th>
                    <th>金币</th>
                    <th>价格</th>
                </tr>
                {$list = page::package(1)}
                {foreach data=$list key=$k}
                <tr>
                    <td width="68">{$input = form::radio('id',null,null,array($v.id=>null),array('required'))}{$input}</td>
                    <td t="名称" width="40%">{$v.name}</td>
                    <td t="金币" width="30%">{$v.golds}</td>
                    <td t="价格">{$v.price}元</td>
                </tr>
                {/foreach}
                {/if}
            </tbody>
        </table>
      </dd>
    </dl>
    <dl>
      <dt><h4>支付方式:</h4></dt>
      <dd>{$input = form::radio('payment',null,null,$G['payment'],array('required'),false)}{$input}</dd>  
    </dl>
    <dl>
      <dt></dt>
      <dd><button class="buybtn">购买</button></dd>
    </dl>
    {else if:(get.supply==2)}
    <dl>
      <dt><h4>充值卡号:</h4></dt>
      <dd>{$input = form::input('sn',null,null,'text',array('required'),false)}{$input}</dd>  
    </dl>
    <dl>
      <dt></dt>
      <dd><button>充值</button></dd>
    </dl>
    {else if:(get.supply==3)}
    <dl>
      <dt><h4>兑换数量:</h4></dt>
      <dd>{$input = form::input('golds',0,null,'number',array('required'),false)}{$input}<span>兑换金币比例:{config.member_exchange_golds}积分/1金币;当前积分总数{member.points},可兑换{member.points|floor=###/config.member_exchange_golds}金币。</span></dd>  
    </dl>
    <dl>
      <dt></dt>
      <dd><button>兑换</button></dd>
    </dl>
    {/if}
  </div>
  </form>
  <div class="attention">
    {if:(!get.supply)}
    <p><strong>注意事项:</strong></p>
    <p>1. 会员套餐为虚拟产品,一经售出概不退款。</p>
    <p>2. 升级的会员会根据购买的套餐期限自动过期。</p>
    <p>3. 购买时遇到问题请联系我们。</p>
    {else if:(get.supply==1)}
    <p><strong>注意事项:</strong></p>
    <p>1. 金币为虚拟产品,一经售出概不退款。</p>
    <p>2. 购买金币后会立即到账,请注意查收金币数量。</p>
    <p>3. 购买时遇到问题请联系我们。</p>
    {else if:(get.supply==2)}
    <p><strong>注意事项:</strong></p>
    <p>1. 充值卡为虚拟产品,一经兑换概不返还。</p>
    {else if:(get.supply==3)}
    <p><strong>注意事项:</strong></p>
    <p>1. 积分兑换金币比例:{config.member_exchange_golds}积分可兑换1金币。</p>
    <p>2. 积分可通过每日登陆、提交投稿、评论文章等方式获取。</p>
    {/if}
  </div>
</div>
{include common=html/member/foot}