{* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
Rank | Description | Category | Price | Store/Location | Status | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{$row.rendered} | {$row.description|escape:'htmlall'} {if $row.comment != ''} ... {/if} {if $row.url != ''} {/if} {if $row.image_filename != '' && $opt.allow_images} {/if} | {$row.category|default:" "} | {$row.price} | {$row.source|escape:'htmlall'} | {if $row.quantity > 1}
{foreach from=$row.allocs item=alloc}
{$alloc} {/foreach} {$row.avail} remaining. |
{if $row.avail > 0 || $row.ireserved > 0 || $row.ibought > 0} {if $row.ireserved > 0} {assign var="reservetext" value="Reserve Another"} {else} {assign var="reservetext" value="Reserve Item"} {/if} {if $row.ibought > 0} {assign var="purchasetext" value="Purchase Another"} {elseif $row.ireserved > 0} {assign var="purchasetext" value="Convert Reserve to Purchase"} {else} {assign var="purchasetext" value="Purchase Item"} {/if} {if $row.avail > 0} {/if} {if $row.avail > 0 || $row.ireserved > 0} {/if} {/if} {if $row.ireserved > 0} {/if} {if $row.ibought > 0} {/if} {* | *} {else} {if $row.rfullname == '' && $row.bfullname == ''}Available. | {* | *} {elseif $row.rfullname != ''} {if $row.reservedid == $userid}Reserved by you. | {* | *} {else}{if $opt.anonymous_purchasing} Reserved. {else} Reserved by {$row.rfullname|escape:'htmlall'}. {/if} | {* | *} {/if} {elseif $row.bfullname != ''} {if $row.boughtid == $userid}Bought by you. | {* | *} {else} {if $opt.anonymous_purchasing}Bought. | {* | *} {else}Bought by {$row.bfullname|escape:'htmlall'}. | {* | *} {/if} {/if} {/if} {/if} {**} |