PHP Classes

File: application/views/settings.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   CodeIgniter ion Auth Login   application/views/settings.php   Download  
File: application/views/settings.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: CodeIgniter ion Auth Login
Manage user records in a database with CodeIgniter
Author: By
Last change:
Date: 6 years ago
Size: 3,022 bytes


Class file image Download
<div class="container">
<div class="row">
    <div class="col-lg-8 col-lg-offset-2">
        <h5>Hello <span><?php echo $first_name; ?></span>.</h5>
= array('class' => 'form-signin');
form_open(site_url().'main/settings/', $fattr);
tz_list() {
$zones_array = array();
$timestamp = time();
timezone_identifiers_list() as $key => $zone) {
$zones_array[$key]['zone'] = $zone;

        <?php echo '<input type="hidden" name="id" value="'.$id.'">'; ?>
<div class="form-group">
        <span>Site Title</span>
          <?php echo form_input(array('name'=>'site_title', 'id'=> 'site_title', 'placeholder'=>'Site Title', 'class'=>'form-control', 'value' => set_value('site_title', $site_title))); ?>
<?php echo form_error('site_title');?>
        <div class="form-group">
        <select name="timezone" id="timezone" class="form-control">
            <option value="<?php echo $timezonevalue; ?>"><?php echo $timezone; ?></option>
          <?php foreach(tz_list() as $t) { ?>
<option value="<?php echo $t['zone']; ?>"> <?php echo $t['zone']; ?></option>
          <?php } ?>
        <div class="form-group">
        <select name="recaptcha" id="recaptcha" class="form-control">
            <option value="no">No</option>
            <option value="yes">Yes</option>
        <div class="form-group">
        <select name="theme" id="theme" class="form-control">
            <option value="">Cosmo</option>
            <option value="">Darkly</option>
            <option value="">Flatly</option>
            <option value="">Journal</option>
            <option value="">Lumen</option>
            <option value="">Slate</option>
            <option value="">Superhero</option>
            <option value="">Yeti</option>
        <?php echo form_submit(array('value'=>'Save', 'name'=>'submit', 'class'=>'btn btn-primary btn-block')); ?>
<?php echo form_close(); ?>