<table style="margin-bottom: 185px">
	{foreach from=$listings item=listing name=listings}
		<tr {if $listing.featured == 1}class="priority {cycle values = 'evenrow,oddrow' advance=true}"{else}class="{cycle values = 'evenrow,oddrow' advance=true}"{/if}>
			<td>
				<table class="listing-result">
					<tr>
						<td valign="top" width="65%">
							<a class="link" name="listing_{$listing.id}" href="{$GLOBALS.site_url}{$listing|listing_url}" {$listing.target} {$listing.onmousedown} {$listing.onclick}><strong>{$listing.Title|escape:'html'}</strong></a>
						</td>
						<td valign="top" width="15%" class="listing-posted">[[$listing.activation_date]]</td>
						<td valign="top" rowspan="3" width="20%" align="right" class="company-logo">
							{if $listing.user.Logo.file_url || $listing.ListingLogo.file_url}
								<img src="{if $listing.ListingLogo.file_url}{$listing.ListingLogo.file_url|escape:'html'}{else}{$listing.user.Logo.file_url|escape:'html'}{/if}" border="0" alt="{$listing.user.CompanyName|escape:'html'}" title="{$listing.user.CompanyName|escape:'html'}"/>
							{else}
								<img src="{image}no-logo.png" alt="" title="" />
							{/if}
						</td>
					</tr>
					<tr>
						<td valign="top" style="padding: 10px 0 !important;">
							{if $userInfo.CompanyName eq '' }
								<strong>
									{if $listing.user.CompanyName != ""}{$listing.user.CompanyName|escape:'html'}{if $listing.Location.City != ""},{/if}{/if}
								</strong>
							{/if}
							{$listing|location}
						</td>
						<td valign="top" rowspan="2" align="right">
							{foreach from=$listing.EmploymentType item=EmploymentType name=EmploymentType}
								{if $EmploymentType == "Full time"}
									<span class="full-time">{tr}{$EmploymentType}{/tr}</span>
								{elseif $EmploymentType == "Part time"}
									<span class="part-time">{tr}{$EmploymentType}{/tr}</span>
								{elseif $EmploymentType == "Contractor"}
									<span class="contractor">{tr}{$EmploymentType}{/tr}</span>
								{elseif $EmploymentType == "Intern"}
									<span class="intern">{tr}{$EmploymentType}{/tr}</span>
								{elseif $EmploymentType == "Seasonal"}
									<span class="seasonal">{tr}{$EmploymentType}{/tr}</span>
								{/if}
							{/foreach}
						</td>
					</tr>
					<tr>
						<td valign="top">
							<div class="fb-like" href="https://fbapp.smartjobboard.com/redirect/?description={$listing.JobDescription|strip_tags|gzcompress|base64_encode|escape:'url'}&amp;title={$listing.Title|base64_encode}&amp;listingId={$listing.id}&amp;tabId={$smarty.cookies.facebookTabId}" data-send="true" data-layout="button_count" data-width="450" data-show-faces="true"></div>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	{/foreach}
</table>
