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/contribute.html
{include common=html/member/head}
<div class="tabcheck">
  <ul>    
    <li {if:(!get.tools)}class="on"{/if}><a href="{items.folder|url::member='contribute'|url::param='tools',null}">我的文档</a></li>
    <li {if:(get.tools=='1')}class="on"{/if}><a href="{items.folder|url::member='contribute'|url::param='tools',1}">购买文档</a></li>
  </ul>
</div>
<div class="mycontribute">
  <form class="contributeform" action="{path.relative}api/member/?action=contribute&func=delete" method="post">
    {get.tools|form::input='tools',setDefault(###,0),null,'hidden',array(),false}
    {if:(!get.tools)}
    {if:(config.member_contribute_open)}
    <div class="publish">
      <a href="{items.folder|url::member='publish'}">发布投稿</a>
    </div>
    {/if}
    <table class="tables">
        <tbody>
            <tr>
                {if:(config.member_authorize_delete)}
                <th width="68">选择</th>
                {/if}
                <th>标题</th>
                <th>状态</th>
                <th width="168">发布时间</th>
            </tr>
            {foreach data=$G.contribute.list}
            <tr>
                {if:(config.member_authorize_delete)}
                <td width="68">{$input = form::checkbox('id',null,null,array($v.type.'_'.$v.id=>null),array('class'=>'contributeid'))}{$input}</td>
                {/if}
                <td t="标题"><a href="{$v.url}" target="_blank" title="{$v.name}">{$v.name}</a></td>
                <td t="状态" width="108">{if:($v.weight==-1)}待审 <a class="edit" href="{items.folder|url::member='publish'|url::param='id',$v.type.'_'.$v.id}">[修改]</a>{else}已审核{/if}</td>
                <td t="发布时间" s4 width="168">{$v.mtime|date='Y-m-d H:i:s',###}</td>
            </tr>
            {/foreach}
        </tbody>
    </table>
    {else}
    <table class="tables">
        <tbody>
            <tr>
                {if:(config.member_authorize_delete)}
                <th width="68">选择</th>
                {/if}
                <th>标题</th>
                <th>消费金币</th>
                <th width="168">购买时间</th>
            </tr>
            {foreach data=$G.contribute.list}
            <tr>
                {if:(config.member_authorize_delete)}
                <td width="68">{$input = form::checkbox('id',null,null,array($v.id=>null),array('class'=>'contributeid'))}{$input}</td>
                {/if}
                <td t="标题"><a href="{$v.group.url}" target="_blank" title="{$v.group.name}">{$v.group.name}</a></td>
                <td t="消费金币" s4 width="108">{$v.golds}</td>
                <td t="购买时间" s4 width="168">{$v.ctime|date='Y-m-d H:i:s',###}</td>
            </tr>
            {/foreach}
        </tbody>
    </table>
    {/if}
    {if:(config.member_authorize_delete)}
    <div class="buttons">
      <a href="javascript:$('.mycontribute input.contributeid').prop('checked',true);">全选</a>
      <a href="javascript:$('.mycontribute input.contributeid').prop('checked',false);" class="to">取消</a>
      <a class="red" href="javascript:confirm('确定删除吗?')?$('.mycontribute form.contributeform').submit():false;">删除</a>
    </div>
    {/if}
  </form>
</div>
<div class="mypages">{pages class=html set=$G.contribute.pages display=true}{/pages}</div>
{include common=html/member/foot}