<?php foreach($kontak as $kontak) :   endforeach; ?>
<?php foreach($admin_login as $user) :   endforeach; ?> 
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0 text-dark"> 
            		 <?php echo $title1; ?>
            </h1>
          </div><!-- /.col -->
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">Home</a></li>
              <li class="breadcrumb-item active"><?php echo $title1; ?></li>
            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->
	    
          
    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
      	<div class="card">
      		<div class="card-header">
      			Singkronasi Data Barang 

      		</div>
      		<!-- /.card-header -->
      		<div class="card-body">
      			<form role="form" method="post" action="<?php echo base_url('kantor/code_singkron'); ?>">
      				<div class="row">
      					<div class="col-sm-6">
      						<!-- text input -->
      						<div class="form-group">
      							<label>Pilih Kantor</label>
      							<select class="form-control" id="exampleInputPassword1" name="id_kantor">
      								<?php foreach($kantor as $kantor) : ?>
      									<option value="<?php echo $kantor->id_kantor; ?>"> <?php echo $kantor->nama_kantor; ?></option>
      								<?php endforeach; ?> 

      							</select> 
      						</div>
      						<div class="card-footer">
      							<button type="submit" class="btn btn-primary">Submit</button>
      						</div>
      					</div>



      				</div>





      			</form>
      		</div>
      		<!-- /.card-body -->
      	</div>
      	<!--
      	<div class="card">
      		<div class="card-header">
      			Tampilkan Stok 

      		</div>
      		 
      		<div class="card-body">
      			<form role="form" method="post" targer="blank" action="<?php echo base_url('kantor/tampil_stok_kantor'); ?>">
      				<div class="row">
      					<div class="col-sm-6">
      					 
      						<div class="form-group">
      							<label>Pilih Kantor</label>
      							<select class="form-control" id="exampleInputPassword1" name="id_kantor">
      								<?php foreach($kantor2 as $kantor2) : ?>
      									<option value="<?php echo $kantor2->id_kantor; ?>"> <?php echo $kantor2->nama_kantor; ?></option>
      								<?php endforeach; ?> 

      							</select> 
      						</div>
      						<div class="card-footer">
      							<button type="submit" class="btn btn-primary">Tampilkan</button>
      						</div>
      					</div>
      					

      					
      				</div>
      				

      				

      				
      			</form>
      		</div>
      	  -->
      	</div>
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->

   