					
  	<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">İşler</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="">İşler</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-9">
                <div class="card">
                    <div class="card-body text-center">
                        <div class="row align-items-center m-l-0">
                            <div class="col-sm-6 text-left">
                                <h5>İşler</h5>
                            </div>
                            
                        </div>
                        <ul class="list-inline">
                            <li class="list-inline-item border-right m-0"><a href="<?php echo site_url('cisler/havuz');?>" class="pr-2 pl-1 text-muted"> İş Havuzu</a></li>
                            <li class="list-inline-item border-right m-0"><a href="<?php echo site_url('cisler/bende');?>" class="pr-2 pl-1 font-weight-bolder  "> Bendeki İşler</a></li>
                            <li class="list-inline-item"><a href="<?php echo site_url('cisler/tamamlanan');?>" class="text-muted"> Tamamlanan İşler </a></li>
                        </ul>
                  </div>
                </div>
            </div>
			<div class="col-sm-3">
					<div class="card">
								<div class="card-body">
									<div class="input-group">
										<label for="arama">Arama</label>
										<input type="search" id="arama" placeholder="Arama...">
									</div>
								</div>
					</div>
			</div>

	
            <!-- customar project  start -->
            <div class="col-xl-12">
                <div class="card">
                    <div class="card-body" >

              <table class="table table-hover toggle-circle table-responsive-lg" >
                <thead>
                  <tr>
						<th data-toggle="true">Müşteri</th>
						<th>İş Türü</th>
						<th>Açıklama</th>
						<th>Fiyat</th>
						<th>Acil</th>
						<th>Durum</th>
						<th>Eylemler</th>
                  </tr>
                </thead>
                <tbody>
					<?php foreach($isler as $i){ ?>
                  <tr>
                    <td>
						<?php musteriyaz($i['musteri']) ?> 
					</td>
                    <td><?php /*Veri Tabanı Ad Sorgulama */ echo  isimogren('istur', $i['istur']);  ?></td>
					<td><?php echo substr($i['aciklama'],0,50)."..."; ?></td>
					<td><?php echo $i['fiyat']; ?></td>
					<td><?php $acil = $i['acil'];  if($acil==1){?> <span class="badge badge-danger">Çok Acil</span><?php } if($acil==2){?><span class="badge badge-danger">Acil</span> <?php } if($acil==3){?><span class="badge badge-info">Normal</span><?php } if($acil==4){?><span class="badge badge-warning">Yavaş</span> <?php } ?></td>
               
					<td><?php $durum = $i['onay'];  if($durum==0){?> <span class="badge badge-warning">Yeni</span><?php } if($durum==1){?><span class="badge badge-primary">Yapılıyor</span> <?php } if($durum==2){?><span class="badge badge-danger">Revize</span><?php } if($durum==3){?><span class="badge badge-info">Onaylandı</span> <?php } ?></td>
                   
                    <td>	 
						<a href="<?php echo site_url('cisler/detay/'.$i['id']); ?>" class="btn btn-icon btn-outline-info" data-toggle="tooltip" data-placement="top" title="İş Detayları"><i class="feather icon-eye"></i> </a> 

						 <a href="<?php echo site_url('revize/index/'.$i['id']); ?>" class="btn btn-icon btn-outline-info" data-toggle="tooltip" data-placement="top" title="Revize"><i class="feather icon-message-circle"></i></a>
						 <a href="<?php echo site_url('cisler/calismagonder/'.$i['id']); ?>" class="btn btn-icon btn-outline-info" data-toggle="tooltip" data-placement="top" title="Çalışma Gönder"><i class="feather icon-file-minus"></i></a>
							
						 
                     </td>
                    
                  </tr>
				 
				  
				
					<?php } ?>
                </tbody>
               
              </table>
			  
		
			  

			</div>
		</div>
	</div>

  
  
 </div>
 </div>
 </div>


	<?php                    
			if(isset($_GET['hata']))
			{
				if($_GET['hata']==3)
				{		 
			?>   
					  <script>
					   
							$( document ).ready(function() {
							   $('#hatais3').modal('show');
							});

					  </script>
					  
					  <div class="modal fade" id="hatais3" aria-hidden="true" aria-labelledby="examplePositionCenter"
                          role="dialog" tabindex="-1">
                          <div class="modal-dialog modal-simple modal-center">
                            <div class="modal-content">
                              <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                  <span aria-hidden="true">×</span>
                                </button>
                                <h4 class="modal-title">İşi Aldınız</h4>
                              </div>
                              <div class="modal-body">
                                <p>Şimdilik İşi aldınız ama elinizde 3'den fazla revizeli iş olursa yeni iş alamazsınız. İyi çalışmalar</p>
                              </div>
                              <div class="modal-footer">
                                <button type="button" class="btn btn-default btn-pure" data-dismiss="modal">Kapat</button>
                     
                              </div>
                            </div>
                          </div>
		</div>
					  
					  
					  
	<?php                    
				}
			}
?>    
  
		
  
  