<html {$html_attrs}>
<head>
<title>Customer List</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#height100{$id} {height:auto;padding:10px;}
/*#search_block{$id} div {padding:5px 7px;}*/
#global_block{$id} {padding:5px 12px;/*min-height:800px;*/ border: 1px solid #516C81;}
#search_block_center{$id} {padding:3px 5px;text-align:center;}
#center_block{$id} {text-align:center;padding:4px;}
#center_block_caption{$id} {text-align:center;padding:4px;}
#left_block{$id} { position:absolute;width:202px; {BEGIN RTL_block} right:20px;{END RTL_block}{BEGIN LTR_block} left:20px;{END LTR_block} overflow:visible; margin-top:10px}
#right_block{$id} { padding:10px 0px 0px 0px;}
{BEGIN shiftstyle_block}
#right_block{$id} {padding-left:220px;{BEGIN RTL_block}padding-left:0px;padding-right:220px;{END RTL_block}}
{END shiftstyle_block}
#toplinks_block{$id} {padding:0 5px 5px 5px;}
#toplinks_block{$id} > * {margin:4px 6px;vertical-align:middle;}
#menu_block{$id} {clear:left;padding:5px 0px; width:auto;}
#details_block{$id}, #pages_block{$id}, .rppBlock {white-space:nowrap;padding:5px 7px;text-align:center;}
#recordcontrols_block{$id} {padding:13px 10px 9px 10px;text-align:left}
#record_controls{$id} > *,#newrecord_controls{$id} > * {margin:2px 2px;vertical-align:middle}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.menuitem {padding:6px 18px 10px 13px}
.menuitem_active {padding:6px 18px 11px 13px}
.message_block {text-align:center;}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
#grid_block{$id} {margin-top:10px;}
.headerlist_right2 *,.headerlist * {vertical-align:middle}
body{margin:0px;padding:0px;}

#searchPanelContainer{$id}{
	width: 200px

}

/*report styles*/
#export_links{$id} * {padding:0}
</style>
{END style_block}
<!--[if IE]>
{BEGIN iestyle_block}
<style>
#right_block{$id} { width:100%}
.list_table, .list_table1,.grid  {height:100%;}
</style>
{END iestyle_block}
<![endif]-->
</head>

<body marginheight=0 marginwidth=0 {$bodyattrs}>
{BEGIN body}
{$header}
<div id="height100{$id}">
<b class="xtop"><b class="xb1b"></b><b class="xb2b"></b><b class="xb3b"></b><b class="xb4b"></b></b>
{BEGIN toplinks_block}
<div id="toplinks_block{$id}" class="upeditmenu">
<span><font style="FONT-FAMILY: Verdana, Arial;">Logged on as</font>&nbsp;<b>{$username}</b>&nbsp;</span>
<span class=buttonborder><input type=button class=button value="Log out" {$logoutlink_attrs}></span>


{BEGIN changepwd_link}
<span class=buttonborder><input type=button class=button value="Change password" {$changepwdlink_attrs}></span>
{END changepwd_link}

{BEGIN asearch_link}
<span class=buttonborder><input type=button class=button value="Advanced search" {$asearchlink_attrs}></span>
{END asearch_link}


{BEGIN export_link}
<span class=buttonborder><input type=button class=button value="Export results" {$exportlink_attrs}></span>
{END export_link}

{BEGIN print_link}
<span class=buttonborder><input type=button class=button value="Print this page" {$printlink_attrs}></span>
{END print_link}

{BEGIN printall_link}
<span class=buttonborder><input type=button class=button value="Print all pages" {$printalllink_attrs}></span>
{END printall_link}

{BEGIN import_link}
<span class=buttonborder><input type=button class=button value="Import" {$importlink_attrs}></span>
{END import_link}


</div>
{END toplinks_block}

<div class="main_table_border2 main_table" id="global_block{$id}">
{BEGIN left_block}
<div id="left_block{$id}" >
    <b class="xtop"><b class="xb1b1"></b><b class="xb2b1"></b><b class="xb3b1"></b><b class="xb4b1"></b></b>
	<!-- MenuBegin -->
{BEGIN menu_block}
<div class="menu_table" id="menu_block{$id}">
<!-- MainMenuBegin -->
{$mainmenu}
<!-- MainMenuEnd -->
</div>
{END menu_block}
		
	<!-- MenuEnd -->	
	{BEGIN search_records_block}
	<div>
        		{BEGIN searchform}
        <div class="menu_table" id="search_block{$id}">
            <!-- search panel and window -->
            <style>
