[eluser]Unknown[/eluser]
This is the view
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="<?=base_url();?>public/css/initial.css" rel="stylesheet" type="text/css" />
<title>Element Admin</title>
</head>
<body>
<div id="background">
<div align="center">
<div id="wrapper">
<div id="header_area">
<?php include_once "include/header.php"; ?>
</div>
<div id="hrz_menu_area">
<div class="top_header_left">
</div>
<div class="top_header_middle">
<?php include_once "include/hrz_menu.php"; ?>
</div>
<div class="top_header_right">
</div>
</div>
<div id="quick_link_area">
<div class="grey_header_left">
</div>
<div class="grey_header_middle">
<?=$quick_link;?>
</div>
<div class="grey_header_right">
</div>
</div>
<div id="content_area" align="left" style="line-height:15px;">
<?php echo validation_errors(); ?>
<?php echo $error;?>
<?php echo form_open_multipart('administrator/product/add'); ?>
<h3>Product Category</h3>
<select name="category">
<option value="" >Pilih Category</option>
<option value="Piano" <?php echo set_select('category', 'Piano'); ?> >Piano</option>
<option value="String" <?php echo set_select('category', 'String'); ?> >String</option>
<option value="Wind" <?php echo set_select('category', 'Wind'); ?> >Wind</option>
<option value="Percussion" <?php echo set_select('category', 'three'); ?> >Three</option>
<option value="Accessories" <?php echo set_select('category', 'Accessories'); ?> >Accessories</option>
<option value="Others" <?php echo set_select('category', 'Others'); ?> >Others</option>
</select>
<h3>Product Name</h3>
<input type="text" name="name" value="<?php echo set_value('name'); ?>" size="50" />
<h3>Product Description</h3>
<textarea name="description" cols="" rows="" style="width:50%; height:100px;"><?php echo set_value('description'); ?></textarea>
<h3>Product Image</h3>
<input type="file" name="userfile" size="50" />
<div><br /><input type="submit" value="Submit" /></div>
</form>
</div>
<div id="footer_area">
<div class="footer_bg_left">
</div>
<div class="footer_bg_middle">
<?php include_once "include/footer.php"; ?>
</div>
<div class="footer_bg_right">
</div>
</div>
</div>
</div>
</div>
</body>
</html>