ok
Direktori : /home2/selectio/public_html/bharath/application/views/settings/ |
Current File : /home2/selectio/public_html/bharath/application/views/settings/cover_image.php |
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?> <div id="wrapper"> <div class="container"> <div class="row"> <div class="col-12"> <nav class="nav-breadcrumb" aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="<?php echo lang_base_url(); ?>"><?php echo trans("home"); ?></a></li> <li class="breadcrumb-item active" aria-current="page"><?php echo $title; ?></li> </ol> </nav> <h1 class="page-title"><?php echo trans("settings"); ?></h1> </div> </div> <div class="row"> <div class="col-sm-12 col-md-3"> <div class="row-custom"> <!-- load profile nav --> <?php $this->load->view("settings/_setting_tabs"); ?> </div> </div> <div class="col-sm-12 col-md-9"> <div class="row-custom"> <div class="profile-tab-content"> <!-- include message block --> <?php $this->load->view('partials/_messages'); ?> <?php echo form_open_multipart("cover-image-post", ['id' => 'form_validate']); ?> <div class="form-group"> <label class="control-label"><?php echo trans("cover_image"); ?> (1920x400)</label> <?php if (!empty($this->auth_user->cover_image)): ?> <img src="<?= base_url() . $this->auth_user->cover_image; ?>" class="img-fluid m-b-15"> <?php else: ?> <div class="edit-profile-cover-image"> <i class="icon-image"></i> </div> <?php endif; ?> <p class="m-0"> <a class='btn btn-md btn-info btn-file-upload btn-file-upload-cover'> <?php echo trans('select_image'); ?> <input type="file" name="file" size="40" class="input-show-selected" data-id="upload-file-info" accept=".png, .jpg, .jpeg, .gif"> </a> <?php if (!empty($this->auth_user->cover_image)): ?> <button type="submit" class="btn btn-md btn-secondary btn-file-upload btn-file-upload-cover" name="submit" value="delete_cover"><?= trans("delete"); ?></button> <?php endif; ?> </p> <span class='badge badge-light' id="upload-file-info"></span> </div> <div class="form-group m-t-10"> <div class="row"> <div class="col-12"> <label class="control-label"><?php echo trans('type'); ?></label> </div> <div class="col-md-3 col-sm-4 col-12 col-option"> <div class="custom-control custom-radio"> <input type="radio" name="cover_image_type" value="full_width" id="cover_image_type_1" class="custom-control-input" <?php echo ($this->auth_user->cover_image_type == 'full_width') ? 'checked' : ''; ?>> <label for="cover_image_type_1" class="custom-control-label"><?php echo trans("full_width"); ?></label> </div> </div> <div class="col-md-3 col-sm-4 col-12 col-option"> <div class="custom-control custom-radio"> <input type="radio" name="cover_image_type" value="boxed" id="cover_image_type_2" class="custom-control-input" <?php echo ($this->auth_user->cover_image_type == 'boxed') ? 'checked' : ''; ?>> <label for="cover_image_type_2" class="custom-control-label"><?php echo trans("boxed"); ?></label> </div> </div> </div> </div> <button type="submit" name="submit" value="update" class="btn btn-md btn-custom"><?php echo trans("save_changes") ?></button> <?php echo form_close(); ?> </div> </div> </div> </div> </div> </div> <!-- Wrapper End-->