<!-- Home Design Inner Pages -->
<div class="ulockd-inner-home">
    <div class="container">
        <div class="row">
            <div class="inner-conraimer-details">
                <div class="col-md-12">
                    <h1 class="text-uppercase"><?php echo $this->lang->line('contact_us'); ?></h1>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Home Design Inner Pages -->
<div class="ulockd-inner-page">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="ulockd-icd-layer">
                    <ul class="list-inline ulockd-icd-sub-menu">
                        <li><a href="<?php echo site_url(); ?>"> <?php echo $this->lang->line('home'); ?> </a></li>
                        <li>></li>
                        <li> <a href="<?php echo site_url('contact'); ?>"><?php echo $this->lang->line('contact_us'); ?> </a> </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Contact-->
<section class="ulockd-contact-page">
    <div class="container">
        <div class="row">
            <div class="col-md-6 col-md-offset-3 text-center">
                <div class="ulockd-main-title">
                    <h2 class="mt-separator"><?php echo $this->lang->line('reach_us'); ?></h2>
                    <?php if ($this->session->userdata('site_lang') == 'bengali') { ?>
                        <p><?php echo isset($this->sections->bn_contact) && !empty($this->sections->bn_contact) ? $this->sections->bn_contact : ''; ?></p>
                    <?php } else { ?>
                        <p><?php echo isset($this->sections->contact) && !empty($this->sections->contact) ? $this->sections->contact : ''; ?></p>
                    <?php } ?>
                </div>
            </div>
        </div>
        <div class="row">
            <?php if (isset($this->global_setting->phone) && !empty($this->global_setting->phone)) { ?>
                <div class="col-xxs-12 col-xs-6 col-sm-6 col-md-3">
                    <div class="ulockd-ohour-info style2 text-center">
                        <div class="ulockd-icon text-thm2"><span class="fa fa-phone"></span></div>
                        <div class="ulockd-info">
                            <h3><?php echo $this->lang->line('call_us'); ?></h3>
                            <p class="ulockd-addrss"><?php echo $this->global_setting->phone; ?></p>
                        </div>
                    </div>
                </div>
            <?php } ?>

            <?php if (isset($this->global_setting->email) && !empty($this->global_setting->email)) { ?>
                <div class="col-xxs-12 col-xs-6 col-sm-6 col-md-3">
                    <div class="ulockd-ohour-info style2 mb305-xsd text-center">
                        <div class="ulockd-icon text-thm2"><span class="fa fa-envelope"></span></div>
                        <div class="ulockd-info">
                            <h3><?php echo $this->lang->line('email'); ?></h3>
                            <p class="ulockd-addrss"><?php echo $this->global_setting->email; ?></p>
                        </div>
                    </div>
                </div>
            <?php } ?>
            <div class="col-xxs-12 col-xs-6 col-sm-6 col-md-3">
                <div class="ulockd-ohour-info style2 text-center">
                    <div class="ulockd-icon text-thm2"><span class="fa fa-globe"></span></div>
                    <div class="ulockd-info">
                        <h3><?php echo $this->lang->line('web'); ?></h3>
                        <p class="ulockd-addrss"><?php echo str_replace(array('http://', '/'), '', 'www.' . site_url()); ?></p>
                    </div>
                </div>
            </div>
            <?php if (isset($this->global_setting->address) && !empty($this->global_setting->address)) { ?>
                <div class="col-xxs-12 col-xs-6 col-sm-6 col-md-3">
                    <div class="ulockd-ohour-info style2 text-center">
                        <div class="ulockd-icon text-thm2"><span class="fa fa-map-signs"></span></div>
                        <div class="ulockd-info">
                            <h3><?php echo $this->lang->line('address'); ?></h3>
                            <p><?php echo $this->global_setting->address; ?></p>
                        </div>
                    </div>
                </div>
            <?php } ?>
        </div>
        <div class="row ulockd-mrgn1250">
            <div class="col-md-6">
                <div class="ulockd-contact-form">
                    <form class="contact-form" action="<?php echo site_url('contact'); ?>" method="post">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group">
                                    <input type="text" class="form-control ulockd-form-fg" name="name" id="name" value="<?php echo isset($name) ?  $name : ''; ?>" placeholder="<?php echo $this->lang->line('name'); ?>" required>
                                    <div class="help-block with-errors"><?php echo form_error('name'); ?></div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <input type="number" min="0" maxlength="11" class="form-control ulockd-form-fg" name="phone" id="phone" value="<?php echo isset($phone) ?  $phone : ''; ?>" placeholder="<?php echo $this->lang->line('phone'); ?>" required>
                                    <div class="help-block with-errors"><?php echo form_error('phone'); ?></div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <input type="email" class="form-control ulockd-form-fg" name="email" id="email" value="<?php echo isset($email) ?  $email : ''; ?>" placeholder="<?php echo $this->lang->line('email'); ?>" required>
                                    <div class="help-block with-errors"><?php echo form_error('email'); ?></div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <input type="text" class="form-control ulockd-form-fg" name="subject" id="subject" value="<?php echo isset($subject) ?  $subject : ''; ?>" placeholder="<?php echo $this->lang->line('subject'); ?>" required>
                                    <div class="help-block with-errors"><?php echo form_error('subject'); ?></div>
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <textarea rows="12" class="form-control ulockd-form-tb" name="message" id="message" placeholder="<?php echo $this->lang->line('note'); ?>"><?php echo isset($message) ?  $message : ''; ?></textarea>
                                    <div class="help-block with-errors"><?php echo form_error('message'); ?></div>
                                </div>
                                <div class="form-group ulockd-contact-btn">
                                    <button type="submit" class="btn btn-default ulockd-btn-thm2"><?php echo $this->lang->line('send'); ?></button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="col-md-6">
                <div class="ulockd-google-map">
                    <?php if (isset($this->global_setting->map) && !empty($this->global_setting->map)) { 
                        echo $this->global_setting->map;  
                    } ?>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- Active Class Script -->
<script type="text/javascript">
    window.onload = function() {
        $('#contact').addClass('active');
    };
</script>