<?php
if((int) $tpl['option_arr']['o_turn_off_timezone_selection'] == 0)
{
    ?>
    <div class="row">
        <div class="col-lg-4">
            <div class="form-group">
                <label><?php __('front_timezone'); ?>:</label>
            </div>
        </div>
        <div class="col-lg-8">
            <div class="form-group">
                <select name="" class="form-control" data-timezone="1">
                    <?php
                        $timezones = DateTimeZone::listIdentifiers();
                        foreach ($timezones as $timezone) {
                            echo sprintf('<option value="%1$s" %2$s>%1$s</option>', $timezone, (($timezone == $tpl['client']['timezone'])? 'selected="selected"': ''));
                        }
                    ?>
                </select>
            </div>
        </div>
    </div>
    <?php
}else{
    ?>
    <div class="row">
        <div class="col-lg-4">
            <div class="form-group">
                <label>&nbsp;</label>
            </div>
        </div>
        <div class="col-lg-8">
            &nbsp;
        </div>
    </div>
    <?php
}
?>
