{{if $smarty.session.UserID gt 0}}
	{{getCollectionByCategory CollectionID=133 ColumnID='ID' Value=$smarty.get.id var=Orders OrderColumn='3' OrderWay=1 aditionalFilter=' Collection_133_5 = "on" '}}
	{{if $Orders|@count gt 0}}
		{{assign var=Order value=$Orders[0]}}
		{{if $Order.Collection_133_2 eq $smarty.session.UserID}}
				{{getCollectionByCategory CollectionID=134 ColumnID=1 Value=$Order.Collection_133_ID var=OrderDetails OrderColumn='1'}}
				{{if $OrderDetails|@count gt 0}}
				<table cellpadding="2" cellspacing="2" border="0">
				<tr>
					<td><strong>Product Name</strong></td>
					<td><strong>Quantity</strong></td>
				</tr>
				{{foreach from=$OrderDetails item=v key=k}}
				<tr valign="top">
					<td>{{$v.Collection_134_7}} <br/>
						{{$v.Collection_134_6}} 
					</td>
					<td>{{$v.Collection_134_3}}</td>
				</tr>
				{{/foreach}}
				</table>
				{{else}}

				{{/if}}
		{{/if}}
	{{/if}}
{{/if}}