rendered paste bodyecho "<tr>\n <td><a href=\"#\" class=\"info\">State\n<span>State (REQUIRED)</span></a></td>\n <td>";
$state = ($extdisplay ? $state : '');
$states = array('AL',
'AK',
'AR',
'AZ',
'CA',
'CO',
'CT',
'DC',
'DE',
'FL',
'GA',
'HI',
'IA',
'ID',
'IL',
'IN',
'KS',
'KY',
'LA',
'MA',
'MD'
);
echo " <select name=\"state\">\n";
foreach ($states AS $s)
{
echo " <option value=\"$s\"" . (($state == $s) ? " SELECTED" : "") . "\">$s</option>\n";
}
echo "</select>\n</td>\n</tr>\n";
//country
echo "<tr>\n <td>\n<a href=\"#\" class=\"info\">Country\n<span>Country (REQUIRED)</span></a></td>\n<td>\n";
$country = ($extdisplay ? $country : "");
$countrys = customerdb_getcountrycodes();
echo " <select name=\"country\">\n";
foreach ($countrys AS $s)
{
echo "<option value=\"$s\"" . (($country == $s) ? " SELECTED" : "") . "\">$s</option>\n";
}