source: pro-violet-viettel/sourcecode/application/modules/frontend/views/package_register_modal.php @ 638

Last change on this file since 638 was 638, checked in by namnd, 11 years ago
File size: 3.7 KB
Line 
1<div class="modal fade" id="package_register_modal" tabindex="-1" role="dialog"aria-hidden="true">
2    <div class="modal-dialog">
3        <div class="modal-content">
4            <div class="modal-header">
5                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
6                <h4 class="modal-title">Đăng kÜ gói dịch vụ</h4>
7            </div>
8            <div class="modal-body">
9
10                <?php if ($can_buy == 0) { ?>
11                    <div class="alert alert-block alert-success">       
12                        <!--Số tiền trong Tài khoản SBG Online hiện tại cá»§a QuÜ vị là <?php echo $user['acc_balanced']; ?> đồng.<br />
13                        Tài khoản chính cá»§a QuÜ vị khÃŽng đủ để đăng kí sá»­ dụng cÃŽng cụ Soạn Bài Giảng trá»±c tuyến trên soanbaigiang.smas.vn. Hãy nạp thêm tiền và đăng kí lại. Cảm Æ¡n!-->
14                                                <?php
15                                                        $aryPatterns = array('/:acc_balanced:/');
16                                                        echo preg_replace($aryPatterns, array($user['acc_balanced']), lang('_SBG_ACC_BALANCE_LESS_PACKAGE_PRICE_MSG'));
17                                                ?>
18                    </div>
19                <?php } ?>
20               
21
22                <?php if ($can_buy == 1) { ?>
23                    <form id="do_package_register" class="form-horizontal" action="#" method="POST">
24                        <input name="p_id" value="<?php echo $package['p_id']; ?>" type="hidden" />
25                        <div class="errors" id="package_register_errors">
26                           
27                        </div>
28                        <div class="form-group">
29                            <label for="form-field-first" class="col-sm-4 control-label no-padding-right">
30                                Họ và tên</label>
31                            <div class="col-sm-8">
32                                <input name="fullname" <?php if ($can_edit == 0) { ?>  disabled <?php } ?> type="text" value="<?php echo $info['fullname']; ?>" placeholder="Họ và tên" id="form-field-first" class="input-large">
33                            <br />
34                                   
35                            </div>
36                        </div>
37
38                        <div class="space-4"></div>
39
40                        <div class="form-group">
41                            <label for="form-field-username" class="col-sm-4 control-label no-padding-right">
42                                Đơn vị</label>
43                            <div class="col-sm-8">
44                                <input name="school" <?php if ($can_edit == 0) { ?>  disabled <?php } ?> type="text" value="<?php echo $info['school']; ?>" placeholder="Đơn vị" id="form-field-first" class="input-large">
45                            </div>
46                        </div>
47<?php if ($can_edit == 1) { ?>
48                        Lưu Ü:
49                        <ul>
50                        <li><?php echo lang('_SBG_USER_INFO_MSG'); ?></li><li><?php echo lang('_SBG_USER_FULLNAME_NOT_CHANGE_MSG'); ?></li>
51                        </ul>
52<?php } ?>
53                       
54                    </form>
55                <?php } ?>
56                <div class="modal-footer">
57                    <?php if ($can_buy == 0) { ?>
58                    <a id="package_register_back" class="btn btn-success" data-dismiss="modal">Nạp thêm tiền</a>
59                    <?php } ?>
60                        <?php if ($can_buy == 1) { ?>
61                   
62                        <a href="#" id="finish_package_register" class="btn btn-success" >Hoàn tất</a>
63                    <?php } ?>
64                </div>
65            </div>
66        </div>
67    </div>
68</div>
Note: See TracBrowser for help on using the repository browser.