product listing
This commit is contained in:
@@ -1,18 +1,49 @@
|
||||
<?php
|
||||
$product_array = [
|
||||
[
|
||||
"name" => "Personal Website",
|
||||
"description" => "Product description here",
|
||||
"status" => 0
|
||||
],
|
||||
[
|
||||
"name" => "Professional Website",
|
||||
"description" => "Product description here",
|
||||
"status" => 0
|
||||
],
|
||||
[
|
||||
"name" => "Personal Blog",
|
||||
"description" => "Product description here",
|
||||
"status" => 0
|
||||
],
|
||||
[
|
||||
"name" => "Professional Blog",
|
||||
"description" => "Product description here",
|
||||
"status" => 0
|
||||
],
|
||||
[
|
||||
"name" => "Practice EMR",
|
||||
"description" => "Product description here",
|
||||
"status" => 0
|
||||
]
|
||||
];
|
||||
?>
|
||||
|
||||
<div class="row">
|
||||
<?php
|
||||
for ($i=0; $i<5; $i++)
|
||||
//for ($i=0; $i<5; $i++)
|
||||
foreach ($product_array as $row)
|
||||
{
|
||||
?>
|
||||
<div class="col-lg-6 col-xxl-6 m-b-30" style=" min-width: 200px;">
|
||||
<div style="padding: 2px; border-radius: 10px; background-color: aliceblue;">
|
||||
<div style="padding: 2px; border-radius: 10px;">
|
||||
<div class="card card-statistics h-25 mb-0">
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title">My Products ${i}</h4>
|
||||
<div class="card-heading" style="padding: 1px; background-color: aliceblue;">
|
||||
<h4 class="card-title" style="color: #6b0392; font-size: 14px;"><?=$row['name']?></h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
Yes 001
|
||||
<?=$row['description']?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user