<html>
<head>
	<script type="text/javascript" src="||nwimg||/script_cmd.js"></script>
	<link rel="StyleSheet" href="||nwimg||/skin2.css" type="text/css">
||include||css_blue.tpl||
||include||color.dat||
</head>

<body>

<form name="addrexport" method="post" action="||action||">
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="cmd" value="addr_export" />
	<input type="hidden" name="abook_edit" value="||abook_edit||" />

<table border="0" width="100%" cellpadding="0" cellspacing="0">
	<td width="5"><img src="||nwimg||/space.gif" width="5" height="1"></td>
	<td width="75"><img src="||nwimg||/space.gif" width="75" height="1"></td>
	<td width="100%"><img src="||nwimg||/space.gif" width="105" height="1"></td>
	<td width="105"><img src="||nwimg||/space.gif" width="105" height="1"></td>
	<td width="78"><img src="||nwimg||/space.gif" width="65" height="1"><img src="||nwimg||/space.gif" width="13" height="1"></td>

||define||max_line_count||2||
	||begin_address||
||ifequal||line||1||
	<tr bgcolor="||color_shade||">
||else||
	<tr> 
||endif||
||ifdef||show_select||
		<td width="5"><input type="checkbox" class="clear" name="sel_||href_text||name||" value="on"></td>
||else||
		<td>&nbsp;</td>
||endif||

||ifdef||hide_return||
		<td><a href="javascript:group_add_address('||message_text||name||')">||html_text||name||</a></td>
||else||
	||define||xaddr||(||message_text||name||)||
	||ifnempty||abk_full_name||
		||ifnempty||abk_email||
			||ifinstr||abk_email||<||
				||define||xaddr||abk_email||
			||else||
				||define||xaddr||("||abk_full_name||" <||abk_email||>)||
			||endif||
		||endif||
	||else||
		||ifnempty||abk_email||
			||define||xaddr||abk_email||
		||endif||
	||endif||
		<td><a href="javascript:compose_add_address('||encode_quotes||xaddr||')">||html_text||name||</a></td>
||endif||
		<td>||html_text||abk_email||</td>
		<td>||html_text||abk_full_name||</td>
		<td>||html_text||abk_phone||</td>
	</tr>
	||end_address||
</table>

</form>

</body>
</html>

||ifinstr||error||(||lang_str||Selected Book Does not Exist||)||
||else||
	||include||message_popup.tpl||
||endif||