<!--

#center_block{$id}{
	padding: 5px;
}
#searchPanelHeader{$id}{
	padding: 5px 0px 5px 5px;
}

-->
</style>

<!-- search panel and window header -->
<div class="blackshade2" id="center_block{$id}">
	Search for:
	{BEGIN searchPanelTopButtons}	
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<span class="buttonborder"><input class="button" type="button" id="showSrchWin{$id}" style="width: 18px; background-image: url(images/search/showWindowPin.gif);" {$showHideSearchWin_attrs} ></span>
		&nbsp;		
		<span class="buttonborder"><input class="button" type="button" id="showOptPanel{$id}" style="width: 18px; background-image: url(images/search/showOptions.gif);" {$showHideSearchPanel_attrs} ></span>
	{END searchPanelTopButtons}
</div>
<div id="searchform{$id}">
	<div class="blackshade" id="searchPanelHeader{$id}">
		{$simpleSearchFieldCombo}
		
		{$simpleSearchTypeCombo}
		
		{BEGIN searchform_text}
			<input type=text {$searchfor_attrs} size="25">
		{END searchform_text}
		&nbsp;
		{BEGIN searchform_search}
			<span class="buttonborder"><input class="button" type="button" style="width: 18px; background-image: url(images/search/search.gif);" {$searchbutton_attrs} /></span>
		{END searchform_search}
		&nbsp;		
		{BEGIN searchform_showall}
			<span id="showall{$id}" class=buttonborder {$showAllCont_attrs}><input type=button class="button" value="Show all" {$showallbutton_attrs}></span>
		{END searchform_showall}
	</div>
</div>  
			<div id="searchPanelContainer{$id}" class="searchPanelContainer">			
				{$adv_search_panel}
			</div>                      
            
            <div class="blackshade2" id="details_block{$id}">
				                {BEGIN details_block}
                <span {$details_attrs}>Details found: {$records_found}</span>
                {END details_block}
            </div>
            <div class="menu_text blackshade" id="pages_block{$id}">
				                {BEGIN pages_block}
                <span {$pages_attrs}>Page {$page} of {$maxpages}</span>
                {END pages_block}
            </div>
        </div>
		{END searchform}
		
        <div class="menu_table2">
						{BEGIN recordspp_block}
			<div class="menu_text blackshade rppBlock" align="center">
							{$recsPerPage}
            </div>
			{END recordspp_block}
        </div>
	</div>
	{END search_records_block}
</div>
{END left_block}

    <div id="right_block{$id}">
        
        
        <div class="list_table1" >
        <div class="list_table">
        
        <div class=blackshade2 id="center_block_caption{$id}">
        Customer&nbsp;List
        </div>
        {BEGIN recordcontrols_block}
        <div class=blackshade id="recordcontrols_block{$id}">
	        {BEGIN newrecord_controls}
		<span id="newrecord_controls{$id}">
                {BEGIN add_link}
        <span class=buttonborder><input type=button class="button" value="Add new" {$addlink_attrs}></span>
        {END add_link}

                {BEGIN inlineadd_link}
        <span class=buttonborder><input type=button class="button" value="Inline Add" {$inlineaddlink_attrs} ></span>
        {END inlineadd_link}
        </span>
		{END newrecord_controls}
		
		{$lookupSearchControls}
		
		{BEGIN record_controls}
		<span id="record_controls{$id}">
        
                        {BEGIN editselected_link}
        <span class=buttonborder {$editselectedlink_span}> <input type=button class="button" value="Edit selected" {$editselectedlink_attrs}></span>
        {END editselected_link}
        {BEGIN saveall_link}
        <span class=buttonborder {$savealllink_span}><input type=button class="button" value="Save all" {$savealllink_attrs}></span>
        {END saveall_link}
        {BEGIN cancelall_link}
        <span class=buttonborder {$cancelalllink_span}><input type=button class="button" value="Cancel" {$cancelalllink_attrs}></span>
        {END cancelall_link}

                {BEGIN deleteselected_link}
        <span class=buttonborder {$deleteselectedlink_span}><input type=button class="button" value="Delete selected" {$deleteselectedlink_attrs}></span>
        {END deleteselected_link}

                {BEGIN exportselected_link}
        <span class=buttonborder {$exportselectedlink_span}><input type=button class="button" value="Export selected" {$exportselectedlink_attrs}></span>
        {END exportselected_link}

                {BEGIN printselected_link}
        <span class=buttonborder {$printselectedlink_span}><input type=button class="button" value="Print selected" {$printselectedlink_attrs}></span>
        {END printselected_link}
		</span>
		{END record_controls}
        </div>
        {END recordcontrols_block}
		<div class="message" id="usermessage{$id}">{$user_message}</div>
