PHP Classes

File: site/views/index.php

Recommend this page to a friend!
  Classes of Muhammad Mengrani   PHP CouchDB Product CRUD   site/views/index.php   Download  
File: site/views/index.php
Role: Auxiliary script
Content type: text/plain
Description: Class source
Class: PHP CouchDB Product CRUD
Manage products stored in a CouchDB database
Author: By
Last change: Update of site/views/index.php
Date: 11 months ago
Size: 476 bytes
 

Contents

Class file image Download
<?php
include $site->site_controller['index'];
$view = new controller_index();
?>
<div>
<ul class="thumbnails">
<?php foreach ($view->ids_list() as $id):?>
<li class="thumbnail">
<?php echo $id['ID'];?>
<br>
<a class="lightbox" href="<?php echo $id['Img'];?>"><img alt="" src="<?php echo $id['Img'];?>" width="100px" height="100px" ></a>
<br>
<?php echo "<b>Price : </b>".$id['Price'];?>
<br>
<?php echo "<b>Type : </b>".$id['Type'];?>
</li>
<?php endforeach;?>
</ul>
</div>