<div class="right-title">
			<a>Career Edit</a>
			<div class="right-title-gradient"></div>
		</div>
		
		<div class="content">
		<?php echo form_open_multipart("editcareer/".$detail['careerId']); ?>
			<div class="junk"></div>
			<div class="admin-input">
				<a class="admin-input-a">Title</a>
				<label>:</label>
				<input name="title" id="id" value="<?php echo $detail['title']?>">
			</div>
			
			<div class="admin-error">
				<?php echo form_error('title')?>
			</div>
			
			<div class="admin-input">
				<a class="admin-input-a">Content</a>
				<label>:</label>
				<textarea name="content" id="content"/>
					<?php echo $detail['content']?>
				</textarea>
				<?php echo display_ckeditor($ckeditor_content); ?>
			</div>
			
			<div class="admin-error">
				<?php echo form_error('content')?>
			</div>
			
			<div class="admin-input">
				<a class="admin-input-a">Browse Image</a>
				<label>:</label>
				<div id="input-file-wrapper">
					<a>Browse</a>
					<input type='file' id="input-file" name="image"  src="" onchange="showImg(this);"/>
				</div>
			</div>
			
			<div class="admin-error" style="height:10px;"><a></a></div>
			
			<div class="admin-input">
				<a class="admin-input-a">Preview</a>
				<label></label>
				<div class="file-preview">
					<img id="preview" src="<?php echo base_url().'assets/images/logo/partners/'.$detail['image'] ?>">
				</div>
			</div>
			
			<div class="admin-error"><?php echo form_error('image')?></div>
			
			<div class="admin-input">
				<a class="admin-input-a">Status</a>
				<label>:</label>
				<select name="status">
					<option value="1" 
					<?php 
						
						if($detail['status'] == 1)
						{
							echo 'Selected';
						}
					
					?>>Active</option>
					<option value="0" <?php 
						
						if($detail['status'] == 0)
						{
							echo 'Selected';
						}
					
					?>>Inactive</option>
				</select>
			</div>
			
			<div class="admin-error">
				<a></a>
			</div>
			
			<div class="admin-input">
				<div class="admin-submit">
					<input id="input-submit" value="Submit" name="submit" type="submit"/>
				</div>
			</div>
			
			<div class="admin-error"><a></a></div>
			</form>
		</div>
		
<script type="text/javascript">
	function showImg(input) {
	
		if (input.files && input.files[0]) {
			var reader = new FileReader();

			reader.onload = function (e) {
				$('#preview').attr('src', e.target.result);
			}
			reader.readAsDataURL(input.files[0]);

		}
		
	}
</script>