Friday 27 October 2006 12:24:13 am
<form name="objects" method="post" action={'/infocollector/overview/'|ezurl}>
{let number_of_items=min( ezpreference( 'admin_infocollector_list_limit' ), 3)|choose( 10, 10, 25, 50 )}
<div class="context-block">
{* DESIGN: Header START *}<div class="box-header"><div class="box-tc"><div class="box-ml"><div class="box-mr"><div class="box-tl"><div class="box-tr">
<h1 class="context-title">{'Objects that have collected information [%object_count]'|i18n( 'design/myoffer/infocollector/overview',, hash( '%object_count', $object_count ) )}</h1>
{* DESIGN: Mainline *}<div class="header-mainline"></div>
{* DESIGN: Header END *}</div></div></div></div></div></div>
{* DESIGN: Content START *}<div class="box-ml"><div class="box-mr"><div class="box-content">
{section show=$object_array}
{* Items per page selector. *}
<div class="context-toolbar">
<div class="block">
<div class="left">
<p>
{switch match=$number_of_items}
{case match=25}
<a href={'/user/preferences/set/admin_infocollector_list_limit/1'|ezurl}>10</a>
<span class="current">25</span>
<a href={'/user/preferences/set/admin_infocollector_list_limit/3'|ezurl}>50</a>
{/case}
{case match=50}
<a href={'/user/preferences/set/admin_infocollector_list_limit/1'|ezurl}>10</a>
<a href={'/user/preferences/set/admin_infocollector_list_limit/2'|ezurl}>25</a>
<span class="current">50</span>
{/case}
{case}
<span class="current">10</span>
<a href={'/user/preferences/set/admin_infocollector_list_limit/2'|ezurl}>25</a>
<a href={'/user/preferences/set/admin_infocollector_list_limit/3'|ezurl}>50</a>
{/case}
{/switch}
</p>
</div>
<div class="break"></div>
</div>
</div>
Hi All
The above code for fetching information collector data to admin side.
But i want to fetch to the user side can any one to explain it.
Thanks Sangib
|