Login   Register  
PHP Classes
elePHPant
Icontem

File: site/views/index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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:
Date: 1 year 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>