Jump to content

hemen al formu ve müşteriyi kaydetme


Behc98

Recommended Posts

Üyenin kaydolmadan hemenalabilmesi için brun temasının authentication.tpl dosyasında aşağıdaki değişikliği yaptım.
İstifadenize sunup, doğabilecek sorunlar hakkında görüşlerinizi bekliyorum.
sepetteki kasaya git butonuna gidince adı soyadı adresi gibi bir form geliyor ve ileri değince onu kaydediyor.
emaili tarihe göre rastgele veriyor, isterse hemen kendisininkini yazabiliyor.


eklentiyi bir mod bu konuya eklerse silinmesin ilerde, ben yapamadım

Link to comment
Share on other sites

  • 11 months later...
><link type="text/css"         href="themes/brun/jvalidate/plugin.css" rel="stylesheet" />

[removed][removed]
[removed]
// <![CDATA[
idSelectedCountry = {if isset($smarty.post.id_state)}{$smarty.post.id_state|intval}{else}false{/if};
countries = new Array();
{foreach from=$countries item='country'}
   {if isset($country.states)}
       countries[{$country.id_country|intval}] = new Array();
       {foreach from=$country.states item='state' name='states'}
           countries[{$country.id_country|intval}]['{$state.id_state|intval}'] = '{$state.name|escape:'htmlall':'UTF-8'}';
       {/foreach}
   {/if}
{/foreach}
//]]>
[removed]
{literal}
<head>
[removed] 
<!--
   $(document).ready(function(){
           $("#account-creation_form").validateMyForm({ textareaLimit:50 });
   });
-->
[removed] 
   </head>
{/literal}



{assign var='current_step' value='login'}

{include file=$tpl_dir./errors.tpl}

{if isset($confirmation)}


{l s='Your account has been successfully created.'}




{l s='Access your account'}


{else}
   {if !isset($email_create)}

       <form action="{$base_dir_ssl}authentication.php" method="post" id="login_form" >


</pre>
<table width="100%" border="0">

   {l s='Already registered ?'}  

{l s='E-mail address'}
<input type="text" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall'|stripslashes}{/if}" class="account_input" /></span>

Åifre  
<input type="password" id="passwd" name="passwd" value="{if isset($smarty.post.passwd)}{$smarty.post.passwd|escape:'htmlall'|stripslashes}{/if}" class="account_input" /></span>

(Sifremi Unuttum)       
{if isset($back)}
     <input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
<input type="image" src="{$img_dir}giris.gif" id="SubmitLogin" name="SubmitLogin"  value="{l s='Log in'}" />

</table>
<br><br><br>       </form><br>   {/if

Link to comment
Share on other sites

<form action="{$base_dir_ssl}authentication.php" method="post" id="account-creation_form" class="roundCorners padding10" name="contact_form" >


Uye Degilim adresimi gireyim



{l s='First name'}
    
               <input>
*


{l s='Last name'}
    
               <input>
*



Adres satiri 1
    
               <input type="text" class="text required" name="address1" id="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{/if}" />
*


Adres satiri 2
    
               <input type="text" class="text" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{/if}" />




Semt/ ilce/ Sehir
    
               <input type="text" class="text required" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{/if}" />
*


{l s='Home phone'}
    
               <input type="text" class="text" name="phone" id="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{/if}" />
*


Gsm Tlf: 
    
               <input type="text" align="right" class="text" name="phone_mobile" id="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{/if}" />


Email (varsa)
    
           <input> 
varsa degistiriniz



Åifre   
    
               <input type="password" name="passwd" id="pasw" class="text required"/>
*


Ticari Unvan (varsa)
    
               <input type="text" class="text" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{/if}" />


Ek Bilgi
    
               <textarea name="other" id="other" cols="26" rows="3">{if isset($smarty.post.other)}{$smarty.post.other}{/if}</textarea>
Vergi No, Tc kimlik, Tarif vs.


               <input type="radio" name="id_gender" id="id_gender1" value="1" checked="checked" />
Bay
               <input type="radio" name="id_gender" id="id_gender2" value="2" {if isset($smarty.post.id_gender) && $smarty.post.id_gender == 2}checked="checked"{/if} />
Bayan

Link to comment
Share on other sites

<input type="hidden" class="text" name="alias" id="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{else}Teslimat Adresimdir{/if}" />
<input type="hidden" class="text" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}" />
<input type="hidden" class="text" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}" />
<input type="hidden" class="text" name="postcode" id="postcode" value="0" />
<input type="hidden" class="text" name="days" id="days" value="01" />
<input type="hidden" class="text" name="months" id="months" value="01" />
<input type="hidden" class="text" name="years" id="years" value="1985" />
<input type="hidden" class="text" name="id_country" id="id_country" value="211" />
<input type="hidden" class="text" name="id_state" id="id_state" value="-" />
<input type="hidden" name="optin" id="optin" value="1"  checked="checked" />
<input type="hidden" name="newsletter" id="newsletter" value="1"  checked="checked" />
       {$HOOK_CREATE_ACCOUNT_FORM}



           <input type="hidden" name="email_create" value="1" />
           {if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
                           
       
<input type="image" src="{$img_dir}giris.gif" name="submitAccount" id="submitAccount" value="{l s='Register'}"  />





   </form>

{/if}

Link to comment
Share on other sites

  • 4 weeks later...
nike air max 2011 in a formal step on the stage, the integration of different materials makes the permeability and the perfect combination of durability, the same as nike shox torch
also was welcomed by a large number of players,oh! I want to talk about
air jordan 2010 ,
new jordan shoes 2010 and
jordan retro shoes , it began to rise in the Hip-Hop culture, you will never regret walking down the street wearing the shoe on, has a strong content and a variety of design inheritance acquitted. This shoe features greatly, making it a subject of great technical player, but also very beautiful, but also in the shortest time to restore the original comfortable, I am very glad to introduce the good website, http://www.nikejordanlink.com
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...