also ich nutze das selbe modul
jetzt mal ne Frage mit welchen Proram öfnest du die HTML Datei ich nutze NotePad++ da siht es so aus ^^
bevor du den Code bei dir rein Kopierst speicher dir das was du jetzt auf dem FTP hast und probiere erstmal
<script language="JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<div><div style="float:left";>Navigation: </div><div style="float:left;"><form name="navi">
<select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
<option value="admin.php?wars">[ bitte auswählen ]</option>
<option value="admin.php?wars-last">Last Wars</option>
<option value="admin.php?wars-next">Next Wars</option>
<option value="admin.php?wars-fightus">FightUs-Anfragen</option>
<option value="admin.php?wars-opponent">Gegnerverwaltung</option>
<option value="admin.php?wars-teams">Teamverwaltung</option>
<option value="admin.php?wars-check">Versionskontrolle</option>
</select>
</form>
</div>
</div>
<br />
<br />
<br />
<div>
<table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="include/images/icons/admin/wars_last.png" /></td><td width="30"></td><td valign="bottom"><h1>Lastwars</h1></td></tr></table>
<div class="info_box">
<b>Merke (Mapbilder)</b>
<br />
<span class="smalfont">
Die Mapbilder müssen in 'include/images/warmaps' kopiert werden.
Es muss eine .png, .jpg oder .gif-Datei sein.
Bsp.: de_dust.jpg , dann muss bei der Map de_dust eingetragen werden.
</span>
</div>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="60%" valign="top">
<form action="admin.php?wars-last" method="POST" name="form">
<input type="hidden" name="pkey" value="{pkey}" />
<input type="hidden" name="status" value="3" />
<table class="border" cellpadding="3" cellspacing="1" border="0">
{msg}
<tr class="Cdark">
<td colspan="2"><b>Gegner Wahl</b></td>
</tr><tr>
<td class="Cmite">Bitte einen zuvor erstellten Gegner auswählen...</td>
<td class="Cnorm"><select name="oid">{oid}</select></td>
</tr>
<tr class="Cdark">
<td colspan="2"><b>News-Optionen</b></td>
</tr><tr>
<td class="Cmite">News schreiben/editieren?</td>
<td class="Cnorm">Ja <input type="radio" name="news" value="0" />, Nein <input type="radio" name="news" value="1" checked="checked" /></td>
</tr>
<tr>
<td class="Cmite">Maps</td>
<td class="Cnorm"><input type="text" name="maps" size="50" value="{maps}"/></td>
</tr>
<tr>
<td class="Cmite">Lineup Gegner (Wird auch für Last Wars genutzt!)</td>
<td class="Cnorm"><input type="text" name="lineupopp" size="50" value="{lineupopp}"/></td>
</tr>
<tr>
<td class="Cmite">Statement Gegner</td>
<td class="Cnorm"><textarea cols="47" rows="5" name="oppstate">{oppstate}</textarea></td>
</tr>
<tr>
<td class="Cmite">Eigenes Lineup</td>
<td class="Cnorm"><input type="text" name="lineupowp" size="50" value="{lineupowp}"/></td>
</tr>
<tr>
<td class="Cmite">Eigenes Statement</td>
<td class="Cnorm"><textarea cols="47" rows="5" name="owpstate">{owpstate}</textarea></td>
</tr><tr class="Cdark">
<td colspan="2"><b>Matchinfo</b></td>
</tr><tr>
<td class="Cmite">Datum | Zeit</td>
<td class="Cnorm"><table cellpadding="0" cellspacing="0" border="0"><tr><td><input type="text" name="day" value="{day}" size="2"><b>.</b><input type="text" name="mon" value="{mon}" size="2"><b>.</b><input type="text" name="jahr" value="{jahr}" size="4"> <b>-</b> <input type="text" name="stu" value="{stu}" size="2"><b>:</b><input type="text" name="min" value="{min}" size="2"><b>:</b><input type="text" name="sek" value="{sek}" size="2"> </td><td><input type="checkbox" id="kalender"{kalck} value="yes" name="kalender" /></td><td><label for="kalender" style="cursor: pointer"><span class="smalfont">Kalender eintragen / ändern.</span></label></td></tr></table></td>
</tr><tr>
<td class="Cmite">Server</td>
<td class="Cnorm"><input type="Text" name="wo" value="{wo}" size="46" ></td>
</tr>
<tr>
<td class="Cmite"> » Password</td>
<td class="Cnorm"><input type="Text" name="pw" value="{pw}" size="46" ></td>
</tr>
<tr>
<td class="Cmite">TV (e.g. Source TV, HLTV)</td>
<td class="Cnorm"><input type="Text" name="tv" value="{tv}" size="46" ></td>
</tr>
<tr>
<td class="Cmite">Matchlink</td>
<td class="Cnorm"><input type="Text" name="mlink" value="{mlink}" size="46" ></td>
</tr><tr>
<td class="Cmite">Team</td>
<td class="Cnorm"><select name="tid">{tid}</select></td>
</tr><tr>
<td class="Cmite">XonX</td>
<td class="Cnorm"><select onchange="sichtbarA()" name="mod">{mod}<option value="neu">Neu:</option></select> <input type="text" name="newmod" /></td>
</tr><tr>
<td class="Cmite">Game</td>
<td class="Cnorm"><select onchange="sichtbarB()" name="game">{game}<option value="neu">Neu:</option></select> <input type="text" name="newgame" /></td>
</tr><tr>
<td class="Cmite">Matchtyp</td>
<td class="Cnorm"><select onchange="sichtbarC()" name="mtyp">{mtyp}<option value="neu">Neu:</option></select> <input type="text" name="newmtyp" /></td>
</tr>
<tr>
<td class="Cmite">Member</td>
<td class="Cnorm"><a href="javascript:manageMember()">Member die gespielt haben verwalten.</a></td>
</tr><tr>
<td class="Cmite">Ergebnis</td>
<td class="Cnorm"><select name="wlp">{wlp}</select></td>
</tr>
<tr>
<td class="Cnorm" colspan="2" width="100%">
<table cellpadding="1" cellspacing="1" border="0" class="border" width="100%">
<tr>
<td class="Cdark" colspan="2"><b>Map 1</b></td>
</tr><tr>
<td class="Cmite" width="20%">Name</td>
<td class="Cnorm" width="80%"><input type="text" name="map[1]" value="{map1}"/> </td>
</tr>
<tr>
<td class="Cmite" width="20%">Ergebnis</td>
<td class="Cnorm" width="80%"><input type="text" size="3" onKeyUp="setOWPsum()" name="owp[1]" value="{owp1}" /> :
<input type="text" size="3" onKeyUp="setOPPsum()" name="opp[1]" value="{opp1}" /><i> ( Wir : Gegner )</i></td>
</tr>
<tr>
<td class="Cmite" width="20%">Screenshots</td>
<td class="Cnorm"><a href="javascript:manageMap({pkey},1)">[1]</a>
<a href="javascript:manageMap({pkey},2)">[2]</a></td>
</tr>
<tr>
<td colspan="2" class="Cdark">
<b>Map 2</b>
</td>
</tr>
<tr>
<td class="Cmite" width="20%">Name</td>
<td class="Cnorm" width="80%"><input type="text" name="map[3]" value="{map3}" /></td>
</tr>
<tr>
<td width="20%" class="Cmite">Ergebnis</td>
<td class="Cnorm" width="80%"><input type="text" size="3" onKeyUp="setOWPsum()" name="owp[3]" value="{owp3}" /> :
<input type="text" size="3" onKeyUp="setOPPsum()" name="opp[3]" value="{opp3}" /><i> ( Wir : Gegner )</i></td>
</tr>
<tr>
<td width="20%" class="Cmite">Screenshots</td>
<td class="Cnorm" width="80%"><a href="javascript:manageMap({pkey},3)">[1]</a> <a href="javascript:manageMap({pkey},4)">[2]</a></td>
</tr>
<tr>
<td class="Cdark" colspan="2"><b>Map 3</b></td>
</tr><tr>
<td class="Cmite" width="20%">Name</td>
<td class="Cnorm" width="80%"><input type="text" name="map[5]" value="{map5}" /> </td>
</tr>
<tr>
<td class="Cmite" width="20%">Ergebnis</td>
<td class="Cnorm" width="80%"><input type="text" size="3" onKeyUp="setOWPsum()" name="owp[5]" value="{owp5}" /> :
<input type="text" size="3" onKeyUp="setOPPsum()" name="opp[5]" value="{opp5}" /><i> ( Wir : Gegner )</i></td>
</tr>
<tr>
<td class="Cmite" width="20%">Screenshots</td>
<td class="Cnorm"><a href="javascript:manageMap({pkey},5)">[1]</a>
<a href="javascript:manageMap({pkey},6)">[2]</a></td>
</tr>
<tr>
<td class="Cdark" colspan="2"><b>Map 4</b></td>
</tr><tr>
<td class="Cmite" width="20%">Name</td>
<td class="Cnorm" width="80%"><input type="text" name="map[7]" value="{map7}" /> </td>
</tr>
<tr>
<td class="Cmite" width="20%">Ergebnis</td>
<td class="Cnorm" width="80%"><input type="text" size="3" onKeyUp="setOWPsum()" name="owp[7]" value="{owp7}" /> :
<input type="text" size="3" onKeyUp="setOPPsum()" name="opp[7]" value="{opp7}" /><i> ( Wir : Gegner )</i></td>
</tr>
<tr>
<td class="Cmite" width="20%">Screenshots</td>
<td class="Cnorm"><a href="javascript:manageMap({pkey},7)">[1]</a>
<a href="javascript:manageMap({pkey},8)">[2]</a></td>
</tr><!--<tr>
<td><input type="text" name="map[5]" value="{map5}" /></td>
<td><input type="text" size="3" onKeyUp="setOPPsum()" name="opp[5]" value="{opp5}" /></td>
<td><input type="text" size="3" onKeyUp="setOWPsum()" name="owp[5]" value="{owp5}" /></td>
<td><a href="javascript:manageMap({pkey},5)">Bild</a></td>
</tr>-->
<tr>
<td colspan="2" class="Cdark"><b>Gesamt</b></td>
</tr>
<tr>
<td class="Cmite" width="20%">Ergebnis</td>
<td class="Cnorm" width="80%"><input type="text" size="3" name="sumowp" value="{owp}" /> :
<input type="text" size="3" name="sumopp" value="{opp}" /></td>
</tr>
</table>
</td>
</tr><tr>
<td class="Cmite">War-Bericht</td>
<td class="Cnorm"><textarea cols="47" rows="5" name="txt">{txt}</textarea></td>
</tr><tr class="Cdark">
<td></td>
<td><input type="submit" value="Absenden" name="sub" /></td>
</tr>
</table>
</form>
</td>
<td width="40%" valign="top">
<table class="border" cellpadding="3" cellspacing="1" border="0">
<tr class="Chead">
<td colspan="5">Übersicht</td>
</tr>
{EXPLODE}
<tr class="{class}">
<td>{team} vs. <img src="include/images/flags/{land2}" /> {gegner}</td>
<td>{erg}</td>
<td align="center"><a href="javascript:del('{id}')"><img src="include/images/icons/del.gif" alt="{_lang_delete}" title="{_lang_delete}" /></a></td>
<td align="center"><a href="admin.php?wars-last&pkey={id}"><img src="include/images/icons/edit.gif" alt="{_lang_change}" title="{_lang_change}" /></a></td>
<td align="center">
<a href="javascript:tm('{id}')">{topmatchstatus}</a>
</td>
</tr>
{EXPLODE}
</table>
{MPL}
</td>
</tr>
</table>
<script language="JavaScript" type="text/javascript">
<!--
function del ( id1 ) {
var x = confirm ( "do you really want to delete?" );
if ( x ) {
document.location.href="admin.php?wars-last&delete="+id1;
}
}
function tm ( id1 ) {
var x = confirm ( "Als Topmatch setzen?" );
if ( x ) {
document.location.href="admin.php?wars-last&topmatch="+id1;
}
}
function manageMap ( wid, mid ) {
if ( wid == 0 ) {
alert ( 'Bitte den Lastwar erst speichern und dann hier das Bild einfuegen!...' );
} else {
var Fenster = window.open ('admin.php?wars-last-upload=0&wid=' + wid + '&mid=' + mid, 'managemap', 'scrollbars=yes,height=150,width=325,left=300,top=50');
Fenster.focus();
}
}
function manageMember () {
if ( document.form.pkey.value == 0 ) {
alert ( 'Bitte den Lastwar erst speichern und dann hier die Member bearbeiten!...' );
} else {
var Fenster = window.open ('admin.php?wars-last-members&wid={pkey}', 'manageMember', 'scrollbars=yes,height=300,width=250,left=300,top=50');
Fenster.focus();
}
}
function setOPPsum () {
var summe = 0;
summe = summe + ( document.getElementsByName('opp[1]')[0].value * 1);
summe = summe + ( document.getElementsByName('opp[3]')[0].value * 1);
summe = summe + ( document.getElementsByName('opp[5]')[0].value * 1);
summe = summe + ( document.getElementsByName('opp[7]')[0].value * 1);
document.form.sumopp.value = summe;
}
function setOWPsum () {
var summe = 0;
summe = summe + ( document.getElementsByName('owp[1]')[0].value * 1);
summe = summe + ( document.getElementsByName('owp[3]')[0].value * 1);
summe = summe + ( document.getElementsByName('owp[5]')[0].value * 1);
summe = summe + ( document.getElementsByName('owp[7]')[0].value * 1);
document.form.sumowp.value = summe;
}
function sichtbarA(){
if(document.form.mod.value=="neu"){
document.form.newmod.style.visibility="visible";
} else {
document.form.newmod.style.visibility="hidden";
}
}
function sichtbarB() {
if(document.form.game.value=="neu"){
document.form.newgame.style.visibility="visible";
} else {
document.form.newgame.style.visibility="hidden";
}
}
function sichtbarC() {
if(document.form.mtyp.value=="neu"){
document.form.newmtyp.style.visibility="visible";
} else {
document.form.newmtyp.style.visibility="hidden";
}
}
function visitpage () {
var page = document.form.page.value;
var n = 'page';
var o = '';
var f = window.open (page, n, o);
f.focus();
}
sichtbarB();
sichtbarC();
sichtbarA();
//-->
</script>
</div>
Zuletzt modifiziert von MonMon am 19.04.2010 - 22:28:44