Just4You
Bun venit pe just4you , ramai cu noi si bucura-te de cele mai frumoase experiente si inregistreaza-te ...

Alăturați-vă forumului, este rapid și ușor

Just4You
Bun venit pe just4you , ramai cu noi si bucura-te de cele mai frumoase experiente si inregistreaza-te ...
Just4You
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

Cum pui o casuta ca sa poti invita prieteni tai prin email !

In jos

Noutate Cum pui o casuta ca sa poti invita prieteni tai prin email !

Mesaj  TeMciuC. Joi Oct 13, 2011 7:05 pm

Pentru inceput inreati Pagina de start =>Module=>Gestiunea Paginilor Portalului =>Structura=>In josul pagini creati mod personalizat=>Nume Invitatii Prieteni=>BLoc invitatii prieteni=> SAU CUM VRETI VOi =>Iar la codul HTML puneti CODUL URMATOR

Cod:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head>    <title>Tell-A-Friend </title>      <script language="javascript" type="text/javascript">    function PopupWindow(href, w, h, settings)    {        leftpos = (screen.width) ? (screen.width-w)/2 : 0;        toppos = (screen.height) ? (screen.height-h)/2 : 0;        settings = 'height='+h+',width='+w+',top='+toppos+',left='+leftpos+' '+settings;        window.open(href, 'popupwindow', settings)    }    </script>    <style type="text/css">.Style1 {color: #FFFFFF}    </style></head><body onload="javascript:window.resizeTo(450,470);window.moveTo(150,10);" style="height: 100%;">
<div align="center"><form action=                  method="post" name="form" target="_self" style="display: inline;" ><table style="width: 420px;" border="0" cellpadding="0" cellspacing="0" align="center">    <tr bgcolor="#000066">      <td colspan="2" class="trleft" style="font-weight: bold;"><div align="center" class="Style1">Trimite acest forum prietenilor tai !!! </div></td>    </tr>  <tr>    <td colspan="2" class="trleft" style="font-weight: bold;">Informatii despre tine </td>  </tr>      <tr>      <td class="trleft"><div align="left">Numele tau : </div></td>        <td class="trleft"><input name="nume" type="text" id="nume" size="30" maxlength="60"></td>    </tr>    <tr>      <td class="trleft"><div align="left">Adresa ta de email : </div></td>        <td class="trleft"><input name="email" type="text" id="email" size="30" maxlength="60"></td>    </tr>    <tr>      <td colspan="2" class="trleft" style="font-weight: bold;">Informatii despre prietenii tai </td>    </tr>    <tr>      <td class="trleft"> <div align="left">Email #1 : </div></td>        <td class="trleft"><input name="textfield1" type="text" id="textfield1" size="30" maxlength="60"></td>    </tr>    <tr>      <td class="trleft"> <div align="left">Email #2 : </div></td>        <td class="trleft"><input name="textfield2" type="text" id="textfield2" size="30" maxlength="60"></td>    </tr>    <tr>      <td class="trleft"> <div align="left">Email #3 : </div></td>        <td class="trleft"><input name="textfield3" type="text" id="textfield3" size="30" maxlength="60"></td>    </tr>    <tr>      <td class="trleft"> <div align="left">Email #4 : </div></td>        <td class="trleft"><input name="textfield4" type="text" id="textfield4" size="30" maxlength="60"></td>    </tr>    <tr>      <td class="trleft"> <div align="left">Email #5 : </div></td>        <td class="trleft"><input name="textfield5" type="text" id="textfield5" size="30" maxlength="60"></td>    </tr>          <tr><td></td></tr><tr bgcolor="#FFFFFF">  <td colspan="2" class="trleft" style="font-weight: bold;"><div align="center">    <input type="submit" name="Submit" value="Trimite invitatiile">  </div></td></tr></table></form></div></body></html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Tell-A-Friend</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">.Style1 {color: #FFFFFF}.Style2 {font-size: 24px}.Style3 {font-size: 12px}</style></head><body><table style="width: 420px;" border="0" cellpadding="0" cellspacing="0" align="center">  <tr bgcolor="#000066">    <td class="trleft" style="font-weight: bold;"><div align="center" class="Style1"> </div></td>  </tr>  <tr>    <td class="trleft" style="font-weight: bold;"><p align="center">&nbsp;  <?php  $nume=$_POST[nume];  $email_pers=$_POST[email];$mesaj= <<<eot<html><style type="text/css">.Style1 {font-size: 18px}</style><body>  <table width="470" border="0">  <tr>    <td><div align="center"><a href="http://www.nume_domeniu.com/"><img src="http://www.nume_domeniu.com/phpbb2/images/banners/nume_domeniu.gif" border="0"></a></div></td>    </tr>  <tr>    <td><p align="center" class="Style1">,</p>    <p align="center"  class="Style1">.</p>      </tr>  <tr>    <td><div align="center"><a href="http://www.nume_domeniu.com/"><img src="http://www.nume_domeniu.com/phpbb2/images/banners/nume_domeniu.gif" border="0"></a></div></td>    </tr></table></body></html>eot;?>      <?php  if(trim($nume)=="" || $nume==NULL)  {  $nume="Un prieten din Montreal";  }  if(trim($email_pers)==</p>      <p align="center" class="Style2">.</p>      <p align="center" class="Style3"> </p>      <p align="center">&nbsp;</p></td>  </tr></table></body></html>
TeMciuC.
TeMciuC.
Membru
Membru

Mesaje : 367
Data de inscriere : 11/10/2011
Varsta : 30
Localizare : Moldova / Vadul lui Voda
Puncte : 1055
Reputatie : -2

Sus In jos

Sus

- Subiecte similare

 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum