

<div class="col-md-4">



              <!-- PRODUCT LIST -->
              <div class="box box-primary">
                <div class="box-header with-border">
                  <h3 class="box-title">Recently Added Products</h3>
                  <div class="box-tools pull-right">
                    <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
                    <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
                  </div>
                </div><!-- /.box-header -->
				
				
                <div class='box-body'>
				  <ul class="products-list product-list-in-box">
				<?php 
					include "config/koneksi.php";
					$cek = mysql_query("Select * from products  order by code desc limit 5");
					while ($r=mysql_fetch_array($cek)){	
						$harga = format_rupiah($r['unit_rp']);
						$kat = mysql_result(mysql_query("select category from categories where pk = $r[category]"),0);
						echo "	<li class='item'>
								  <div class='product-info'>
									<a href='javascript::;' class='product-title'>$r[product] <span class='label label-info pull-right'>Rp.$harga</span></a>
									<span class='product-description'>
									  $kat
									</span>
								  </div>
								</li>";
					}
				?>
                    
		
                  </ul>
                </div><!-- /.box-body -->
                <div class="box-footer text-center">
                  <a href="javascript::;" class="uppercase">View All Products</a>
                </div><!-- /.box-footer -->
              </div><!-- /.box -->
            </div><!-- /.col -->
