begin process at 2010 02 10 07:59:02
  Trouver un code source :
 
dans
 
Accueil > Forum > 

Delphi

 > 

Base de données

 > 

Autre

 > 

transfert internet


Derniers messages déposésPoser une question dans le forum ou lancer une discussion

transfert internet

lundi 13 août 2007 à 12:35:07 | transfert internet

fouroulou

Membre Club

Bonjour tout le monde,

Voilà j'ai un petit problème, j'ai réalisé une application base de données(avec interbase 6.5 comme sgbd) et ce avec delphi 7.

Jusque là c'est bon, mon souci réside dans le fait que je dois transférer les données enregistrées dans certaines colonnes d'une table vers un formulaire contenant les mêmes colonnes( ex: nom, prénom...).Ce formulaire se trouve sur un site internet, et chaque fois que le formulaire est validé(envoi des données vers le serveur du site, celui renvoit un numéro d'inscription que je dois récuperer dans ma table).

Et comme le nombre d'enregistrement est important(jusqu'à 1000 et plus, j'aimerais bien que le transfert vers le site internet soit automatique pour gain de temps).

Je m'excuse pour le message qui est un peu long, mais c'était dans le souci de bien expliquer.

Si quelqu'un pourrait m'éclairer et m'orienter vers un livre ou une documentation en ligne, ça m'aiderait beaucoup et je vous serais très reconnaissant.

C'est la partie qui me reste pour boucler mon projet.

Merci beaucoup et bonnes vacances pour ceux et celles qui ne sont pas encore rentrés.

lundi 13 août 2007 à 14:10:32 | Re : transfert internet

sylvunix

Salut,

Si j'ai bien compris, ton problème est lié au dialogue avec le site internet. Pourrais-tu m'indiquer l'url afin de voir comment effectuer le dialogue ?

A+
lundi 13 août 2007 à 19:34:02 | Re : transfert internet

fouroulou

Membre Club

Merci Sylvunix pour votre réponse, mais le site en question est fermé pour le moment, je vous donne quand même l'url:   [ Lien ]  (page d'accueil)

Puisque le site est fermé, je crois que ce qui vous intéresse c'est la page du formulaire, pendant mes recherches antérieures j'ai sauvegardé la source de cette page la voici :




<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1256">
<meta NAME="Generator" CONTENT="Microsoft Word 97">
  <meta http-equiv="Expires" CONTENT="0">
  <meta http-equiv="Cache-Control" CONTENT="no-cache">
  <meta http-equiv="Pragma" CONTENT="no-cache">

<title></title>
</head>

 

