예제 #1
0
파일: items.php 프로젝트: dispxxx/leshop
<?php

$itemManager = new ItemManager($db);
$items = $itemManager->readByCategory($category);
$i = 0;
$c = count($items);
while ($i < $c) {
    $item = $items[$i];
    require 'views/items.phtml';
    $i++;
}