        <link href="<?php echo $base?>css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <!-- font Awesome -->
        <link href="<?php echo $base?>css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <!-- Ionicons -->
        <link href="<?php echo $base?>css/ionicons.min.css" rel="stylesheet" type="text/css" />
        <!-- Morris chart -->
        <link href="<?php echo $base?>css/morris/morris.css" rel="stylesheet" type="text/css" />
        <!-- jvectormap -->
        <link href="<?php echo $base?>css/jvectormap/jquery-jvectormap-1.2.2.css" rel="stylesheet" type="text/css" />
        <!-- fullCalendar -->
        <link href="<?php echo $base?>css/fullcalendar/fullcalendar.css" rel="stylesheet" type="text/css" />
        <!-- Daterange picker -->
        <link href="<?php echo $base?>css/timepicker/bootstrap-timepicker.min.css" rel="stylesheet"/>
        <link href="<?php echo $base?>css/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
        <!-- bootstrap wysihtml5 - text editor -->
        <link href="<?php echo $base?>css/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css" rel="stylesheet" type="text/css" />
        <!-- Theme style -->
        <link href="<?php echo $base?>css/AdminLTE.css" rel="stylesheet" type="text/css" />
	<script src="<?php echo $base?>plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <script src="<?php echo $base?>bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <script src='<?php echo $base?>plugins/fastclick/fastclick.min.js'></script>
    <script src="<?php echo $base?>dist/js/app.min.js" type="text/javascript"></script>
    
    <script src="<?php echo $base?>dist/js/demo.js" type="text/javascript"></script>
           <?php
		   error_reporting(0);
								$notiket = '26031736';
					include("config/connection.php");
              		$sql ="	select tb_tiket.*, tb_angkutan.nama as angkutan from tb_tiket inner join 
							tb_angkutan on tb_angkutan.id_angkutan = tb_tiket.id_angkutan
							where tb_tiket.no_tiket = '".$notiket."' ";
					$hasil = mysql_query($sql) or die("Kesalahan Pada SQL");
					mysql_close($test);
					
					$row = mysql_fetch_object($hasil);
					    
						$idtiket = $row->id;
						$id_jadwal = $row->id_jadwal;
						$harga = $row->harga;
						$namapenumpang = $row->nama;
						$no_identitas = $row->no_identitas;
						$tanggal = $row->tanggal;
						$no_tiket = $row->no_tiket;
						$id_angkutan = $row->id_angkutan;
						$angkutan = $row->angkutan;
						
						if($id_angkutan == 1 or $id_angkutan == 2){
							$jenisangkutan = 'Penumpang';	
						}else{
							$jenisangkutan = 'Kendaraan';	
						}

					include("config/connection.php");
              		$sql ="select tb_jadwal.*, DATE_FORMAT(tb_jadwal.tanggal,'%d-%m-%Y') as tgl, tb_kapal.Nama as namakapal, tb_nahkoda.Nahkoda, pDari.Nama as dari, pTujuan.Nama as tujuan, tb_jenis_kapal.Jenis
							from tb_jadwal inner join tb_kapal on tb_jadwal.Id_Kapal = tb_kapal.Id_Kapal
							inner join tb_nahkoda on tb_jadwal.Id_Nahkoda = tb_nahkoda.Id_Nahkoda
							inner join tb_pelabuhan pDari on (pDari.Id_Pelabuhan = tb_jadwal.Dari)
							inner join tb_pelabuhan pTujuan on (pTujuan.Id_Pelabuhan = tb_jadwal.Tujuan)
							inner join tb_jenis_kapal on tb_kapal.Id_Jenis = tb_jenis_kapal.Id
							where tb_jadwal.Status = '1' and tb_jadwal.Id_Jadwal = '".$id_jadwal."'";
					$hasil = mysql_query($sql) or die("Kesalahan Pada SQL");
					mysql_close($test);
					
					$row = mysql_fetch_object($hasil);
						$id = $row->Id_Jadwal;
						$namakapal = $row->namakapal;
						$Nahkoda = $row->Nahkoda;
						$dari = $row->dari;
						$tujuan = $row->tujuan;
						$Kuota_Order = $row->Kuota_Order;
						$Sisa = $row->Sisa;
						$tanggal = $row->tgl;
						$Waktu = $row->Waktu;
						$Jenis = $row->Jenis;

			?>

                <!-- Content Header (Page header) -->
                <!-- Main content -->
           <body>     
                <section class="content invoice">                    
                    <!-- title row -->
                    <div class="row">
                        <div class="col-xs-12">
                            <h2 class="page-header">
                                <i class="fa fa-globe"></i> Etiket Bali - Nusa.
                                <small class="pull-right">Tanggal: <?php echo date("d-m-Y")?></small>
                            </h2>                            
                        </div><!-- /.col -->
                    </div>
                    <!-- info row -->
                    <div class="row invoice-info">
                        <div class="col-sm-4 invoice-col">
                            Dari
                            <address>
                                <strong><?php echo $dari?></strong><br>
                            </address>
                            Tujuan
                            <address>
                                <strong><?php echo $tujuan?></strong><br>
                            </address>
                        </div><!-- /.col -->
                        <div class="col-sm-4 invoice-col">
                            Tanggal Keberangkatan
                            <address>
                                <strong><?php echo $tanggal?></strong><br>
                            </address>
                            Waktu
                            <address>
                                <strong><?php echo $Waktu?></strong><br>
                            </address>
                        </div><!-- /.col -->
                        <div class="col-sm-4 invoice-col">
                            <b>Tiket #<?php echo $notiket?></b><br/>
                            <b>Kapal:</b> <?php echo $namakapal?><br/>
                            <b>Jenis Kapal:</b><?php echo $Jenis?><br/>
                            <b>Nahkoda :</b> <?php echo $Nahkoda?>
                        </div><!-- /.col -->
                    </div><!-- /.row -->

                    <!-- Table row -->
                    <div class="row">
                        <div class="col-xs-12 table-responsive">
                            <table class="table table-striped">
                                <thead>
                                    <tr>
                                        <th>Nama</th>
                                        <th>No Identitas</th>
                                        <th>Jenis Angkutan</th>
                                        <th>Kategori</th>
                                        <th>Harga</th>
                                    </tr>                                    
                                </thead>
                                <tbody>
                                    <tr>
                                        <td><?php echo $namapenumpang?></td>
                                        <td><?php echo $no_identitas?></td>
                                        <td><?php echo $jenisangkutan ?></td>
                                        <td><?php echo $angkutan?></td>
                                        <td><?php echo $harga?></td>
                                    </tr>
                                </tbody>
                            </table>                            
                        </div><!-- /.col -->
                    </div><!-- /.row -->

                    <div class="row">
                        <!-- accepted payments column -->
                        <div class="col-xs-3">
                            <p class="text-muted well well-sm no-shadow" style="margin-top: 10px;">
								<img alt="TESTING" src="plugins/barcode.php?codetype=Code128&size=40&text=<?php echo $notiket?>&print=true" />
                            </p>
                        </div><!-- /.col -->
                        <div class="col-xs-9">
                        	<div class="pull-right">
                        	Operator :
							<?php
							 	include "config/session.php";
							 	echo $_SESSION['user'];
							 ?>
                             </div>
                        </div><!-- /.col -->
                    </div><!-- /.row -->

                    <!-- this row will not appear when printing -->
                    <div class="row no-print">
                        <div class="col-xs-12">
                            <button class="btn btn-success pull-right" onClick="window.print();"><i class="fa fa-print"></i> Print</button>
                            <a href="pemesanan-tiket/<?php echo $id_jadwal?>"><button class="btn btn-primary pull-right" style="margin-right: 5px;"><i class="fa fa-reply"></i> Kembali</button></a>
                        </div>
                    </div>
                </section><!-- /.content -->
        </div><!-- ./wrapper -->