<div>
{BEGIN grid_block}
<div id="grid_block{$id}">
<table width="100%" name="maintable" border=0 cellpadding=3 cellspacing=0 class="data" id="customer_list">
{BEGIN grid_header}
<thead>
<tr valign="top" {$gridHeader_attrs}>
{BEGIN record_header}

{BEGIN listIcons_column}
	<th  align="center" class="headerlist" {$widthListIcons} nowrap="nowrap">&nbsp;</th>
{END listIcons_column}

{BEGIN checkbox_column}
<th width="20" align="center" class="headerlist">
<input type=checkbox {$checkboxheader_attrs}>
</th>
{END checkbox_column}


{BEGIN idCL_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN idCL_fieldheader}&nbsp;
<a class="tablelinks" {$idCL_orderlinkattrs}>
Id CL</a>
&nbsp;
{END idCL_fieldheader}
</th>
{END idCL_fieldheadercolumn}
{BEGIN Created_on_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Created_on_fieldheader}&nbsp;
<a class="tablelinks" {$Created_on_orderlinkattrs}>
Created On</a>
&nbsp;
{END Created_on_fieldheader}
</th>
{END Created_on_fieldheadercolumn}
{BEGIN Region_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Region_fieldheader}&nbsp;
<a class="tablelinks" {$Region_orderlinkattrs}>
Region</a>
&nbsp;
{END Region_fieldheader}
</th>
{END Region_fieldheadercolumn}
{BEGIN Customer_Name_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Customer_Name_fieldheader}&nbsp;
<a class="tablelinks" {$Customer_Name_orderlinkattrs}>
Customer Name</a>
&nbsp;
{END Customer_Name_fieldheader}
</th>
{END Customer_Name_fieldheadercolumn}
{BEGIN Address_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Address_fieldheader}&nbsp;
<a class="tablelinks" {$Address_orderlinkattrs}>
Address</a>
&nbsp;
{END Address_fieldheader}
</th>
{END Address_fieldheadercolumn}
{BEGIN City_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN City_fieldheader}&nbsp;
<a class="tablelinks" {$City_orderlinkattrs}>
City</a>
&nbsp;
{END City_fieldheader}
</th>
{END City_fieldheadercolumn}
{BEGIN State_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN State_fieldheader}&nbsp;
<a class="tablelinks" {$State_orderlinkattrs}>
State</a>
&nbsp;
{END State_fieldheader}
</th>
{END State_fieldheadercolumn}
{BEGIN Country_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Country_fieldheader}&nbsp;
<a class="tablelinks" {$Country_orderlinkattrs}>
Country</a>
&nbsp;
{END Country_fieldheader}
</th>
{END Country_fieldheadercolumn}
{BEGIN Postal_Code_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Postal_Code_fieldheader}&nbsp;
<a class="tablelinks" {$Postal_Code_orderlinkattrs}>
Postal Code</a>
&nbsp;
{END Postal_Code_fieldheader}
</th>
{END Postal_Code_fieldheadercolumn}
{BEGIN Web_address_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Web_address_fieldheader}&nbsp;
<a class="tablelinks" {$Web_address_orderlinkattrs}>
Web Address</a>
&nbsp;
{END Web_address_fieldheader}
</th>
{END Web_address_fieldheadercolumn}
{BEGIN Area_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Area_fieldheader}&nbsp;
<a class="tablelinks" {$Area_orderlinkattrs}>
Area</a>
&nbsp;
{END Area_fieldheader}
</th>
{END Area_fieldheadercolumn}
{BEGIN Customer_Category_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Customer_Category_fieldheader}&nbsp;
<a class="tablelinks" {$Customer_Category_orderlinkattrs}>
Customer Category</a>
&nbsp;
{END Customer_Category_fieldheader}
</th>
{END Customer_Category_fieldheadercolumn}
{BEGIN Breif_About_the_Company_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Breif_About_the_Company_fieldheader}&nbsp;
<a class="tablelinks" {$Breif_About_the_Company_orderlinkattrs}>
Breif About the Company</a>
&nbsp;
{END Breif_About_the_Company_fieldheader}
</th>
{END Breif_About_the_Company_fieldheadercolumn}
{BEGIN Existing_Setup_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Existing_Setup_fieldheader}&nbsp;
<a class="tablelinks" {$Existing_Setup_orderlinkattrs}>
Existing Setup</a>
&nbsp;
{END Existing_Setup_fieldheader}
</th>
{END Existing_Setup_fieldheadercolumn}
{BEGIN Interaction_Summary_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Interaction_Summary_fieldheader}&nbsp;
<a class="tablelinks" {$Interaction_Summary_orderlinkattrs}>
Interaction Summary</a>
&nbsp;
{END Interaction_Summary_fieldheader}
</th>
{END Interaction_Summary_fieldheadercolumn}
{BEGIN Commercial_Summary_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Commercial_Summary_fieldheader}&nbsp;
<a class="tablelinks" {$Commercial_Summary_orderlinkattrs}>
Commercial Summary</a>
&nbsp;
{END Commercial_Summary_fieldheader}
</th>
{END Commercial_Summary_fieldheadercolumn}
{BEGIN Customer_Status_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Customer_Status_fieldheader}&nbsp;
<a class="tablelinks" {$Customer_Status_orderlinkattrs}>
Customer Status</a>
&nbsp;
{END Customer_Status_fieldheader}
</th>
{END Customer_Status_fieldheadercolumn}
{BEGIN Assigned_Executive_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Assigned_Executive_fieldheader}&nbsp;
<a class="tablelinks" {$Assigned_Executive_orderlinkattrs}>
Assigned Executive</a>
&nbsp;
{END Assigned_Executive_fieldheader}
</th>
{END Assigned_Executive_fieldheadercolumn}
{BEGIN Assigned_Date_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Assigned_Date_fieldheader}&nbsp;
<a class="tablelinks" {$Assigned_Date_orderlinkattrs}>
Assigned Date</a>
&nbsp;
{END Assigned_Date_fieldheader}
</th>
{END Assigned_Date_fieldheadercolumn}
{BEGIN Last_Updated_on_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Last_Updated_on_fieldheader}&nbsp;
<a class="tablelinks" {$Last_Updated_on_orderlinkattrs}>
Last Updated on</a>
&nbsp;
{END Last_Updated_on_fieldheader}
</th>
{END Last_Updated_on_fieldheadercolumn}
{BEGIN Aligned_Partner_fieldheadercolumn}
<th class="headerlist" align="center">
{BEGIN Aligned_Partner_fieldheader}&nbsp;
<a class="tablelinks" {$Aligned_Partner_orderlinkattrs}>
Aligned Partner</a>
&nbsp;
{END Aligned_Partner_fieldheader}
</th>
{END Aligned_Partner_fieldheadercolumn}

