{if is_array($item.agents) && !empty($item.agents) || is_array($item.brokers) && !empty($item.brokers) || is_array($item.agentsVSbrokers) && !empty($item.agentsVSbrokers) }
NRDS ID Statistics from live mncar.org site


{else} NRDS ID Dublicates not found {/if} {if is_array($item.agents) && !empty($item.agents)}

Below is a list of agents who have not unique NRDS ID:


{foreach from = $item.agents item = agent name = 'agent'} {if $agent.nrds_id != $last_nrds_id} {if $rowColor == '#FFFFFF'} {assign var = 'rowColor' value = '#EFEFEF'} {else} {assign var = 'rowColor' value = '#FFFFFF'} {/if} {/if} {assign var = 'last_nrds_id' value = $agent.nrds_id} {/foreach}
NRDS ID Agent Id Agent First Name Agent Last Name Agent Email
{$smarty.foreach.agent.iteration} {$agent.nrds_id} {$agent.agent_id} {$agent.first_name} {$agent.last_name} {$agent.email}
{/if} {if is_array($item.brokers) && !empty($item.brokers)}

Below is a list of brokers who have not unique NRDS ID:


{foreach from = $item.brokers item = broker name = 'brocker'} {if $broker.nrds_id != $last_nrds_id} {if $rowColor == '#FFFFFF'} {assign var = 'rowColor' value = '#EFEFEF'} {else} {assign var = 'rowColor' value = '#FFFFFF'} {/if} {/if} {assign var = 'last_nrds_id' value = $broker.nrds_id} {/foreach}
NRDS ID Broker Id Broker Company Broker Address
{$smarty.foreach.brocker.iteration} {$broker.nrds_id} {$broker.broker_id} {$broker.bkr_company} {$broker.bkr_address} - {$broker.bkr_city}, {$broker.bkr_state} {$broker.bkr_zip} {if $broker.bkr_phone}
Phone: {$broker.bkr_phone}{/if} {if $broker.bkr_fax}
Fax: {$broker.bkr_fax}{/if}
{/if} {if is_array($item.agentsVSbrokers) && !empty($item.agentsVSbrokers)}

Below is a list of brokers who have the same NRDS ID as agent:


{foreach from = $item.agentsVSbrokers item = row name = 'row'} {/foreach}
NRDS ID Broker Id Broker Company Broker Address Agent Id Agent First Name Agent Last Name Agent Email
{$smarty.foreach.row.iteration} {$row.nrds_id} {$row.broker_id} {$row.bkr_company} {$row.bkr_address} - {$row.bkr_city}, {$row.bkr_state} {$row.bkr_zip} {if $row.bkr_phone}
Phone: {$row.bkr_phone}{/if} {if $row.bkr_fax}
Fax: {$row.bkr_fax}{/if}
{$row.agent_id} {$row.first_name} {$row.last_name} {$row.email}
{/if} {if is_array($item.fragmentation) && !empty($item.fragmentation)}

Below is a fragmentation of unused NRDS ID:


Minimal Count:

{foreach from = $item.fragmentation item = f name = 'row'} {/foreach}
NRDS ID Range Count
{$smarty.foreach.row.iteration} {$f.nrds_id_min}{if $f.nrds_id_max != $f.nrds_id_min} - {$f.nrds_id_max}{/if}
{$f.cnt}
{/if}