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_users_list.html
{if $full_page}

<!-- $Id: wxch_users_list.html 2013-12-1 Z djks $ -->

{include file="wxch_pageheader.htm"}

{insert_scripts files="../data/static/js/utils.js"}

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

<div class="form-div">

    <form action="javascript:searchUser()" name="searchForm">

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

        &nbsp;{$lang.label_rank_name} <select name="user_type"><option value="nickname" selected="selected">昵称</option><option value="province">省份</option><option value="city">城市</option></select>

        &nbsp;{$lang.label_user_name} &nbsp;<input type="text" name="keyword" /> <input type="submit" value="{$lang.button_search}" />

    </form>

</div>

<style>

    .nickname{padding-left: 5px;}

</style>

<form method="POST" action="" name="listForm" onsubmit="return confirm_bath()">



    <!-- start users list -->

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

        {/if}

        <!--用户列表部分-->

        <table cellpadding="3" cellspacing="1">

            <tr>

                <th>

                    <input onclick='listTable.selectAll(this, "checkboxes")' type="checkbox">

                    <a href="javascript:listTable.sort('user_id'); ">编号</a>

                </th>

                <th>昵称</th>

                <th>绑定会员</th>

                <th>性别</th>

                <th>省份</th>

                <th>城市</th>

                <th>关注时间</th>

                <th>操作</th>

            <tr>

                {foreach from=$user_list item=user}

            <tr>

                <td align="center"><input type="checkbox" name="checkboxes[]" value="{$user.uid}" notice="{if $user.user_money ne 0}1{else}0{/if}"/>{$user.uid}</td>

                <td align="center">

                    {if $user.headimgurl }<img src="{$user.headimgurl}" title="{$user.nickname}" width="46" /><span class="nickname">{$user.nickname}</span>{else}{$user.nickname} {/if}

                </td>

                <td align="center">{$user.user_name}</td>

                <td align="center">{$user.sex}</td>

                <td align="center">{$user.province}</td>

                <td align="center">{$user.city}</td>

                <td align="center">{$user.subscribe_time}</td>

                <td align="center">

                    <a href="wxch_users.php?act=view&uid={$user.uid}" ><img src="images/icon_view.gif" border="0" width="21" height="21" /></a>

                    <a href="wxch_users.php?act=send&uid={$user.uid}" ><img src="images/icon_title.gif" border="0" width="21" height="21" /></a>

					 <a href="javascript:confirm_redirect('是否删除该粉丝', 'wxch_users.php?act=remove&id={$user.uid}')" title="移除"><img src="images/icon_drop.gif" border="0" width="21" height="21" /></a>

                </td>

            </tr>

            {/foreach}

            <tr>

                <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>

       </span>

                    </div>

                </td>

            </tr>

        </table>



        {if $full_page}

    </div>

    <!-- end users list -->

</form>

<script type="text/javascript" language="JavaScript">

    <!--

    listTable.recordCount = {$record_count};

    listTable.pageCount = {$page_count};



    {foreach from=$filter item=item key=key}

    listTable.filter.{$key} = '{$item}';

    {/foreach}



    {literal}

    onload = function()

    {

        document.forms['searchForm'].elements['keyword'].focus();

        // 开始检查订单

        startCheckOrder();

    }



    /**

     * 搜索用户

     */

    function searchUser()

    {

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

        listTable.filter['type'] = document.forms['searchForm'].elements['user_type'].value;

        listTable.filter['page'] = 1;

        listTable.loadList();

    }



    function confirm_bath()

    {

        userItems = document.getElementsByName('checkboxes[]');



        cfm = '{$lang.list_remove_confirm}';



        for (i=0; userItems[i]; i++)

        {

            if (userItems[i].checked && userItems[i].notice == 1)

            {

                cfm = '{$lang.list_still_accounts}' + '{$lang.list_remove_confirm}';

                break;

            }

        }



        return confirm(cfm);

    }

    //-->

</script>



{/literal}

{include file="wxch_pagefooter.htm"}

{/if}