Location: PHPKode > scripts > TPaginatedData > tpaginateddata/products_listing_tpl.php
	This template file is included inside the output() function of the TPaginatedData object. 
	That means that all variables of your TPaginatedData instance are available via 'this'.
	For example to access the result set of your instance write: $this->rs
	This template example outputs fictive data that could be in the result set. 
	For the sake of simplicity we consider that the result set has just 'id' and 'name' fields.
	This file will generate as output a DIV witch contains links (one on a line) for witch we used the
	data from the result set. I think it's pretty clear.

<div id="products_list">
	// for each item in the result set... 
	while( $row = mysql_fetch_array($this->rs) ): 

	<a href="details.php?id=<?=$row['id']?>"><?=$row['title']?></a> <br>

<? endwhile ?>

Return current item: TPaginatedData