Ejemplo n.º 1
0
$this->load->view('admin/header.php');
?>
<div id="content">
	<!-- forms -->
	<div class="page-header"><h3><?php 
echo ucfirst($this->uri->segment(3));
?>
 User</h3></div>
	<div class="box">
		
        <?php 
echo form_open(site_url($this->uri->uri_string()), 'class="form-horizontal"');
?>
        <fieldset>
          <?php 
echo textFieldRow('Username', 'username', $user, array('readonly' => 'readonly'));
?>
          <?php 
echo selectFieldRow('Role', 'role', $roles, $user);
?>
          <?php 
echo selectFieldRow('Activated', 'activated', $activatedStatus, $user);
?>
          <?php 
echo selectFieldRow('Banned', 'banned', $BannedStatus, $user);
?>
          <?php 
echo textAreaFieldRow('Banned Reason', 'ban_reason', $user, array('cols' => '40', 'rows' => '6'));
?>
          
          <div class="form-actions">
Ejemplo n.º 2
0
	    <?php 
}
?>
	    </p>
		<?php 
echo form_open(site_url($this->uri->uri_string()), 'class="form-horizontal"');
?>
        <fieldset>
          <?php 
echo textFieldRow('Name', 'name', $node);
?>
          <?php 
echo textFieldRow('Slug', 'slug', $node);
?>
          <?php 
echo textFieldRow('Order', 'order', $node);
?>
          <?php 
echo selectFieldRow('Parent Node', 'parent_id', $nodes, $node);
?>
          <div class="form-actions">
            <button type="submit" class="btn btn-primary">Submit</button>
        
          </div>
        </fieldset>
      <?php 
form_close();
?>
	</div>
	<!-- end forms -->
</div>