<STYLE TYPE="text/css">h1 { font-family:Arial;font-size:10pt}h2 { font-family:Arial;font-size:12pt}h3 { font-family: Arial; font-size: 10pt; font-weight: bold; color: #000000}
h4 { font-family: Arial; font-size: 10pt; font-weight: bold; color: #000000;}
h5 { font-family: Arial; font-size: 10pt;  font-weight: bold; color: #0000FF;}
h6 { font-family: Arial; font-size: 10pt; font-weight: bold; color: #FFFFFF;text-align: center;}
 </STYLE>
<BODY background="" TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">

<!--<FORM name="form1" action="Visa_Company_a_Save.asp?lang=1" method="post" ENCTYPE="multipart/form-data"  >-->

       <FORM name="Form3" action="Visa_Company_a.asp" method="post" autocomplete=off  >

 <input type=hidden name='visakindid'  value="4">
 <input type=hidden name='lang'  value="1">

       </FORM>

<FORM name="form1" action="Visa_Company_a_Save.asp" method="post" autocomplete=off  >

 <input type=hidden name='visakindid'  value="4">
 <input type=hidden name='lang'  value="1">

<P ALIGN="CENTER">
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=0 WIDTH=750 DIR=LTR>
 <TR>
   <TD COLSPAN='1' DIR=LTR width="100%" ><center>
     <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=781 DIR=LTR>
       <TR><td background="/images/header_01_1.jpeg" height="123" VALIGN="BOTTOM" ALIGN=></td></TR>
       <TR>
          <td VALIGN="MIDDLE" ALIGN=CENTER background="/images/header_02_1.jpeg" width="100%">
             <SPAN style="FONT-SIZE: 16pt;height:43px;color:'#FF0000'"><b></FONT></span>
          </TD>
       </TR>
     </TABLE>
   </TD>
 </TR>


<STYLE TYPE="text/css">h1 { font-family:Arial;font-size:10pt}h2 { font-family:Arial;font-size:12pt}h3 { font-family: Arial; font-size: 10pt; font-weight: bold; color: #000000}
h4 { font-family: Arial; font-size: 10pt; font-weight: bold; color: #000000;}
h5 { font-family: Arial; font-size: 10pt;  font-weight: bold; color: #0000FF;}
h6 { font-family: Arial; font-size: 10pt; font-weight: bold; color: #FFFFFF;text-align: center;}
 </STYLE>
 <TR>


   <TD COLSPAN='1' DIR=LTR width="100%" ><center>
     <P ALIGN='CENTER'>
     <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH='100%' DIR=LTR><center>
       <TR>
          <TD VALIGN='TOP' WIDTH='100%' COLSPAN=9 ><FONT FACE="Tahoma (Arabic)" SIZE=4 COLOR="#4040FF"><P ALIGN="CENTER">
Visa&nbspRequest Form
          </P></FONT>
          </TD>
       </TR>

          <TD WIDTH="100%" VALIGN="TOP"><P ALIGN="CENTER">
            <TABLE BORDER=0 cellPadding='0' cellSpacing='2' width=80% DIR=LTR>
            
           
            
               <TR>

                <TD VALIGN='TOP' DIR=LTR COLSPAN=1 width='5%'><h2><P ALIGN='center'><FONT COLOR='#000000'><b>Office&nbspName</b></FONT></TD>
             <TD VALIGN='TOP' WIDTH='85%' DIR=LTR COLSPAN=6><h2><P ALIGN=><FONT COLOR='#000000'>
                
   
      <INPUT Readonly TYPE=TEXT style="width:'100%'" value='ÕæáíÑ ÝæÇíÇÌ'>


                 </TD>
              </TR>
             

              <TR>
                 <TD width="50" VALIGN="middle" ALIGN= COLSPAN=1 DIR=LTR>Embassy&nbspIn</TD>
                 <TD width="150" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=3>
                   
                   <select id=embassy_code name='embassy_code' style='width:180' size=1 >
                   <OPTION VALUE="403" >Paris</option>

                     </select>
                 </TD>


                 <TD width="150" VALIGN="middle" ALIGN= COLSPAN=1 DIR=LTR>Visa&nbspType</TD>
                 <TD width="250" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=3>
                     <select id=visa_id name='visa_id' onchange=goselvisa() style='width:150' size=1>
                       <OPTION VALUE='1' >WORK</option>
<OPTION VALUE='2' >VISIT</option>
<OPTION VALUE='3' >RESIDENT</option>
<OPTION VALUE='4'  selected>HAJJ</option>
<OPTION VALUE='6' >TRANSIT</option>
<OPTION VALUE='11' >MEDICAL</option>
<OPTION VALUE='12' >EDUCATIONAL</option>
<OPTION VALUE='13' >Temporary Work</option>
<OPTION VALUE='14' >PRODUCT Delivery</option>
<OPTION VALUE='23' >COMMERCIAL VISIT</option>
<OPTION VALUE='24' >FAMILY VISIT</option>

                     <select>
                 </TD>
              </TR>
              <input type=hidden  name="visa_number">


               <TR>
                          <TD width="50" VALIGN="TOP" ALIGN= COLSPAN=1 DIR=LTR>First&nbspName</TD>
                          <TD width="10%" VALIGN="middle" ALIGN= COLSPAN=1 DIR=LTR><INPUT NAME=efirstname maxlength=15 style="width:70"></TD>
                          <TD width="10%" VALIGN="middle" ALIGN="LEFT" COLSPAN=1 DIR='LTR'>Father</TD>
                          <TD width="10%" VALIGN="middle" ALIGN= COLSPAN=1 DIR=LTR><INPUT NAME=efather maxlength=15 style="width:70"></TD>
                          <TD width="10%" VALIGN="middle" ALIGN="LEFT" COLSPAN=1 DIR='LTR'>Grand&nbspF.</TD>
                          <TD width="10%" VALIGN="middle" ALIGN= COLSPAN=1 DIR=LTR><INPUT NAME=egrand maxlength=15 style="width:70"></TD>
                          <TD width="10%" VALIGN="middle" ALIGN="LEFT" COLSPAN=1 DIR='LTR'>Family</TD>
                          <TD width="10%" VALIGN="middle" ALIGN= COLSPAN=1 DIR=LTR><INPUT NAME=efamily maxlength=15 style="width:70"></TD>

              </TR>
              <TR>
                 <TD width="50" VALIGN="middle" ALIGN= COLSPAN=1 DIR=LTR>Passport&nbspNumber</TD>
                 <TD width="150" VALIGN="middle" DIR=LTR COLSPAN=3><INPUT NAME=passport_no maxlength=20 style="width:150" ></TD>
                 <TD width="50" VALIGN="middle" ALIGN= COLSPAN=1 DIR=LTR>Passport&nbspType</TD>
                 <TD width="150" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=3>
                   <select name=passport_type style="width:150 " size=1 >
                      <OPTION VALUE="1" >NORMAL</option>
<OPTION VALUE="2" >DIPLOMATIC</option>
<OPTION VALUE="3" >SPECIAL</option>
<OPTION VALUE="4" >HAJJ CERT</option>
<OPTION VALUE="5" >TRAVEL CERT</option>

                   </select>
                 </TD>
              </TR>

 


              <TR>
                 <TD width="50" VALIGN="middle" ALIGN= COLSPAN=1 DIR=LTR>Place&nbspof&nbspIssue</TD>
                 <TD width="150" VALIGN="middle" DIR=LTR COLSPAN=7><INPUT NAME=passport_issue_place maxlength=30 style="width:483" ></TD>
              </TR>


              <TR>
                 <TD width="70" VALIGN="middle" ALIGN= COLSPAN=1 DIR=LTR>Date&nbspof&nbspIssue</TD>
                 <TD width="200" VALIGN="middle" DIR=LTR COLSPAN=2>
   <select name='pid' style="width:40" size=1 ></select>
   <select name='pim' style="width:40" size=1 ></select>
   <select name='piy' style="width:60" size=1 ></select>
                 </TD>

                 <TD width="150" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=2>Expiry&nbspDate</TD>
                 <TD width="150" VALIGN="middle" DIR=LTR COLSPAN=2>
   <select name='ped' style="width:40" size=1 ></select>
   <select name='pem' style="width:40" size=1 ></select>
   <select name='pey' style="width:60" size=1 ></select>
                 </TD>
              </TR>
              <TR>
                 <TD width="50" VALIGN="middle" ALIGN= COLSPAN=1 >Place&nbspof&nbspBirth</TD>
                 <TD width="150" VALIGN="middle" DIR=LTR COLSPAN=2><INPUT NAME=birth_place maxlength=20 style="width:150" ></TD>
                 <TD width="150" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=2>Date&nbspof&nbspBirth</TD>
                 <TD width="250" VALIGN="middle" DIR=LTR COLSPAN=2>
   <select name='pdd' style="width:40" size=1 ></select>
   <select name='pdm' style="width:40" size=1 ></select>
   <select name='pdy' style="width:60 " size=1 ></select>

                 </TD>

              </TR>
              <TR>
                 <TD width="50" VALIGN="middle" ALIGN= COLSPAN=1 >Nationality</TD>
                 <TD width="150" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=2>
                   <select name=nationality style="width:150 " size=1 value="" >
<OPTION VALUE='ABW' >Aruba</option>
<OPTION VALUE='AFG' >Afghanistan</option>
<OPTION VALUE='AIA' >Anguilla</option>
<OPTION VALUE='BEL' >Belgium</option>
<OPTION VALUE='BGD' >Bangladesh</option>
<OPTION VALUE='CZE' >Czech Republic</option>
<OPTION VALUE='GNB' >Guinea-Bissau</option>
<OPTION VALUE='LAO' >Lao People's Democratic Republic</option>
<OPTION VALUE='LTU' >Lithuania</option>
<OPTION VALUE='NRU' >Nauru</option>
<OPTION VALUE='PAN' >Panama</option>
<OPTION VALUE='PYF' >French Polynesia</option>
<OPTION VALUE='RWA' >Rwanda</option>
<OPTION VALUE='SJM' >Svalbard And Jan Mayen Islands</option>
<OPTION VALUE='SYR' >Syrian Arab Republic</option>
<OPTION VALUE='TON' >Tonga</option>
<OPTION VALUE='VAT' >Holy See(Vatican City State)</option>
<OPTION VALUE='UMI' >United States Minor Outlying Islands</option>
<OPTION VALUE='AGO' >Angola</option>
<OPTION VALUE='AND' >Andorra</option>
<OPTION VALUE='ARE' >United Arab Emirates</option>
<OPTION VALUE='ATA' >Antarctic</option>
<OPTION VALUE='AUT' >Austria</option>
<OPTION VALUE='AUS' >Australia</option>
<OPTION VALUE='BEN' >Benin</option>
<OPTION VALUE='BFA' >Burkina Faso</option>
<OPTION VALUE='BGR' >Bulgaria</option>
<OPTION VALUE='BHR' >Bahrain</option>
<OPTION VALUE='BLZ' >Belize</option>
<OPTION VALUE='BMU' >Bermuda</option>
<OPTION VALUE='BOL' >Bolivia</option>
<OPTION VALUE='BRA' >Brazil</option>
<OPTION VALUE='BRB' >Barbados</option>
<OPTION VALUE='BWA' >Botswana</option>
<OPTION VALUE='CAN' >Canada</option>
<OPTION VALUE='CHE' >Switzerland</option>
<OPTION VALUE='COG' >Congo</option>
<OPTION VALUE='COM' >Comoros</option>
<OPTION VALUE='CPV' >Cape Verde</option>
<OPTION VALUE='CRI' >Costa Rica</option>
<OPTION VALUE='DEU' >Germany</option>
<OPTION VALUE='DNK' >Denmark</option>
<OPTION VALUE='ECU' >Ecuador</option>
<OPTION VALUE='EST' >Estonia</option>
<OPTION VALUE='FIN' >Finland</option>
<OPTION VALUE='FJI' >Fiji</option>
<OPTION VALUE='FRA'  selected>France</option>
<OPTION VALUE='GAB' >Gabon</option>
<OPTION VALUE='GHA' >Ghana</option>
<OPTION VALUE='GIN' >Guinea</option>
<OPTION VALUE='GRD' >Grenada</option>
<OPTION VALUE='GUF' >French Guiana</option>
<OPTION VALUE='HKG' >Hong Kong</option>
<OPTION VALUE='IRN' >Iran</option>
<OPTION VALUE='IRQ' >Iraq</option>
<OPTION VALUE='ISL' >Iceland</option>
<OPTION VALUE='JAM' >Jamaica</option>
<OPTION VALUE='JOR' >Jordan</option>
<OPTION VALUE='JPN' >Japan</option>
<OPTION VALUE='KEN' >Kenya</option>
<OPTION VALUE='KHM' >Cambodia</option>
<OPTION VALUE='KNA' >Saint Kitts and Nevis</option>
<OPTION VALUE='LCA' >Saint Lucia</option>
<OPTION VALUE='LVA' >Latvia</option>
<OPTION VALUE='MDA' >Moldova, Republic of</option>
<OPTION VALUE='MLI' >Mali</option>
<OPTION VALUE='MMR' >Myanmar</option>
<OPTION VALUE='MNG' >Mongolia</option>
<OPTION VALUE='MOZ' >Mozambique</option>
<OPTION VALUE='MRT' >Mauritania</option>
<OPTION VALUE='MTQ' >Martinique</option>
<OPTION VALUE='MUS' >Mauritius</option>
<OPTION VALUE='MWI' >Malawi</option>
<OPTION VALUE='MYT' >Mayotte</option>
<OPTION VALUE='NGA' >Nigeria</option>
<OPTION VALUE='NLD' >Netherlands</option>
<OPTION VALUE='NOR' >Norway</option>
<OPTION VALUE='NZL' >New Zealand</option>
<OPTION VALUE='PCN' >Pitcairn Islands</option>
<OPTION VALUE='POL' >Poland</option>
<OPTION VALUE='PRY' >Paraguay</option>
<OPTION VALUE='QAT' >Qatar</option>
<OPTION VALUE='REU' >Reunion</option>
<OPTION VALUE='SLE' >Sierra Leone</option>
<OPTION VALUE='SLV' >El Salvador</option>
<OPTION VALUE='SPM' >Saint pierre and Miquelon</option>
<OPTION VALUE='STP' >Sao Tome And Principe</option>
<OPTION VALUE='SWZ' >Swaziland</option>
<OPTION VALUE='SYC' >Seychelles</option>
<OPTION VALUE='TJK' >Tajikistan</option>
<OPTION VALUE='TTO' >Trinidad and tobago</option>
<OPTION VALUE='TUV' >Tuvalu</option>
<OPTION VALUE='TZA' >Tanzania, United Republic of</option>
<OPTION VALUE='USA' >United States</option>
<OPTION VALUE='UZB' >Uzbekistan</option>
<OPTION VALUE='VCT' >Saint Vincent and  the Grenadines</option>
<OPTION VALUE='VNM' >Vietnam</option>
<OPTION VALUE='FXX' >France, Meteropolitan</option>
<OPTION VALUE='WSM' >Samoa</option>
<OPTION VALUE='ALB' >Albania</option>
<OPTION VALUE='ARG' >Argentina</option>
<OPTION VALUE='BHS' >Bahamas</option>
<OPTION VALUE='BIH' >Bosnia</option>
<OPTION VALUE='BLR' >Belarus</option>
<OPTION VALUE='BRN' >Brunei Darussalam</option>
<OPTION VALUE='BTN' >Bhutan</option>
<OPTION VALUE='CAF' >Central African Republic</option>
<OPTION VALUE='CCK' >Cocos Island</option>
<OPTION VALUE='CHL' >Chile</option>
<OPTION VALUE='COL' >Colombia</option>
<OPTION VALUE='CXR' >Christmas Island</option>
<OPTION VALUE='CYP' >Cyprus</option>
<OPTION VALUE='DJI' >Djibouti</option>
<OPTION VALUE='DMA' >Dominica</option>
<OPTION VALUE='EGY' >Egypt</option>
<OPTION VALUE='ESP' >Spain</option>
<OPTION VALUE='ETH' >Ethiopia</option>
<OPTION VALUE='FLK' >Falkland Islands</option>
<OPTION VALUE='GBR' >United Kingdom</option>
<OPTION VALUE='GEO' >Georgia</option>
<OPTION VALUE='GIB' >Gibraltar</option>
<OPTION VALUE='GRL' >Greenland</option>
<OPTION VALUE='HRV' >Croatia</option>
<OPTION VALUE='HTI' >Haiti</option>
<OPTION VALUE='IND' >India</option>
<OPTION VALUE='IRL' >Ireland</option>
<OPTION VALUE='ITA' >Italy</option>
<OPTION VALUE='KIR' >Kiribati</option>
<OPTION VALUE='LBY' >Libya Arab Jamahiriya</option>
<OPTION VALUE='LKA' >Sri Lanka</option>
<OPTION VALUE='LSO' >Lesotho</option>
<OPTION VALUE='LUX' >Luxembourg</option>
<OPTION VALUE='MAC' >Macau</option>
<OPTION VALUE='MDG' >Madagascar</option>
<OPTION VALUE='MLT' >Malta</option>
<OPTION VALUE='FSM' >Micronesia , Federated Stat</option>
<OPTION VALUE='MYS' >Malaysia</option>
<OPTION VALUE='NAM' >Namibia</option>
<OPTION VALUE='ATN' >Netherlands Antilles</option>
<OPTION VALUE='NCL' >New Caledonia</option>
<OPTION VALUE='NER' >Niger</option>
<OPTION VALUE='NFK' >Norfolk Island</option>
<OPTION VALUE='NIC' >Nicaragua</option>
<OPTION VALUE='NIU' >Niue</option>
<OPTION VALUE='NPL' >Nepal</option>
<OPTION VALUE='PAK' >Pakistan</option>
<OPTION VALUE='PHL' >Philippines</option>
<OPTION VALUE='PNG' >Papua New Guinea</option>
<OPTION VALUE='PRK' >Korea, Democratic People's Republic of</option>
<OPTION VALUE='PRT' >Portugal</option>
<OPTION VALUE='ROM' >Romania</option>
<OPTION VALUE='RUS' >Russian Federation</option>
<OPTION VALUE='SDN' >Sudan</option>
<OPTION VALUE='SEN' >Senegal</option>
<OPTION VALUE='SGS' >South Georgia and The South Sandwich Islands</option>
<OPTION VALUE='SOM' >Somalia</option>
<OPTION VALUE='SUR' >Suriname</option>
<OPTION VALUE='SVK' >Slovak Republic</option>
<OPTION VALUE='SVN' >Slovenia</option>
<OPTION VALUE='TCD' >Chad</option>
<OPTION VALUE='TKL' >Tokelau</option>
<OPTION VALUE='TWN' >Taiwan, Province Of China</option>
<OPTION VALUE='URY' >Uruguay</option>
<OPTION VALUE='VEN' >Venezuela</option>
<OPTION VALUE='VGB' >Virgin Islands(British)</option>
<OPTION VALUE='YEM' >Yemen</option>
<OPTION VALUE='ZAF' >South Africa</option>
<OPTION VALUE='ZWE' >Zimbabwe</option>
<OPTION VALUE='IOT' >British Indian Ocean Territory</option>
<OPTION VALUE='MNP' >Northern Mariana Islands</option>
<OPTION VALUE='PSE' >Palestinian Territory, Occupied</option>
<OPTION VALUE='YUG' >Yugoslavia</option>
<OPTION VALUE='ERI' >Eritrea</option>
<OPTION VALUE='ARM' >Armenia</option>
<OPTION VALUE='ASM' >American Samoa</option>
<OPTION VALUE='ATF' >French Southern and Antarctic</option>
<OPTION VALUE='ATG' >Antigua And Barbuda</option>
<OPTION VALUE='AZE' >Azerbaijan</option>
<OPTION VALUE='BDI' >Burundi</option>
<OPTION VALUE='BVT' >Bouvet Island</option>
<OPTION VALUE='CHN' >China</option>
<OPTION VALUE='CIV' >Cote Divoire</option>
<OPTION VALUE='CMR' >Cameroon</option>
<OPTION VALUE='COK' >Cook Island</option>
<OPTION VALUE='CUB' >Cuba</option>
<OPTION VALUE='CYM' >Cayman Island</option>
<OPTION VALUE='DOM' >Dominican Republic</option>
<OPTION VALUE='DZA' >Algeria</option>
<OPTION VALUE='ESH' >Western Sahara</option>
<OPTION VALUE='FRO' >Faroe Islands</option>
<OPTION VALUE='GLP' >Guadeloupe</option>
<OPTION VALUE='GMB' >Gambia</option>
<OPTION VALUE='GNQ' >Equatorial  Guinea</option>
<OPTION VALUE='GRC' >Greece</option>
<OPTION VALUE='GTM' >Guatemala</option>
<OPTION VALUE='GUM' >Guam</option>
<OPTION VALUE='GUY' >Guyana</option>
<OPTION VALUE='HMD' >Heard Island and Mcdonald Island</option>
<OPTION VALUE='HND' >Honduras</option>
<OPTION VALUE='HUN' >Hungary</option>
<OPTION VALUE='IDN' >Indonesia</option>
<OPTION VALUE='KAZ' >Kazakhstan</option>
<OPTION VALUE='KGZ' >Kyrgyzstan</option>
<OPTION VALUE='KOR' >Korea , Republic of</option>
<OPTION VALUE='KWT' >Kuwait</option>
<OPTION VALUE='LBN' >Lebanon</option>
<OPTION VALUE='LBR' >Liberia</option>
<OPTION VALUE='LIE' >Liechtenstein</option>
<OPTION VALUE='MAR' >Morcco</option>
<OPTION VALUE='MCO' >Monaco</option>
<OPTION VALUE='MDV' >Maldives</option>
<OPTION VALUE='MEX' >Mexico</option>
<OPTION VALUE='MHL' >Marshall Islands</option>
<OPTION VALUE='MSR' >Montserrat</option>
<OPTION VALUE='OMN' >Oman</option>
<OPTION VALUE='PER' >Peru</option>
<OPTION VALUE='PRI' >Puerto Rico</option>
<OPTION VALUE='SAU' >Kingdom Saudi Arabia</option>
<OPTION VALUE='SGP' >Singapore</option>
<OPTION VALUE='SLB' >Solomon Islands</option>
<OPTION VALUE='SMR' >San Marino</option>
<OPTION VALUE='SWE' >Sweden</option>
<OPTION VALUE='TCA' >Turks and Caicos Islands</option>
<OPTION VALUE='TGO' >Togo</option>
<OPTION VALUE='THA' >Thailand</option>
<OPTION VALUE='TKM' >Turkmenistan</option>
<OPTION VALUE='TUN' >Tunisia</option>
<OPTION VALUE='TUR' >Turkey</option>
<OPTION VALUE='UGA' >Uganda</option>
<OPTION VALUE='UKR' >Ukraine</option>
<OPTION VALUE='VUT' >Vanuatu</option>
<OPTION VALUE='WLF' >Wallis and Futuna Islands</option>
<OPTION VALUE='COD' >Zaire</option>
<OPTION VALUE='ZMB' >Zambia</option>
<OPTION VALUE='TMP' >East Timor</option>
<OPTION VALUE='MKD' >Macedonia, The Former Yugoslav Republic of</option>
<OPTION VALUE='PLW' >Palau</option>
<OPTION VALUE='SHN' >ST. Helena</option>
<OPTION VALUE='VIR' >Virgin Islands(U.S.)</option>

                   </select>
                 </TD>
                 <TD width="150" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=2>Previous&nbspNationality</TD>

                 <TD width="150" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=2>
   <select name='nationality_first' style="width:150 " size=1 >
                         <OPTION selected VALUE='1' >NULL</option><OPTION VALUE="ABW" >Aruba</option>
<OPTION VALUE="AFG" >Afghanistan</option>
<OPTION VALUE="AIA" >Anguilla</option>
<OPTION VALUE="BEL" >Belgium</option>
<OPTION VALUE="BGD" >Bangladesh</option>
<OPTION VALUE="CZE" >Czech Republic</option>
<OPTION VALUE="GNB" >Guinea-Bissau</option>
<OPTION VALUE="LAO" >Lao People's Democratic Republic</option>
<OPTION VALUE="LTU" >Lithuania</option>
<OPTION VALUE="NRU" >Nauru</option>
<OPTION VALUE="PAN" >Panama</option>
<OPTION VALUE="PYF" >French Polynesia</option>
<OPTION VALUE="RWA" >Rwanda</option>
<OPTION VALUE="SJM" >Svalbard And Jan Mayen Islands</option>
<OPTION VALUE="SYR" >Syrian Arab Republic</option>
<OPTION VALUE="TON" >Tonga</option>
<OPTION VALUE="VAT" >Holy See(Vatican City State)</option>
<OPTION VALUE="UMI" >United States Minor Outlying Islands</option>
<OPTION VALUE="AGO" >Angola</option>
<OPTION VALUE="AND" >Andorra</option>
<OPTION VALUE="ARE" >United Arab Emirates</option>
<OPTION VALUE="ATA" >Antarctic</option>
<OPTION VALUE="AUT" >Austria</option>
<OPTION VALUE="AUS" >Australia</option>
<OPTION VALUE="BEN" >Benin</option>
<OPTION VALUE="BFA" >Burkina Faso</option>
<OPTION VALUE="BGR" >Bulgaria</option>
<OPTION VALUE="BHR" >Bahrain</option>
<OPTION VALUE="BLZ" >Belize</option>
<OPTION VALUE="BMU" >Bermuda</option>
<OPTION VALUE="BOL" >Bolivia</option>
<OPTION VALUE="BRA" >Brazil</option>
<OPTION VALUE="BRB" >Barbados</option>
<OPTION VALUE="BWA" >Botswana</option>
<OPTION VALUE="CAN" >Canada</option>
<OPTION VALUE="CHE" >Switzerland</option>
<OPTION VALUE="COG" >Congo</option>
<OPTION VALUE="COM" >Comoros</option>
<OPTION VALUE="CPV" >Cape Verde</option>
<OPTION VALUE="CRI" >Costa Rica</option>
<OPTION VALUE="DEU" >Germany</option>
<OPTION VALUE="DNK" >Denmark</option>
<OPTION VALUE="ECU" >Ecuador</option>
<OPTION VALUE="EST" >Estonia</option>
<OPTION VALUE="FIN" >Finland</option>
<OPTION VALUE="FJI" >Fiji</option>
<OPTION VALUE="FRA" >France</option>
<OPTION VALUE="GAB" >Gabon</option>
<OPTION VALUE="GHA" >Ghana</option>
<OPTION VALUE="GIN" >Guinea</option>
<OPTION VALUE="GRD" >Grenada</option>
<OPTION VALUE="GUF" >French Guiana</option>
<OPTION VALUE="HKG" >Hong Kong</option>
<OPTION VALUE="IRN" >Iran</option>
<OPTION VALUE="IRQ" >Iraq</option>
<OPTION VALUE="ISL" >Iceland</option>
<OPTION VALUE="JAM" >Jamaica</option>
<OPTION VALUE="JOR" >Jordan</option>
<OPTION VALUE="JPN" >Japan</option>
<OPTION VALUE="KEN" >Kenya</option>
<OPTION VALUE="KHM" >Cambodia</option>
<OPTION VALUE="KNA" >Saint Kitts and Nevis</option>
<OPTION VALUE="LCA" >Saint Lucia</option>
<OPTION VALUE="LVA" >Latvia</option>
<OPTION VALUE="MDA" >Moldova, Republic of</option>
<OPTION VALUE="MLI" >Mali</option>
<OPTION VALUE="MMR" >Myanmar</option>
<OPTION VALUE="MNG" >Mongolia</option>
<OPTION VALUE="MOZ" >Mozambique</option>
<OPTION VALUE="MRT" >Mauritania</option>
<OPTION VALUE="MTQ" >Martinique</option>
<OPTION VALUE="MUS" >Mauritius</option>
<OPTION VALUE="MWI" >Malawi</option>
<OPTION VALUE="MYT" >Mayotte</option>
<OPTION VALUE="NGA" >Nigeria</option>
<OPTION VALUE="NLD" >Netherlands</option>
<OPTION VALUE="NOR" >Norway</option>
<OPTION VALUE="NZL" >New Zealand</option>
<OPTION VALUE="PCN" >Pitcairn Islands</option>
<OPTION VALUE="POL" >Poland</option>
<OPTION VALUE="PRY" >Paraguay</option>
<OPTION VALUE="QAT" >Qatar</option>
<OPTION VALUE="REU" >Reunion</option>
<OPTION VALUE="SLE" >Sierra Leone</option>
<OPTION VALUE="SLV" >El Salvador</option>
<OPTION VALUE="SPM" >Saint pierre and Miquelon</option>
<OPTION VALUE="STP" >Sao Tome And Principe</option>
<OPTION VALUE="SWZ" >Swaziland</option>
<OPTION VALUE="SYC" >Seychelles</option>
<OPTION VALUE="TJK" >Tajikistan</option>
<OPTION VALUE="TTO" >Trinidad and tobago</option>
<OPTION VALUE="TUV" >Tuvalu</option>
<OPTION VALUE="TZA" >Tanzania, United Republic of</option>
<OPTION VALUE="USA" >United States</option>
<OPTION VALUE="UZB" >Uzbekistan</option>
<OPTION VALUE="VCT" >Saint Vincent and  the Grenadines</option>
<OPTION VALUE="VNM" >Vietnam</option>
<OPTION VALUE="FXX" >France, Meteropolitan</option>
<OPTION VALUE="WSM" >Samoa</option>
<OPTION VALUE="ALB" >Albania</option>
<OPTION VALUE="ARG" >Argentina</option>
<OPTION VALUE="BHS" >Bahamas</option>
<OPTION VALUE="BIH" >Bosnia</option>
<OPTION VALUE="BLR" >Belarus</option>
<OPTION VALUE="BRN" >Brunei Darussalam</option>
<OPTION VALUE="BTN" >Bhutan</option>
<OPTION VALUE="CAF" >Central African Republic</option>
<OPTION VALUE="CCK" >Cocos Island</option>
<OPTION VALUE="CHL" >Chile</option>
<OPTION VALUE="COL" >Colombia</option>
<OPTION VALUE="CXR" >Christmas Island</option>
<OPTION VALUE="CYP" >Cyprus</option>
<OPTION VALUE="DJI" >Djibouti</option>
<OPTION VALUE="DMA" >Dominica</option>
<OPTION VALUE="EGY" >Egypt</option>
<OPTION VALUE="ESP" >Spain</option>
<OPTION VALUE="ETH" >Ethiopia</option>
<OPTION VALUE="FLK" >Falkland Islands</option>
<OPTION VALUE="GBR" >United Kingdom</option>
<OPTION VALUE="GEO" >Georgia</option>
<OPTION VALUE="GIB" >Gibraltar</option>
<OPTION VALUE="GRL" >Greenland</option>
<OPTION VALUE="HRV" >Croatia</option>
<OPTION VALUE="HTI" >Haiti</option>
<OPTION VALUE="IND" >India</option>
<OPTION VALUE="IRL" >Ireland</option>
<OPTION VALUE="ITA" >Italy</option>
<OPTION VALUE="KIR" >Kiribati</option>
<OPTION VALUE="LBY" >Libya Arab Jamahiriya</option>
<OPTION VALUE="LKA" >Sri Lanka</option>
<OPTION VALUE="LSO" >Lesotho</option>
<OPTION VALUE="LUX" >Luxembourg</option>
<OPTION VALUE="MAC" >Macau</option>
<OPTION VALUE="MDG" >Madagascar</option>
<OPTION VALUE="MLT" >Malta</option>
<OPTION VALUE="FSM" >Micronesia , Federated Stat</option>
<OPTION VALUE="MYS" >Malaysia</option>
<OPTION VALUE="NAM" >Namibia</option>
<OPTION VALUE="ATN" >Netherlands Antilles</option>
<OPTION VALUE="NCL" >New Caledonia</option>
<OPTION VALUE="NER" >Niger</option>
<OPTION VALUE="NFK" >Norfolk Island</option>
<OPTION VALUE="NIC" >Nicaragua</option>
<OPTION VALUE="NIU" >Niue</option>
<OPTION VALUE="NPL" >Nepal</option>
<OPTION VALUE="PAK" >Pakistan</option>
<OPTION VALUE="PHL" >Philippines</option>
<OPTION VALUE="PNG" >Papua New Guinea</option>
<OPTION VALUE="PRK" >Korea, Democratic People's Republic of</option>
<OPTION VALUE="PRT" >Portugal</option>
<OPTION VALUE="ROM" >Romania</option>
<OPTION VALUE="RUS" >Russian Federation</option>
<OPTION VALUE="SDN" >Sudan</option>
<OPTION VALUE="SEN" >Senegal</option>
<OPTION VALUE="SGS" >South Georgia and The South Sandwich Islands</option>
<OPTION VALUE="SOM" >Somalia</option>
<OPTION VALUE="SUR" >Suriname</option>
<OPTION VALUE="SVK" >Slovak Republic</option>
<OPTION VALUE="SVN" >Slovenia</option>
<OPTION VALUE="TCD" >Chad</option>
<OPTION VALUE="TKL" >Tokelau</option>
<OPTION VALUE="TWN" >Taiwan, Province Of China</option>
<OPTION VALUE="URY" >Uruguay</option>
<OPTION VALUE="VEN" >Venezuela</option>
<OPTION VALUE="VGB" >Virgin Islands(British)</option>
<OPTION VALUE="YEM" >Yemen</option>
<OPTION VALUE="ZAF" >South Africa</option>
<OPTION VALUE="ZWE" >Zimbabwe</option>
<OPTION VALUE="IOT" >British Indian Ocean Territory</option>
<OPTION VALUE="MNP" >Northern Mariana Islands</option>
<OPTION VALUE="PSE" >Palestinian Territory, Occupied</option>
<OPTION VALUE="YUG" >Yugoslavia</option>
<OPTION VALUE="ERI" >Eritrea</option>
<OPTION VALUE="ARM" >Armenia</option>
<OPTION VALUE="ASM" >American Samoa</option>
<OPTION VALUE="ATF" >French Southern and Antarctic</option>
<OPTION VALUE="ATG" >Antigua And Barbuda</option>
<OPTION VALUE="AZE" >Azerbaijan</option>
<OPTION VALUE="BDI" >Burundi</option>
<OPTION VALUE="BVT" >Bouvet Island</option>
<OPTION VALUE="CHN" >China</option>
<OPTION VALUE="CIV" >Cote Divoire</option>
<OPTION VALUE="CMR" >Cameroon</option>
<OPTION VALUE="COK" >Cook Island</option>
<OPTION VALUE="CUB" >Cuba</option>
<OPTION VALUE="CYM" >Cayman Island</option>
<OPTION VALUE="DOM" >Dominican Republic</option>
<OPTION VALUE="DZA" >Algeria</option>
<OPTION VALUE="ESH" >Western Sahara</option>
<OPTION VALUE="FRO" >Faroe Islands</option>
<OPTION VALUE="GLP" >Guadeloupe</option>
<OPTION VALUE="GMB" >Gambia</option>
<OPTION VALUE="GNQ" >Equatorial  Guinea</option>
<OPTION VALUE="GRC" >Greece</option>
<OPTION VALUE="GTM" >Guatemala</option>
<OPTION VALUE="GUM" >Guam</option>
<OPTION VALUE="GUY" >Guyana</option>
<OPTION VALUE="HMD" >Heard Island and Mcdonald Island</option>
<OPTION VALUE="HND" >Honduras</option>
<OPTION VALUE="HUN" >Hungary</option>
<OPTION VALUE="IDN" >Indonesia</option>
<OPTION VALUE="KAZ" >Kazakhstan</option>
<OPTION VALUE="KGZ" >Kyrgyzstan</option>
<OPTION VALUE="KOR" >Korea , Republic of</option>
<OPTION VALUE="KWT" >Kuwait</option>
<OPTION VALUE="LBN" >Lebanon</option>
<OPTION VALUE="LBR" >Liberia</option>
<OPTION VALUE="LIE" >Liechtenstein</option>
<OPTION VALUE="MAR" >Morcco</option>
<OPTION VALUE="MCO" >Monaco</option>
<OPTION VALUE="MDV" >Maldives</option>
<OPTION VALUE="MEX" >Mexico</option>
<OPTION VALUE="MHL" >Marshall Islands</option>
<OPTION VALUE="MSR" >Montserrat</option>
<OPTION VALUE="OMN" >Oman</option>
<OPTION VALUE="PER" >Peru</option>
<OPTION VALUE="PRI" >Puerto Rico</option>
<OPTION VALUE="SAU" >Kingdom Saudi Arabia</option>
<OPTION VALUE="SGP" >Singapore</option>
<OPTION VALUE="SLB" >Solomon Islands</option>
<OPTION VALUE="SMR" >San Marino</option>
<OPTION VALUE="SWE" >Sweden</option>
<OPTION VALUE="TCA" >Turks and Caicos Islands</option>
<OPTION VALUE="TGO" >Togo</option>
<OPTION VALUE="THA" >Thailand</option>
<OPTION VALUE="TKM" >Turkmenistan</option>
<OPTION VALUE="TUN" >Tunisia</option>
<OPTION VALUE="TUR" >Turkey</option>
<OPTION VALUE="UGA" >Uganda</option>
<OPTION VALUE="UKR" >Ukraine</option>
<OPTION VALUE="VUT" >Vanuatu</option>
<OPTION VALUE="WLF" >Wallis and Futuna Islands</option>
<OPTION VALUE="COD" >Zaire</option>
<OPTION VALUE="ZMB" >Zambia</option>
<OPTION VALUE="TMP" >East Timor</option>
<OPTION VALUE="MKD" >Macedonia, The Former Yugoslav Republic of</option>
<OPTION VALUE="PLW" >Palau</option>
<OPTION VALUE="SHN" >ST. Helena</option>
<OPTION VALUE="VIR" >Virgin Islands(U.S.)</option>

                   </select>
                 </TD>
              </TR>


              <TR>
                 <TD width="150" VALIGN="middle" ALIGN= COLSPAN=1 DIR=LTR>Marital&nbspStatus</TD>
                 <TD width="150" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=2>
                   <select name=social_status style="width:150 " size=1 >
                     <OPTION VALUE="1" >SINGLE</option>
<OPTION VALUE="2" >MARRIED</option>
<OPTION VALUE="3" >DIVORCED</option>
<OPTION VALUE="4" >WIDOW</option>
<OPTION VALUE="5" >OTHER</option>

                   </select>
                 </TD>
                 <TD width="50" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=2>Sex</TD>
                 <TD width="150" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=2>
   <select name='sextype' style="width:80 " size=1 >
                                <OPTION selected VALUE='1' >Male</option> <OPTION  VALUE='2' >Female</option>
   </select>
   </TD>

              </TR>


              <TR>
                 <TD width="50" VALIGN="middle" ALIGN= COLSPAN=1>Religion</TD>
                 <TD width="150" VALIGN="middle" ALIGN=DIR=LTR COLSPAN=2>
                   <select name=religion style="width:150 " size=1 >
                     <OPTION VALUE="1" >MUSLEM</option>

                   </select>
                 </TD>
              </TR>


              <TR>
                 <TD width="70" VALIGN="middle" ALIGN= COLSPAN=1>Profession</TD>
                 <TD width="300" VALIGN="middle" DIR=LTR COLSPAN=7><INPUT NAME=job_or_relation maxlength=50 style="width:606" ></TD>
              </TR>
              <TR>
                 <TD width="70" VALIGN="middle" ALIGN= COLSPAN=1>Educational&nbspBackground</TD>
                 <TD width="100" VALIGN="middle" DIR=LTR COLSPAN=2><INPUT NAME=degree maxlength=50 style="width:180" ></TD>
                 <TD width="100" VALIGN="middle" DIR=LTR COLSPAN=2>Reference</TD>
                 <TD width="300" VALIGN="middle" DIR=LTR COLSPAN=3><INPUT NAME=degree_source maxlength=50 style="width:218" ></TD>
              </TR>
              <TR>
                 <TD width="70" VALIGN="middle" ALIGN= COLSPAN=1>Residence&nbspAddress</TD>
                 <TD width="400" VALIGN="middle" DIR=LTR COLSPAN=7><INPUT NAME=address_home maxlength=250 style="width:606" ></TD>
              </TR>


           

              <TR><TD width="70" VALIGN="middle" ALIGN= COLSPAN=1>Mahram&nbspName</TD>
                  <TD width="400" VALIGN="middle" DIR=LTR COLSPAN=8><INPUT NAME=mahram_name maxlength=60 style="width:606" ></TD></TR>
              <TR><TD width="70" VALIGN="middle" ALIGN= COLSPAN=1>Relation</TD>
                  <TD width="400" VALIGN="middle" DIR=LTR COLSPAN=8><INPUT NAME=mahram_relation maxlength=10 style="width:294" ></TD></TR>
           
         <TR><TD COLSPAN=8 ALIGN="CENTER">


<!--****************************************-->

<TABLE BORDER=0 cellPadding=0 cellSpacing=0 width=80% DIR=LTR>
  <TR ><TD VALIGN='TOP' WIDTH=100% COLSPAN=2 >
      <FONT FACE="Tahoma (Arabic)" SIZE=4 COLOR="#4040FF"><P ALIGN="CENTER">Companions&nbspData</font></TD>
  </TR>

 


 <TR>
    <TD COLSPAN=1 width='100%'><p align='center'>
      <TABLE border=1 cellPadding=1 cellSpacing=1 DIR=LTR width='100%'>

        <tr BGCOLOR='#21AB8A'>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 width='40%'><h2><P ALIGN='center'><FONT COLOR='#000000'><b>Name</b></FONT></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 width='15%'><h2><P ALIGN='center'><FONT COLOR='#000000'><b>Date&nbspof&nbspBirth</b></FONT></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 width='40%'><h2><P ALIGN='center'><FONT COLOR='#000000'><b>Relation</b></FONT></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 width='5%'><h2><P ALIGN='center'><FONT COLOR='#000000'><b>Sex</b></FONT></TD>
        </tr>

 

        <tr BGCOLOR='#BBCA8C'>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=><INPUT maxlength=50 id= 'COMP_NAME1' NAME='COMP_NAME1' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=10 NAME='COMP_BIRTHDATE1' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=20 NAME='COMP_RELATION1' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=>
   <select name='COMP_SEX1' style="width:60 " size=1 >
                                <OPTION selected VALUE='1' >Male</option> <OPTION  VALUE='2' >Female</option>
   </select>
           </TD>
        </tr>

        <tr BGCOLOR='#BBCA8C'>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=><INPUT maxlength=50 id= 'COMP_NAME2' NAME='COMP_NAME2' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=10 NAME='COMP_BIRTHDATE2' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=20 NAME='COMP_RELATION2' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=>
   <select name='COMP_SEX2' style="width:60 " size=1 >
                                <OPTION selected VALUE='1' >Male</option> <OPTION  VALUE='2' >Female</option>
   </select>
           </TD>
        </tr>

        <tr BGCOLOR='#BBCA8C'>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=><INPUT maxlength=50 id= 'COMP_NAME3' NAME='COMP_NAME3' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=10 NAME='COMP_BIRTHDATE3' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=20 NAME='COMP_RELATION3' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=>
   <select name='COMP_SEX3' style="width:60 " size=1 >
                                <OPTION selected VALUE='1' >Male</option> <OPTION  VALUE='2' >Female</option>
   </select>
           </TD>
        </tr>

        <tr BGCOLOR='#BBCA8C'>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=><INPUT maxlength=50 id= 'COMP_NAME4' NAME='COMP_NAME4' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=10 NAME='COMP_BIRTHDATE4' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=20 NAME='COMP_RELATION4' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=>
   <select name='COMP_SEX4' style="width:60 " size=1 >
                                <OPTION selected VALUE='1' >Male</option> <OPTION  VALUE='2' >Female</option>
   </select>
           </TD>
        </tr>

        <tr BGCOLOR='#BBCA8C'>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=><INPUT maxlength=50 id= 'COMP_NAME5' NAME='COMP_NAME5' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=10 NAME='COMP_BIRTHDATE5' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=20 NAME='COMP_RELATION5' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=>
   <select name='COMP_SEX5' style="width:60 " size=1 >
                                <OPTION selected VALUE='1' >Male</option> <OPTION  VALUE='2' >Female</option>
   </select>
           </TD>
        </tr>

        <tr BGCOLOR='#BBCA8C'>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=><INPUT maxlength=50 id= 'COMP_NAME6' NAME='COMP_NAME6' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=10 NAME='COMP_BIRTHDATE6' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=20 NAME='COMP_RELATION6' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=>
   <select name='COMP_SEX6' style="width:60 " size=1 >
                                <OPTION selected VALUE='1' >Male</option> <OPTION  VALUE='2' >Female</option>
   </select>
           </TD>
        </tr>

        <tr BGCOLOR='#BBCA8C'>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=><INPUT maxlength=50 id= 'COMP_NAME7' NAME='COMP_NAME7' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=10 NAME='COMP_BIRTHDATE7' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><INPUT maxlength=20 NAME='COMP_RELATION7' style="width:100%"></TD>
           <TD VALIGN='TOP' DIR=LTR COLSPAN=1 ><h2><P ALIGN='center'><FONT COLOR='#000000'><h2><P ALIGN=>
   <select name='COMP_SEX7' style="width:60 " size=1 >
                                <OPTION selected VALUE='1' >Male</option> <OPTION  VALUE='2' >Female</option>
   </select>
           </TD>
        </tr>

</TABLE>
</TD></TR>
</TABLE>

<!--****************************************-->

         </TD></TR>
       </TABLE>
     </TD>
  </TR>
</TABLE>
<P ALIGN="CENTER">
<TABLE border=0 cellPadding=0 cellSpacing=0 width='70%'><P ALIGN="CENTER">
  <tr>
     <td><P ALIGN="CENTER">

         <marquee behavior=alternate style="color: #800000; font-weight: bold; font-size: 12pt" scrolldelay="1" SCROLLAMOUNT="2" width="100%" height="20" direction=left>
           I Hereby Undertake to fully respect and Comply with Saudi Law</font>
         </marquee>
         <TABLE align=cinter BORDER=2 BORDERCOLOR="#305F90" CLLSPACING=1 CELLPADDING=1 WIDTH="180">
            <TR>
               <TD BGCOLOR="#E0F7E0" BORDERCOLOR="#305F90" VALIGN="MIDDLE" ALIGN="CENTER" >
<!--                   <INPUT TYPE = "submit" VALUE="    ÇÑÓÇá    " >-->
                   <INPUT name= 'b1' type="button" VALUE='SUBMIT' onclick=SendData()>
                   <INPUT name= 'b2' type="button" VALUE='Back' onclick=GoBack()>

               </TD>
            </TR>
         </TABLE>
     </TD>
  </TR>
</TABLE>

 

</td></tr></table>
</FORM>


<script language="JavaScript">
 DrawDateMonth("pi");
 DrawDateMonth("pe");
 DrawDateMonth("pd");

function goselvisa()
 {
//   Form3.lang.value=form1.lang.value
     Form3.visakindid.value=form1.visa_id.value
//   alert(Form3.visakindid.value)
   Form3.submit()
//   visakindid=form1.visa_id.value;
//   xx="Visa_Company_a.asp?visakindid=" + visakindid
//   location.href=xx
 }


function DrawDateMonth(obj)
  {
 

   for(i=1;i<32;i++)
    {
      len1=document.all(obj+"d" ).options.length;
      document.all(obj+"d" ).options[len1] = new Option(i);
      document.all(obj+"d" ).options[len1].value=i;
    }        
   for(i=1;i<13;i++)
    {
      len1=document.all(obj+"m" ).options.length;
      document.all(obj+"m" ).options[len1] = new Option(i);
      document.all(obj+"m" ).options[len1].value=i;
    }
  

   if (obj=="pi"){y2=2005;y1=y2-10;}
   if (obj=="pe"){y1=2005;y2=2005+40;}
   if (obj=="pd"){y1=1900;y2=2005;}

   for(i=y1;i<y2+1;i++)
      {
        len1=document.all(obj+"y").options.length;
        document.all(obj+"y" ).options[len1] = new Option(i);
        document.all(obj+"y" ).options[len1].value=i;
      }


  }

goselvisa

function GoBack()
  {
   location.href="Main1.asp"
  }

</SCRIPT>

<script language="vbScript">
lang=form3.lang.value
msg_date="bad date "
msg_afirstname="Enter the AFirst Name. "
msg_afamily="Enter the AFmaily Name. "
msg_efirstname="Enter the First Name. "
msg_efamily="Enter the Fmaily Name. "
msg_passport_no="Enter the Passport Number. "
msg_passport_issue_place="Check the issue's place of the Passport. "
msg_birth_place="Enter the place of Birth. "
msg_job_or_relation="Enter the Profession "
msg_degree="Please complete entering your Data."
msg_degree_source="Please complete entering your Data."
msg_address_home="Enter the Home Address. "
msg_mahram_name="Ente Mahram Name"
msg_mahram_relation="Enter Mahram Relation"
msg_COMP_name="Enter the Name"
msg_COMP_BIRTHDATE="Enter the Birth of Date"
msg_COMP_RELATION="Enter the RELATION"

 

 

 

function SendData()
  if ChkDate ("pi") =false then exit function
  if ChkDate ("pe") =false then exit function
  if ChkDate ("pd") =false then exit function  

 
'     if trim(document.form1.mahram_name.value)="" THEN
'        form1.mahram_name.value=""
'        form1.mahram_name.focus()
'        alert(msg_mahram_name)
'        exit function
'     end if

'       if trim(document.form1.mahram_relation.value)="" THEN
'             form1.mahram_relation.value=""
'             form1.mahram_relation.focus()
'             alert(msg_mahram_relation)
'             exit function
'       end if

 

 if trim(document.form1.efirstname.value)="" THEN
    form1.efirstname.value=""
    form1.efirstname.focus()
    alert(msg_efirstname)
    exit function
 end if

 if trim(document.form1.efamily.value)="" THEN
    form1.efamily.value=""
    form1.efamily.focus()
    alert(msg_efamily)
    exit function
 end if
 if trim(document.form1.passport_no.value)="" THEN
    form1.passport_no.value=""
    form1.passport_no.focus()
    alert(msg_passport_no)
    exit function
 end if
 if trim(document.form1.passport_issue_place.value)="" THEN
    form1.passport_issue_place.value=""
    form1.passport_issue_place.focus()
    alert(msg_passport_issue_place)
    exit function
 end if
 if trim(document.form1.birth_place.value)="" THEN
    form1.birth_place.value=""
    form1.birth_place.focus()
    alert(msg_birth_place)
    exit function
 end if
 if trim(document.form1.job_or_relation.value)="" THEN
    form1.job_or_relation.value=""
    form1.job_or_relation.focus()
    alert(msg_job_or_relation)
    exit function
 end if

 if trim(document.form1.degree.value)="" THEN
'    form1.degree.value=""
'    form1.degree.focus()
'    alert(msg_degree)
'    exit function
 end if
 if trim(document.form1.degree_source.value)="" THEN
'    form1.degree_source.value=""
'    form1.degree_source.focus()
'    alert(msg_degree_source)
'    exit function
 end if
 if trim(document.form1.address_home.value)="" THEN
    form1.address_home.value=""
    form1.address_home.focus()
    alert(msg_address_home)
    exit function
 end if

 


 if trim(document.form1.COMP_NAME1.value) <>"" then
    if trim(document.form1.COMP_BIRTHDATE1.value)="" then
       document.form1.COMP_BIRTHDATE1.value=""
       form1.COMP_BIRTHDATE1.focus()
       alert(msg_COMP_BIRTHDATE)
       exit function
    end if
    if trim(document.form1.COMP_RELATION1.value)="" then
       document.form1.COMP_RELATION1.value=""
       form1.COMP_RELATION1.focus()
       alert(msg_COMP_RELATION)
       exit function
    end if
 else
    document.form1.COMP_NAME1.value=""
    if trim(document.form1.COMP_BIRTHDATE1.value)<>"" or trim(document.form1.COMP_RELATION1.value)<>"" then
       form1.COMP_NAME1.focus()
       alert(msg_COMP_name)
       exit function
    end if
 end if

 if trim(document.form1.COMP_NAME2.value) <>"" then
    if trim(document.form1.COMP_BIRTHDATE2.value)="" then
       document.form1.COMP_BIRTHDATE2.value=""
       form1.COMP_BIRTHDATE2.focus()
       alert(msg_COMP_BIRTHDATE)
       exit function
    end if
    if trim(document.form1.COMP_RELATION2.value)="" then
       document.form1.COMP_RELATION2.value=""
       form1.COMP_RELATION2.focus()
       alert(msg_COMP_RELATION)
       exit function
    end if
 else
    document.form1.COMP_NAME2.value=""
    if trim(document.form1.COMP_BIRTHDATE2.value)<>"" or trim(document.form1.COMP_RELATION2.value)<>"" then
       form1.COMP_NAME2.focus()
       alert(msg_COMP_name)
       exit function
    end if
 end if

 if trim(document.form1.COMP_NAME3.value) <>"" then
    if trim(document.form1.COMP_BIRTHDATE3.value)="" then
       document.form1.COMP_BIRTHDATE3.value=""
       form1.COMP_BIRTHDATE3.focus()
       alert(msg_COMP_BIRTHDATE)
       exit function
    end if
    if trim(document.form1.COMP_RELATION3.value)="" then
       document.form1.COMP_RELATION3.value=""
       form1.COMP_RELATION3.focus()
       alert(msg_COMP_RELATION)
       exit function
    end if
 else
    document.form1.COMP_NAME3.value=""
    if trim(document.form1.COMP_BIRTHDATE3.value)<>"" or trim(document.form1.COMP_RELATION3.value)<>"" then
       form1.COMP_NAME3.focus()
       alert(msg_COMP_name)
       exit function
    end if
 end if

 if trim(document.form1.COMP_NAME4.value) <>"" then
    if trim(document.form1.COMP_BIRTHDATE4.value)="" then
       document.form1.COMP_BIRTHDATE4.value=""
       form1.COMP_BIRTHDATE4.focus()
       alert(msg_COMP_BIRTHDATE)
       exit function
    end if
    if trim(document.form1.COMP_RELATION4.value)="" then
       document.form1.COMP_RELATION4.value=""
       form1.COMP_RELATION4.focus()
       alert(msg_COMP_RELATION)
       exit function
    end if
 else
    document.form1.COMP_NAME4.value=""
    if trim(document.form1.COMP_BIRTHDATE4.value)<>"" or trim(document.form1.COMP_RELATION4.value)<>"" then
       form1.COMP_NAME4.focus()
       alert(msg_COMP_name)
       exit function
    end if
 end if

 if trim(document.form1.COMP_NAME5.value) <>"" then
    if trim(document.form1.COMP_BIRTHDATE5.value)="" then
       document.form1.COMP_BIRTHDATE5.value=""
       form1.COMP_BIRTHDATE5.focus()
       alert(msg_COMP_BIRTHDATE)
       exit function
    end if
    if trim(document.form1.COMP_RELATION5.value)="" then
       document.form1.COMP_RELATION5.value=""
       form1.COMP_RELATION5.focus()
       alert(msg_COMP_RELATION)
       exit function
    end if
 else
    document.form1.COMP_NAME5.value=""
    if trim(document.form1.COMP_BIRTHDATE5.value)<>"" or trim(document.form1.COMP_RELATION5.value)<>"" then
       form1.COMP_NAME5.focus()
       alert(msg_COMP_name)
       exit function
    end if
 end if

 if trim(document.form1.COMP_NAME6.value) <>"" then
    if trim(document.form1.COMP_BIRTHDATE6.value)="" then
       document.form1.COMP_BIRTHDATE6.value=""
       form1.COMP_BIRTHDATE6.focus()
       alert(msg_COMP_BIRTHDATE)
       exit function
    end if
    if trim(document.form1.COMP_RELATION6.value)="" then
       document.form1.COMP_RELATION6.value=""
       form1.COMP_RELATION6.focus()
       alert(msg_COMP_RELATION)
       exit function
    end if
 else
    document.form1.COMP_NAME6.value=""
    if trim(document.form1.COMP_BIRTHDATE6.value)<>"" or trim(document.form1.COMP_RELATION6.value)<>"" then
       form1.COMP_NAME6.focus()
       alert(msg_COMP_name)
       exit function
    end if
 end if

 if trim(document.form1.COMP_NAME7.value) <>"" then
    if trim(document.form1.COMP_BIRTHDATE7.value)="" then
       document.form1.COMP_BIRTHDATE7.value=""
       form1.COMP_BIRTHDATE7.focus()
       alert(msg_COMP_BIRTHDATE)
       exit function
    end if
    if trim(document.form1.COMP_RELATION7.value)="" then
       document.form1.COMP_RELATION7.value=""
       form1.COMP_RELATION7.focus()
       alert(msg_COMP_RELATION)
       exit function
    end if
 else
    document.form1.COMP_NAME7.value=""
    if trim(document.form1.COMP_BIRTHDATE7.value)<>"" or trim(document.form1.COMP_RELATION7.value)<>"" then
       form1.COMP_NAME7.focus()
       alert(msg_COMP_name)
       exit function
    end if
 end if

 

 

'    for(i=1;i<4;i++)
'     {
'      if (document.all("COMP_NAME" + i ).value!="" )
'         {
'          if (document.all("COMP_BIRTHDATE" + i ).value=="" )
'             if(i==1) {alert("íÌÈ ÅÏÎÇá ÊÇÑíÎ ÇáãíáÇÏ");document.all("COMP_BIRTHDATE" + i ).focus();return}
'          if (document.all("COMP_RELATION" + i ).value=="" )
'             if(i==1) {alert("íÌÈ ÅÏÎÇá ÇáÚáÇÞÉ");document.all("COMP_RELATION" + i ).focus();return}
'         }
'     }


 form1.submit()

 

 end function

function ChkDate(wstr)
   d=document.all(wStr & "d").value
   m=document.all(wStr & "m").value
   y=document.all(wStr & "y").value
   pidate=d & "/" & m & "/" & y
    ChkDate=True
    if isdate(pidate)= false then
       alert(msg_Date)
       document.all(wStr & "d").focus()
       ChkDate=false
      exit function
     
    end if
end function

</script>


</body>
</html>

 

Voilà je m'excuse pour ce message très long, mais j'ai pas pu faire mieux.
Espérons que ça va faire avancer les choses.
Merci encore et à bientôt


mardi 14 août 2007 à 11:43:22 | Re : transfert internet

fouroulou

Membre Club

Bonjour de nouveau,

Voilà je crois que la réponse d'hier ne vous facilite pas la tache , je vous envoies un lien pour voir la page du formulaire directement : le voici

[ Lien ] 

 

merci encore et bonne journée


vendredi 17 août 2007 à 09:56:47 | Re : transfert internet

sylvunix

Salut fouroulou,

Je viens de récupérer ton formulaire. Voici donc une méthode pour alimenter les champs du formulaire ... L'exemple place le texte sylvunix (c'est moi !) dans le champ efirstname.

uses
  MSHTML, ActiveX, ComObj;

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
begin
  WebBrowser1.Navigate('C:\Formulaire.htm');
end;

procedure TForm1.Button2Click(Sender: TObject);
const
  formRecherche = 'form1';
  champRecherche = 'efirstname';
var
  iDocument: IHTMLDocument2;
  iForm: IHTMLFormElement;
  iFormCollection: IHTMLElementCollection ;
  iInputElement: IHTMLInputElement;
  ItemIndex, ItemName : OleVariant;
  i: Integer;
begin
  iDocument := WebBrowser1.Document as IHTMLDocument2;
  iFormCollection:= iDocument.Forms;
  for i := 0 to iFormCollection.Length-1 do
  begin
    iForm := iFormCollection.Item(i,0) as IHTMLFormElement;
    if iForm.name = formRecherche then
    begin
      ItemIndex := 0;
      ItemName := champRecherche;
      iInputElement := iForm.Item(ItemName, ItemIndex) as IHTMLInputElement;
      iInputElement.value := 'sylvunix';
    end;
  end;
end;


jeudi 23 août 2007 à 11:16:22 | Re : transfert internet

fouroulou

Membre Club


Bonjour sylvunix,

Je vous remercie beaucoup pour votre réponse que j'ai essayée et qui marche bien.
Je dois maintenant utiliser un DBNavigator pour faire défiler mes enregistrement un à un pour pouvoir les envoyer.

D'une autre part dans cette ligne de code :
 
iInputElement.value := 'sylvunix'; dois-je remplacer 'sylvunix' par le champ correspondant dans ma table ?

Et en fin comment récupérer le numéro généré par l'envoi du formulaire dans ma table?
Merci encore une fois et j'attends votre réponse avec impatience.



Cette discussion est classée dans : site, données, formulaire, internet, transfert


Répondre à ce message

Sujets en rapport avec ce message

connexion base de données site internet [ par phoenyx ] Salut à tous,J'aimerais savoir comment me connecter à une base de données sur un site internet.Explications :L'application se décompose en deux partie Transfert de données [ par fouroulou ] Bonjour tout le monde,J'ai beaucoup cherché mais sans résultat satisfaisant ;Je voudrais transferer des données stockées dans une table vers une page Récupération de données sur un site Internet avec une appli codée avec Delphi 5 ou 6 [ par Resorbak ] Patché Bonjour à tous... Est-il possible avec Delphi5 ou 6 de créer une appli capable d'aller chercher des données à une adresse Ex: http://www.fdjeux Site Internet Delphi Dot Net? [ par cbonus2000 ] Quelqu'un connait-il de bon sites internet sur Delphi .Net. Si possible avec exemple de code source pour Delphi Dot Net. _______Bonus Exporter et enregistrer un fichier vai IdHttp [ par TarikBelSOFT ] salut Je suis entrain de réaliser un logiciel pour un client. afin qu'il puisse se connecté sans passer par l'identification et voir ses données (tabl site internet [ par yomane51100 ] bonjour pouriers vous mèdes je cherche le composant qui me permettras d ouvrir un site Internet en cliquant sur un bouton est l ouvrir dans une autr connexion à un site internet via le programme [ par pierrecoulon ] bonjour à tous,serait-il possible de faire apparaitre une nouvelle fenêtre avec une connexion internet et appuyant sur un bouton dans le programme?mer Base de donnée sur Internet [ par darkduck ] Est - il possible d'utiliser une base de données, de la modifier, etc.. si elle est sur notre site web? Si oui pouvez vous me donner la marche à suivr Extraction d'information sur un site internet [ par zmc ] Bonjour,Je voudrais créer une application qui me permettrait de récuperer l'état de mes comptes sur le site de ma banque (sécurisé donc). J'ai appris historique [ par Also know as ] Bonjour,Je fais mes premiers pas sous delphi et je suis en train de travailler sous un Navigateur internet.Voiçi mon problème :Je cherche à faire de t


Nos sponsors


Sondage...

CalendriCode

Février 2010
LMMJVSD
1234567
891011121314
15161718192021
22232425262728

Consulter la suite du CalendriCode

 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 0,764 sec (4)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales