			  
<div class="pcoded-main-container">
    <div class="pcoded-content">
        <!-- [ breadcrumb ] start -->
        <div class="page-header">
            <div class="page-block">
                <div class="row align-items-center">
                    <div class="col-md-12">
                        <div class="page-header-title">
                            <h5 class="m-b-10">Çalışanlar</h5>
                        </div>
                        <ul class="breadcrumb">
                            <li class="breadcrumb-item"><a href="<?php echo site_url('anasayfa');?>"><i class="feather icon-home"></i></a></li>
                            <li class="breadcrumb-item"><a href="#">Çalışanlar</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!-- [ breadcrumb ] end -->
        <!-- [ Main Content ] start -->
      
                     
                  
 <div class="row justify-content-center">
            <!-- liveline-section start -->
    <div class="col-sm-12">
			 <div class="card">
							<div class="card-header">
								<h5>Çalışan Düzenleme</h5>
							</div>
							<div class="card-body">

			<form enctype="multipart/form-data" id="dosyagonder" action="<?php echo site_url('calisan/edit/'.$calisan['id']);?>" method="POST">

          		<div class="row ">
					
						<div class="col-md-6">
						  <label  class="control-label">Çalışan Türü</label>
							
							  <select name="tur" class="form-control" data-plugin="select2">
							  <option value="">Çalışan Türü</option>
								<?php 
								foreach($all_calisantur as $calisantur)
								{
									
									if($calisantur['id'] == $calisan['tur'])
									{
										echo '<option value="'.$calisantur['id'].'"  selected="selected" >'.$calisantur['brans'].'</option>';
									}else
									{
										echo '<option value="'.$calisantur['id'].' " >'.$calisantur['brans'].'</option>';
									}
									
								} 
								?>
							  </select>
					
						</div>
					<div class="col-md-6">
						<label for="kulad" class="control-label">Adı</label>
						<div class="form-group">
							<input type="text" name="ad" value="<?php echo ($this->input->post('ad') ? $this->input->post('ad') : $calisan['ad']); ?>" class="form-control" id="kulad" />
						</div>
					</div>
					<div class="col-md-6">
						<label for="kulad" class="control-label">Kullanıcı Adı</label>
						<div class="form-group">
						<div class="input-group input-group-icon">
							<span class="input-group-addon">
							  <span class="icon md-account" aria-hidden="true"></span>
							</span>
							<input type="text" class="form-control" name="kulad" value="<?php echo ($this->input->post('kulad') ? $this->input->post('kulad') : $calisan['kulad']); ?>"  placeholder="Kullanıcı Adı">
						 </div>
						 </div>
					</div>
					<div class="col-md-6">
						<label for="sifre" class="control-label">Şifre</label>
						<div class="form-group">
								<div class="input-group input-group-icon">
									<input type="text" class="form-control" name="sifre" value="<?php echo ($this->input->post('sifre') ? $this->input->post('sifre') : $calisan['sifre']); ?>" placeholder="Şifre">
									<span class="input-group-addon">
									  <span class="icon md-lock" aria-hidden="true"></span>
									</span>
								</div>
								</div>
						
					</div>
					
					<div class="col-md-6">
						<label for="telefon" class="control-label">Telefon</label>
						
            
						<div class="form-group">
							<input type="text" name="telefon" value="<?php echo ($this->input->post('telefon') ? $this->input->post('telefon') : $calisan['telefon']); ?>" class="form-control" id="telefon" />
						</div>
					</div>
					<div class="col-md-6">
						<label for="mail" class="control-label">E-mail</label>
						<div class="form-group">
							<input type="email" name="mail" value="<?php echo ($this->input->post('mail') ? $this->input->post('mail') : $calisan['mail']); ?>" class="form-control" id="mail" />
						</div>
					</div>
					<div class="col-md-6">
						<label for="iban" class="control-label">İban</label>
						<div class="form-group">
							<input type="text" name="iban" value="<?php echo ($this->input->post('iban') ? $this->input->post('iban') : $calisan['iban']); ?>" class="form-control" id="iban" />
						</div>
					</div>
					
					
					
					<div class="col-md-12">
						<label for="profil" class="control-label">Profil Fotoğrafı</label>
						<div class="form-group">
							<input type="file" class="dropify" name="profil" value="<?php echo ($this->input->post('profil') ? $this->input->post('profil') : $calisan['profil']); ?>" id="input-file-now-custom-1" data-default-file="<?php echo site_url('uploads/'. $calisan['profil']); ?>" />
						</div>
							<div class="progress">
						<div class="progress-bar progress-bar-striped active" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100" style="width: 0%" role="progressbar">
                        <span class="sr-only yuzde"></span>
						</div>
						</div>
					</div>
					<button type="submit" class="btn btn-success">
            		<i class="fa fa-check"></i> Kaydet
            	</button>
					
				
				</div>
				<?php echo form_close(); ?>	
			</div>
		</div>         
	</div>
</div>
</div>
</div>
            
           
			 

  
  