Cinsiyet, Yaş, Ülke Kayıt Olurken

Başlatan husami, 03 Haz 2020, 23:33

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçiler konuyu incelemekte.

husami

[quote author=a[R]a[N] link=topic=194222.msg946284#msg946284 date=1299943209]
register.template.php de bul
// With openID disabled we put the password here.
    if (empty($modSettings['enableOpenID']))
        echo '
                    <tr>
                        <td width="40%">
                            <b>', $txt['choose_pass'], ':</b>
                        </td>
                        <td>
                            <input type="password" name="passwrd1" id="smf_autov_pwmain" size="30" tabindex="', $context['tabindex']++, '" />
                            <span id="smf_autov_pwmain_div" style="display: none;">
                                <img id="smf_autov_pwmain_img" src="', $settings['images_url'], '/icons/field_invalid.gif" alt="*" />
                            </span>
                        </td>
                    </tr><tr>
                        <td width="40%">
                            <b>', $txt['verify_pass'], ':</b>
                        </td>
                        <td>
                            <input type="password" name="passwrd2" id="smf_autov_pwverify" size="30" tabindex="', $context['tabindex']++, '" />
                            <span id="smf_autov_pwverify_div" style="display: none;">
                                <img id="smf_autov_pwverify_img" src="', $settings['images_url'], '/icons/field_valid.gif" alt="*" />
                            </span>
                        </td>
                    </tr>';

altına ekle:
  echo '
                     <tr>
                        <td width="40%">
                           <b>Dogum Tarihi:</b>
                           <div class="smalltext">Gün - Ay - Yıl</div>
                        </td>
                        <td class="smalltext">
                           <input type="text" name="bday2" size="2" maxlength="2"  tabindex="', @$context['tabindex']++, '"value="', $context['member']['birth_date']['day'], '" />-
                           <input type="text" name="bday1" size="2" maxlength="2"  tabindex="', @$context['tabindex']++, '"value="', $context['member']['birth_date']['month'], '" /> -
                           <input type="text" name="bday3" size="4" maxlength="4" tabindex="', @$context['tabindex']++, '" value="', $context['member']['birth_date']['year'], '" />
                        </td>
                     </tr><tr>

                        <td width="40%"><b>Yer: </b></td>
                        <td><input type="text" name="location" size="30"  tabindex="', @$context['tabindex']++, '"value="', $context['member']['location'], '" /></td>
                     </tr>
                     <tr>
                        <td width="40%"><b>Cinsiyet: </b></td>
                        <td>
                           <select name="gender" size="1" tabindex="', @$context['tabindex']++, '">
                              <option value="0"></option>
                              <option value="1"', (@$context['member']['gender']['name'] == 'm' ? ' selected="selected"' : ''), '>Bay</option>
                              <option value="2"', (@$context['member']['gender']['name'] == 'f' ? ' selected="selected"' : ''), '>Bayan</option>
                           </select>
                        </td>
                     </tr><tr>
                        <td colspan="2"><hr width="100%" size="1" class="hrcolor" /></td>
                     </tr>';

Zorunlu hale getirmek için ise
document.forms.creator.regSubmit.disabled =  (currentAuthMethod == "passwd" && (isEmptyText(document.forms.creator.smf_autov_pwmain) || isEmptyText(document.forms.creator.user) || isEmptyText(document.forms.creator.email))) || (currentAuthMethod == "openid" && isEmptyText(document.forms.creator.openid_url)) || !document.forms.creator.regagree.checked;
bul degistir:
document.forms.creator.regSubmit.disabled =  (currentAuthMethod == "passwd" && (isEmptyText(document.forms.creator.smf_autov_pwmain) || isEmptyText(document.forms.creator.user) || isEmptyText(document.forms.creator.email))) || (currentAuthMethod == "openid" && isEmptyText(document.forms.creator.openid_url)) || isEmptyText(document.forms.creator.gender) || isEmptyText(document.forms.creator.bday3) || isEmptyText(document.forms.creator.location) || !document.forms.creator.regagree.checked;



[/quote]
F1 online menejerlik oyunu

indirmek yok kurmak yok üye olmak yeterli yarışlar canlı

salı ve cuma 21de

oyunun linkinden üye olup aramıza katılabilirsiniz
https://www.gpro.net/?id=16B7385991EE

buda whatsapp grubumuz
https://chat.whatsapp.com/CVMxaGyNizFFarkMr2oRsJ