/var/www/hkosl.com/ifapc/html_20210817/IFAPC2021/application/views/main/application_member_form.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php include_once('templates/top.php'); ?>
<section id="page-title" style="background-image: url('<?php echo assets_url('main/img/lady_gold_2018.jpg'); ?>');" class="background-title">
    <div class="container clearfix">
        <h1><?php echo __('Application Fom'); ?></h1>
        <ol class="breadcrumb">
            <li><a href="#"><?php echo __('Home'); ?></a></li>
            <li><a href="#"><?php echo __('Application'); ?></a></li>
            <li class="active"><?php echo __('Form'); ?></li>
        </ol>
    </div>
</section>

<!-- Content
        ============================================= -->
<section id="content">
    <div class="content-wrap">
        <div class="container clearfix">
            <div class="tabs divcenter nobottommargin clearfix" id="tab-login-reset" style="max-width: 500px;">
                <p style=" margin-bottom: 0;padding: 0 5px; line-height: 20px;">
                    <?=__('Please enter nominee and nominator email. If you are not nominee or nominator, system will send email and login information to those email account to do online nomination.')?>
                </p>

                <div class="tab-container">
                    <div class="tab-content clearfix" id="tab-reset">
                        <div class="panel panel-default nobottommargin">
                            <div class="panel-body" style="padding: 40px;">
                            <?php echo form_open(front_url('application/submit_form'), 'id="create_form"'); ?>
                                <?php if (validation_errors()) {?>
                                <div class="col_full alert alert-danger">
                                    <?php echo validation_errors(); ?>
                                </div>
                                <?php }?>

                                <?php $field 'nominee_email'?>
                                <div class="col_full">
                                    <?php echo is_required($validate_fields[$field], 2); ?><label for="<?php echo $field?>"><?php echo $name_fields[$field]; ?>:</label>
                                    <input type="email" id="<?php echo $field?>"
                                        name="<?php echo $field?>" class="sm-form-control" value="<?php echo set_value($field, $$field); ?><?php echo is_required($validate_fields[$field]); ?>>
                                </div>

                                <?php $field 'nominator_email'?>
                                <div class="col_full">
                                    <?php echo is_required($validate_fields[$field], 2); ?><label for="<?php echo $field?>"><?php echo $name_fields[$field]; ?>:</label>
                                    <input type="email" id="<?php echo $field?>"
                                        name="<?php echo $field?>" class="sm-form-control" value="<?php echo set_value($field, $$field); ?><?php echo is_required($validate_fields[$field]); ?>>
                                </div>

                                <div class="col_full nobottommargin">
                                    <button class="button button-3d button-black nomargin"><?php echo __('Submit'); ?></button>
                                </div>
                            <?php echo form_close(); ?>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
<?php include_once('templates/bottom.php'); ?>
<script>
$(function() {
    var create_lock = false;
    $('#create_form').bind('submit', function(e) {
        if (create_lock) {
            e.preventDefault();
        } else {
            create_lock = true;
        }
    });
});
</script>
<?php unset($_SESSION['error_msg']); ?>