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/mobile/ecshopjcw/templates/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/saimikebio.com/mobile/ecshopjcw/templates/wxch_prize.html
<!-- $Id: wxch_point.html  2013-10-16 20:13 Z djks $ -->

{if $full_page}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

    <title>{$lang.cp_home}{if $wxch_lang.ur_here} - {$wxch_lang.ur_here} {/if}</title>

    <meta name="robots" content="noindex, nofollow">

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <link href="styles/general.css" rel="stylesheet" type="text/css" />

    <link href="styles/main.css" rel="stylesheet" type="text/css" />

	{insert_scripts files="../js/jquery-1.9.1.min.js,../js/jquery.json.js"}
    <script type="text/javascript" src="./js/transport_jquery.js"></script><script type="text/javascript" src="js/common.js"></script>

</head>

<body>



<h1>

    <span class="action-span"><a href="wxch_prize.php?act=add_prize">添加新抽奖规则</a></span>

    <span class="action-span1"><a href="index.php?act=main">{$lang.cp_home}</a> </span><span id="search_id" class="action-span1"> - {$wxch_lang.ur_here} </span>

    <div style="clear:both"></div>

</h1>

<script type="text/javascript" src="../data/static/js/utils.js"></script><script type="text/javascript" src="./js/listtable.js"></script>



<div class="form-div">

    <form action="javascript:searchArticle()" name="searchForm" action="wxch_prize.php" >

        <img src="images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />

        规则名称 <input type="text" name="keyword" id="keyword" />

        <input type="submit" value=" 搜索 " class="button" />

    </form>

</div>



<!-- start prize -->

<form method="POST" action="wxch_prize.php?act=batch_remove" name="listForm">

    <!-- start cat list -->

    <div class="list-div" id="listDiv">

        {/if}

        <table cellspacing='1' cellpadding='3' id='list-table'>

            <tr>

                <th><a href="#">规则名称</a></th>

                <th><a href="#">活动项目</a></th>

                <th><a href="#">活动状态</a></th>

                <th><a href="#">参与人数</a></th>

                <th><a href="#">开始时间</a></th>

                <th><a href="#">结束时间</a></th>

                <th>操作</th>

            </tr>

            {foreach from=$wxchdata item=list}

            <tr>

                <td class="first-cell">

                    <span onclick="javascript:listTable.edit(this, 'edit_title', {$list.id})">{$list.title} </span></td>

                <td align="center"><span>{$list.fun_title}</span></td>

                <td align="center">

                    <span><img src="images/{if $list.status eq 1}yes{else}no{/if}.gif" onclick="listTable.toggle(this, 'zjd_state', {$list.pid})" /></span>

                </td>

                <td align="center"><span>{$list.count}</span></td>

                <td align="center"><span>{$list.starttime}</span></td>

                <td align="center">{$list.endtime}</td>

                <td align="center" nowrap="true"><span>

                <a href="/wechat/{if $list.fun eq 'egg'}egg{else}dzp{/if}/index.php?pid={$list.pid}" target="_blank" title="查看"><img src="images/icon_view.gif" width="21" height="21" border="0" /></a>

                    <a href="wxch_prize.php?act=edit_prize&pid={$list.pid}" title="编辑规则"><img src="images/icon_priv.gif" border="0" width="21" height="21" /></a>&nbsp;

      <a href="wxch_prize.php?act=edit&pid={$list.pid}" title="编辑奖品、数量"><img src="images/icon_edit.gif" border="0" width="21" height="21" /></a>&nbsp;

     <!--  --><a href="javascript:;" onclick="listTable.remove({$list.pid}, '您确认要删除这个规则吗?')" title="移除"><img src="images/icon_drop.gif" border="0" width="21" height="21"></a><!--  --></span>

                </td>

            </tr>

            {/foreach}

            <tr>&nbsp;

                <td align="right" nowrap="true" colspan="8">

                    <div id="turn-page">

                        总计  <span id="totalRecords">{$filter.record_count}</span>

                        个记录分为 <span id="totalPages">{$filter.page_count}</span>

                        页当前第 <span id="pageCurrent">{$filter.page}</span>

                        页,每页 <input type='text' size='3' name="page_size" id='pageSize' value="{$filter.page_size}" onkeypress="return listTable.changePageSize(event)" />

        <span id="page-link">

          <a href="javascript:listTable.gotoPageFirst()">第一页</a>

          <a href="javascript:listTable.gotoPagePrev()">上一页</a>

          <a href="javascript:listTable.gotoPageNext()">下一页</a>

          <a href="javascript:listTable.gotoPageLast()">最末页</a>

          <select id="gotoPage" onchange="listTable.gotoPage(this.value)">

              {create_pages count=$filter.page_count page=$filter.page}

          </select>

                    </div>

                </td>

            </tr>

        </table>



        {if $full_page}

    </div>

</form>

<!-- end prize form -->





<script language="JavaScript">

    listTable.recordCount = {$filter.record_count};

    listTable.pageCount = {$filter.page_count};

    var page_size   = {$filter.page_size};



    listTable.filter.type = '{$filter.type}';

    listTable.filter.pagesize = '{$filter.page_size}';

    listTable.filter.record_count = '{$filter.record_count}';

    listTable.filter.page = '{$filter.page}';

    listTable.filter.page_count = '{$filter.record_count}';

    listTable.filter.start = '{$filter.start}';

{literal}

    onload = function () {



        // 开始检查订单

        startCheckOrder();

    }

    /* 搜索规则 */

    function searchArticle() {

        listTable.filter.keyword = Utils.trim(document.forms['searchForm'].elements['keyword'].value);

        listTable.filter.page = 1;

        listTable.loadList();

    }

</script>

{include file="wxch_pagefooter.htm"}

{/if}