Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 13
  1. #1
    Utente di HTML.it
    Registrato dal
    Mar 2003
    residenza
    Prato
    Messaggi
    687

    Problema di memorizzazione dati in un form di utenti.

    Salve
    Ho un sito di modelle dove se la modella si logga ha la possibilità di cambiare i propri dati.
    Sono tutti campi testo fatta per eccezione per la lunghezza capelli che è un menù a discesa con scelta obbligatoria. Tale programmazione l'ha progettata il mio vecchio programmatore che purtroppo non collabora più con me e quindi ho deciso di provare a modificare il tutto da me. Sono riuscito a fare quasi tutte le modifiche fatta eccezione per questa e un nuovo form che ha lo stesso scopo di quello delle modelle ma i fotografi e quindi avrei bisogno anche di un semplice form di memorizzazione dati utente dove il fotografo possa cambiare i propri dati.

    Per capire di cosa si tratta vi invio il link della registrazione così capite meglio:
    http://www.modelle-nudo.com/iscrizio....asp?sez=iscri

    Per quanto riguarda il problema dell'area utenti delle modelle... Io ho questo script che richiama il pezzo:
    codice:
                        
    <select size="1" name="hairlenght">
    				<option value="very short"			<%=checkMatch(rs2("hairlenght"),"very short")%>>Very short</option>
    				<option value="short"				<%=checkMatch(rs2("hairlenght"),"short")%>selected>Short</option>
    				<option value="lengh medium"		<%=checkMatch(rs2("hairlenght"),"lengh medium")%>>Lengh medium</option>
    				<option value="long"				<%=checkMatch(rs2("hairlenght"),"long")%>selected>Long</option>
    				<option value="very long"		    <%=checkMatch(rs2("hairlenght"),"very long")%>>Very long</option>
              </select>
    Non so se basta per capire dov'è l'errore...

    Thank's...

  2. #2
    Eeeeee... non ho capito cosa vorresti da noi.
    Cioè...noi vediamo il codice di una select, dove per ogni voce c'è un controllo di quale sia il selezionato sul tuo DB. Punto.

    Dovresti innanzitutto postare il codice della pagina, poi spiegare cosa va, cosa non va, cosa deve fare la pagina seguente....

  3. #3
    Utente di HTML.it
    Registrato dal
    Mar 2003
    residenza
    Prato
    Messaggi
    687

    La pagina seguente deve memorizzare i cambiamenti che fa l'utente

    Praticamente come ho già spiegato non va solo quel pezzo che ho postato tutto il resto del form funziona perfettamente.

    Il problema che appare è il seguente: la modella che si logga visualizza tutto correttamente fatta eccezione per il campo lunghezza capelli dove non so come mai appare sempre come lunghezza capelli il valore "lunghi" anche se la modella per esempio ha messo corti o un altro valore diverso. Quindi se magari la modella vuole cambiare solo qualcosa nel curriculum e non rimette la lunghezza com'era prima di loggarsi memorizza il valore "lunghi".

    Questo è il codice

    codice:
    <%@ Language=VBScript %>
    <%
    '*************************************************************************
    Option explicit
    Response.Buffer = true
    
    %>
    
    
    
    
    
    
    <%
    'work fields 
    dim formID
    dim textBody
    dim arrayErrors
    Dim emailSubject,tipoRicerca, msg
    
    'Database
    dim mySQL, conntemp,cn, rs, rs2,rstemp, rstemp2
    
    
    'Modella
    dim nome,cognome,nomeArte,nationality,datadinascita,luogodinascita,indirizzo,cap,city,region,telefonofisso,cellulare, fotoScheda
    dim codicefiscale,password,email,condizioniuso,newsletter
    Dim altrelingueEN
    Dim studiEN,interessiEN,esperienzeEN
    Dim altezza,height,peso,weight,seno,vita,fianchi,taglia,size,tagliareggiseno,numeroscarpe,colorecapelli,haircolor,lunghezzacapelli,hairlenght,coloreocchi,eyecolor,carnagione,skincolor
    Dim topless,nudoartistico,metart,nudoerotico,bodypainting,bondage
    Dim fashion,modamare,intimo,glamour,gothicdark,fetish, indossatrice,hostess
    Dim hostessfieristica,hostesscongressuale,tourleader,promoter,ragazzaimmagine,cubista
    Dim ballerina,ballerinalapdance,valletta,presentatrice,attrice,cantante,musicista,comparsa,performer
    Dim status
    
    'Session
    dim idModella
    Dim id
    
    '*************************************************************************
    
    'Open Database Connection
    call openDb()
    
    'Store Configuration
    if loadConfig() = false then
    	call errorDB(langErrConfig,"")
    end if
    
    'Get/Set Modelle Session
    idModella  = sessionModelle()
    
    'Check if the session is still active
    'if isNull(id) then
    '	response.redirect "sysMsg-eng.asp?errMsg=" & server.URLEncode(langErrModelleSession)
    'end if
    
    msg       = trim(Request.QueryString("msg"))
    
    
    'Get Form ID
    formID = trim(Request.Form("formID"))
    
    if formID = "01" Then
    
        nome				= validHTML(request.form("nome"))
        cognome			    = validHTML(request.form("cognome"))
    	nomeArte            = validHTML(request.form("nomeArte"))
    	nationality		    = validHTML(request.form("nationality"))
    	datadinascita	    = validHTML(request.form("datadinascita"))
    	luogodinascita	    = validHTML(request.form("luogodinascita"))
    	indirizzo			= validHTML(request.form("indirizzo"))
    	cap					= validHTML(request.form("cap"))
    	city				= validHTML(request.form("city"))
    	region			    = validHTML(request.form("region"))
    	telefonofisso		= validHTML(request.form("telefonofisso"))
    	cellulare			= validHTML(request.form("cellulare"))
    	codicefiscale		= validHTML(request.form("codicefiscale"))
    	password		    = validHTML(request.form("password"))
    	email			    = validHTML(request.form("email"))
    	altrelingueEN		= validHTML(request.form("altrelingueEN"))
    	studiEN			    = validHTML(request.form("studiEN"))
    	interessiEN		    = validHTML(request.form("interessiEN"))
    	esperienzeEN        = validHTML(request.form("esperienzeEN"))
    	height			    = validHTML(request.form("height"))	
    	weight			    = validHTML(request.form("weight"))	
    	seno			    = validHTML(request.form("seno"))
    	vita			    = validHTML(request.form("vita"))
    	fianchi			    = validHTML(request.form("fianchi"))
    	size			    = validHTML(request.form("size"))	
    	tagliareggiseno	    = validHTML(request.form("tagliareggiseno"))
    	numeroscarpe	    = validHTML(request.form("numeroscarpe"))
    	haircolor			= validHTML(request.form("haircolor"))	
    	hairlenght		    = validHTML(request.form("hairlenght"))	
    	eyecolor			= validHTML(request.form("eyecolor"))	
    	skincolor			= validHTML(request.form("skincolor"))	
    	topless			    = checkBoxControllo(validHTML(request.form("topless")))
    	nudoartistico	    = checkBoxControllo(validHTML(request.form("nudoartistico")))
    	metart			    = checkBoxControllo(validHTML(request.form("metart")))
    	nudoerotico		    = checkBoxControllo(validHTML(request.form("nudoerotico")))
    	bodypainting	    = checkBoxControllo(validHTML(request.form("bodypainting")))
    	bondage			    = checkBoxControllo(validHTML(request.form("bondage")))
    	fashion			    = checkBoxControllo(validHTML(request.form("fashion")))
    	modamare		    = checkBoxControllo(validHTML(request.form("modamare")))
    	intimo			    = checkBoxControllo(validHTML(request.form("intimo")))
    	glamour			    = checkBoxControllo(validHTML(request.form("glamour")))
    	gothicdark		    = checkBoxControllo(validHTML(request.form("gothicdark")))
    	fetish			    = checkBoxControllo(validHTML(request.form("fetish")))
    	indossatrice		= checkBoxControllo(validHTML(request.form("indossatrice")))
    	hostess			    = checkBoxControllo(validHTML(request.form("hostess")))
    	hostessfieristica   = checkBoxControllo(validHTML(request.form("hostessfieristica")))
    	hostesscongressuale = checkBoxControllo(validHTML(request.form("hostesscongressuale")))
    	tourleader		    = checkBoxControllo(validHTML(request.form("tourleader")))
    	promoter		    = checkBoxControllo(validHTML(request.form("promoter")))
    	ragazzaimmagine     = checkBoxControllo(validHTML(request.form("ragazzaimmagine")))
    	cubista			    = checkBoxControllo(validHTML(request.form("cubista")))
    	ballerina		    = checkBoxControllo(validHTML(request.form("ballerina")))
    	ballerinalapdance   = checkBoxControllo(validHTML(request.form("ballerinalapdance")))
    	valletta		    = checkBoxControllo(validHTML(request.form("valletta")))
    	presentatrice	    = checkBoxControllo(validHTML(request.form("presentatrice")))
    	attrice			    = checkBoxControllo(validHTML(request.form("attrice")))
    	cantante		    = checkBoxControllo(validHTML(request.form("cantante")))
        musicista           = checkBoxControllo(validHTML(request.form("musicista")))
        comparsa            = checkBoxControllo(validHTML(request.form("comparsa")))
        performer           = checkBoxControllo(validHTML(request.form("performer")))
    	'Nome
    	if len(nome) = 0 then
    		arrayErrors = arrayErrors & "|nome"
    	end If
    
    	'email
    	if len(email) = 0 then
    		arrayErrors = arrayErrors & "|email"
    	end If
    
    	'password
    	if len(password) = 0 then
    		arrayErrors = arrayErrors & "|password"
    	end If
    
    
    
    'There were no errors
    if len(trim(arrayErrors)) = 0 then
    
    	'Controlla se l'indirizzo email esiste già
    	mySQL = "SELECT id " _
    			  & "FROM modelle " _
    			  & "WHERE  email = '" & validSQL(email,"A") & "' "
    		if not isNull(idModella) then
    			mySQL = mySQL & "AND id <> " & validSQL(idModella,"I")
    		end if
    		set rs2 = openRSexecute(mySQL)
    		if not rs2.EOF then
    			response.redirect "sysMsg-eng.asp?errMsg=" & server.URLEncode(langErrEmailUsed)
    		end if
    		call closeRS(rs2)
    
    
    	'Update utente record
    	mySQL = "UPDATE modelle SET " _
    			&   "nome				= '" & validSQL(nome,"A") & "', " _
    			&   "cognome			= '" & validSQL(cognome,"A") & "', " _
    			&   "nomeArte			= '" & validSQL(nomeArte,"A") & "', " _
    			&   "nationality		= '" & validSQL(nationality,"A") & "', " _
    			&   "datadinascita	    = '" & validSQL(datadinascita,"A") & "', " _
    			&   "luogodinascita	    = '" & validSQL(luogodinascita,"A") & "', " _
    			&   "indirizzo			= '" & validSQL(indirizzo,"A") & "', " _
    			&   "cap				= '" & validSQL(cap,"A") & "', " _
    			&   "city			    = '" & validSQL(city,"A") & "', " _
    			&   "region			    = '" & validSQL(region,"A") & "', " _
    			&   "telefonofisso		= '" & validSQL(telefonofisso,"A") & "', " _
    			&   "cellulare		    = '" & validSQL(cellulare,"A") & "', " _
    			&   "codicefiscale   	= '" & validSQL(codicefiscale,"A") & "', " _
    			&   "password      		= '" & validSQL(password,"A") & "', " _
    			&   "email       		= '" & validSQL(email,"A") & "', " _
    			&   "altrelingueEN   	= '" & validSQL(altrelingueEN,"A") & "', " _
    			&   "studiEN		  	= '" & validSQL(studiEN,"A") & "', " _		
    			&   "interessiEN   		= '" & validSQL(interessiEN,"A") & "', " _
    			&   "esperienzeEN   	= '" & validSQL(esperienzeEN,"A") & "', " _
    			&   "height	   		    = '" & validSQL(height,"A") & "', " _			
    			&   "weight	   		    = '" & validSQL(weight,"A") & "', " _			
    			&   "seno		   		= '" & validSQL(seno,"A") & "', " _
    			&   "vita		   		= '" & validSQL(vita,"A") & "', " _
    			&   "fianchi	   		= '" & validSQL(fianchi,"A") & "', " _
    			&   "size	   		    = '" & validSQL(size,"A") & "', " _			
    			&   "tagliareggiseno	= '" & validSQL(tagliareggiseno,"A") & "', " _			
    			&   "numeroscarpe  		= '" & validSQL(numeroscarpe,"A") & "', " _			
    			&   "haircolor	   		= '" & validSQL(haircolor,"A") & "', " _							
    			&   "hairlenght	   		= '" & validSQL(hairlenght,"A") & "', " _						
    			&   "eyecolor	   		= '" & validSQL(eyecolor,"A") & "', " _					
    			&   "skincolor	   		= '" & validSQL(skincolor,"A") & "', " _					
    			&   "topless      		=  True , " _
    			&   "nudoartistico 		=  " & validSQL(nudoartistico,"A") & ", " _
    			&   "metart      		=  " & validSQL(metart,"A") & ", " _
    			&   "nudoerotico   		=  " & validSQL(nudoerotico,"A") & ", " _
    			&   "bodypainting  		=  " & validSQL(bodypainting,"A") & ", " _
    			&   "bondage      		=  " & validSQL(bondage,"A") & ", " _
    			&   "fashion      		=  " & validSQL(fashion,"A") & ", " _
    			&   "modamare      		=  " & validSQL(modamare,"A") & ", " _
    			&   "intimo      		=  " & validSQL(intimo,"A") & ", " _
    			&   "glamour      		=  " & validSQL(glamour,"A") & ", " _
    			&   "gothicdark    		=  " & validSQL(gothicdark,"A") & ", " _
    			&   "fetish      		=  " & validSQL(fetish,"A") & ", " _
    			&   "indossatrice   	=  " & validSQL(indossatrice,"A") & ", " _
    			&   "hostess      		=  " & validSQL(hostess,"A") & ", " _
    			&   "hostessfieristica	=  " & validSQL(hostessfieristica,"A") & ", " _
    			&   "hostesscongressuale =  " & validSQL(hostesscongressuale,"A") & ", " _
    			&   "tourleader			=  " & validSQL(tourleader,"A") & ", " _
    			&   "promoter			=  " & validSQL(promoter,"A") & ", " _
    			&   "ragazzaimmagine	=  " & validSQL(ragazzaimmagine,"A") & ", " _
    			&   "cubista			=  " & validSQL(cubista,"A") & ", " _
    			&   "ballerina			=  " & validSQL(ballerina,"A") & ", " _
    			&   "ballerinalapdance	=  " & validSQL(ballerinalapdance,"A") & ", " _
    			&   "valletta			=  " & validSQL(valletta,"A") & ", " _
    			&   "presentatrice		=  " & validSQL(presentatrice,"A") & ", " _
    			&   "attrice			=  " & validSQL(attrice,"A") & ", " _
    			&   "cantante			=  " & validSQL(cantante,"A") & ", " _
    			&   "musicista			=  " & validSQL(musicista,"A") & ", " _
    			&   "comparsa			=  " & validSQL(comparsa,"A") & ", " _
    			&   "performer			=  " & validSQL(performer,"A") & " " _
    			&   "WHERE id		    =  " & validSQL(idModella,"I")
    		set rs = openRSexecute(mySQL)
    		call closeRS(rs)
    
    		emailSubject = langGenMailModificaDatiModella & nomeArte 
    		textBody = "<font face=""verdana"" size=""2"">La modella:
    
    "_
                 & "<Table border=1>"_
                 & "<tr><td>Nome d'arte:</td><td>" & nomeArte & "</td></tr>"_
                 & "<tr><td>Nome:</td><td>" & nome & "</td></tr>"_
                 & "<tr><td>Cognome:</td><td>" & cognome & "</td></tr>"
    	 
    
    		textBody = textBody & "</td></tr></table>
    
     ha modificato i suoi dati sul sito www.modelle-nudo.com
    
    "
    
    		'Email all'admin
    	    'call sendmail (pCompany, pEmailSales, pEmailSales, emailSubject, textBody, 1,0)
    
    		response.redirect "elencoFoto.asp?id=" & idModella	
    
      end If
    
    Else
    
    		' Recupera i dati corrente della modella
    		mySQL = "SELECT * " _
    			  & "FROM modelle " _
    			  & "WHERE  id = " & validSQL(idModella,"I")
    		set rs2 = openRSexecute(mySQL)
    		if rs2.EOF then
    			response.redirect "sysMsg-eng.asp?errMsg=" & server.URLEncode(langErrEmailUsed)
    		end If
    		
    end if
    
    %>

  4. #4
    Utente di HTML.it
    Registrato dal
    Mar 2003
    residenza
    Prato
    Messaggi
    687

    Il restante codice... 2 (ci sarà un terzo messaggio)

    codice:
    
    
    <div align="center">
      <center>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="980" id="AutoNumber1" height="1000">
        <tr>
          <td width="10" background="images/bordosx.jpg" height="671"></td>
          <td width="960" height="671" valign="top">
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="960" id="AutoNumber2" height="338">
            <tr>
              <td width="960" height="109" bgcolor="#000000">
              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="960" id="AutoNumber3" height="206" background="images/testata.jpg">
                <tr>
                  <td width="745" height="206" rowspan="6" valign="top" bgcolor="#000000" background="images/testatasx.jpg"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="743" height="210" border="0" id="testataiscrizione">
                    <param name="movie" value="swf/header-naked-registration.swf">
                    <param name="quality" value="High">
                    <param name="_cx" value="19659">
                    <param name="_cy" value="5556">
                    <param name="FlashVars" value>
                    <param name="Src" value="swf/header-naked-registration.swf">
                    <param name="WMode" value="Window">
                    <param name="Play" value="-1">
                    <param name="Loop" value="-1">
                    <param name="SAlign" value>
                    <param name="Menu" value="-1">
                    <param name="Base" value>
                    <param name="AllowScriptAccess" value>
                    <param name="Scale" value="ShowAll">
                    <param name="DeviceFont" value="0">
                    <param name="EmbedMovie" value="0">
                    <param name="BGColor" value>
                    <param name="SWRemote" value>
                    <param name="MovieData" value>
                    <param name="SeamlessTabbing" value="1">
                    <param name="Profile" value="0">
                    <param name="ProfileAddress" value>
                    <param name="ProfilePort" value="0">
                    <param name="AllowNetworking" value="all">
                    <param name="AllowFullScreen" value="false">
                    <embed src="swf/header-naked-registration.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="743" height="210"></embed>
                  </object></td>
    			 
    			  
    			 </table>          </td>
            </tr>
            <tr>
              <td width="960" height="36" bgcolor="#000000" background="images/barraalta-iscrizione-nudo.jpg">
              <p align="center">      
              <div align="center">
                <center>      
              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="960" id="AutoNumber2" height="20">
            <tr>
              <td width="109" height="20" align="center">
              <p align="left" style="line-height: 150%; margin-left: 10">
              
              <font face="Tahoma" color="#FFCC66" style="font-size: 11pt">
              <a title="Home Naked Models" target="_top" href="default-eng.asp">
              <font color="#FFFFFF" style="font-size: 11pt">HOME PAGE</font></a></font><font color="#FFFFFF">[/b][/b]</font></td>
              <td width="257" height="20" align="center">
              
              <a title="Are you a model? Register to the site!" href="iscrizione-modelle-nudo-1-eng.asp?sez=iscri">
              <font face="Tahoma" color="#FFCC6A">Are you a model? Register to the site!</font></a></td>
              <td width="258" height="20" align="center">
              
              <a title="Are you a Photographer? Register!" target="_top" href="iscrizione-utenti-eng.asp?sez=iscri">
              <font face="Tahoma" color="#FFCC6A">Are you a Photographer? Register!</font></a></td>
              <td width="337" height="20" align="center">
              <p align="center" style="margin-right: 10">
              
              <a target="_top" href="change-recovery.asp?sez=iscri" title="Recovery Access Dates Models and Photographers">
              <font face="Tahoma" color="#FFCC6A">Recovery Access Dates Models and Photographers</font></a></td>
            </tr>
          </table></center>
              </div>          </td>
            </tr>
            <tr>
              <td width="960" height="41" background="images/sfondomenu-iscrizione.jpg" style="border-top:1px solid #000000; ">
              <p align="center">
    		  
    			  		   </td>
            </tr>
            <tr>
            <td width="960" height="134" align="center" bgcolor="#FFFFFF" background="images/corpo-area-utenti-modelle.jpg" style="border-bottom: 1px solid #000000">
    
    			  	    </td>
            </tr>
            <tr>
              <td width="960" height="264" align="center" background="images/corpo.jpg" valign="top">
              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="960" id="AutoNumber4" background="images/corpo-utenti-1.jpg" height="1472">
                <tr>
                  <td width="960" height="745" valign="top">
                  <div align="center">
                    <center>
                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="950" id="AutoNumber6" height="14">
                      <tr>
                        <td width="329" height="546" rowspan="22" align="right" valign="top">
                        <p align="left" style="line-height: 150%; margin-left: 10"><span style="font-weight: bold; font-size: 15px">[img]images/ingombro.gif[/img]</span>
    
    
    							<%recuperalinkScheda(idModella)%><span style="font-size: 13px; font-weight: bold">ClLICK TO THE PHOTO TO THE LOOK YOUR CARD</span>
    
    <%
    						If Len(rs2("fotoScheda")) > 0 Then
    %>
    						  <%recuperalinkScheda(idModella)%>
    <%
    						   Response.Write "<img src=modelle-nudo/modella-"& Replace(replace(rs2("nomeArte")," ",""), ".","") & "/" & rs2("fotoScheda") & " border=1 with=""360"" height=""537""></a>"
    						
    						Else
    %>
    						    [img]images/imgincostruzione.jpg[/img]							
    
    <%
    						End If 	 
    
    						'Show message
    						if len(msg) > 0 then
    %>
    							<span style="color: #990000" class="CPsysMsgErr"><%=msg%></span>
    <%
    						end if
    %>
                        <form method="post" name="uplform" action="inviaDati4.asp?id=<%=idModella%>" enctype="multipart/form-data" onSubmit='return validate_form2()'><table width="362" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="#999999">
                          <tr bgcolor="#333333">
                            <td height="31" colspan="2" bordercolor="#000000"><div align="center"><span style="line-height: 150%; font-weight: bold; color: #FFFFFF">CHANGES THE PRINCIPAL PHOTO</span></div></td>
                            </tr>
                          <tr>
                            <td width="294" height="39"><div align="right">
                              <input type="file" name="f1" size="30" value="" style="padding:1; font-size: 11 pt; ">
                            </div></td>
                            <td width="68"><div align="center">
                              <input type="submit" value="Invia" style="padding:1; font-size: 10 pt; float:center">
                            </div></td>
                          </tr>
                          <tr>
                            <td height="7" colspan="2"><hr></td>
                            </tr>
                          <tr>
                            <td height="32"><span style="font-weight: bold; font-size: 15px">[img]images/ingombro.gif[/img]INSERT NEW PHOTOS</span></td>
                            <td></td>
                          </tr>
                          <tr>
                            <td height="12" colspan="2"><hr></td>
                            </tr>
                          <tr>
                            <td height="39"><span style="font-weight: bold; font-size: 15px">[img]images/ingombro.gif[/img]CANCELS THE INSERTED PHOTOS</span></td>
                            <td></td>
                          </tr>
                        </table>
                        </form>

  5. #5
    Utente di HTML.it
    Registrato dal
    Mar 2003
    residenza
    Prato
    Messaggi
    687

    3° pezzo!!! C'è anche un quarto... E' lunghissima la pagina!!!

    codice:
    <form method="post" action="area-utente-modelle-eng.asp" name="form1">
    				     <input type=hidden name="formID" value="01">
    
    
                        <span style="font-weight: bold">Experiences:</span>
    
                        <textarea rows="6" name="esperienzeEN" cols="43"><%=rs2("esperienzeEN")%></textarea>
                        
                        </td>
                        <td width="183" height="34"><span style="font-size: 11pt">
                        <u>
    
                        </u></span></td>
                        <td width="117" height="34" valign="bottom" align="center">
    					<span style="font-size: 11pt">[b]
    
    <%
                        'Se ci sono errori, mostra un messaggio
    					 if len(trim(arrayErrors)) > 0 then
    %></td>
                        <td height="34" valign="bottom" colspan="2" nowrap>[b]
    <%						
    						arrayErrors = split(LCase(arrayErrors),"|")
    						Response.Write "<font color=800000>* <u>Obligatory fields</u></font>
    "
    					 Else
    %>
                        Physical</u>*</td>
                        <td width="9" height="34" valign="bottom"></td>
                        <td width="202" height="34" valign="bottom">
                        <span style="font-size: 11pt"><u>
                        Registry Date</u>*
    <%							
    						arrayErrors = array("")
    					end if
    %>
    					</span></td>
                      </tr>
    			
    
                      <tr>
                        <td height="34" colspan="2" align="right" valign="bottom"><hr align="right" width="265">
                          [img]images/ingombro.gif[/img]
    </td>
                        <td width="103" height="34" valign="bottom">
                        <p align="right" style="margin-right: 5">
                        <span style="font-size: 9pt">Nickname:<%=checkFieldError("nomeArte",arrayErrors)%></span></td>
                        <td width="175" height="34" valign="bottom">
    						<input type="text" name="nomeArte" value="<%=rs2("nomeArte")%>" size="21" maxlength="50" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="34" valign="bottom" align="right">
                        <p align="right" style="margin-right: 5">
                        <span style="font-size: 9pt">Height:</span></td>
                        <td width="117" height="34" valign="bottom" align="left"><input type="text" name="height" value="<%=rs2("height")%>" size="6" maxlength="25" font-size: 10 px>
                          <span style="font-size: 9pt">cm</span></td>
                        <td width="103" height="34" valign="bottom">
                        <p align="right" style="margin-right: 5">
                        <span style="font-size: 9pt">First name:<%=checkFieldError("nome",arrayErrors)%></span></td>
                        <td width="175" height="34" valign="bottom">
              <input type="text" name="nome" value="<%=rs2("nome")%>" size="21" maxlength="25" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Weight:</span></td>
                        <td width="117" height="34" valign="bottom" align="left">
              <input type="text" name="weight" value="<%=rs2("weight")%>" size="6" maxlength="25" font-size: 10 px">
              <span style="font-size: 9pt">kg</span></td>
                        <td width="103" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Last name:</span></td>
                        <td width="175" height="34" valign="bottom" align="left">
              <input type="text" name="cognome" value="<%=rs2("cognome")%>" size="21" maxlength="25" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5">
                        <span style="font-size: 9pt">Chest:</span></td>
                        <td width="117" height="34" valign="bottom" align="left">
              <input type="text" name="seno" value="<%=rs2("seno")%>" size="6" maxlength="25" font-size: 10 px">
              <span style="font-size: 9pt">cm</span></td>
                        <td width="103" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Nationality:</span></td>
                        <td width="175" height="34" valign="bottom" align="left">
              <input type="text" name="nationality" value="<%=rs2("nationality")%>" size="21" maxlength="25" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Waist:</span></td>
                        <td width="117" height="34" valign="bottom" align="left">
              <input type="text" name="vita" value="<%=rs2("vita")%>" size="6" maxlength="25" font-size: 10 px">
              <span style="font-size: 9pt">cm</span></td>
                        <td width="103" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">Data 
                        of birth:</span></td>
                        <td width="175" height="34" valign="bottom" align="left">
              <input type="text" name="datadinascita" value="<%=rs2("datadinascita")%>" size="21" maxlength="25" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Hips:</span></td>
                        <td width="117" height="34" valign="bottom" align="left">
              <input type="text" name="fianchi" value="<%=rs2("fianchi")%>" size="6" maxlength="25" font-size: 10 px">
              <span style="font-size: 9pt">cm</span></td>
                        <td width="103" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Place of birth:</span></td>
                        <td width="175" height="34" valign="bottom" align="left">
              <input type="text" name="luogodinascita" value="<%=rs2("luogodinascita")%>" size="21" maxlength="25" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Size:</span></td>
                        <td width="117" height="34" valign="bottom" align="left">
              <input type="text" name="size" value="<%=rs2("size")%>" size="6" maxlength="25" font-size: 10 px"></td>
                        <td width="103" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Adress:</span></td>
                        <td width="175" height="34" valign="bottom" align="left">
              <input type="text" name="indirizzo" value="<%=rs2("indirizzo")%>" size="21" maxlength="40" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="34" valign="bottom" align="right">
                        <p style="margin-right:5"><span style="font-size: 9pt">
                        Simb:</span></td>
                        <td width="117" height="34" valign="bottom" align="left">
              <input type="text" name="tagliareggiseno" value="<%=rs2("tagliareggiseno")%>" size="14" maxlength="25" font-size: 10 px"></td>
                        <td width="103" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">Zip:</span></td>
                        <td width="175" height="34" valign="bottom" align="left">
              <input type="text" name="cap" value="<%=rs2("cap")%>" size="21" maxlength="25" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="34" valign="bottom" align="right">
                        <p style="margin-right:5"><span style="font-size: 9pt">
                        Shoes size:</span></td>
                        <td width="117" height="34" valign="bottom" align="left">
              <input type="text" name="numeroscarpe" value="<%=rs2("numeroscarpe")%>" size="6" maxlength="25" font-size: 10 px"></td>
                        <td width="103" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        City:</span></td>
                        <td width="175" height="34" valign="bottom" align="left">
              <input type="text" name="city" value="<%=rs2("city")%>" size="21" maxlength="25" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="34" valign="bottom" align="right">
                        <p style="margin-right:5"><span style="font-size: 9pt">
                        Hair color:</span></td>
                        <td width="117" height="34" valign="bottom" align="left">
              <input type="text" name="haircolor" value="<%=rs2("haircolor")%>" size="14" maxlength="25" font-size: 10 px"></td>
                        <td width="103" height="34" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        State:</span></td>
                        <td width="175" height="34" valign="bottom" align="left">
              <input type="text" name="region" value="<%=rs2("region")%>" size="21" maxlength="25" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="35" valign="bottom" align="right">
                        <p style="margin-right:5"><span style="font-size: 9pt">
                        Hair lenght:</span></td>
                        <td width="117" height="35" valign="bottom" align="left">
              <select size="1" name="hairlenght">
    				<option value="very short"			<%=checkMatch(rs2("hairlenght"),"very short")%>>Very short</option>
    				<option value="short"				<%=checkMatch(rs2("hairlenght"),"short")%>selected>Short</option>
    				<option value="lengh medium"		<%=checkMatch(rs2("hairlenght"),"lengh medium")%>>Lengh medium</option>
    				<option value="long"				<%=checkMatch(rs2("hairlenght"),"long")%>selected>Long</option>
    				<option value="very long"		    <%=checkMatch(rs2("hairlenght"),"very long")%>>Very long</option>
              </select>					</td>

  6. #6
    Utente di HTML.it
    Registrato dal
    Mar 2003
    residenza
    Prato
    Messaggi
    687

    Altro pezzo... E qui mi fermo..

    Chi volesse tutta la pagina per favore mi avvisi che gli invio direttamente l'asp.

    Thanks...

    codice:
    <td width="103" height="35" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Phone:</span></td>
                        <td width="175" height="35" valign="bottom" align="left">
              <input type="text" name="telefonofisso" value="<%=rs2("telefonofisso")%>" size="21" maxlength="25" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="35" valign="bottom" align="right">
                        <p style="margin-right:5"><span style="font-size: 9pt">
                        Eye color:</span></td>
                        <td width="117" height="35" valign="bottom" align="left">
              <input type="text" name="eyecolor" value="<%=rs2("eyecolor")%>" size="14" maxlength="25" font-size: 10 px"></td>
                        <td width="103" height="35" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Mobile:</span></td>
                        <td width="175" height="35" valign="bottom" align="left">
              <input type="text" name="cellulare" value="<%=rs2("cellulare")%>" size="21" maxlength="25" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="35" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Skin color:</span></td>
                        <td width="117" height="35" valign="bottom" align="left">
              <input type="text" name="skincolor" value="<%=rs2("skincolor")%>" size="14" maxlength="25" font-size: 10 px"></td>
                        <td width="103" height="35" valign="bottom" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">
                        Fiscal code:</span></td>
                        <td width="175" height="35" valign="bottom" align="left">
              <input type="text" name="codicefiscale" value="<%=rs2("codicefiscale")%>" size="21" maxlength="25" font-size: 10 px"></td>
                      </tr>
    
                      <tr>
                        <td width="183" height="27" valign="top" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">[img]images/ingombro.gif[/img]
                        
    
                        Languages:</span></td>
                        <td height="27" valign="top" align="right" colspan="3">
                        <p align="left">
                        [img]images/ingombro.gif[/img]
    
    					<input type="text" name="altrelingueEN" value="<%=rs2("altrelingueEN")%>" size="35" maxlength="100" font-size: 10 px"></td>
                      </tr>
                      <tr>
                        <td width="183" height="36" valign="top" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">[img]images/ingombro.gif[/img]
                        
    
                        Studie:</span></td>
                        <td height="36" valign="top" align="right" colspan="3">
                        <p align="left">
                        [img]images/ingombro.gif[/img]
    
                        <textarea rows="2" name="studiEN" cols="27"><%=rs2("studiEN")%></textarea></td>
                      </tr>
                      <tr>
                        <td width="183" height="36" valign="top" align="right">
                        <p style="margin-right: 5"><span style="font-size: 9pt">[img]images/ingombro.gif[/img]
                        
    
                        Hobbies:</span></td>
                        <td height="36" valign="top" align="right" colspan="3">
                        <p align="left">
                        [img]images/ingombro.gif[/img]
    
                        <textarea rows="2" name="interessiEN" cols="27"><%=rs2("interessiEN")%></textarea></td>
                      </tr>
                      </table>
                    </center>
                  </div>              </td>
                </tr>
                <tr valign="top" background="images/corpo-utenti.jpg">
                  <td width="960" height="69">
                  <div align="center">
                    <center>
    				<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="827" id="AutoNumber7">
                      <tr>
                        <td width="120" nowrap>
                        <p align="right"><span style="font-size: 9pt">Password:<%=checkFieldError("password",arrayErrors)%> </span></td>
                        <td width="168">
    						<div align="right">
    						  <input type="text" name="password" value="<%=rs2("password")%>" size="28" maxlength="50" font-size: 10 px>
    						  </div></td>
                        <td width="180" nowrap>
    						<p align="right"><span style="font-size: 9pt">E-mail adress:<%=checkFieldError("email",arrayErrors)%> </span>					</td>
                        <td width="359" height="50">
    						<input type="text" name="email" value="<%=rs2("email")%>" size="45" maxlength="200" font-size: 10 px></td>
                      </tr>
                    </table>
    				</center>
                  </div>              </td>
                </tr>
                <tr>
                  <td width="960" height="44" background="images/corpo-utenti.jpg">
                  <p style="margin-left: 10; margin-right: 10" align="center">
                  <span style="font-size: 9pt">Topless </span>
                  <input type="checkbox"  disabled checked  name="topless"  value="True"  <%if rs2("topless") ="True" then Response.Write " checked " End if%>>
                  <span style="font-size: 9pt"> Artistic Naked             </span>
    			  <input type="checkbox"  name="nudoartistico"  value="True"  <%if rs2("nudoartistico") ="True" then Response.Write " checked " End if%>>
                  <span style="font-size: 9pt"> Integral Naked</span>
                  <input type="checkbox"  name="metart"  value="True"  <%if rs2("metart") ="True" then Response.Write " checked " End if%>>
                  <span style="font-size: 9pt"> Erotic Naked and Met Art              </span>
                  <input type="checkbox"  name="nudoerotico"  value="True"  <%if rs2("nudoerotico") ="True" then Response.Write " checked " End if%>>
                  <span style="font-size: 9pt"> Bodypainting              </span>
                  <input type="checkbox"  name="bodypainting"  value="True"  <%if rs2("bodypainting") ="True" then Response.Write " checked " End if%>>
                  <span style="font-size: 9pt"> Bondage </span>
                  <input type="checkbox"  name="bondage"  value="True"  <%if rs2("bondage") ="True" then Response.Write " checked " End if%>>
    			  </td>
                </tr>
                <tr>
                  <td width="960" height="172" background="images/corpo-utenti.jpg">
                  <p align="center"><span style="font-size: 9pt">Vuoi apparire su </span>
                  www.hostess-models.com<span style="font-size: 9pt"> 
                  come hostess e promoter,</span> <span style="font-size: 9pt">fotomodella dal fashion al 
                  glamour o come indossatrice, cubista, cantante, attrice, ecc...
    
                  [img]images/ingombro.gif[/img]
    
                  Barra queste caselle: 
    
                  [img]images/ingombro.gif[/img]
    
                  Fashion		<input type="checkbox"  name="fashion"		value="True"  <%if rs2("fashion")    ="True"	then Response.Write " checked " End if%>>
                   
                  Bikini		
                  <input type="checkbox"  name="modamare"		value="True"  <%if rs2("modamare")   ="True"	then Response.Write " checked " End if%>>
                   
                  Lingerie		
                  <input type="checkbox"  name="intimo"		value="True"  <%if rs2("intimo")     ="True"	then Response.Write " checked " End if%>> 
                  Glamour		<input type="checkbox"  name="glamour"		value="True"  <%if rs2("glamour")    ="True"	then Response.Write " checked " End if%>> 
                  Gothic Dark	<input type="checkbox"  name="gothicdark"	value="True"  <%if rs2("gothicdark") ="True"	then Response.Write " checked " End if%>>
    			  <span style="font-size: 9pt"> 
                  Fetish		<input type="checkbox"  name="fetish"		value="True"   <%if rs2("fetish")       ="True"	 then Response.Write " checked " End if%>>
                   
                  Parades** 
                  <input type="checkbox"  name="indossatrice"  value="True" <%if rs2("indossatrice") ="True"	 then Response.Write " checked " End if%>> 
                  Hostess**		<input type="checkbox"  name="hostess"		value="True"   <%if rs2("hostess")      ="True"	 then Response.Write " checked " End if%>>
    			  </span><span style="font-size: 9pt">
    
                  [img]images/ingombro.gif[/img]
    
                  Fair Hostess** </span>		
    			  <input type="checkbox"	name="hostessfieristica"	value="True"  <%if rs2("hostessfieristica")  ="True"	then Response.Write " checked " End if%>>
    			  <span style="font-size: 9pt"> 
                  Hostess Congressional** </span>	
    			  <input type="checkbox"  name="hostesscongressuale"	value="True"  <%if rs2("hostesscongressuale")="True"	then Response.Write " checked " End if%>>
    			  <span style="font-size: 9pt"> 
                  Tour Leader** </span>				<input type="checkbox"  name="tourleader"			value="True"  <%if rs2("tourleader") ="True"			then Response.Write " checked " End if%>>
    			  <span style="font-size: 9pt"> 
                  Promoter** </span>				<input type="checkbox"  name="promoter"				value="True"  <%if rs2("promoter")    ="True"			then Response.Write " checked " End if%>>
    			  <span style="font-size: 9pt"> 
                  Girl Image** </span>		
    			  <input type="checkbox"  name="ragazzaimmagine"		value="True"  <%if rs2("ragazzaimmagine") ="True"		then Response.Write " checked " End if%>>
    			  <span style="font-size: 9pt"> 
                  Cubistic** </span>					
    			  <input type="checkbox"  name="cubista"				value="True"  <%if rs2("cubista") ="True"				then Response.Write " checked " End if%>>
    			  <span style="font-size: 9pt">
    
                  [img]images/ingombro.gif[/img]
    
                  Dance** </span>				
    			  <input type="checkbox"  name="ballerina"			value="True"  <%if rs2("ballerina") ="True"				then Response.Write " checked " End if%>>
    			  <span style="font-size: 9pt"> 
                  Dance of Lap Dance** </span>	
    			  <input type="checkbox"	name="ballerinalapdance"	value="True"  <%if rs2("ballerinalapdance") ="True"		then Response.Write " checked " End if%>>
    			  <span style="font-size: 9pt"> 
                  Assistant** </span>				
    			  <input type="checkbox"  name="valletta"				value="True"  <%if rs2("valletta") ="True"				then Response.Write " checked " End if%>>
    			  <span style="font-size: 9pt"> 
                  Announcer** </span>			
    			  <input type="checkbox"  name="presentatrice"		value="True"  <%if rs2("presentatrice") ="True"			then Response.Write " checked " End if%>>
    			  <span style="font-size: 9pt"> 
                  Actress** </span>					
    			  <input type="checkbox"  name="attrice"				value="True"  <%if rs2("attrice") ="True"				then Response.Write " checked " End if%>>
    
                  [img]images/ingombro.gif[/img]
    
    			  Appearance** </span>				
                  <input type="checkbox"  name="comparsa"				value="True"  <%if rs2("comparsa")="True"				then Response.Write " checked " End if%>>

  7. #7
    Posta anche il messaggio di errore ... se dici che l'errore è nel primo blocco che hai postato, forse è la funzione che non va.

  8. #8
    Utente di HTML.it
    Registrato dal
    Mar 2003
    residenza
    Prato
    Messaggi
    687

    Non da errore!!!

    Forse mi sono spiegato male!!!
    IL FORM FUINZIOMA E NON DA ERRORE SOLO NEL CAMPO TESTO A DISCESA RIMANE FISSO SUL VALORE capelli lunghi "lunghi"

  9. #9
    Utente di HTML.it
    Registrato dal
    Mar 2003
    residenza
    Prato
    Messaggi
    687

    Altra info

    Anhce se la modella ha i capelli "corti" oppure diversi da lunghi e nella registrazione ha messo il valore giusto e io dall'admin lo vedo giusto ma qui se mi loggo con i dati di una qualsiasi modella appare sempre il valore "lunghi"

  10. #10
    quando vai in pagina, prova a vedere il codice html generato.
    probabilmente non fa bene il controllo, quindi non mettere il selected nella option esatta.
    magari non riconosce il valore numerico...

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.