MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completely customizable, expandable and suitable for all needs.
A2Hosting
Moderators: Moderators
Page 1/2 1 2 >
Forum RSS feedReply
User profil football team annex
AuthorText
BLaCk.DeWiL
Türkiye Destek

Posts: 218
Contributes: 151

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Türkiye
Languages: English, Turkish
Date: 30/12/2008 13:14
User profil football team annex
#post16722
Url: http://localhost
Version: 4.0.1
OS: Windows XP
Installed addons/scripts: memht
Error/Problem:

Profil for I did the annex.

Football team,
Country,
Soul condition ( good,bad,sad vs. )

Forum page added.

User page add problem gave.

mysql table = futbol

gender codes I arranged.
For instance :
code
                switch ($gender) {
                        case 1: $gender_img = "<img src='images/male.gif' alt='"._MALE_."' title='"._MALE_."'>"; break;
                        case 2: $gender_img = "<img src='images/female.gif' alt='"._FEMALE_."' title='"._FEMALE_."'>"; break;
                        default: $gender_img = "<img src='images/neutral.gif' alt='"._NEUTRAL_."' title='"._NEUTRAL_."'>"; break;
                }


Edit :

code
                switch ($futbol) {
                        case 1: $futbol_img = "<img src='images/takimlar/sivasspor.gif'>"; break;
                        case 2: $futbol_img = "<img src='images/takimlar/fenerbahce.gif'>"; break;
                        case 3: $futbol_img = "<img src='images/takimlar/galatasaray.gif'>"; break;
                        case 4: $futbol_img = "<img src='images/takimlar/besiktas.gif'>"; break;
                        case 5: $futbol_img = "<img src='images/takimlar/trabzon.gif'>"; break;
                        default: $futbol_img = "<img src='images/takimlar/takimyok.gif'>"; break;
                }


Error :
Profil edit > football team > election 3

Save.

Preview > Default election = 0
That is there isn't the election.

User page attamentes.

Help me please.
Attachment: index_8ason.php
Delete Edit Quote
 
BLaCk.DeWiL
Türkiye Destek

Posts: 218
Contributes: 151

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Türkiye
Languages: English, Turkish
Date: 30/12/2008 13:16
Re: User profil football team annex
#post16723
Mysql memht_utenti
Attachment: memht_utenti.sql
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 30/12/2008 14:02
Re: User profil football team annex
#post16729
code
echo "<tr><td><b>Takim</b></td><td>";
        echo "<select name='chg_gender'>\n";
                if ($futbol==0) {


Should be chg_futbol not chg_gender

code
if ($futbol==0) {
        echo "<option value='0' selected>Seçilmedi</option>\n";
        echo "<option value='1'>Sivasspor</option>\n";
        echo "<option value='2'>Fenerbahçe</option>\n";
        echo "<option value='2'>Galatasaray</option>\n";
        echo "<option value='2'>Besiktas</option>\n";
        echo "<option value='2'>Trabzonspor</option>\n";
} else if ($futbol==1) {
        echo "<option value='0' selected>Seçilmedi</option>\n";
        echo "<option value='1'>Sivasspor</option>\n";
        echo "<option value='2'>Fenerbahçe</option>\n";
        echo "<option value='2'>Galatasaray</option>\n";
        echo "<option value='2'>Besiktas</option>\n";
        echo "<option value='2'>Trabzonspor</option>\n";
} else if ($futbol==2) {


Should be

code
if ($futbol==0) {
        echo "<option value='0' selected>Seçilmedi</option>\n";
        echo "<option value='1'>Sivasspor</option>\n";
        echo "<option value='2'>Fenerbahçe</option>\n";
        echo "<option value='2'>Galatasaray</option>\n";
        echo "<option value='2'>Besiktas</option>\n";
        echo "<option value='2'>Trabzonspor</option>\n";
} else if ($futbol==1) {
        echo "<option value='0'>Seçilmedi</option>\n";
        echo "<option value='1' selected>Sivasspor</option>\n";
        echo "<option value='2'>Fenerbahçe</option>\n";
        echo "<option value='2'>Galatasaray</option>\n";
        echo "<option value='2'>Besiktas</option>\n";
        echo "<option value='2'>Trabzonspor</option>\n";
} else if ($futbol==2) {


you have to select 0 then 1 then 2 etc.

+

ids are always set to 2

code
echo "<option value='0' selected>Seçilmedi</option>\n";
echo "<option value='1'>Sivasspor</option>\n";
echo "<option value='2'>Fenerbahçe</option>\n";
echo "<option value='2'>Galatasaray</option>\n";
echo "<option value='2'>Besiktas</option>\n";
echo "<option value='2'>Trabzonspor</option>\n";

0 1 2 2 2 2 ?!?



Try this attachment
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
BLaCk.DeWiL
Türkiye Destek

Posts: 218
Contributes: 151

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Türkiye
Languages: English, Turkish
Date: 30/12/2008 14:15
Re: User profil football team annex
#post16730
Yes I understood.
0 1 2.. I forgot Smile

Problem : echo "<option value=0' selected></option>n";

Thank you mem Smile
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 30/12/2008 14:31
Re: User profil football team annex
#post16731
Have you tested the file i attached?
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
BLaCk.DeWiL
Türkiye Destek

Posts: 218
Contributes: 151

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Türkiye
Languages: English, Turkish
Date: 30/12/2008 14:43
Re: User profil football team annex
#post16733
Yes test successful.
Soul condition annex completed.

Country, football team ve soul condition without the problem.

mysql table : futbol , ruhhali , nerden

I want table export but memht_utenti table putting out Smile

mysql how export ?
Delete Edit Quote
 
media_555
Senior Member

Posts: 142
Contributes: 126

Gender: _NEUTRAL_
Online: No

Languages: media_555
Date: 30/12/2008 14:52
Re: User profil football team annex
#post16734
What exactly it does ? can you please explain a bit ? thankx
Delete Edit Quote
 
BLaCk.DeWiL
Türkiye Destek

Posts: 218
Contributes: 151

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Türkiye
Languages: English, Turkish
Date: 30/12/2008 22:43
Re: User profil football team annex
#post16747
I could not do there is end something.

Register page :
Username
Password
Email
Newsletter

In addition
Website
Gender
Football team
Show email in profile

How can I do these ?

Mysql table :
code

$sito = outCode($row_info['sito']);
$gender = intval($row_info['gender']);
$futbol = intval($row_info['futbol']);
$showemail = intval($row_info['showemail']);
 


If I do this whole files upload will.

I am waiting for your helps Smile
Delete Edit Quote
 
BLaCk.DeWiL
Türkiye Destek

Posts: 218
Contributes: 151

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Türkiye
Languages: English, Turkish
Date: 30/12/2008 23:05
Re: User profil football team annex
#post16748
Delete Edit Quote
 
matraq
Junior Member

Posts: 13
Contributes: 23

Gender: _MALE_
Online: No

Version: 4,0,1
Country: Türkiye/Bursa
Languages: turkısh,little english,little deush
Date: 31/12/2008 10:59
Re: User profil football team annex
#post16756
black.dewil valla manyak oldu hacım ya tam istediğim gibi
danke schön blackdewil
Delete Edit Quote
 
Reply
Page 1/2 1 2 >
Tags Cloud
Twitter updates...
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.107.179.232

Username
Password
MemHT Wiki
Language
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo