<section class="container main">
	<form action="<?php echo base_url(); ?>welcome/insert_post" method="post" enctype="multipart/form-data"" >
		<label>Product Name:</label><input type="text" name="product_name" /><br/>
		<label>Product Description:</label><?php echo $this->ckeditor->editor("product_desc","default textarea value"); ?>
		<label>Category :</label>
		<select name="FK_category_id">
			<?php 
				foreach($categories as $category)
				{ ?>
					<option value="<?php echo $category['category_id']; ?>"><?php echo $category['category_name']; ?></option>
			<?php	}
			?>
		</select>
		<br/>
		<label>Catelog Link:</label><input type="text" name="catelog_link" /><br/>
		<label>Image:</label><input type="file" name="product_image" /><br/>
		<input type="submit" />
	</form>
</section>