<?php echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Fast Import</title>
<script type="text/javascript">
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location=\'"+selObj.options[selObj.selectedIndex].value+"\'");
  if (restore) selObj.selectedIndex=0;
}
</script>
</head>

<body>
<table width="847" border="0" align="center" cellspacing="0">
   <tr>
     <td width="845" align="center"><form id="form1" name="form1" method="post" action="">
     <p><font color="#FF0000"><strong><font size="3">STEP 1:</font></strong></font><font size="3"><font color="#FF0000">
      </font>Choose which user account you want to import leads into</font></p>
      
       <select name="jumpMenu" id="jumpMenu" onchange="MM_jumpMenu(\'parent\',this,0)">
         <option value="../importacao_rapida/index.php?Pagina=escolher_cliente">Select User</option>
         ';
$function->ListarClientes();
;echo '       </select>
     </font></p>
     </form></td>
   </tr>
   <tr>
     <td>&nbsp;</td>
   </tr>
   <tr>
     <td height="222"><form id="form2" name="form2" method="post" action="index.php?Funcao=funcao_cria_lista">
      <font size="5">';
if(isset($_REQUEST['Userid']) == true){
;echo ' </font>       <table width="804" border="0">
<p><font color="#FF0000"><strong><font size="3">STEP 2:</font></strong></font><font size="3"><font color="#FF0000">
      </font>Create a name for your mailing list.</font></p>
         <tr>
           <td width="325"><font size="3">List Name: </font></td>
           <td width="469"><font size="5"><input type="text" name="nome_lista" id="nome_lista" /></font></td>
         </tr>
         <tr>
           <td><font size="3">Email of list owner: </font></td>
           <td><font size="5"><input name="email_proprietario_lista" type="text" id="email_proprietario_lista"  
           value="';$function->ProprietarioLista($_REQUEST['Userid']);;echo '" size="30"/></font></td>
         </tr>
         <tr>
           <td> <font size="3">Response email: </font> </td>
           <td><font size="5"><input name="email_resposta" type="text" id="email_resposta" size="30"
           value="';$function->ProprietarioLista($_REQUEST['Userid']);;echo '" /></font></td>
         </tr>
         <tr>
           <td> <font size="3">Bounce email address: </font> </td>
           <td><font size="5"><input name="email_devolvidos" type="text" id="email_devolvidos" 
           value="';$function->BounceAddress();;echo '" size="30" /></font></td>
         </tr>
         <tr>
           <td>&nbsp;</td>
           <td>
           <font size="5">
           <input type="hidden" name="Userid" value="';echo $_REQUEST['Userid'];;echo '"  />
           
           </font>
           
           </td>
         </tr>
         <tr>
           <td>&nbsp;</td>
           <td><font size="5"><input type="submit" name="button" id="button" value="Create List" /></font></td>
         </tr>
         <tr>
           <td>&nbsp;</td>
           <td>&nbsp;</td>
         </tr>
       </table>
	  <font size="5">';};echo ' </font>     </form></td>
   </tr>
   <tr>
     <td>&nbsp;</td>
   </tr>
</table>
</body>
</html>';; ?>