Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
| [ Anmelden zum schreiben ] |
| Erweiterte FightUs Script | |||
|---|---|---|---|
| Azubi Mitglied
Posts: 13 |
Hallo Leute,
ich hoffe Ihr könnt mir helfen, da ich leider nicht so viel Ahnung vom PHP schreiben habe. Ich bin auf der suche nach ein Script für die Fightus Anfragen wo, derjenige bei XonX, Spiel, Matchtyp ein Dropdown Menü zum auswählen bekommt und nicht selber die Angaben eingeben muss. Kann mir da jemand helfen? Über die SUFU habe ich leider nichts gefunden!!!
Grüße Azubi betroffene Homepage: www.nfc-berlin.de |
||
| IceT33 Mitglied
Posts: 551 |
die datei fightus.htm öffnen und folgendes einfügen:
<label style="float:left; width:120px;">{_lang_xonx}</label><select name="xonx">
<option value="1on1">1on1</option>
<option value="2on2">2on2</option>
<option value="3on3">3on3</option>
<option value="4on4">4on4</option>
<option value="5on5">5on5</option>
<option value="6on6">6on6</option></select>
<br />www.BimmelBommel-Clan.de |
||
| Azubi Mitglied
Posts: 13 |
Ja Super
Vielen Dank, für die schnelle Antwort, werde ich mal gleich heute Abend ausprobieren, ich denke mal das ich das andere (Spiel & Matchtyp) dann dementsprechend selber anpassen kann, wenn nicht dann meld ich mich wieder im Forum ;-) |
||
| IceT33 Mitglied
Posts: 551 |
Meine fightus.htm:
<form action="index.php?fightus" method="POST">
<fieldset>
<legend>{_lang_basicinfo}</legend>
<label style="float:left; width:120px;">{_lang_joininfo}</label>{_lang_plsfilloutallfields}<br />
<label style="float:left; width:120px;">{_lang_clanname}</label><input type="text" name="clanname" value="{clanname}"><br />
<label style="float:left; width:120px;">{_lang_clantag}</label><input type="text" name="clantag" value="{clantag}"><br />
<label style="float:left; width:120px;">{_lang_clanpage}</label><input type="text" name="clanpage" value="{clanpage}"><br />
<label style="float:left; width:120px;">{_lang_clancountry}</label><select name="clancountry">{clancountry}</select><br />
<label style="float:left; width:120px;">{_lang_mailaddy}</label><input type="text" name="mailaddy" value="{mailaddy}"><br />
<label style="float:left; width:120px;">{_lang_icqnumber}</label><input type="text" name="icqnumber" value="{icqnumber}"><br />
<br />
<b>{_lang_matchinfo}</b>
<br />
<label style="float:left; width:120px;">{_lang_meetingplace}</label><select name="meetingplace">
<option value="TS2">TS2</option>
<option value="ESL Gahter">ESL Gahter</option>
<option value="ICQ">ICQ</option>
<option value="IRC">IRC</option>
<option value="xFire">xFire</option></select><br />
<label style="float:left; width:120px;">{_lang_meetingtime}</label><input type="text" name="meetingtime" value="{meetingtime}"><br />
<label style="float:left; width:120px;">{_lang_squad}</label><select name="squad">{squad}</select><br />
<label style="float:left; width:120px;">{_lang_xonx}</label><select name="xonx">
<option value="1on1">1on1</option>
<option value="2on2">2on2</option>
<option value="3on3">3on3</option>
<option value="4on4">4on4</option>
<option value="5on5">5on5</option>
<option value="6on6">6on6</option></select><br />
<label style="float:left; width:120px;">{_lang_game}</label><select name="game">
<option value="Counterstrike">Counterstrike</option>
<option value="CounterstrikeSource">CounterstrikeSource</option>
<option value="RaceDriverGrid">RaceDriverGrid</option></select><br />
<label style="float:left; width:120px;">{_lang_matchtype}</label><select name="matchtype">
<option value="ESL">ESL</option>
<option value="ESL Gahter">ESL Gahter</option>
<option value="Stammkneipe">Stammkneipe</option>
<option value="Clanwar">Clanwar</option>
<option value="Funwar">Funwar</option>
<option value="Training">Training</option></select><br />
<br />
<b>{_lang_otherinfo}</b>
<br />
<label style="float:left; width:120px;">{_lang_message}</label><textarea rows="5" name="message">{message}</textarea><br />
{ANTISPAM}
<label style="float:left; width:120px;"> </label><input type="submit" value="{_lang_send2}"><br />
</fieldset>
</form>
Demo www.BimmelBommel-Clan.de |
||
| Azubi Mitglied
Posts: 13 |
Hallo,
sieht nice aus deine "Demo"
Ich konnte nicht warten bis ich zu Hause bin und habe schon etwas rumgeschnippelt & weiter etwas probiert
Ich habe noch die Bezeichnung "Spiel" in "Gruppe" umgewandelt. Wie oder wo hast du das mit Germany gemacht, dass nicht so viele Länder zur Auswahl stehen? Meine fightus.htm sieht jetzt folgend aus: <form action="index.php?fightus" method="POST">
<fieldset>
<legend>{_lang_basicinfo}</legend>
<label style="float:left; width:140px;">{_lang_joininfo}</label>{_lang_plsfilloutallfields}<br />
<label style="float:left; width:140px;">{_lang_clanname}</label><input type="text" name="clanname" value="{clanname}"><br />
<label style="float:left; width:140px;">{_lang_clantag}</label><input type="text" name="clantag" value="{clantag}"><br />
<label style="float:left; width:140px;">{_lang_clanpage}</label><input type="text" name="clanpage" value="{clanpage}"><br />
<label style="float:left; width:140px;">{_lang_clancountry}</label><select name="clancountry">{clancountry}</select><br />
<label style="float:left; width:140px;">Kontaktperson</label><input type="text" name="kname" value="{kname}" /><br />
<label style="float:left; width:140px;">{_lang_mailaddy}</label><input type="text" name="mailaddy" value="{mailaddy}"><br />
<label style="float:left; width:140px;">{_lang_icqnumber}</label><input type="text" name="icqnumber" value="{icqnumber}"><br />
<br />
{_lang_matchinfo}
<br />
<label style="float:left; width:140px;">{_lang_meetingplace}</label><input type="text" name="meetingplace" value="{meetingplace}"><br />
<label style="float:left; width:140px;">{_lang_meetingtime}</label><input type="text" name="meetingtime" value="{meetingtime}"><br />
<label style="float:left; width:140px;">{_lang_squad}</label><select name="squad">{squad}</select><br />
<label style="float:left; width:140px;">{_lang_xonx}</label><select name="xonx">
<option value="1on1">1on1</option>
<option value="2on2">2on2</option>
<option value="3on3">3on3</option>
<option value="4on4">4on4</option>
<option value="5on5">5on5</option>
<option value="6on6">6on6</option></select><br />
<label style="float:left; width:140px;">Gruppe</label><select name="game">
<option value="Fun">Fun</option>
<option value="Alpha">Alpha</option>
<option value="Beta">Beta</option>
<option value="SK1">SK1</option>
<option value="ESL">ESL</option></select><br />
<label style="float:left; width:140px;">{_lang_matchtype}</label><select name="matchtype">
<option value="FunWar">FunWar</option>
<option value="ClanWar">ClanWar</option></select><br />
<br />
{_lang_otherinfo}
<br />
<label style="float:left; width:120px;">{_lang_message}</label><textarea cols="40" rows="5" name="message">{message}</textarea><br />
{ANTISPAM}
<label style="float:left; width:120px;"> </label><input type="submit" value="{_lang_send2}"><br />
</fieldset>
</form>
Meine Demo: www.nfc-berlin.de/index.php?fightus |
||
| [ Anmelden zum schreiben ] |