https://t.me/RX1948
Server : Apache/2.4.18 (Ubuntu)
System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64
User : oppastar ( 1041)
PHP Version : 7.0.33-0ubuntu0.16.04.15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Directory :  /var/www/angkasapuraretail.com/public_html/application/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/angkasapuraretail.com/public_html/application/views/product_excel.php
<h4>Data Products</h4>
<table border="1" cellpadding="8">
<tr>
  <th>ID Products</th>
  <th>Item Number</th>
  <th>SKU</th>
  <th>Nama Produk</th>
  <th>Harga Jual Normal</th>
  <th>Harga Jual Diskon</th>
  <th>Stok</th>
  <th>Berat (Gram)</th>
  <th>Panjang (Cm)</th>
  <th>Lebar (Cm)</th>
  <th>Tinggi (Cm)</th>
</tr>
<?php
if( ! empty($products)){ // Jika data pada database tidak sama dengan empty (alias ada datanya)
  foreach($products as $item){ // Lakukan looping pada variabel siswa dari controller
    echo "<tr>";
    echo "<td>".$item->id_products."</td>";
    echo "<td>".$item->product_code."</td>";
    echo "<td>".$item->sku."</td>";
    echo "<td>".$item->title."</td>";
    echo "<td>".$item->sale_price."</td>";
    echo "<td>".$item->discounted_price."</td>";
    echo "<td>".$item->stock."</td>";
    echo "<td>".$item->dimension_weight."</td>";
    echo "<td>".number_format($item->dimension_height)."</td>";
    echo "<td>".number_format($item->dimension_width)."</td>";
    echo "<td>".number_format($item->dimension_length)."</td>";
    echo "</tr>";
  }
}else{ // Jika data tidak ada
  echo "<tr><td colspan='3'>Data tidak ada</td></tr>";
}
?>
</table>

https://t.me/RX1948 - 2025