SMF Profilden Gelişmiş Location seçme
SMF Profilden Gelişmiş Location seçme
Profilden Gelişmiş Location seçme
aLINTIDIR
Gelişmiş Yer Seçme
Profil bilgilerindeki yer seçme bölümünü biraz geliştirdim. Kendiniz yazmıyorsunuz, otomatik seçim var.
Theme/Profile.template.php yi aç. Aşağıdaki kodu bul
Değiştir
SMF Profilden Gelişmiş Location seçme
Profilden Gelişmiş Location seçme
aLINTIDIR
Gelişmiş Yer Seçme
Profil bilgilerindeki yer seçme bölümünü biraz geliştirdim. Kendiniz yazmıyorsunuz, otomatik seçim var.
Theme/Profile.template.php yi aç. Aşağıdaki kodu bul
PHP:
<input type="text" name="location" size="50" value="', $context['member']['location'], '" />
PHP:
<select name="location" size="1">
<option value="">SF Bir Şehir Seçin</option>
<option value="">----------------</option>
<option value="Adana"', ($context['member']['location'] == 'Adana' ? ' selected="selected"' : ''), '>Adana</option>
<option value="Adıyaman"', ($context['member']['location'] == 'Adıyaman' ? ' selected="selected"' : ''), '>Adıyaman</option>
<option value="Afyon"', ($context['member']['location'] == 'Afyon' ? ' selected="selected"' : ''), '>Afyon</option>
<option value="Ağrı"', ($context['member']['location'] == 'Ağrı' ? ' selected="selected"' : ''), '>Ağrı</option>
<option value="Aksaray"', ($context['member']['location'] == 'Aksaray' ? ' selected="selected"' : ''), '>Aksaray</option>
<option value="Amasya"', ($context['member']['location'] == 'Amasya' ? ' selected="selected"' : ''), '>Amasya</option>
<option value="Ankara"', ($context['member']['location'] == 'Ankara' ? ' selected="selected"' : ''), '>Ankara</option>
<option value="Antalya"', ($context['member']['location'] == 'Antalya' ? ' selected="selected"' : ''), '>Antalya</option>
<option value="Ardahan"', ($context['member']['location'] == 'Ardahan' ? ' selected="selected"' : ''), '>Ardahan</option>
<option value="Artvin"', ($context['member']['location'] == 'Artvin' ? ' selected="selected"' : ''), '>Artvin</option>
<option value="Aydın"', ($context['member']['location'] == 'Aydın' ? ' selected="selected"' : ''), '>Aydın</option>
<option value="Balıkesir"', ($context['member']['location'] == 'Balıkesir' ? ' selected="selected"' : ''), '>Balıkesir</option>
<option value="Bartın"', ($context['member']['location'] == 'Bartın' ? ' selected="selected"' : ''), '>Bartın</option>
<option value="Batman"', ($context['member']['location'] == 'Batman' ? ' selected="selected"' : ''), '>Batman</option>
<option value="Bayburt"', ($context['member']['location'] == 'Bayburt' ? ' selected="selected"' : ''), '>Bayburt</option>
<option value="Bilecik"', ($context['member']['location'] == 'Bilecik' ? ' selected="selected"' : ''), '>Bilecik</option>
<option value="Bingöl"', ($context['member']['location'] == 'Bingöl' ? ' selected="selected"' : ''), '>Bingöl</option>
<option value="Bitlis"', ($context['member']['location'] == 'Bitlis' ? ' selected="selected"' : ''), '>Bitlis</option>
<option value="Bolu"', ($context['member']['location'] == 'Bolu' ? ' selected="selected"' : ''), '>Bolu</option>
<option value="Burdur"', ($context['member']['location'] == 'Burdur' ? ' selected="selected"' : ''), '>Burdur</option>
<option value="Bursa"', ($context['member']['location'] == 'Bursa' ? ' selected="selected"' : ''), '>Bursa</option>
<option value="Çanakkale"', ($context['member']['location'] == 'Çanakkale' ? ' selected="selected"' : ''), '>Çanakkale</option>
<option value="Çankırı"', ($context['member']['location'] == 'Çankırı' ? ' selected="selected"' : ''), '>Çankırı</option>
<option value="Çorum"', ($context['member']['location'] == 'Çorum' ? ' selected="selected"' : ''), '>Çorum</option>
<option value="Denizli"', ($context['member']['location'] == 'Denizli' ? ' selected="selected"' : ''), '>Denizli</option>
<option value="Diyarbakır"', ($context['member']['location'] == 'Diyarbakır' ? ' selected="selected"' : ''), '>Diyarbakır</option>
<option value="Düzce"', ($context['member']['location'] == 'Düzce' ? ' selected="selected"' : ''), '>Düzce</option>
<option value="Edirne"', ($context['member']['location'] == 'Edirne' ? ' selected="selected"' : ''), '>Edirne</option>
<option value="Elazığ;"', ($context['member']['location'] == 'Elazığ' ? ' selected="selected"' : ''), '>Elazığ</option>
<option value="Erzincan"', ($context['member']['location'] == 'Erzincan' ? ' selected="selected"' : ''), '>Erzincan</option>
<option value="Erzurum"', ($context['member']['location'] == 'Erzurum' ? ' selected="selected"' : ''), '>Erzurum</option>
<option value="Eskişehir"', ($context['member']['location'] == 'Eskişehir' ? ' selected="selected"' : ''), '>Eskişehir</option>
<option value="Gaziantep"', ($context['member']['location'] == 'Gaziantep' ? ' selected="selected"' : ''), '>Gaziantep</option>
<option value="Giresun"', ($context['member']['location'] == 'Giresun' ? ' selected="selected"' : ''), '>Giresun</option>
<option value="Gümüşhane"', ($context['member']['location'] == 'Gümüşhane' ? ' selected="selected"' : ''), '>Gümüşhane</option>
<option value="Hakkari"', ($context['member']['location'] == 'Hakkari' ? ' selected="selected"' : ''), '>Hakkari</option>
<option value="Hatay"', ($context['member']['location'] == 'Hatay' ? ' selected="selected"' : ''), '>Hatay</option>
<option value="İçel"', ($context['member']['location'] == 'İçel' ? ' selected="selected"' : ''), '>İçel</option>
<option value="Isparta"', ($context['member']['location'] == 'Isparta' ? ' selected="selected"' : ''), '>Isparta</option>
<option value="İstanbul"', ($context['member']['location'] == 'İstanbul' ? ' selected="selected"' : ''), '>İstanbul</option>
<option value="İzmir"', ($context['member']['location'] == 'İzmir' ? ' selected="selected"' : ''), '>İzmir</option>
<option value="Kahramanmaraş;"', ($context['member']['location'] == 'Kahramanmaraş' ? ' selected="selected"' : ''), '>Kahramanmaraş</option>
<option value=Karabük""', ($context['member']['location'] == 'Karabük' ? ' selected="selected"' : ''), '>Karabük</option>
<option value="Karaman"', ($context['member']['location'] == 'Karaman' ? ' selected="selected"' : ''), '>Karaman</option>
<option value="Kars"', ($context['member']['location'] == 'Kars' ? ' selected="selected"' : ''), '>Kars</option>
<option value="Kastamonu"', ($context['member']['location'] == 'Kastamonu' ? ' selected="selected"' : ''), '>Kastamonu</option>
<option value="Kayseri"', ($context['member']['location'] == 'Kayseri' ? ' selected="selected"' : ''), '>Kayseri</option>
<option value="Kırıkkale"', ($context['member']['location'] == 'Kırıkkale' ? ' selected="selected"' : ''), '>Kırıkkale</option>
<option value="Kırklareli"', ($context['member']['location'] == 'Kırklareli' ? ' selected="selected"' : ''), '>Kırklareli</option>
<option value="Kırşehir"', ($context['member']['location'] == 'Kırşehir' ? ' selected="selected"' : ''), '>Kırşehir</option>
<option value="Kilis"', ($context['member']['location'] == 'Kilis' ? ' selected="selected"' : ''), '>Kilis</option>
<option value="Kocaeli"', ($context['member']['location'] == 'Kocaeli' ? ' selected="selected"' : ''), '>Kocaeli</option>
<option value="Konya"', ($context['member']['location'] == 'Konya' ? ' selected="selected"' : ''), '>Konya</option>
<option value="Kütahya"', ($context['member']['location'] == 'Kütahya' ? ' selected="selected"' : ''), '>Kütahya</option>
<option value="Malatya"', ($context['member']['location'] == 'Malatya' ? ' selected="selected"' : ''), '>Malatya</option>
<option value="Manisa"', ($context['member']['location'] == 'Manisa' ? ' selected="selected"' : ''), '>Manisa</option>
<option value="Mardin"', ($context['member']['location'] == 'Mardin' ? ' selected="selected"' : ''), '>Mardin</option>
<option value="Mersin"', ($context['member']['location'] == 'Mersin' ? ' selected="selected"' : ''), '>Mersin</option>
<option value="Muğla"', ($context['member']['location'] == 'Muğla' ? ' selected="selected"' : ''), '>Muğla</option>
<option value="Muş"', ($context['member']['location'] == 'Muş' ? ' selected="selected"' : ''), '>Muş</option>
<option value="Nevşehir"', ($context['member']['location'] == 'Nevşehir' ? ' selected="selected"' : ''), '>Nevşehir</option>
<option value="Niğde"', ($context['member']['location'] == 'Niğde' ? ' selected="selected"' : ''), '>Niğde</option>
<option value="Ordu"', ($context['member']['location'] == 'Ordu' ? ' selected="selected"' : ''), '>Ordu</option>
<option value="Osmaniye"', ($context['member']['location'] == 'Osmaniye' ? ' selected="selected"' : ''), '>Osmaniye</option>
<option value="Rize"', ($context['member']['location'] == 'Rize' ? ' selected="selected"' : ''), '>Rize</option>
<option value="Sakarya"', ($context['member']['location'] == 'Sakarya' ? ' selected="selected"' : ''), '>Sakarya</option>
<option value="Samsun"', ($context['member']['location'] == 'Samsun' ? ' selected="selected"' : ''), '>Samsun</option>
<option value="Siirt"', ($context['member']['location'] == 'Siirt' ? ' selected="selected"' : ''), '>Siirt</option>
<option value="Sinop"', ($context['member']['location'] == 'Sinop' ? ' selected="selected"' : ''), '>Sinop</option>
<option value="Sivas"', ($context['member']['location'] == 'Sivas' ? ' selected="selected"' : ''), '>Sivas</option>
<option value="Şanlıurfa"', ($context['member']['location'] == 'Şanlıurfa' ? ' selected="selected"' : ''), '>Şanlıurfa</option>
<option value="Şırnak"', ($context['member']['location'] == 'Şırnak' ? ' selected="selected"' : ''), '>Şırnak</option>
<option value="Tekirdağ;"', ($context['member']['location'] == 'Tekirdağ;' ? ' selected="selected"' : ''), '>Tekirdağ</option>
<option value="Tokat"', ($context['member']['location'] == 'Tokat' ? ' selected="selected"' : ''), '>Tokat</option>
<option value="Trabzon"', ($context['member']['location'] == 'Trabzon' ? ' selected="selected"' : ''), '>Trabzon</option>
<option value="Tunceli"', ($context['member']['location'] == 'Tunceli' ? ' selected="selected"' : ''), '>Tunceli</option>
<option value="Uşak"', ($context['member']['location'] == 'Uşak' ? ' selected="selected"' : ''), '>Uşak</option>
<option value="Van"', ($context['member']['location'] == 'Van' ? ' selected="selected"' : ''), '>Van</option>
<option value="Yalova"', ($context['member']['location'] == 'Yalova' ? ' selected="selected"' : ''), '>Yalova</option>
<option value="Yozgat"', ($context['member']['location'] == 'Yozgat' ? ' selected="selected"' : ''), '>Yozgat</option>
<option value="Zonduldak"', ($context['member']['location'] == 'Zonduldak' ? ' selected="selected"' : ''), '>Zonduldak</option>
<option value="Nefesin Tükendiği Yerden"', ($context['member']['location'] == 'Nefesin Tükendiği Yerden' ? ' selected="selected"' : ''), '>Nefesin Tükendiği Yerden</option>
<option value="Sevginin Doğduğu Yerden"', ($context['member']['location'] == 'Sevginin Doğduğu Yerden' ? ' selected="selected"' : ''), '>Sevginin Doğduğu Yerden</option>
<option value="Sevgiden"', ($context['member']['location'] == 'Sevgiden' ? ' selected="selected"' : ''), '>Sevgiden</option>
</select>