view/agent/userprice.php

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<form action="/agent/users/setuserrate/<?php echo $userid ?>" method="post">
    <input type="hidden" name="saveset" value="1">
    <table class="table table-hover">
        <thead>
            <tr class="info">
                <th>
                    通道名称
                </th>
                <th>
                    当前状态
                </th>
                <th>
                    商户费率
                </th>
                <th>
                    您的费率
                </th>
            </tr>
        </thead>
        <tbody>
            <?php if($userprice):?>
                <?php foreach($userprice as $key=>$val):$acc=$this->model()->select('name')->from('acc')->where(array('fields'=>'id=?','values'=>array($val['channelid'])))->fetchRow();?>
                    <tr>
                        <td>
                            <?php echo $acc[ 'name']?>
                        </td>
                        <td>
                            <?php if($val[ 'is_state']=='0' ):?>
                                <span class="label label-success">
                                    <span class="glyphicon glyphicon-ok">
                                    </span>
                                </span>
                                <?php else:?>
                                    <span class="label label-danger">
                                        <span class="glyphicon glyphicon-remove">
                                        </span>
                                    </span>
                                    <?php endif;?>
                        </td>
                        <td>
                            <input type="hidden" name="accid[]" value="<?php echo $val['channelid']?>">
                            <input type="text" name="uprice[]" class="form-control" size="5" maxlength="6"
                            value="<?php echo $val['uprice']?>">
                        </td>
                        <td>
                            <?php foreach($agentprice as $key2=>$val2):?>
                                <?php if($val2[ 'channelid']==$val[ 'channelid']):?>
                                    <?php echo $val2[ 'gprice']?>
                                        <?php endif;?>
                                            <?php endforeach;?>
                        </td>
                    </tr>
                    <?php endforeach;?>
                        <?php endif;?>
        </tbody>
    </table>
    <div class="text-center">
        <button type="submit" class="btn btn-success">
            &nbsp;
            <span class="glyphicon glyphicon-save">
后面还有 6 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。