{BEGIN endrecordheader_block}
<th class="table_right"></th>
{END endrecordheader_block}
{END record_header}
</tr>
</thead>
{END grid_header}

<tbody>
{BEGIN grid_row}
<tr valign="top" {$rowstyle} {$rowattrs}>
{BEGIN grid_record}

{BEGIN listIcons_column}
	<td align="center" class="listIcons" valign="middle" iEditCont="all" nowrap="nowrap">
		{BEGIN edit_column}
	{BEGIN edit_link}
	<a class="tablelinks" {$editlink_attrs} title="Edit"><img class="listIcon" src="images/icon_edit_new.gif" align="middle" alt="Edit" border="0"></a>
	{END edit_link}
	{END edit_column}

		{BEGIN inlineedit_column}
	{BEGIN inlineedit_link}
	<a class="tablelinks" {$inlineeditlink_attrs} title="Inline Edit"><img class="listIcon" src="images/icon_inline_edit_new.gif" align="middle" alt="Inline Edit" border="0"></a>
	{END inlineedit_link}
	{END inlineedit_column}

	
		{BEGIN view_column}
	{BEGIN view_link}
	<a class="tablelinks" {$viewlink_attrs} title="View"><img class="listIcon" src="images/icon_view_new.gif" align="middle" alt="View" border="0"></a>
	{END view_link}
	{END view_column}
	</td>
{END listIcons_column}
	
{BEGIN checkbox_column}
<td align="center" valign="middle" width="20">
{BEGIN checkbox}
<input type="checkbox" {$checkbox_attrs}>
{END checkbox}
</td>
{END checkbox_column}


