<div class="JobDetails">
	<table class="lh20">
		[{if $bDetails}]
		<tr>
			<td>[{t escape=noescape}]quotepage_Contact_name[{/t}]:</td>
			<td>[{if $url_blueboard!=""}]<a class="nrm" href="[{$url_blueboard}]" target="_blank">[{$job.poster_name}]</a>[{else}][{$job.poster_name}][{/if}]</td>
		</tr>
		[{if $bExtendedDetails}]
		<tr>
			<td>[{t escape=noescape}]quotepage_Contact_email[{/t}]:</td>
			[{if $show_email}]
			<td>[{$email_captcha}]</td>
			[{else}]
			<td><span class="nrmlink nrm" id="show_email_link" onclick="ShowPosterEmail();">[{t}]show[{/t}] &raquo;</span>
				<div id="email_captcha_div">
					[{$email_captcha}]
				</div>
			</td>
			[{/if}]
		</tr>
		<tr>
			<td>[{t escape=noescape}]quotepage_Contact_phone[{/t}]:</td>
			<td>[{$job.poster_phone}]</td>
		</tr>
		[{/if}]

		[{/if}]
		<tr>
			<td>[{t escape=noescape}]quotepage_Offer_languages[{/t}]:</td>
			<td>
				[{foreach from=$job.job_languages item=langpair}]
					[{assign var=src value=$langpair.source_language_id}]
					[{assign var=tgt value=$langpair.target_language_id}]
					[{$languages.$src}] &raquo; [{$languages.$tgt}]<br/>
				[{/foreach}]
			</td>
		</tr>
		<tr>
			<td>[{t escape=noescape}]quotepage_Offer_services[{/t}]:</td>
			<td>
				[{foreach from=$job.job_services key=service_id item=service}]
					[{assign var=unit_id value=$service.unit}]
					[{$servicetypes.$service_id}]
					([{$service.quantity}] [{$servicetypeunits.$unit_id}][{if $service.loc!=""}] - [{$service.loc}][{/if}])<br/>
				[{/foreach}]
			</td>
		</tr>
		<tr>
			<td>[{t escape=noescape}]quotepage_Offer_specialty[{/t}]:</td>
			<td>
				[{assign var=job_specialty value=$job.job_specialty}]
				[{if $job_specialty>0}]
					[{$specialties.$job_specialty}]
				[{else}]
					[{if $bDetails}]
						[{t}]specialty_custom[{/t}] ([{$job.job_custom_specialty}])
					[{else}]
						[{t}]specialty_custom[{/t}]
					[{/if}]
				[{/if}]
			</td>
		</tr>
		[{if $bDetails}]
		<tr>
			<td>[{t escape=noescape}]quotepage_Offer_description[{/t}]:</td>
			<td>[{$job.job_description|nl2br}]</td>
		</tr>
		[{/if}]
		<tr>
			<td>[{t escape=noescape}]quotepage_Offer_quote_deadline[{/t}]:</td>
			<td>[{$job.job_quote_deadline_datetime}]</td>
		</tr>
		<tr>
			<td>[{t escape=noescape}]quotepage_Offer_deadline[{/t}]:</td>
			<td>[{$job.job_deadline_datetime}]</td>
		</tr>
		<tr>
			<td>[{t escape=noescape}]quotepage_Offer_quality_preference[{/t}]:</td>
			<td>[{t}]jqp_[{$job.job_qualitypreference}][{/t}]</td>
		</tr>

		<tr>
			<td><b>[{t escape=noescape}]quotepage_Post_to[{/t}]</b>:</td>
			<td>[{$job_recipients}]</td>
		</tr>
		[{if $job.job_attachments|@count>0 && $job.is_revoked!="t" && $job.is_closed!="t"}]
		<tr>
			<td><b>[{t}]quotepage_Offer_attachments[{/t}]:</b></td>
			<td>
				[{if $bDetails}]
				<ul class="attachments">
				[{foreach from=$job.job_attachments item=attachment}]
					<li>
						<img src="[{$attachment.icon}]" alt="[{$attachment.attachment_mimetype}]" />
						<a class="nrm" href="[{$attachment.attachment_url}]" target="attachment">[{if $attachment.attachment_title!=""}][{$attachment.attachment_title}][{else}][{$attachment.attachment_original_filename}][{/if}]</a>
					</li>
				[{/foreach}]
				</ul>
				[{else}]
				[{$job.job_attachments|@count}] [{t}]attachments_filenum[{/t}]
				[{/if}]	
			</td>
		</tr>
		[{/if}]

	</table>
</div>
