kostenloser Webspace werbefrei: lima-city


Kontaktformular

lima-cityForumProgrammiersprachenPHP, MySQL & .htaccess

  1. Autor dieses Themas

    laplaya

    laplaya hat kostenlosen Webspace.

    Hallo Leute
    Ich komme einfach nicht weiter.
    Ich habe eine firmenwebseite erstellt mit einem kontakt formular.wie und was muss ich machen um dn submit button zu aktivieren bzw das formular in mein emailpostfach kommt.
    Beim klicken auf diesen Button soll das formular an mein emailpostfach gesendet werden damit die kunden eine anfrgae an uns stellen koennen.
    Allerdings ich weis nicht wie man so ein submit formular erstellt.

    wenn mir jemand heir weiterhelfen koennte waere es echt super nett...
  2. Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!

    lima-city: Gratis werbefreier Webspace für deine eigene Homepage

  3. djfun

    Co-Admin Kostenloser Webspace von djfun

    djfun hat kostenlosen Webspace.

    hallo laplaya,

    Erst mal: es reicht, wenn der Thread in einem Bereich hier steht!

    zu deinem Problem:
    wo liegt das genau? hast du schon ein HTML-Formular erstellt? Wenn ja, dann schreib doch bitte den Quellcode davon hier rein.
    Grundsätzlich könntest du Emails z.B. mit http://de.php.net/manual/de/function.mail.php verschicken.

    Falls dein Problem eher/auch schon darin besteht, das Formular an sich zu erstellen, dann schreib doch bitte, was da alles so drin stehen soll..

    gruß, djfun
  4. Autor dieses Themas

    laplaya

    laplaya hat kostenlosen Webspace.

    hallo und erst einaml vielen dank fuer die erste hilfe. anbei der code con meiner kontaktseite.die webseite lautet: www.lapitec.com

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Piscinas Lapitec – Concrete Swimming Pool Contractor</title>
    <META content="Piscinas Lapitec is located throughout Lorca (Murcia) to meet your custom swimming pool construction needs. " name=DESCRIPTION />
    <link href="styles.css" rel="stylesheet" type="text/css" />
    <script type="text/JavaScript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    
    function MM_goToURL() { //v3.0
      var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
      for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
    }
    //-->
    </script>
    
    <csscriptdict>
    <script><!--
    CSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("index.html")+1),10);
    CSIsW3CDOM = ((document.getElementById) && !(IsIE()&&CSBVers<6)) ? true : false;
    function IsIE() { return CSAg.indexOf("MSIE") > 0;}
    function CSIEStyl(s) { return document.all.tags("div")[s].style; }
    function CSNSStyl(s) { if (CSIsW3CDOM) return document.getElementById(s).style; else return CSFindElement(s,0);  }
    CSIImg=false;
    function CSInitImgID() {if (!CSIImg && document.images) { for (var i=0; i<document.images.length; i++) { if (!document.images[i].id) document.images[i].id=document.images[i].name; } CSIImg = true;}}
    function CSFindElement(n,ly) { if (CSBVers<4) return document[n];
    	if (CSIsW3CDOM) {CSInitImgID();return(document.getElementById(n));}
    	var curDoc = ly?ly.document:document; var elem = curDoc[n];
    	if (!elem) {for (var i=0;i<curDoc.layers.length;i++) {elem=CSFindElement(n,curDoc.layers[i]); if (elem) return elem; }}
    	return elem;
    }
    function CSGetImage(n) {if(document.images) {return ((!IsIE()&&CSBVers<5)?CSFindElement(n,0):document.images[n]);} else {return null;}}
    CSDInit=false;
    function CSIDOM() { if (CSDInit)return; CSDInit=true; if(document.getElementsByTagName) {var n = document.getElementsByTagName('DIV'); for (var i=0;i<n.length;i++) {CSICSS2Prop(n[i].id);}}}
    function CSICSS2Prop(id) { var n = document.getElementsByTagName('STYLE');for (var i=0;i<n.length;i++) { var cn = n[i].childNodes; for (var j=0;j<cn.length;j++) { CSSetCSS2Props(CSFetchStyle(cn[j].data, id),id); }}}
    function CSFetchStyle(sc, id) {
    	var s=sc; while(s.indexOf("#")!=-1) { s=s.substring(s.indexOf("#")+1,sc.length); if (s.substring(0,s.indexOf("{")).toUpperCase().indexOf(id.toUpperCase())!=-1) return(s.substring(s.indexOf("{")+1,s.indexOf("}")));}
    	return "";
    }
    function CSGetStyleAttrValue (si, id) {
    	var s=si.toUpperCase();
    	var myID=id.toUpperCase()+":";
    	var id1=s.indexOf(myID);
    	if (id1==-1) return "";
    	s=s.substring(id1+myID.length+1,si.length);
    	var id2=s.indexOf(";");
    	return ((id2==-1)?s:s.substring(0,id2));
    }
    function CSSetCSS2Props(si, id) {
    	var el=document.getElementById(id);
    	if (el==null) return;
    	var style=document.getElementById(id).style;
    	if (style) {
    		if (style.left=="") style.left=CSGetStyleAttrValue(si,"left");
    		if (style.top=="") style.top=CSGetStyleAttrValue(si,"top");
    		if (style.width=="") style.width=CSGetStyleAttrValue(si,"width");
    		if (style.height=="") style.height=CSGetStyleAttrValue(si,"height");
    		if (style.visibility=="") style.visibility=CSGetStyleAttrValue(si,"visibility");
    		if (style.zIndex=="") style.zIndex=CSGetStyleAttrValue(si,"z-index");
    	}
    }
    function CSURLPopupShow(formName, popupName, target) {
    	var form  = (!IsIE()&&CSBVers>=5)?document.forms[formName]:CSFindElement(formName);
    	var popup = form.elements[popupName];
    	window.open(popup.options[popup.selectedIndex].value, target);
    	popup.selectedIndex = 0;
    }
    
    // --></script>
    </csscriptdict>
    <style type="text/css">
    <!--
    a:hover {
    	color: #00FFFF;
    }
    .Stil6 {color: #00FF00}
    -->
    </style></head>
    
    <body onload="MM_preloadImages('images/build_btn2.gif','images/enjoy_btn2.gif')">
    <div align="center">
    <!-- Top Table -->
      <table width="759" height="59" border="0" cellpadding="0" cellspacing="0" class="tabletoplapitec">
        <tr>
          <td align="center" valign="bottom">
            <table width="730" height="59" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="240" rowspan="2" align="left" valign="middle"><!--DWLayoutEmptyCell-->&nbsp;</td>
                <td width="490" align="right" valign="bottom"><span class="topNav">About Us &nbsp;|&nbsp; Photo Gallery &nbsp;|&nbsp;  Spas  &nbsp;|&nbsp; Piscinas&nbsp;|&nbsp; Contact &nbsp;|&nbsp; Home</span></td>
              </tr>
              <tr>
                <td align="right" valign="bottom"><img src="images/tab_invisible.gif" width="97" height="22" /></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    <!-- Header Table -->
      <table width="759" height="149" border="0" cellpadding="0" cellspacing="15" class="spatable">
        <tr>
          <td width="238" align="left" valign="top"><img src="images/dream_header_btn1.gif" width="125" height="25" border="0" />
    	  <br />
    -----------------
    <br />
    10 Great Reasons To Have A Pool<br />
    10 Myths of Pool Ownership<br />
    12 Frequently Asked Questions </td>
          <td width="238" align="left" valign="top"><img src="images/build_header_btn1.gif" width="125" height="25" border="0" />
    	  <br />
    -----------------
    <br />
    Your Experience<br />
    Features and Options<br />
    Case Study          </td>
          <td width="223" align="left" valign="top"><img src="images/enjoy_header_btn1.gif" width="125" height="25" border="0" />
    	  <br />
    -----------------
    <br />
    Tips For Enjoying Your Pool<br />
    Maintaining Your Pool<br />
    Warranty          </td>
        </tr>
      </table>
    <!-- Brown Bar -->
      <table width="759" height="9" border="0" cellpadding="0" cellspacing="0" class="TableBrownBar">
        <tr>
          <td></td>
        </tr>
      </table>
    
    <!-- Body Table -->  
       <table width="759" border="0" cellpadding="0" cellspacing="25" class="TableBody">
         <tr>
           <td width="236" align="center" valign="top"><img src="images/baby.jpg" width="185" height="323" />
    						<p><img src="images/bauplan_1.jpg" width="185" height="310" class="photospace" /><br />
    						    <br />
    					        <img src="images/haende_mit_tropfen.jpg" width="185" height="310" class="photospace" /><br />
    	     </p>
    						<p><br />
           </p></td>
           <td width="448" align="left" valign="top"><p><span class="maintitle2">FREE Pool and Landscape Design!</span><br />
             Want to see what your new backyard could look like before you ever spend a dime? Call us or fill out the form for premium design services. It's FREE! </p>
             <form action="" method="post" name="form1" class="tablebody2" id="form1">
               <input type="hidden" name="hiddenField" />
               <img src="images/btnGetFreePoolQuotesBr.gif" width="219" height="42" class="TableBody" />         
             </form>
             <p>Contact us for FREE expert design, to schedule a FREE estimate, or to </p>
             <p>request more information.  Don’t worry – there’s no pressure when you talk to us!  No one will try and sell you anything that you don’t want or need. </p>
             <p><span class="boldItalic">We’re here to help.</span>	</p>
             <p>Select the local office from the following list to contact you now. </p>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="50%" align="left" valign="top">
    	
    	<csobj w="152" h="21" t="URLPopup" data="{ 0 = { label = &quot;PISCINAS LAPITEC OFFICES&quot;; selected = &quot;YES&quot;; }; 1 = { label = &quot;Lorca (Murcia)&quot;; url = http://www.lapitec.com/""; &quot;&quot;; }; 2 = { label = &quot;&quot;; url = &quot;&quot;; 3 = { 4 = { 5 = { 6 = { 7 = { 8 = { 9 = { 10 = { 11 = { 12 = { 13 = { 14 = { 15 = { 16 = { 17 = { 18 = { 19 = { 20 = { }" target="_self">
    										<form action="#" method="post" name="cs_form_name_0">
    											<select name="cs_popup_name_0" onchange="CSURLPopupShow(/*CMP*/'cs_form_name_0', /*CMP*/'cs_popup_name_0', '_self');">
    												<option value="#" selected="selected">PISCINAS LAPITEC OFFICES</option>
    												<option value="sitemap.html">Lorca (Murcia)</option>
    												<option
    										  
    											></option></select>
    										</form>
    			  </csobj></td>
        <td width="50%" align="left" valign="top">
    	
    	
      </td></tr>
    </table>
    <p>Or, fill out the following form and click submit.  </p>
    <p>We   will contact you shortly! </p>
    <form name="inquiry" action="http://www.lapitec.com/cgi/forwardinquiry.cgi" method="post">
    <input type="hidden" value="info@lapitec.com" name="hiddenmail" />
    
    	   <table width="100%" border="0" cellspacing="0" cellpadding="4">
             <tr>
               <td width="43%" align="right" valign="top"><span class="bold">*Name:</span>  </td>
               <td width="57%" align="left" valign="top">
    		   <input name="name" type="text" id="name" size="25" /></td>
             </tr>
             <tr>
               <td align="right" valign="top"><span class="bold">Street Address:</span><br /></td>
               <td align="left" valign="top"><input name="street" type="text" id="street" size="25" />
                <br />
                <span class="bodySmall">(where the pool will be built)</span></td>
             </tr>
             <tr>
               <td align="right" valign="top"><span class="bold">*City, State, Zip:</span><br /></td>
               <td align="left" valign="top"><input name="citystatezip" type="text" id="citystatezip" size="25" />
                <br />
                <span class="bodySmall">(where the pool will be built)</span></td>
             </tr>
             <tr>
               <td align="right" valign="top"><span class="bold">*Telephone:</span></td>
               <td align="left" valign="top"><input name="phone" type="text" id="phone" size="15" /></td>
             </tr>
             <tr>
               <td align="right" valign="top"><span class="bold">*E-Mail:</span></td>
               <td align="left" valign="top"><input name="email" type="text" id="email" size="25" /></td>
             </tr>
             <tr>
               <td align="right" valign="top"><span class="bold">What are you interested in?</span><br /></td>
               <td align="left" valign="top">Check all that interests you:</td>
             </tr>
             <tr>
               <td align="right" valign="top">&nbsp;</td>
               <td align="left" valign="middle"><input name="remodel3" type="checkbox" id="remodel3" value="1" />
    Remodeling an existing pool or spa</td>
             </tr>
             <tr>
               <td align="right" valign="top">&nbsp;</td>
               <td align="left" valign="middle"><input name="addspa" type="checkbox" id="addspa" value="1" />
    Adding a spa to an existing pool </td>
             </tr>
             <tr>
               <td align="right" valign="top">&nbsp;</td>
               <td align="left" valign="middle"><input name="poolspa" type="checkbox" id="poolspa" value="1" />
    Building a new pool &amp; spa </td>
             </tr>
             <tr>
               <td align="right" valign="top">&nbsp;</td>
               <td align="left" valign="middle"><input name="pool" type="checkbox" id="pool" value="1" />
    Building a new pool only</td>
             </tr>
             <tr>
               <td align="right" valign="top">&nbsp;</td>
               <td align="left" valign="middle"><input name="spa" type="checkbox" id="spa" value="1" />
    Building a new spa only</td>
             </tr>
             <tr>
               <td align="right" valign="top">&nbsp;</td>
               <td align="left" valign="middle"><input name="feature" type="checkbox" id="feature" value="1" /> 
                 Installing a water feature </td>
             </tr>
             <tr>
               <td align="right" valign="top" class="bold">What brings you to us?: </td>
               <td align="left" valign="top"><span class="fv" style="padding-left:6px;height:2px;vertical-align:middle">
                 <select onchange="onDropDownChange (this);" name="lead" tabindex="14" class="box" id="lead">
                   <option />
                   
                   
                   <option value="Car Wash Ad">Car Wash Ad</option>
                   <option value="Cycling Team">Cycling Team</option>
                   <option value="DesignScape">DesignScape</option>
                   <option value="Direct Mail">Direct Mail</option>
                   <option value="DirectBuy">DirectBuy</option>
                   <option value="Event - Other">Event - Other</option>
                   <option value="Event - Trade Show">Event - Trade Show</option>
                   <option value="Flyers">Flyers</option>
                   <option value="Franchise/Agent Office">Franchise/Agent Office</option>
                   <option value="Lead Squad">Lead Squad</option>
                   <option value="Mag. - Home">Mag. - Home</option>
                   <option value="Mag. - Image">Mag. - Image</option>
                   <option value="Mag. - Other">Mag. - Other</option>
                   <option value="Newspaper">Newspaper</option>
                   <option value="PR - Magazine">PR - Magazine</option>
                   <option value="PR - News Paper">PR - News Paper</option>
                   <option value="Referral - Employee">Referral - Employee</option>
                   <option value="Referral - Friends">Referral - Friends</option>
                   <option value="OCCAM_SELECT_MIN_WIDTH">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</option>
                 </select>
               </span></td>
             </tr>
             <tr>
               <td align="right" valign="top" class="bold">Questions or comments?: </td>
               <td align="left" valign="top"><textarea name="comments" cols="25" rows="3" wrap="physical" id="comments"></textarea></td>
             </tr>
             <tr>
               <td align="right" valign="top">&nbsp;</td>
               <td align="left" valign="top"><span class="bold">*</span><span class="bodySmall">Required fields ensure that we will be able to respond to your inquiry. Please ensure you have entered this information accurately. Thank you!</span></td>
             </tr>
             <tr>
               <td align="right" valign="top">&nbsp;</td>
               <td align="left" valign="top"><input type="hidden" value="info@lapitec.com" name="hiddenmail" />
                 <label>Submit
                 <input type="submit" name="Submit" value="submit" />
                 </label></td>
             </tr>
             <tr>
               <td align="right" valign="top">&nbsp;</td>
               <td align="left" valign="top">To view our privacy policy, click here. </td>
             </tr>
           </table>
    	    </form>
    	  
    	   </td>
         </tr>
      </table>
       <br />
       <span class="copyright">&copy; 2008 Construcciones Lapitec S.L. Inground Pools &amp; Spas Contractor</span> &nbsp;|&nbsp; Privacy Notice &nbsp;|&nbsp; Home &nbsp;|&nbsp; Sitemap
       <p>&nbsp;   </p>
    </div>
    
    
    </body>
    
    
    </html>


    nikic: [code]-Tags hinzugefügt

    Beitrag zuletzt geändert: 19.3.2010 17:47:35 von nikic
  5. Hi,

    Dein Code ist ganz schon verwirrend, was sollen diese ganzen JavaSkript Dinge?
    Guck mal hier: http://www.webdesign.rudomazin.de/scripte/kostenlose/kontaktformular-script.html
    Das sollte das sein, was Du suchst.

    Viele Grüße
    Maxi
  6. Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!

    lima-city: Gratis werbefreier Webspace für deine eigene Homepage

Dir gefällt dieses Thema?

Über lima-city

Login zum Webhosting ohne Werbung!