<html {$html_attrs}>
<head>
<title>Contact Details: Advanced search page</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
#center_block{$id} {margin:0 auto;}
#contents_block{$id} {text-align:center;width:100%}
#header_block{$id} {white-space:nowrap;height:31px;padding-top:5px;}
#main_block{$id} {padding:10px 0;width:100%}
#inmain_block{$id} {margin:0 10px}
#buttons_block{$id} {width:100%;padding:10px 0;}
#buttons_block{$id} > * {margin:0 2px}
#conditions_block{$id} {padding:5px;}
</style>
<!--[if IE]>
<style>
#main_block{$id} {padding:10px 10;}
#inmain_block{$id} {margin:0 0px}
</style>
<![endif]-->
</head>
<body bgcolor=white {$bodyattrs}>
{BEGIN body}
{$header}
{BEGIN contents_block}
<table align=center id="center_block{$id}"><tr><td id="contents_block{$id}">
	
<b class="xtop"><b class="xb1b"></b><b class="xb2b"></b><b class="xb3b"></b><b class="xb4b"></b></b>
<div id="header_block{$id}" class="upeditmenu">Contact Details - Advanced search</div>

<div class="main_table_border2">
<div class="main_table_border">

{BEGIN conditions_block}
<DIV id="conditions_block{$id}" class="loginshade">
<span class=fieldname>Search for:</span>
<input type="radio" name="srchType" {$all_checkbox}>{BEGIN all_checkbox_label}All conditions{END all_checkbox_label}
&nbsp;&nbsp;&nbsp;
<input type="radio" name="srchType" {$any_checkbox}>{BEGIN any_checkbox_label}Any condition{END any_checkbox_label}
</div>
{END conditions_block}
<table cellpadding=4 cellspacing=0 border=0 id="fields_block{$id}">
<tr valign=center>
<td align=center valign=middle class="headerlist">&nbsp;</td>
<td width=30 align=center valign=middle class=headerlist>NOT</td>
<td align=center valign=middle class="headerlist">&nbsp; </td>
<td align=center valign=middle class="headerlist">&nbsp; </td>
<td align=center valign=middle class="headerlist" style="border-right:0px;">&nbsp;</td></tr>

{BEGIN idCLCP_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN idCLCP_label}Id CLCP{END idCLCP_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$idCLCP_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_idCLCP}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$idCLCP_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$idCLCP_editcontrol1}&nbsp;</td>
</tr>
{END idCLCP_fieldblock}
{BEGIN Name_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Name_label}Name{END Name_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Name_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Name}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Name_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Name_editcontrol1}&nbsp;</td>
</tr>
{END Name_fieldblock}
{BEGIN Job_Title_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Job_Title_label}Job Title{END Job_Title_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Job_Title_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Job_Title}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Job_Title_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Job_Title_editcontrol1}&nbsp;</td>
</tr>
{END Job_Title_fieldblock}
{BEGIN Phone__Direct_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Phone__Direct_label}Phone- Direct{END Phone__Direct_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Phone__Direct_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Phone__Direct}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Phone__Direct_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Phone__Direct_editcontrol1}&nbsp;</td>
</tr>
{END Phone__Direct_fieldblock}
{BEGIN Phone_Extn_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Phone_Extn_label}Phone Extn{END Phone_Extn_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Phone_Extn_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Phone_Extn}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Phone_Extn_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Phone_Extn_editcontrol1}&nbsp;</td>
</tr>
{END Phone_Extn_fieldblock}
{BEGIN Mobile_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Mobile_label}Mobile{END Mobile_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Mobile_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Mobile}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Mobile_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Mobile_editcontrol1}&nbsp;</td>
</tr>
{END Mobile_fieldblock}
{BEGIN E_Mail_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN E_Mail_label}E-Mail{END E_Mail_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$E_Mail_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_E_Mail}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$E_Mail_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$E_Mail_editcontrol1}&nbsp;</td>
</tr>
{END E_Mail_fieldblock}
{BEGIN Notes_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Notes_label}Notes{END Notes_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Notes_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Notes}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Notes_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Notes_editcontrol1}&nbsp;</td>
</tr>
{END Notes_fieldblock}
{BEGIN Company_Name_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Company_Name_label}Company Name{END Company_Name_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Company_Name_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Company_Name}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Company_Name_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Company_Name_editcontrol1}&nbsp;</td>
</tr>
{END Company_Name_fieldblock}
</table>

<div class="downedit" id="buttons_block{$id}">
{BEGIN search_button}
 <span class=buttonborder><input class=button type=button value="Search" {$searchbutton_attrs}></span>
{END search_button} 
{BEGIN reset_button}
 <span class=buttonborder><input class=button type=button value="Reset" {$resetbutton_attrs}></span>
{END reset_button}
{BEGIN back_button}
 <span class=buttonborder><input class=button type=button value="Back to list" {$backbutton_attrs}></span>
{END back_button}
</div>
</div>
</div>
<b class="xbottom"><b class="xb4b"></b><b class="xb3b"></b><b class="xb2b"></b><b class="xb1b"></b></b>
</td></tr></table>
{END contents_block}
{$footer}
{END body}
</body>
</html>