Professional CodeIgniter

(singke) #1

Chapter 8: Last-Minute Upgrades


254


foreach ($sidef as $key = > $list){
echo “ < div class=’productlisting’ > < img src=’”.$list[‘thumbnail’].”’ border=’0’
class=’thumbnail’/ > \n”;
echo “ < h4 > ”.$list[‘name’].” < /h4 > \n”;
echo anchor(‘welcome/product/’.$list[‘id’],’see details’). “ < br/ > \n”;
echo anchor(‘welcome/cart/’.$list[‘id’],’add to cart’). “\n < /div > ”;
}
? >
< /div >

Once you ’ re done, your home page should look something like Figure 8 - 6.

Figure 8 - 6

Creating Administrative Screens


The administrative screens for the subscribers’ area will be fairly similar to all the rest, except for a few
key differences:

There will be a home page to show off key data about subscribers, but there won ’ t be any way to
create or update those subscribers.

Free download pdf