コード例 #1
0
ファイル: user.php プロジェクト: BlackCodes/Mymine
    ?>
">
                                            <td class="nickname" ><?php 
    echo Html::encode($user['nickName']);
    ?>
</td>
                                            <td class="mobile" ><?php 
    echo Html::encode($user['userMobile']);
    ?>
</td>
                                            <td class="email" ><?php 
    echo Html::encode($user['userEmail']);
    ?>
</td>
                                            <td><?php 
    echo Html::encode(EasyHelpers::getUserTypeZh($user['type']));
    ?>
</td>
                                            <td class="is_lock" ><?php 
    echo $user['status'] == 1 ? '<span class="icon-remove wrong"></span>' : '<span class="icon-ok right"></span>';
    ?>
</td>
                                            <td><?php 
    echo Html::encode($user['created_at']);
    ?>
</td>
                                            <td><button class="btn btn-success lock"><?php 
    echo $user['status'] == 1 ? '锁定' : '解锁';
    ?>
</button> <button class="btn btn-info group"  data-toggle="modal" data-target="#groupModal">查看所属分组</button></td>
                                        </tr>
コード例 #2
0
ファイル: coupon.php プロジェクト: BlackCodes/Mymine
                                    <label>优惠券金额(元):</label>
                                    <input type="text" name="couponPrice" class="form-control username" placeholder="给优惠券设置一个金额哦!">
                                </div>
                                <div>
                                    <label>优惠券数量(张):</label>
                                    <input type="text" name="couponAmount" class="form-control username" placeholder="您要发多少张优惠券呢?">
                                </div>
                                 <div>
                                    <label>优惠券阀值(元):</label>
                                    <input type="text" name="couponThreshold" class="form-control username" placeholder="消费多少才能领到它呢?">
                                 </div>
                                 <div>
                                    <label>优惠券应用范围:</label>
                                    <select class="form-control" name="appType">
                                    <?php 
foreach (EasyHelpers::getUserTypeZh() as $key => $value) {
    ?>
                                        <option value="<?php 
    echo $key;
    ?>
"><?php 
    echo $value;
    ?>
</option>
                                    <?php 
}
?>
                                    </select>
                                 </div>
                                 <div  class="">
                                    <label>优惠券有效期:</label>