Location: PHPKode > projects > Kwalbum > kwalbum/pages/ContributorsPage.html.php
<?php
/*
 * Created on Aug 24, 2008
 * 2.0
 */
?>
<big><b><a href="<?=$URLP->GetExtendedURL('Users')?>"><?=$URLP->GetTitle()?>:</a> Contributors and Favorites</b></big>
<p>
Users with items
<?
if ($URLP->GetLocation())
	echo ' with the location <b>'.$URLP->GetLocation().'</b>';
if ($URLP->GetDateString())
	echo ' with the date <b>'.$URLP->GetDateString().'</b>';
if ($URLP->GetTagString())
	echo ' with the tag(s) <b>'.$URLP->GetTagString().'</b>';
?>
<ul>
<b>Contributors</b>
<? while ($row = $result->fetch_array()) {?>
<li><a href="<?=$URLP->GetExtendedURL('Users').'&amp;user='.$row[0]?>">
<?=$row[0]?></a></li>
<?}?>
</ul>

<ul>
<b>Users with Favorites</b>
<? while ($row = $favResult->fetch_array()) {?>
<li><a href="<?=$URLP->GetExtendedURL('Users').'&amp;p=Favorites&amp;user='.$row[0]?>">
<?=$row[0]?></a></li>
<?}?>
</ul>
</p>
Return current item: Kwalbum