{BEGIN idCL_fieldcolumn}
<td valign="middle" class="borderbody" {$idCL_style}>
{$idCL_value}
</td>
{END idCL_fieldcolumn}
{BEGIN Created_on_fieldcolumn}
<td valign="middle" class="borderbody" {$Created_on_style}>
{$Created_on_value}
</td>
{END Created_on_fieldcolumn}
{BEGIN Region_fieldcolumn}
<td valign="middle" class="borderbody" {$Region_style}>
{$Region_value}
</td>
{END Region_fieldcolumn}
{BEGIN Customer_Name_fieldcolumn}
<td valign="middle" class="borderbody" {$Customer_Name_style}>
{$Customer_Name_value}
</td>
{END Customer_Name_fieldcolumn}
{BEGIN Address_fieldcolumn}
<td valign="middle" class="borderbody" {$Address_style}>
{$Address_value}
</td>
{END Address_fieldcolumn}
{BEGIN City_fieldcolumn}
<td valign="middle" class="borderbody" {$City_style}>
{$City_value}
</td>
{END City_fieldcolumn}
{BEGIN State_fieldcolumn}
<td valign="middle" class="borderbody" {$State_style}>
{$State_value}
</td>
{END State_fieldcolumn}
{BEGIN Country_fieldcolumn}
<td valign="middle" class="borderbody" {$Country_style}>
{$Country_value}
</td>
{END Country_fieldcolumn}
{BEGIN Postal_Code_fieldcolumn}
<td valign="middle" class="borderbody" {$Postal_Code_style}>
{$Postal_Code_value}
</td>
{END Postal_Code_fieldcolumn}
{BEGIN Web_address_fieldcolumn}
<td valign="middle" class="borderbody" {$Web_address_style}>
{$Web_address_value}
</td>
{END Web_address_fieldcolumn}
{BEGIN Area_fieldcolumn}
<td valign="middle" class="borderbody" {$Area_style}>
{$Area_value}
</td>
{END Area_fieldcolumn}
{BEGIN Customer_Category_fieldcolumn}
<td valign="middle" class="borderbody" {$Customer_Category_style}>
{$Customer_Category_value}
</td>
{END Customer_Category_fieldcolumn}
{BEGIN Breif_About_the_Company_fieldcolumn}
<td valign="middle" class="borderbody" {$Breif_About_the_Company_style}>
{$Breif_About_the_Company_value}
</td>
{END Breif_About_the_Company_fieldcolumn}
{BEGIN Existing_Setup_fieldcolumn}
<td valign="middle" class="borderbody" {$Existing_Setup_style}>
{$Existing_Setup_value}
</td>
{END Existing_Setup_fieldcolumn}
{BEGIN Interaction_Summary_fieldcolumn}
<td valign="middle" class="borderbody" {$Interaction_Summary_style}>
{$Interaction_Summary_value}
</td>
{END Interaction_Summary_fieldcolumn}
{BEGIN Commercial_Summary_fieldcolumn}
<td valign="middle" class="borderbody" {$Commercial_Summary_style}>
{$Commercial_Summary_value}
</td>
{END Commercial_Summary_fieldcolumn}
{BEGIN Customer_Status_fieldcolumn}
<td valign="middle" class="borderbody" {$Customer_Status_style}>
{$Customer_Status_value}
</td>
{END Customer_Status_fieldcolumn}
{BEGIN Assigned_Executive_fieldcolumn}
<td valign="middle" class="borderbody" {$Assigned_Executive_style}>
{$Assigned_Executive_value}
</td>
{END Assigned_Executive_fieldcolumn}
{BEGIN Assigned_Date_fieldcolumn}
<td valign="middle" class="borderbody" {$Assigned_Date_style}>
{$Assigned_Date_value}
</td>
{END Assigned_Date_fieldcolumn}
{BEGIN Last_Updated_on_fieldcolumn}
<td valign="middle" class="borderbody" {$Last_Updated_on_style}>
{$Last_Updated_on_value}
</td>
{END Last_Updated_on_fieldcolumn}
{BEGIN Aligned_Partner_fieldcolumn}
<td valign="middle" class="borderbody" {$Aligned_Partner_style}>
{$Aligned_Partner_value}
</td>
{END Aligned_Partner_fieldcolumn}

{BEGIN endrecord_block}
<td width=20 class="table_right" {$endrecordblock_attrs}>&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
</tbody>
	
</table>
</div>
{END grid_block}
</div>
{BEGIN message_block}
<div id="message_block{$id}" class="xboxcontentb message_block">
	{$message}
</div>
{END message_block}

{BEGIN pagination_block}
<div id="pagination_block{$id}" class="xboxcontentb message_block">{$pagination}</div>
{END pagination_block}

</div>
</div>
</div>
</div>
<b class="xbottom"><b class="xb4b"></b><b class="xb3b"></b><b class="xb2b"></b><b class="xb1b"></b></b>
</div>
{$footer}
{END body}
</body>
</html>

