Fichier application/views/album/createalbum_view.php

<?php
/*
 * Created by generator
 *
 */

$this->load->helper('form');
$this->load->helper('url');
$this->load->helper('template');
$this->load->helper('views');

if($this->session->userdata('user_name') == "") {
	redirect('welcome/index');
}
?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<?php echo htmlHeader($this->lang->line('album.form.create.title') ); ?>

</head>
<body>

	<?= htmlNavigation("album","create", $this->session); ?>
	
	<div class="container">
	
		<h2><?= $this->lang->line('album.form.create.title') ?></h2>
			
		<div class="row-fluid">
<?php
$attributes_info = array('name' => 'AddForm', 'class' => 'form-horizontal');
$fields_info = array();
echo form_open_multipart('album/createalbum/add', $attributes_info, $fields_info );
?>

			<fieldset>
	<!-- list of variables - auto-generated : -->
<div class="control-group">
	<label class="control-label" for="alblbtit">* <?= $this->lang->line('album.form.alblbtit.label') ?> :</label>
	<div class="controls"><input class="input-xlarge valtype" type="text" name="alblbtit" id="alblbtit" required  >
		<p class="help-block valtype"><?= $this->lang->line('album.form.alblbtit.description')?></p>
	</div></div>
	<div class="control-group">
	<label class="control-label" for="albreext"><?= $this->lang->line('album.form.albreext.label') ?> :</label>
	<div class="controls"><input class="input-xlarge valtype" type="text" name="albreext" id="albreext"  >
		<p class="help-block valtype"><?= $this->lang->line('album.form.albreext.description')?></p>
	</div></div>
	<div class="control-group">
	<label class="control-label" for="albiddes"><?= $this->lang->line('album.form.albiddes.label') ?> :</label>
	<div class="controls"><select name="albiddes" id="albiddes"> <option value=""></option>
					<?php foreach ($auteurCollection as $auteurElt): ?>
					<option value="<?= $auteurElt->autidaut ?>" ><?= $auteurElt->autlbnom ?> </option>
					<?php endforeach;?>
				</select>
		
		<p class="help-block valtype"><?= $this->lang->line('album.form.albiddes.description')?></p>
	</div></div>
	<div class="control-group">
	<label class="control-label" for="albidsce"><?= $this->lang->line('album.form.albidsce.label') ?> :</label>
	<div class="controls"><select name="albidsce" id="albidsce"> <option value=""></option>
					<?php foreach ($auteurCollection as $auteurElt): ?>
					<option value="<?= $auteurElt->autidaut ?>" ><?= $auteurElt->autlbnom ?> </option>
					<?php endforeach;?>
				</select>
		
		<p class="help-block valtype"><?= $this->lang->line('album.form.albidsce.description')?></p>
	</div></div>
	<div class="control-group">
	<label class="control-label" for="albidgen"><?= $this->lang->line('album.form.albidgen.label') ?> :</label>
	<div class="controls"><select name="albidgen" id="albidgen"> <option value=""></option>
					<?php foreach ($genreCollection as $genreElt): ?>
					<option value="<?= $genreElt->genidgen ?>" ><?= $genreElt->genlbnom ?> </option>
					<?php endforeach;?>
				</select>
		
		<p class="help-block valtype"><?= $this->lang->line('album.form.albidgen.description')?></p>
	</div></div>

		<div class="form-actions">
			<button type="submit" class="btn btn-primary"><?= $this->lang->line('form.button.save') ?></button>
			<a href="<?=base_url()?>index.php/album/listalbums/index" type="button" class="btn"><?= $this->lang->line('form.button.cancel') ?></a>
		</div>
			
		</fieldset>

<?php
echo form_close('');
?>

		</div> <!-- .row-fluid -->
	</div> <!-- .container -->

<?php echo bodyFooter(); ?>



<script src="<?= base_url() ?>www/js/views/album/createalbum.js"></script>

</body>
</html>