Location: PHPKode > projects > Oledrion > templates/oledrion_mylists.html
<!-- Created by Instant Zero (http://www.instant-zero.com) -->
<{$breadcrumb}>
<br />
<{if $global_advert != ''}><div id="oledrion_publicite"><{$global_advert}></div><{/if}>
<br />
<h2><{$smarty.const._MI_OLEDRION_SMNAME10}></h2>
<br />

<{if $op == 'default'}>
	<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>
	<tr>
		<th align='center'><{$smarty.const._AM_OLEDRION_TITLE}></th>
		<th align='center'><{$smarty.const._AM_OLEDRION_TYPE}></th>
		<th align='center'><{$smarty.const._AM_OLEDRION_DATE}></th>
		<th align='center'><{$smarty.const._AM_OLEDRION_ACTION}></th>
	</tr>
	<{foreach item=list from=$lists}>
		<tr class="<{cycle values="even,odd"}>">
			<td align='left'><a href="<{$list.list_url_rewrited}>" target="_blank" title="<{$list.list_href_title}>"><{$list.list_title}></a></td>
			<td align='center'><{$list.list_type_description}></td>
			<td align='center'><{$list.list_formated_date}></td>
			<td align='center'><a href="<{$baseurl}>?op=edit&list_id=<{$list.list_id}>"><{$smarty.const._EDIT}></a> - <a href="<{$baseurl}>?op=delete&list_id=<{$list.list_id}>"><{$smarty.const._DELETE}></a></td>
		</tr>
	<{/foreach}>
	<tr class="<{cycle values="even,odd"}>">
		<td colspan="4" align="center"><br /><form method="post" action="<{$baseurl}>" name="frmAddList" id="frmAddList"><input type="hidden" name="op" id="op" value="addList" /><input type="submit" name="btngo" id="btngo" value="<{$smarty.const._OLEDRION_CREATE_NEW_LIST}>" /></form><br /></td>
	</tr>
	</table>
<{elseif $op == 'edit' || $op == 'addList'}>
	<{$form}>
<{elseif $op == 'addProduct'}>
	<{if $userListsCount == 0}>
		<{$form}>
	<{else}>
		<h3><a href="<{$product.product_url_rewrited}>"><{$product.product_title}></a>, <{$smarty.const._OLEDRION_WHAT_TO_DO}></h3>
		<br />
		<{if $message != ''}><br /><{$message}><br /><{/if}>
		<form method="post" action="<{$baseurl}>" name="frmSelectAction" id="frmSelectAction">
		<input type="hidden" name="op" id="op" value="addProductToList" />
		<input type="hidden" name="product_id" id="product_id" value="<{$product_id}>" />
		<{foreach item=list key=listKey from=$lists}>
			<input type="radio" name="list_id" id="list_id" <{if $listKey == 0}>checked='checked'<{/if}> value="<{$list.list_id}>" /><{$smarty.const._OLEDRION_ADD_TO}> <{$list.list_title}><br />
		<{/foreach}>
		<input type="radio" name="list_id" id="list_id" value="0" /><{$smarty.const._OLEDRION_CREATE_NEW_LIST}><br />
		<br /><input type="submit" name="btnGo" id="btnGo" value="<{$smarty.const._GO}>" />
		</form>
	<{/if}>
<{/if}>
Return current item: Oledrion