CINXE.COM
[Release] Formula 1 WebTip - Seite 52 - phpBB.de
<!DOCTYPE html> <html dir="ltr" lang="de"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>[Release] Formula 1 WebTip - Seite 52 - phpBB.de</title> <link rel="alternate" type="application/atom+xml" title="Feed - phpBB.de" href="/community/feed?sid=c8a1afd2db2efd9abf96793fb189e70a"> <link rel="alternate" type="application/atom+xml" title="Feed - Neuigkeiten" href="/community/feed/news?sid=c8a1afd2db2efd9abf96793fb189e70a"> <link rel="alternate" type="application/atom+xml" title="Feed - Neue Themen" href="/community/feed/topics?sid=c8a1afd2db2efd9abf96793fb189e70a"> <link rel="alternate" type="application/atom+xml" title="Feed - Aktive Themen" href="/community/feed/topics_active?sid=c8a1afd2db2efd9abf96793fb189e70a"> <link rel="alternate" type="application/atom+xml" title="Feed - Forum - phpBB 2.0: Mods in Entwicklung" href="/community/feed/forum/48?sid=c8a1afd2db2efd9abf96793fb189e70a"> <link rel="alternate" type="application/atom+xml" title="Feed - Thema - [Release] Formula 1 WebTip" href="/community/feed/topic/94133?sid=c8a1afd2db2efd9abf96793fb189e70a"> <link rel="canonical" href="https://www.phpbb.de/community/viewtopic.php?t=94133&start=510"> <!-- phpBB style name: phpBBdev1 Based on style: prosilver (this is the default phpBB3 style) Original author: Tom Beddard ( http://www.subBlue.com/ ) Modified by: phpBB.de --> <link href="./assets/css/font-awesome.min.css?assets_version=280" rel="stylesheet"> <link href="./styles/prosilver/theme/stylesheet.css?assets_version=280" rel="stylesheet" /> <link href="./styles/phpBBdev1/theme/stylesheet.css?assets_version=280" rel="stylesheet"> <link href="./styles/phpBBdev1/theme/de/stylesheet.css?assets_version=280" rel="stylesheet"> <link href="./styles/phpBBdev1/theme/images/favicon/mask-icon.svg?assets_version=280" rel="mask-icon" color="#3E647B" /> <!--[if lte IE 9]> <link href="./styles/prosilver/theme/tweaks.css?assets_version=280" rel="stylesheet"> <![endif]--> <link href="./ext/phpbbde/pastebin/styles/prosilver/theme/pastebin.css?assets_version=280" rel="stylesheet" media="screen"> <link href="./ext/rmcgirr83/contactadmin/styles/prosilver/theme/imageset.css?assets_version=280" rel="stylesheet" media="screen"> </head> <body id="phpbb" class="nojs notouch section-viewtopic ltr "> <div id="wrap" class="wrap"> <a id="top" class="top-anchor" accesskey="t"></a> <div id="page-header"> <div class="headerbar" role="banner"> <div class="inner"> <div id="site-description" class="site-description"> <a id="logo" class="logo" href="./../" title="Startseite"> <span class="site_logo"></span> </a> <h1>phpBB.de</h1> <p>phpBB.de - Die deutsche phpBB-Community</p> <p class="skiplink"><a href="#start_here">Zum Inhalt</a></p> </div> <div id="search-box" class="search-box search-header" role="search"> <form action="./search.php?sid=c8a1afd2db2efd9abf96793fb189e70a" method="get" id="search"> <fieldset> <input name="keywords" id="keywords" type="search" maxlength="128" title="Suche nach Wörtern" class="inputbox search tiny" size="20" value="" placeholder="Suche…" /> <button class="button button-search" type="submit" title="Suche"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">Suche</span> </button> <a href="./search.php?sid=c8a1afd2db2efd9abf96793fb189e70a" class="button button-search-end" title="Erweiterte Suche"> <i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">Erweiterte Suche</span> </a> <input type="hidden" name="sid" value="c8a1afd2db2efd9abf96793fb189e70a" /> </fieldset> </form> </div> <div id="phpbbde_navigation" class="phpbbde_navigation"> <div class="menu-button"> <a href="#" id="navi-toggle" title="Menü anzeigen">Menü</a> </div> <ul id="mainnavi" class="mainnavi"> <li class="mainnavi-title">phpBB.de - Navigation</li> <li class="navi-button but-about"> <a href="./../phpbbde/?sid=c8a1afd2db2efd9abf96793fb189e70a"><span class="subnavi-toggle"></span>Über uns</a> <ul class="subnavi"> <li><a href="./../phpbbde/chronik/?sid=c8a1afd2db2efd9abf96793fb189e70a">phpBB.de-Chronik <span>Die Geschichte von phpBB.de in Wort und Bild</span></a></li> <li><a href="./../phpbbde/team/?sid=c8a1afd2db2efd9abf96793fb189e70a">Das Team <span>Erfahre mehr über das Team hinter phpBB.de</span></a></li> <li><a href="./../phpbbde/fragen/?sid=c8a1afd2db2efd9abf96793fb189e70a">Fragen an das Team <span>Ihr habt gefragt, wir haben geantwortet</span></a></li> <li><a href="/community/contactadmin?sid=c8a1afd2db2efd9abf96793fb189e70a">Kontaktformular <span>Formular zur Kontaktaufnahme mit dem phpBB.de-Team</span></a></li> <li><a href="./../phpbbde/impressum/?sid=c8a1afd2db2efd9abf96793fb189e70a">Impressum <span>Das phpBB.de-Impressum</span></a></li> </ul> </li> <li class="navi-button but-phpbb"> <a href="./../infos/?sid=c8a1afd2db2efd9abf96793fb189e70a"><span class="subnavi-toggle"></span>phpBB</a> <ul class="subnavi"> <li><a href="./../infos/?sid=c8a1afd2db2efd9abf96793fb189e70a">Infos über phpBB <span>Erfahre mehr über phpBB</span></a></li> <li><a href="./../infos/tour/?sid=c8a1afd2db2efd9abf96793fb189e70a">Die phpBB-Tour <span>Was ist phpBB und wo bekomme ich es?</span></a></li> <li><a href="./../infos/features/?sid=c8a1afd2db2efd9abf96793fb189e70a">Feature-Vergleich <span>Lerne alle Features kennen, die dir phpBB bietet</span></a></li> <li><a href="./../infos/anpassen/?sid=c8a1afd2db2efd9abf96793fb189e70a">phpBB anpassen <span>Nutze Erweiterungen und Styles, um phpBB deinen Wünschen anzupassen</span></a></li> <li><a href="./../infos/entwickler/3.3/?sid=c8a1afd2db2efd9abf96793fb189e70a">Informationen für Entwickler <span>phpBB-Projektarchiv, nützliche Links, ...</span></a></li> <li><a href="./../xref/3.3/?sid=c8a1afd2db2efd9abf96793fb189e70a">Cross-Referenz 3.3 <span>Cross-Referenz des phpBB-Quellcodes</span></a></li> </ul> </li> <li class="navi-button but-downloads"> <a href="./../downloads/?sid=c8a1afd2db2efd9abf96793fb189e70a"><span class="subnavi-toggle"></span>Downloads</a> <ul class="subnavi"> <li><a href="./../downloads/pakete/?sid=c8a1afd2db2efd9abf96793fb189e70a">phpBB-Pakete <span>Die aktuellen dt. Komplett- und Updatepakete von phpBB</span></a></li> <li><a href="./../downloads/sprachpakete/?sid=c8a1afd2db2efd9abf96793fb189e70a">Sprachpakete <span>Die aktuellen deutschen Sprachdateien für phpBB</span></a></li> <li><a href="./../downloads/entwicklung/?sid=c8a1afd2db2efd9abf96793fb189e70a">Entwicklung <span>Entwickler-Downloads</span></a></li> </ul> </li> <li class="navi-button but-docu"> <a href="./../support/?sid=c8a1afd2db2efd9abf96793fb189e70a"><span class="subnavi-toggle"> </span>Support</a> <ul class="subnavi"> <li><a href="./../support/doku/quickstart/3.3/?sid=c8a1afd2db2efd9abf96793fb189e70a">Schnelleinstieg <span>Erklärt dir die Einrichtung deines phpBB Boards</span></a></li> <li><a href="https://www.phpbb.de/help/faq">Häufig gestellte Fragen <span>Häufige Fragen im Zusammenhang mit der Nutzung von phpBB</span></a></li> <li><a href="./../kb/index?sid=c8a1afd2db2efd9abf96793fb189e70a">Knowledge Base <span>Unsere Wissensdatenbank mit vielen und hilfreichen Artikeln</span></a></li> <li><a href="./../support/videos/?sid=c8a1afd2db2efd9abf96793fb189e70a">Videos <span>Unsere Supportvideos erklären Funktionen von phpBB</span></a></li> <li><a href="./../support/doku/?sid=c8a1afd2db2efd9abf96793fb189e70a">Dokumentation <span>Hier findest Du Dokumentationen zu phpBB</span></a></li> <li><a href="./../support/doku/perror/?sid=c8a1afd2db2efd9abf96793fb189e70a">MySQL-Fehlercodes <span>Mysql Fehlercodes dokumentiert</span></a></li> <li><a href="./../support/doku/htpasswd/?sid=c8a1afd2db2efd9abf96793fb189e70a">.htpasswd-Generator <span>Einfach zu bedienener Generator für .htpasswd Dateien</span></a></li> </ul> </li> <li class="navi-button but-community"> <a href="./../community/?sid=c8a1afd2db2efd9abf96793fb189e70a"><span class="subnavi-toggle"> </span>Community</a> <ul class="subnavi"> <li><a href="./../community/viewforum.php?f=145&sid=c8a1afd2db2efd9abf96793fb189e70a">Supportforen <span>Hilfe bei der Installation und Benutzung</span></a></li> <li><a href="./../community/viewforum.php?f=104&sid=c8a1afd2db2efd9abf96793fb189e70a">Communityforen<span>Allgemeine Diskussionen und phpBB-Usergroups</span></a></li> <li><a href="./../community/viewforum.php?f=148&sid=c8a1afd2db2efd9abf96793fb189e70a">Extension-Foren<span>Auf der Suche nach einer Extension? Fragen zu einer Extension?</span></a></li> <li><a href="./../community/viewforum.php?f=152&sid=c8a1afd2db2efd9abf96793fb189e70a">Styleforen<span>Du suchst einen neuen Style oder hast Probleme mit einem Style?</span></a></li> <li><a href="./../kb/knigge?sid=c8a1afd2db2efd9abf96793fb189e70a">Der kleine phpBB.de-Knigge <span>Eine kleine Liste von wichtigen Regeln auf phpBB.de</span></a></li> <li><a href="./../phpbbde/chat/?sid=c8a1afd2db2efd9abf96793fb189e70a">Discord / Chat <span>Besuche den Discord-Server oder den Chat auf Freenode</span></a></li> </ul> </li> </ul> </div> </div> </div> <div class="navbar" role="navigation"> <div class="inner"> <ul id="nav-main" class="nav-main linklist" role="menubar"> <li id="quick-links" class="quick-links dropdown-container responsive-menu" data-skip-responsive="true"> <a href="#" class="dropdown-trigger"> <i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>Schnellzugriff</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents" role="menu"> <li class="separator"></li> <li> <a href="./search.php?search_id=unanswered&sid=c8a1afd2db2efd9abf96793fb189e70a" role="menuitem"> <i class="icon fa-file-o fa-fw icon-gray" aria-hidden="true"></i><span>Unbeantwortete Themen</span> </a> </li> <li> <a href="./search.php?search_id=active_topics&sid=c8a1afd2db2efd9abf96793fb189e70a" role="menuitem"> <i class="icon fa-file-o fa-fw icon-blue" aria-hidden="true"></i><span>Aktive Themen</span> </a> </li> <li class="separator"></li> <li> <a href="./search.php?sid=c8a1afd2db2efd9abf96793fb189e70a" role="menuitem"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span>Suche</span> </a> </li> <li class="separator"></li> <li> <a href="./../phpbbde/team.php?sid=c8a1afd2db2efd9abf96793fb189e70a" role="menuitem"> <i class="icon fa-shield fa-fw" aria-hidden="true"></i><span>Das Team</span> </a> </li> <li class="separator"></li> </ul> </div> </li> <li data-skip-responsive="true"> <a href="./../help/faq?sid=c8a1afd2db2efd9abf96793fb189e70a" rel="help" title="Häufig gestellte Fragen" role="menuitem"> <i class="icon fa-question-circle fa-fw" aria-hidden="true"></i><span>FAQ</span> </a> </li> <li data-last-responsive="true"><a href="/community/pastebin/?sid=c8a1afd2db2efd9abf96793fb189e70a" title="Pastebin"><i class="icon fa-clipboard fa-fw" aria-hidden="true"></i><span>Pastebin</span></a></li> <li class="rightside" data-skip-responsive="true"> <a href="./ucp.php?mode=login&redirect=viewtopic.php%3Fstart%3D510%26t%3D94133&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Anmelden" accesskey="x" role="menuitem"> <i class="icon fa-power-off fa-fw" aria-hidden="true"></i><span>Anmelden</span> </a> </li> <li class="rightside" data-skip-responsive="true"> <a href="./ucp.php?mode=register&sid=c8a1afd2db2efd9abf96793fb189e70a" role="menuitem"> <i class="icon fa-pencil-square-o fa-fw" aria-hidden="true"></i><span>Registrieren</span> </a> </li> </ul> <ul id="nav-breadcrumbs" class="nav-breadcrumbs linklist navlinks" role="menubar"> <li class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList"> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope><a itemprop="item" href="./../" data-navbar-reference="home"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span itemprop="name">Startseite</span></a><meta itemprop="position" content="1" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope><a itemprop="item" href="./index.php?sid=c8a1afd2db2efd9abf96793fb189e70a" accesskey="h" data-navbar-reference="index"><span itemprop="name">Community</span></a><meta itemprop="position" content="2" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope data-forum-id="100"><a itemprop="item" href="./viewforum.php?f=100&sid=c8a1afd2db2efd9abf96793fb189e70a"><span itemprop="name">Frühere Versionen</span></a><meta itemprop="position" content="3" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope data-forum-id="135"><a itemprop="item" href="./viewforum.php?f=135&sid=c8a1afd2db2efd9abf96793fb189e70a"><span itemprop="name">Foren für phpBB 2.0</span></a><meta itemprop="position" content="4" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope data-forum-id="101"><a itemprop="item" href="./viewforum.php?f=101&sid=c8a1afd2db2efd9abf96793fb189e70a"><span itemprop="name">phpBB 2.0 Mods</span></a><meta itemprop="position" content="5" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope data-forum-id="48"><a itemprop="item" href="./viewforum.php?f=48&sid=c8a1afd2db2efd9abf96793fb189e70a"><span itemprop="name">phpBB 2.0: Mods in Entwicklung</span></a><meta itemprop="position" content="6" /></span> </li> <li class="rightside responsive-search"> <a href="./search.php?sid=c8a1afd2db2efd9abf96793fb189e70a" title="Zeigt die erweiterten Suchoptionen an" role="menuitem"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">Suche</span> </a> </li> </ul> </div> </div> </div> <a id="start_here" class="anchor"></a> <div id="page-body" class="page-body" role="main"> <h2 class="topic-title"><a href="./viewtopic.php?t=94133&start=510&sid=c8a1afd2db2efd9abf96793fb189e70a">[Release] Formula 1 WebTip</a></h2> <!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body --> <div style="display: none !important;">In diesem Forum können Mod-Autoren ihre Mods vorstellen, die sich noch im Entwicklungsstatus befinden. Der Einbau in Foren im produktiven Betrieb wird nicht empfohlen.<br /></div> <div class="rules"> <div class="inner"> <strong>Forumsregeln</strong><br /> <strong class="text-strong">phpBB 2.0 hat das Ende seiner Lebenszeit überschritten</strong><br> phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden. </div> </div> <div class="action-bar bar-top"> <a href="./posting.php?mode=reply&t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a" class="button" title="Antwort erstellen"> <span>Antworten</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i> </a> <div class="dropdown-container dropdown-button-control topic-tools"> <span title="Themen-Optionen" class="button button-secondary dropdown-trigger dropdown-select"> <i class="icon fa-wrench fa-fw" aria-hidden="true"></i> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents"> <li> <a href="./viewtopic.php?t=94133&start=510&sid=c8a1afd2db2efd9abf96793fb189e70a&view=print" title="Druckansicht" accesskey="p"> <i class="icon fa-print fa-fw" aria-hidden="true"></i><span>Druckansicht</span> </a> </li> </ul> </div> </div> <div class="search-box" role="search"> <form method="get" id="topic-search" action="./search.php?sid=c8a1afd2db2efd9abf96793fb189e70a"> <fieldset> <input class="inputbox search tiny" type="search" name="keywords" id="search_keywords" size="20" placeholder="Thema durchsuchen…" /> <button class="button button-search" type="submit" title="Suche"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">Suche</span> </button> <a href="./search.php?sid=c8a1afd2db2efd9abf96793fb189e70a" class="button button-search-end" title="Erweiterte Suche"> <i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">Erweiterte Suche</span> </a> <input type="hidden" name="t" value="94133" /> <input type="hidden" name="sf" value="msgonly" /> <input type="hidden" name="sid" value="c8a1afd2db2efd9abf96793fb189e70a" /> </fieldset> </form> </div> <div class="pagination"> 520 Beiträge <ul> <li class="dropdown-container dropdown-button-control dropdown-page-jump page-jump"> <a class="button button-icon-only dropdown-trigger" href="#" title="Klicke, um auf Seite … zu gehen" role="button"><i class="icon fa-level-down fa-rotate-270" aria-hidden="true"></i><span class="sr-only">Seite <strong>52</strong> von <strong>52</strong></span></a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents"> <li>Gehe zu Seite:</li> <li class="page-jump-form"> <input type="number" name="page-number" min="1" max="999999" title="Gib die Nummer der Seite an, zu der du gehen möchtest." class="inputbox tiny" data-per-page="10" data-base-url="./viewtopic.php?t=94133&amp;sid=c8a1afd2db2efd9abf96793fb189e70a" data-start-name="start" /> <input class="button2" value="Los" type="button" /> </li> </ul> </div> </li> <li class="arrow previous"><a class="button button-icon-only" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a&start=500" rel="prev" role="button"><i class="icon fa-chevron-left fa-fw" aria-hidden="true"></i><span class="sr-only">Vorherige</span></a></li> <li><a class="button" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a" role="button">1</a></li> <li class="ellipsis" role="separator"><span>…</span></li> <li><a class="button" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a&start=470" role="button">48</a></li> <li><a class="button" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a&start=480" role="button">49</a></li> <li><a class="button" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a&start=490" role="button">50</a></li> <li><a class="button" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a&start=500" role="button">51</a></li> <li class="active"><span>52</span></li> </ul> </div> </div> <div id="p1151164" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile1151164"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="avatar"><img class="avatar" src="./download/file.php?avatar=19974_1268110190.gif" width="80" height="67" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a> </dt> <dd class="profile-rank">Mitglied</dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=19974&sr=posts&sid=c8a1afd2db2efd9abf96793fb189e70a">635</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 11.07.2004 10:04</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Berlin</dd> </dl> <div class="postbody"> <div id="post_content1151164"> <h3 class="first"> <a href="./viewtopic.php?p=1151164&sid=c8a1afd2db2efd9abf96793fb189e70a#p1151164">Re: [Release] Formula 1 WebTip - Änderung für 2010</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1151164&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1151164&sid=c8a1afd2db2efd9abf96793fb189e70a#p1151164" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a></strong> » </span><time datetime="2009-12-27T11:10:41+00:00">27.12.2009 12:10</time> </p> <div class="content">Hi! <img class="smilies" src="./images/smilies/icon_cool.gif" width="15" height="17" alt="8)" title="Fetzig"> <br> <br> Anbei die an den geänderten Regeln für 2010 angepassten Dateien. Das betrifft die neue Punktevergabe (25-20-15-10-8-6-5-3-2-1) und 13 statt 10 Teams mit 26 Fahrer am Start. Dafür muss doch etwas mehr angepasst werden. Also schön ein Backup der alten Dateien machen und durch diese neuen ersetzen.<br> <br> <strong class="text-strong">formel.php</strong><br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><?php /*************************************************************************** * formel.php * ------------------- * title : Formula 1 WebTipp * version : 1.0.1 incl. FaceLift 3.1.fixed * begin : Saturday, Jul 30, 2005 * copyright : (C) 2005 AceVentura * email : 2714323@web.de * email : 2714323@web.de * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ define('IN_PHPBB', true); define('ON_FORMEL', true); $phpbb_root_path = './'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); include($phpbb_root_path . 'includes/functions_formel.'.$phpEx); // // Start session management // $userdata = session_pagestart($user_ip, PAGE_FORMEL); init_userprefs($userdata); include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_formel.' . $phpEx); // // Check login status // if ( !$userdata['session_logged_in'] ) { redirect(append_sid("login.$phpEx")); } // // Set template vars // $page_title = $lang['formel_title']; include($phpbb_root_path . 'includes/page_header.'.$phpEx); $template->set_filenames(array( 'body' => 'formel_body.tpl') ); // // Get config values // $formel_config = get_formel_config(); $formel_forum_id = $formel_config['forum_id']; $formel_group_id = $formel_config['restrict_to']; $formel_mod_id = $formel_config['mod_id']; // // Check auth status // if ( $formel_group_id != 0 && !get_formel_auth() && $userdata['user_level'] != ADMIN && $userdata['user_id'] != $formel_mod_id ) { $auth_msg = sprintf($lang['formel_access_denied'], '<a href="' . append_sid("groupcp.$phpEx?g=$formel_group_id") . '" class="gen">', '</a>', '<a href="'.append_sid("index.$phpEx").'" class="gen">', '</a>'); message_die(GENERAL_MESSAGE, $auth_msg); } // // Check buttons & data // $race_offset = ( isset($HTTP_POST_VARS['race_offset']) ) ? intval ($HTTP_POST_VARS['race_offset']) : 0; $race_id = ( isset($HTTP_POST_VARS['race_id']) ) ? intval ($HTTP_POST_VARS['race_id']) : 0; $next = ( isset($HTTP_POST_VARS['next']) ) ? $HTTP_POST_VARS['next'] : $HTTP_GET_VARS['next']; $prev = ( isset($HTTP_POST_VARS['prev']) ) ? $HTTP_POST_VARS['prev'] : $HTTP_GET_VARS['prev']; $place_my_tipp = ( isset($HTTP_POST_VARS['place_my_tipp']) ) ? $HTTP_POST_VARS['place_my_tipp'] : $HTTP_GET_VARS['place_my_tipp']; $edit_my_tipp = ( isset($HTTP_POST_VARS['edit_my_tipp']) ) ? $HTTP_POST_VARS['edit_my_tipp'] : $HTTP_GET_VARS['edit_my_tipp']; $del_tipp = ( isset($HTTP_POST_VARS['del_tipp']) ) ? $HTTP_POST_VARS['del_tipp'] : $HTTP_GET_VARS['del_tipp']; $user_id = $userdata['user_id']; $my_tipp_array = array(); $my_tipp = ''; $tipp_time = ( isset($HTTP_POST_VARS['tipp_time']) ) ? intval ($HTTP_POST_VARS['tipp_time']) : 0; // // Check if the user want to see prev/next race // if ($next) { $race_offset++; } else if ($prev) { $race_offset--; } // // Delete a tipp // if ( $del_tipp ) { formel_del_tip($user_id,$race_id); } // // Add/edit a tipp // //if ( ($place_my_tipp || $edit_my_tipp) && $tipp_time > time() - $formel_config['deadline_offset'] ) if ( ($place_my_tipp || $edit_my_tipp) && $tipp_time - $formel_config['deadline_offset'] >= time() ) { for ($i = 0; $i < 10; $i++) { $value = $HTTP_POST_VARS['place'.($i+1)]; if (checkarrayforvalue($value,$my_tipp_array)) { $tipp_msg = sprintf($lang['formel_doublicate_values'], '<a href="javascript:history.back()" class="gen">', '</a>', '<a href="'.append_sid("index.$phpEx").'" class="gen">', '</a>'); message_die(GENERAL_MESSAGE, $tipp_msg); } $my_tipp_array[$i] = $value; } $my_tipp_array[11] = $HTTP_POST_VARS['place11']; $my_tipp_array[12] = $HTTP_POST_VARS['place12']; $my_tipp = implode(",",$my_tipp_array); if ($place_my_tipp) { $sql = "INSERT INTO " . FORMEL_TIPPS_TABLE . " (tipp_id,tipp_user,tipp_race,tipp_result,tipp_points) VALUES ('',$user_id,$race_id,'$my_tipp',0)"; } else { $sql = "UPDATE " . FORMEL_TIPPS_TABLE . " SET tipp_result = '$my_tipp' WHERE tipp_user = $user_id AND tipp_race = $race_id"; } if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } $tipp_msg = sprintf($lang['formel_accepted_tipp'], '<a href="'.append_sid("formel.$phpEx").'" class="gen">', '</a>', '<a href="'.append_sid("index.$phpEx").'" class="gen">', '</a>'); message_die(GENERAL_MESSAGE, $tipp_msg); } // // Get all races // $races = get_formel_races(); $current_time = time(); // // Get all teams // $teams = get_formel_teams(); // // Get all drivers // $drivers = get_formel_drivers(); $driversCOMBODATA = get_formel_drivers_data(); // // Get all tipps and fill Top10 // $sql = "SELECT sum(tipp_points) AS total_points, tipp_user FROM " . FORMEL_TIPPS_TABLE . " GROUP BY tipp_user ORDER BY total_points DESC LIMIT 6"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query tipps', '', __LINE__, __FILE__, $sql); } $first_rank = $phpbb_root_path . "images/formel/goldpokal.gif"; $secound_rank = $phpbb_root_path . "images/formel/silberpokal.gif"; $third_rank = $phpbb_root_path . "images/formel/bronzepokal.gif"; $rank = $real_rank = 0; $previous_points = false; while ($row = $db->sql_fetchrow($result)) { $real_rank++; if($row['total_points'] != $previous_points) { $rank = $real_rank; $previous_points = $row['total_points']; } if ($rank === 1) { $rank_img = '<img src="' . $first_rank . '" alt="1. Platz" title="1. Platz" />'; } elseif ($rank === 2) { $rank_img = '<img src="' . $secound_rank . '" alt="2. Platz" title="2. Platz" />'; } elseif ($rank === 3) { $rank_img = '<img src="' . $third_rank . '" alt="3. Platz" title="3. Platz" />'; } else { $rank_img = $rank; } $tipp_user_row = get_userdata($row['tipp_user']); $tipp_username = $tipp_user_row['username']; $template->assign_block_vars('top_tippers', array( 'RANK' => $rank_img, 'TIPPER_NAME' => $tipp_username, 'TIPPER_POINTS' => $row['total_points']) ); } $db->sql_freeresult($result); // // Get all wm points and fill Top10 drivers // $sql = "SELECT sum(wm_points) AS total_points, wm_driver FROM " . FORMEL_WM_TABLE . " GROUP BY wm_driver ORDER BY total_points DESC LIMIT 6"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query drivers', '', __LINE__, __FILE__, $sql); } $first_rank = $phpbb_root_path . "images/formel/goldpokal.gif"; $secound_rank = $phpbb_root_path . "images/formel/silberpokal.gif"; $third_rank = $phpbb_root_path . "images/formel/bronzepokal.gif"; $rank = $real_rank = 0; $previous_points = false; while ($row = $db->sql_fetchrow($result)) { $real_rank++; if($row['total_points'] != $previous_points) { $rank = $real_rank; $previous_points = $row['total_points']; } if ($rank === 1) { $rank_img = '<img src="' . $first_rank . '" alt="1. Platz" title="1. Platz" />'; } elseif ($rank === 2) { $rank_img = '<img src="' . $secound_rank . '" alt="2. Platz" title="2. Platz" />'; } elseif ($rank === 3) { $rank_img = '<img src="' . $third_rank . '" alt="3. Platz" title="3. Platz" />'; } else { $rank_img = $rank; } $wm_drivername = $drivers[$row['wm_driver']]['driver_name']; $template->assign_block_vars('top_drivers', array( 'RANK' => $rank_img, 'WM_DRIVERNAME' => $wm_drivername, 'WM_POINTS' => $row['total_points']) ); } $db->sql_freeresult($result); // // Get all wm points and fill Top10 teams // $sql = "SELECT sum(wm_points) AS total_points, wm_team FROM " . FORMEL_WM_TABLE . " GROUP BY wm_team ORDER BY total_points DESC LIMIT 6"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query teams', '', __LINE__, __FILE__, $sql); } $first_rank = $phpbb_root_path . "images/formel/goldpokal.gif"; $secound_rank = $phpbb_root_path . "images/formel/silberpokal.gif"; $third_rank = $phpbb_root_path . "images/formel/bronzepokal.gif"; $rank = $real_rank = 0; $previous_points = false; while ($row = $db->sql_fetchrow($result)) { /* //FIA Urteil McLaren if($row['wm_team'] == 1) // Die Team ID von McLaren Mercedes { continue; // Es wird keine Berechnung für dieses Team durchgefuehrt. } // ENDE FIA Urteil McLaren */ $real_rank++; if($row['total_points'] != $previous_points) { $rank = $real_rank; $previous_points = $row['total_points']; } if ($rank === 1) { $rank_img = '<img src="' . $first_rank . '" alt="1. Platz" title="1. Platz" />'; } elseif ($rank === 2) { $rank_img = '<img src="' . $secound_rank . '" alt="2. Platz" title="2. Platz" />'; } elseif ($rank === 3) { $rank_img = '<img src="' . $third_rank . '" alt="3. Platz" title="3. Platz" />'; } else { $rank_img = $rank; } $wm_teamname = $teams[$row['wm_team']]['team_name']; $template->assign_block_vars('top_teams', array( 'RANK' => $rank_img, 'WM_TEAMNAME' => $wm_teamname, 'WM_POINTS' => $row['total_points']) ); } $db->sql_freeresult($result); // // Find current race // for ($i = 0; $i < count($races); $i++) { if ($races[$i]['race_time'] > $current_time - $formel_config['event_change']) { // Check for a overflow $race_offset = ($i + $race_offset == count($races)) ? 0-$i : $race_offset; $race_offset = ($i + $race_offset < 0) ? count($races)-1-$i : $race_offset; // Define current race incl. user given offset $chosen_race = $i + $race_offset; $user_tipp_points = 0; $race_id = $races[$chosen_race]['race_id']; $user_id = $userdata['user_id']; // Get race image and data $race_img = $races[$chosen_race]['race_img']; $race_img_full = $races[$chosen_race]['race_img']; $race_img = ($race_img == '') ? '<img src="' . $phpbb_root_path . 'images/formel/' . $formel_config['no_race_img'] . '" width="' . $formel_config['race_img_width'] . '" height="' . $formel_config['race_img_height'] . '" alt="" />' : '<img src="' . $phpbb_root_path . 'images/formel/' . $race_img . '" width="' . $formel_config['race_img_width'] . '" height="' . $formel_config['race_img_height'] . '" alt="" />'; $template->assign_block_vars('racerow', array( 'RACEIMG' => $race_img, 'RACEIMG_FULL' => $race_img_full, 'RACENAME' => $races[$chosen_race]['race_name'], 'RACELENGTH' => $races[$chosen_race]['race_length'] . ' km', 'RACEDEBUT' => $races[$chosen_race]['race_debut'], 'RACEDISTANCE' => $races[$chosen_race]['race_distance'] . ' km', 'RACELAPS' => $races[$chosen_race]['race_laps'], 'RACETIME' => create_date($board_config['default_dateformat'], $races[$chosen_race]['race_time'], $board_config['board_timezone'], 0), 'RACEDEAD' => create_date($board_config['default_dateformat'], $races[$chosen_race]['race_time'] - $formel_config['deadline_offset'], $board_config['board_timezone'], 0)) ); if ( $formel_config['show_gfxr'] == 1 ) { $template->assign_block_vars('racerow.racegfx', array()); } // Find current tippers and their points // Get tipp data $sql = "SELECT * FROM " . FORMEL_TIPPS_TABLE . " WHERE tipp_race = $race_id ORDER BY tipp_points DESC"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query tipp data', '', __LINE__, __FILE__, $sql); } $tippers_active = $db->sql_numrows($result); $cur_counter = 1; while ($row = $db->sql_fetchrow($result)) { $current_tippers_userdata = get_userdata($row['tipp_user']); $current_tipp_id = $row['tipp_id']; $current_tippers_username = $current_tippers_userdata['username'] . ' (' . $row['tipp_points'] . ')'; $separator = ( $cur_counter == $tippers_active ) ? '': ', '; $template->assign_block_vars('tipps_made', array( 'USERTIPP' => append_sid("./usertipp.$phpEx?tipp=$current_tipp_id&race=$chosen_race"), 'SEPARATOR' => $separator, 'USERNAME' => $current_tippers_username) ); $cur_counter++; } if ( $tippers_active == 0 ) { $template->assign_block_vars('no_tipps_made', array( 'NOTIPPS' => $lang['formel_no_players']) ); } $db->sql_freeresult($result); // Get tipp data $sql = "SELECT * FROM " . FORMEL_TIPPS_TABLE . " WHERE tipp_race = $race_id AND tipp_user = $user_id"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query tipp data', '', __LINE__, __FILE__, $sql); } $tipp_active = $db->sql_numrows($result); $delete_button = ''; $tipp_button = $lang['formel_add_tipp']; $tipp_button_name = 'place_my_tipp'; $tipp_data = $db->sql_fetchrowset($result); $db->sql_freeresult($result); // Check if a tip has been made before if ($tipp_active > 0) { $tipp_button = $lang['formel_edit_tipp']; $tipp_button_name = 'edit_my_tipp'; $delete_button = '&nbsp;<input class="mainoption" type="submit" name="del_tipp" value="' . $lang['formel_del_tipp'] . '" />'; $tipp_array = explode(",",$tipp_data[0]['tipp_result']); $user_tipp_points = $tipp_data[0]['tipp_points']; for ($i = 0; $i < count($tipp_array) - 2; $i++) { $results = explode(",",$races[$chosen_race]['race_result']); $position = ($i == 0) ? $lang['formel_race_winner'] : $i+1 . '. ' . $lang['formel_place']; $box_name = 'place' . ($i+1); $single_points = ''; if ($races[$chosen_race]['race_time'] - $formel_config['deadline_offset'] < $current_time) { //actual Race is over $driverid = $drivers[$tipp_array[$i]]['driver_id']; $drivercombo = $drivers[$tipp_array[$i]]['driver_name']; $driverteamname = $drivers[$tipp_array[$i]]['driver_team_name']; $gfxdrivercar = $drivers[$tipp_array[$i]]['driver_car']; $gfxdrivercombo = $drivers[$tipp_array[$i]]['driver_img']; //Recalc Tipp Points for every single placed Tipp if ($driverid == $results[$i]) { $single_points += $formel_config['points_placed']; } for ($j = 0; $j < count($tipp_array) - 2; $j++) { if ($driverid == $results[$j]) { $single_points += $formel_config['points_mentioned']; } } if ($single_points == 0) $single_points=''; // End Recalc } else { $drivercombo = '<select name="' . $box_name . '" size="1">'; for ($k = 0; $k < count($driversCOMBODATA); $k++) { $this_driver_id = $driversCOMBODATA[$k]['driver_id']; $this_driver_name = $driversCOMBODATA[$k]['driver_name']; $selected = ( $this_driver_id == $tipp_array[$i]) ? 'selected="selected"' : ''; $drivercombo .= '<option value="' . $this_driver_id . '" ' . $selected . '>' . $this_driver_name . '</option>'; } $drivercombo .= '</select>'; } if ( $formel_config['show_gfx'] == 1 ) { //Layout Cosmetic if ($races[$chosen_race]['race_time'] - $formel_config['deadline_offset'] < $current_time) { //Race is over - Show Driverimage and so on $template->assign_block_vars('gfx_users_tipp', array( 'L_PLACE' => '&nbsp;' . $position . '<br />', 'DRIVERCOMBO' => $drivercombo . '<br />', 'DRIVERTEAMNAME' => '&nbsp;' . $driverteamname, 'GFXDRIVERCOMBO' => $gfxdrivercombo, 'GXFDRIVERCAR' => $gfxdrivercar, 'SINGLE_POINTS' => $single_points) ); } else { // Race is not over - Show Position instead of Driver Image $template->assign_block_vars('gfx_users_tipp', array( 'L_PLACE' => '', 'DRIVERCOMBO' => $drivercombo, 'DRIVERTEAMNAME' => $driverteamname, 'GFXDRIVERCOMBO' => $position, 'GXFDRIVERCAR' => $gfxdrivercar, 'SINGLE_POINTS' => $single_points) ); } } else { $template->assign_block_vars('users_tipp', array( 'L_PLACE' => $position, 'DRIVERCOMBO' => $drivercombo, 'SINGLE_POINTS' => $single_points) ); } } if ($races[$chosen_race]['race_time'] - $formel_config['deadline_offset'] < $current_time) { //actual Race is over $single_fastest = ''; $single_tired = ''; $drivercombo = $drivers[$tipp_array[10]]['driver_name']; $tiredcombo = $tipp_array[11]; //Recalc Tipp Points for Tipp Fastest Driver and Tired if ($tipp_array[10] == $results[10]) { $single_fastest += $formel_config['points_fastest']; } if ($tipp_array[11] == $results[11]) { $single_tired += $formel_config['points_tired']; } //End Recalc } else { $drivercombo = '<select name="place11" size="1">'; for ($k = 0; $k < count($driversCOMBODATA); $k++) { $this_driver_id = $driversCOMBODATA[$k]['driver_id']; $this_driver_name = $driversCOMBODATA[$k]['driver_name']; $selected = ( $this_driver_id == $tipp_array[10]) ? 'selected="selected"' : ''; $drivercombo .= '<option value="' . $this_driver_id . '" ' . $selected .'>' . $this_driver_name . '</option>'; } $drivercombo .= '</select>'; $tiredcombo = '<select name="place12" size="1">'; for ($k = 0; $k < 26; $k++) { $selected = ( $k == $tipp_array[11]) ? 'selected="selected"' : ''; $tiredcombo .= '<option value="' . $k . '" ' . $selected . '>' . $k . '</option>'; } $tiredcombo .= '</select>'; } if ( $formel_config['show_gfx'] == 1 ) { $template->assign_block_vars('extended_users_tipp_gfx', array( 'L_PACE' => $lang['formel_pace'], 'L_TIRED' => $lang['formel_tired'], 'TIREDCOMBO' => $tiredcombo, 'DRIVERCOMBO' => $drivercombo, 'GFXDRIVERCOMBO' => $gfxdrivercombo, 'SINGLE_FASTEST' => $single_fastest, 'SINGLE_TIRED' => $single_tired) ); } else { $template->assign_block_vars('extended_users_tipp', array( 'L_PACE' => $lang['formel_pace'], 'L_TIRED' => $lang['formel_tired'], 'TIREDCOMBO' => $tiredcombo, 'DRIVERCOMBO' => $drivercombo, 'GFXDRIVERCOMBO' => $gfxdrivercombo, 'SINGLE_FASTEST' => $single_fastest, 'SINGLE_TIRED' =>$single_tired) ); } } // // What to do if the user has no tip so far // else { if ($races[$chosen_race]['race_time'] - $formel_config['deadline_offset'] > $current_time) { for ($i = 0; $i < 10; $i++) { $position = ($i == 0) ? $lang['formel_race_winner'] : $i+1 . '. ' . $lang['formel_place']; $box_name = 'place' . ($i+1); $drivercombo = '<select name="' . $box_name . '" size="1">'; for ($k = 0; $k < count($driversCOMBODATA); $k++) { $this_driver_id = $driversCOMBODATA[$k]['driver_id']; $this_driver_name = $driversCOMBODATA[$k]['driver_name']; $drivercombo .= '<option value="' . $this_driver_id . '">' . $this_driver_name . '</option>'; } $drivercombo .= '</select>'; $template->assign_block_vars('add_tipp', array( 'L_PLACE' => $position, 'DRIVERCOMBO' => $drivercombo) ); } $drivercombo = '<select name="place11" size="1">'; for ($k = 0; $k < count($driversCOMBODATA); $k++) { $this_driver_id = $driversCOMBODATA[$k]['driver_id']; $this_driver_name = $driversCOMBODATA[$k]['driver_name']; $drivercombo .= '<option value="' . $this_driver_id . '">' . $this_driver_name . '</option>'; } $drivercombo .= '</select>'; $tiredcombo = '<select name="place12" size="1">'; for ($k = 0; $k < 26; $k++) { $tiredcombo .= '<option value="' . $k . '">' . $k . '</option>'; } $tiredcombo .= '</select>'; $template->assign_block_vars('extended_add_tipp', array( 'L_PACE' => $lang['formel_pace'], 'L_TIRED' => $lang['formel_tired'], 'TIREDCOMBO' => $tiredcombo, 'DRIVERCOMBO' => $drivercombo) ); } } // // Checks for a saved quali // if ( $races[$chosen_race]['race_quali'] != '0' ) { // Get the driver ids $quali = explode(",",$races[$chosen_race]['race_quali']); // Start output for ($j = 0; $j < count($quali); $j++) { $current_driver_id = $quali[$j]; $position = ($j == 0) ? $lang['formel_pole'].': ' : $j+1 . '. ' . $lang['formel_place'] . ': '; if ( $formel_config['show_gfx'] == 1 ) { $template->assign_block_vars('qualirow_gfx', array( 'L_PLACE' => $position, 'DRIVERIMG' => $drivers[$current_driver_id]['driver_img'], 'DRIVERCAR' => $drivers[$current_driver_id]['driver_car'], 'DRIVERNAME' => $drivers[$current_driver_id]['driver_name'], 'DRIVERTEAMNAME' => $drivers[$current_driver_id]['driver_team_name']) ); } else { $template->assign_block_vars('qualirow', array( 'L_PLACE' => $position, 'DRIVERNAME' => $drivers[$current_driver_id]['driver_name']) ); } } } // // If no quali was found // else { $template->assign_block_vars('no_quali', array( 'NO_QUALI' => $lang['formel_no_quali']) ); } // // Checks for a saved result // if ( $races[$chosen_race]['race_result'] != '0' ) { // Get the driver ids $results = explode(",",$races[$chosen_race]['race_result']); // Start output for ($j = 0; $j < count($results)-2; $j++) { $current_driver_id = $results[$j]; $position = ($j == 0) ? $lang['formel_race_winner'].': ' : $j+1 . '. ' . $lang['formel_place'] . ': '; if ( $formel_config['show_gfx'] == 1 ) { $template->assign_block_vars('resultsrow_gfx', array( 'L_PLACE' => $position, 'DRIVERIMG' => $drivers[$current_driver_id]['driver_img'], 'DRIVERCAR' => $drivers[$current_driver_id]['driver_car'], 'DRIVERNAME' => $drivers[$current_driver_id]['driver_name'], 'DRIVERTEAMNAME' => $drivers[$current_driver_id]['driver_team_name']) ); } else { $template->assign_block_vars('resultsrow', array( 'L_PLACE' => $position, 'DRIVERNAME' => $drivers[$current_driver_id]['driver_name']) ); } } if ( $formel_config['show_gfx'] == 1 ) { $template->assign_block_vars('extended_results_gfx', array( 'L_PACE' => $lang['formel_pace'], 'L_TIRED' => $lang['formel_tired'], 'L_YOUR_POINTS' => $lang['formel_your_points'], 'PACE' => $drivers[$results[10]]['driver_name'], 'TIRED' => $results[11], 'YOUR_POINTS' => $user_tipp_points) ); } else { $template->assign_block_vars('extended_results', array( 'L_PACE' => $lang['formel_pace'], 'L_TIRED' => $lang['formel_tired'], 'L_YOUR_POINTS' => $lang['formel_your_points'], 'PACE' => $drivers[$results[10]]['driver_name'], 'TIRED' => $results[11], 'YOUR_POINTS' => $user_tipp_points) ); } } // // If no result was found // else { $template->assign_block_vars('no_results', array( 'NO_RESULTS' => $lang['formel_no_result']) ); } // // Game over // if ($races[$chosen_race]['race_time'] - $formel_config['deadline_offset'] < $current_time) { $template->assign_block_vars('game_over', array( 'GAME_OVER' => $lang['formel_game_over']) ); } else { $template->assign_block_vars('place_tipp', array( 'DELETE_TIPP' => $delete_button, 'L_PLACE_TIPP' => $tipp_button, 'PLACE_TIPP' => $tipp_button_name) ); } break; } } // // Forum button // $discuss_button = ''; if ( $formel_forum_id ) { $formel_forum_url = append_sid("viewforum.$phpEx?f=$formel_forum_id"); $formel_forum_name = $lang['formel_forum']; $discuss_button = '<input class="mainoption" type="button" onclick="window.location.href=\'' . $formel_forum_url . '\'" value="' . $formel_forum_name . '" />&nbsp;&nbsp;'; } // // Moderator switch and options // $u_call_mod = append_sid("privmsg.$phpEx?mode=post&u=$formel_mod_id"); $l_call_mod = $lang['formel_call_mod']; if ($user_id == $formel_config['mod_id'] || $userdata['user_level'] == ADMIN) { $u_call_mod = append_sid("./formel_results.$phpEx"); $l_call_mod = $lang['formel_mod_button_text']; $template->assign_block_vars('tipp_moderator', array()); } // // Show headerbanner ? // if ( $formel_config['show_headbanner'] ) { $template->assign_block_vars('head_on', array()); } $template->assign_vars(array( 'S_FORM_ACTION' => append_sid("./formel.$phpEx"), 'U_FORMEL' => append_sid("./formel.$phpEx"), 'RACE_OFFSET' => $race_offset, 'HEADER_IMG' => $formel_config['headbanner1_img'], 'HEADER_URL' => $formel_config['headbanner1_url'], 'HEADER_HEIGHT' => $formel_config['head_height'], 'HEADER_WIDTH' => $formel_config['head_width'], 'RACE_ID' => $races[$chosen_race]['race_id'], 'RACE_TIME' => $races[$chosen_race]['race_time'], 'L_CURRENT_RACE' => $lang['formel_current_race'], 'L_NEXT_RACE' => $lang['formel_next_race'], 'L_PREV_RACE' => $lang['formel_prev_race'], 'L_YOUR_TIPP' => $lang['formel_your_tipp'], 'L_CURRENT_QUALI' => $lang['formel_current_quali'], 'L_CURRENT_RESULT' => $lang['formel_current_result'], 'L_RACENAME' => $lang['formel_racename'], 'L_RACEDEBUT' => $lang['formel_racedebut'], 'L_RACELENGTH' => $lang['formel_racelength'], 'L_RACELAPS' => $lang['formel_racelaps'], 'L_RACEDISTANCE' => $lang['formel_racedistance'], 'L_RACETIME' => $lang['formel_racetime'], 'L_TOP_NAME' => $lang['formel_top_name'], 'L_TIPPS_MADE' => $lang['formel_tipps_made'], 'L_TOP_DRIVER' => $lang['formel_top_driver'], 'L_TOP_TEAMS' => $lang['formel_top_teams'], 'L_TOP_MORE' => $lang['formel_top_more'], 'U_TOP_MORE_USERS' => append_sid("formel_stats.$phpEx?show_users=1"), 'U_TOP_MORE_DRIVERS' => append_sid("formel_stats.$phpEx?show_drivers=1"), 'U_TOP_MORE_TEAMS' => append_sid("formel_stats.$phpEx?show_teams=1"), 'L_TOP_POINTS' => $lang['formel_top_points'], 'L_RACEDEAD' => $lang['formel_racedead'], 'L_FORMEL_TITLE' => $lang['formel_title'], 'U_FORMEL_RULES' => append_sid("formel_rules.$phpEx"), 'U_FORMEL_FORUM' => $discuss_button, 'U_FORMEL_STATISTICS' => append_sid("formel_stats.$phpEx"), 'U_FORMEL_CALL_MOD' => $u_call_mod, 'L_FORMEL_RULES' => $lang['formel_rules'], 'L_FORMEL_STATISTICS' => $lang['formel_statistics'], 'L_FORMEL_CALL_MOD' => $l_call_mod) ); $template->pparse('body'); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ?></code></pre></div> <strong class="text-strong">formel_addresult.php</strong><br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><?php /*************************************************************************** * formel_addresults.php * ------------------- * title : Formula 1 WebTipp * version : 0.2.2 * begin : Saturday, Jul 30, 2005 * copyright : (C) 2005 AceVentura * email : 2714323@web.de * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ define('IN_PHPBB', true); $phpbb_root_path = './'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); include($phpbb_root_path . 'includes/functions_formel.'.$phpEx); include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_formel.' . $phpEx); // // Start session management // $userdata = session_pagestart($user_ip, PAGE_FORMEL); init_userprefs($userdata); // // End session management // if (!$userdata['session_logged_in'] ) { redirect(append_sid("login.$phpEx?redirect=formel_addresults.$phpEx", true)); } $page_title = $lang['formel_title']; // // Check login status // if ( !$userdata['session_logged_in'] ) { redirect(append_sid("login.$phpEx", true) . ''); } // // Get config values // $formel_config = get_formel_config(); // // Check auth // if ( $userdata['user_id'] != $formel_config['mod_id'] && $userdata['user_level'] != ADMIN ) { $message = $lang['Not_Authorised'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); message_die(GENERAL_ERROR, $message); } // // Check buttons & data // $results = ( isset($HTTP_POST_VARS['result']) ) ? $HTTP_POST_VARS['result'] : $HTTP_GET_VARS['result']; $addresult = ( isset($HTTP_POST_VARS['addresult']) ) ? $HTTP_POST_VARS['addresult'] : $HTTP_GET_VARS['addresult']; $addeditresult = ( isset($HTTP_POST_VARS['addeditresult']) ) ? $HTTP_POST_VARS['addeditresult'] : $HTTP_GET_VARS['addeditresult']; $editresult = ( isset($HTTP_POST_VARS['editresult']) ) ? $HTTP_POST_VARS['editresult'] : $HTTP_GET_VARS['editresult']; $addquali = ( isset($HTTP_POST_VARS['addquali']) ) ? $HTTP_POST_VARS['addquali'] : $HTTP_GET_VARS['addquali']; $editquali = ( isset($HTTP_POST_VARS['editquali']) ) ? $HTTP_POST_VARS['editquali'] : $HTTP_GET_VARS['editquali']; $quali = ( isset($HTTP_POST_VARS['quali']) ) ? $HTTP_POST_VARS['quali'] : $HTTP_GET_VARS['quali']; $resetquali = ( isset($HTTP_POST_VARS['resetquali']) ) ? $HTTP_POST_VARS['resetquali'] : $HTTP_GET_VARS['resetquali']; $resetresult = ( isset($HTTP_POST_VARS['resetresult']) ) ? $HTTP_POST_VARS['resetresult'] : $HTTP_GET_VARS['resetresult']; $race_id = ( isset($HTTP_POST_VARS['race_id']) ) ? intval($HTTP_POST_VARS['race_id']) : 0; $quali_array = array(); $result_array = array(); include($phpbb_root_path . 'includes/page_header.'.$phpEx); $template->set_filenames(array( 'body' => 'formel_addresults_body.tpl') ); // // Reset a quali // if ( $resetquali && $race_id != 0 ) { $sql = "UPDATE " . FORMEL_RACES_TABLE . " SET race_quali = '0' WHERE race_id = " . $race_id; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } $tipp_msg = sprintf($lang['formel_results_deleted'], '<a href="'.append_sid("formel_results.$phpEx").'" class="gen">', '</a>', '<a href="'.append_sid("index.$phpEx").'" class="gen">', '</a>'); message_die(GENERAL_MESSAGE, $tipp_msg); } // // Reset a result // if ( $resetresult && $race_id != 0 ) { $sql = "DELETE FROM " . FORMEL_WM_TABLE . " WHERE wm_race = " . $race_id; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } $sql = "UPDATE " . FORMEL_RACES_TABLE . " SET race_result = '0' WHERE race_id = " . $race_id; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } $sql = "UPDATE " . FORMEL_TIPPS_TABLE . " SET tipp_points = 0 WHERE tipp_race = " . $race_id; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } $tipp_msg = sprintf($lang['formel_results_deleted'], '<a href="'.append_sid("formel_results.$phpEx").'" class="gen">', '</a>', '<a href="'.append_sid("index.$phpEx").'" class="gen">', '</a>'); message_die(GENERAL_MESSAGE, $tipp_msg); } if ( ( $reset || $resetresult || $resetquali ) && $race_id == 0 ) { $reset_msg = sprintf($lang['formel_results_error'], '<a href="'.append_sid("formel_results.$phpEx").'" class="gen">', '</a>', '<a href="'.append_sid("index.$phpEx").'" class="gen">', '</a>'); message_die(GENERAL_MESSAGE, $reset_msg); } // // Add a quali // if ( $addquali ) { if ( $race_id != 0 ) { for ($i = 0; $i < 26; $i++) { $value = $HTTP_POST_VARS['place'.($i+1)]; if (checkarrayforvalue($value,$quali_array)) { $quali_msg = sprintf($lang['formel_results_double'], '<a href="javascript:history.back()" class="gen">', '</a>', '<a href="'.append_sid("index.$phpEx").'" class="gen">', '</a>'); message_die(GENERAL_MESSAGE, $quali_msg); } $quali_array[$i] = $value; } $new_quali = implode(",",$quali_array); $sql = "UPDATE " . FORMEL_RACES_TABLE . " SET race_quali = '$new_quali' WHERE race_id = $race_id"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } $quali_msg = sprintf($lang['formel_results_accepted'], '<a href="'.append_sid("formel_results.$phpEx").'" class="gen">', '</a>', '<a href="'.append_sid("index.$phpEx").'" class="gen">', '</a>'); message_die(GENERAL_MESSAGE, $quali_msg); } } // // Add a result // if ( $addresult || $addeditresult ) { if ( $race_id != 0 ) { if ( $addeditresult ) { $sql = "DELETE FROM " . FORMEL_WM_TABLE . " WHERE wm_race = " . $race_id; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } } for ($i = 0; $i < 10; $i++) { $value = $HTTP_POST_VARS['place'.($i+1)]; if (checkarrayforvalue($value,$result_array)) { $result_msg = sprintf($lang['formel_results_double'], '<a href="javascript:history.back()" class="gen">', '</a>', '<a href="'.append_sid("index.$phpEx").'" class="gen">', '</a>'); message_die(GENERAL_MESSAGE, $result_msg); } $result_array[$i] = $value; } $result_array[10] = $HTTP_POST_VARS['place11']; $result_array[11] = $HTTP_POST_VARS['place12']; $new_result = implode(",",$result_array); $sql = "UPDATE " . FORMEL_RACES_TABLE . " SET race_result = '$new_result' WHERE race_id = $race_id"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } // START points calc // Get tipp data and calc user points $sql = "SELECT * FROM " . FORMEL_TIPPS_TABLE . " WHERE tipp_race = $race_id"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query tipp data', '', __LINE__, __FILE__, $sql); } while ($row = $db->sql_fetchrow($result)) { $user_tipp_points = 0; $current_user = $row['tipp_user']; $current_tipp_array = explode(',',$row['tipp_result']); $temp_results_array = array(); for ( $i=0; $i < count($current_tipp_array)-2; $i++ ) { $temp_results_array[$i] = $result_array[$i]; } for ( $i=0; $i < count($current_tipp_array)-2; $i++ ) { if ( $current_tipp_array[$i] != '0' ) { if ( checkarrayforvalue($current_tipp_array[$i],$temp_results_array) ) { $user_tipp_points += $formel_config['points_mentioned']; if ( $current_tipp_array[$i] == $result_array[$i] ) { $user_tipp_points += $formel_config['points_placed']; } } } } if ( $current_tipp_array[10] == $result_array[10] && $current_tipp_array[10] != 0) { $user_tipp_points += $formel_config['points_fastest']; } if ( $current_tipp_array[11] == $result_array[11] ) { $user_tipp_points += $formel_config['points_tired']; } $sql = "UPDATE " . FORMEL_TIPPS_TABLE . " SET tipp_points = '$user_tipp_points' WHERE tipp_race = $race_id AND tipp_user = $current_user"; if (!$update = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } } $db->sql_freeresult($result); // Calc wm points // Get drivers data $sql = "SELECT * FROM " . FORMEL_DRIVERS_TABLE; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not get driver information', '', __LINE__, __FILE__, $sql); } while ( $row = $db->sql_fetchrow($result) ) { $teams[$row['driver_id']] = $row['driver_team']; } $db->sql_freeresult($result); $wm = array(); $wm[0] = 25; $wm[1] = 20; $wm[2] = 15; $wm[3] = 10; $wm[4] = 8; $wm[5] = 6; $wm[6] = 5; for ( $i=7; $i < 10; $i++ ) { $wm[$i] = ( 10 - $i ); } for ( $i=0; $i < count($result_array)-2; $i++ ) { $current_driver = $result_array[$i]; if ( $current_driver != '0' ) { $current_team = $teams[$current_driver]; $wm_points = $wm[$i]; $sql = "INSERT INTO " . FORMEL_WM_TABLE . " (wm_id,wm_race,wm_driver,wm_team,wm_points) VALUES ('',$race_id,$current_driver,$current_team,$wm_points)"; if (!$update = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } } } // END points calc $result_msg = sprintf($lang['formel_results_accepted'], '<a href="'.append_sid("formel_results.$phpEx").'" class="gen">', '</a>', '<a href="'.append_sid("index.$phpEx").'" class="gen">', '</a>'); message_die(GENERAL_MESSAGE, $result_msg); } } // // Load add/edit quali // if ( ( $quali || $editquali ) && $race_id != 0 ) { if ( $editquali ) { // Get the race $sql = "SELECT * FROM " . FORMEL_RACES_TABLE . " WHERE race_id = $race_id"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query drivers', '', __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); $quali_array = explode(',',$row['race_quali']); $db->sql_freeresult($result); } // Fetch all drivers $sql = "SELECT * FROM " . FORMEL_DRIVERS_TABLE . " ORDER BY driver_name ASC"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query drivers', '', __LINE__, __FILE__, $sql); } $counter=1; while ($row = $db->sql_fetchrow($result)) { $drivers[$counter] = $row; $counter++; } $db->sql_freeresult($result); $drivers[0]['driver_id'] = '0'; $drivers[0]['driver_name'] = $lang['formel_define']; for ($i = 0; $i < 26; $i++) { $position = ($i == 0) ? $lang['formel_pole'] : $i+1 . '. ' . $lang['formel_place']; $box_name = 'place' . ($i+1); $drivercombo = '<select name="' . $box_name . '" size="1">'; for ($k = 0; $k < count($drivers); $k++) { $this_driver_id = $drivers[$k]['driver_id']; $this_driver_name = $drivers[$k]['driver_name']; $selected = ( $this_driver_id == $quali_array[$i]) ? 'selected="selected"' : ''; $drivercombo .= '<option value="' . $this_driver_id . '" ' . $selected . '>' . $this_driver_name . '</option>'; } $drivercombo .= '</select>'; $template->assign_block_vars('qualirow', array( 'L_PLACE' => $position, 'DRIVERCOMBO' => $drivercombo) ); } $template->assign_block_vars('quali', array( 'L_TITLE' => $lang['formel_results_qualititle'], 'L_ADD' => $lang['formel_results_add']) ); } // // Load add/edit result // if ( ( $results || $editresult ) && $race_id != 0 ) { if ( $editresult ) { // Get the race $sql = "SELECT * FROM " . FORMEL_RACES_TABLE . " WHERE race_id = $race_id"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query drivers', '', __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); $result_array = explode(',',$row['race_result']); $db->sql_freeresult($result); } // Fetch all drivers $sql = "SELECT * FROM " . FORMEL_DRIVERS_TABLE . " ORDER BY driver_id ASC"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query drivers', '', __LINE__, __FILE__, $sql); } $counter=1; while ($row = $db->sql_fetchrow($result)) { $drivers[$counter] = $row; $counter++; } $db->sql_freeresult($result); $drivers[0]['driver_id'] = '0'; $drivers[0]['driver_name'] = $lang['formel_define']; for ($i = 0; $i < 10; $i++) { $position = ($i == 0) ? $lang['formel_race_winner'] : $i+1 . '. ' . $lang['formel_place']; $box_name = 'place' . ($i+1); $drivercombo = '<select name="' . $box_name . '" size="1">'; for ($k = 0; $k < count($drivers); $k++) { $this_driver_id = $drivers[$k]['driver_id']; $this_driver_name = $drivers[$k]['driver_name']; $selected = ( $this_driver_id == $result_array[$i]) ? 'selected="selected"' : ''; $drivercombo .= '<option value="' . $this_driver_id . '" ' . $selected . '>' . $this_driver_name . '</option>'; } $drivercombo .= '</select>'; $template->assign_block_vars('resultrow', array( 'L_PLACE' => $position, 'DRIVERCOMBO' => $drivercombo) ); } $drivercombo_pace = '<select name="place11" size="1">'; for ($k = 0; $k < count($drivers); $k++) { $this_driver_id = $drivers[$k]['driver_id']; $this_driver_name = $drivers[$k]['driver_name']; $selected = ( $this_driver_id == $result_array[10]) ? 'selected="selected"' : ''; $drivercombo_pace .= '<option value="' . $this_driver_id . '" ' . $selected . '>' . $this_driver_name . '</option>'; } $drivercombo_pace .= '</select>'; $combo_tired = '<select name="place12" size="1">'; for ($k = 0; $k < 26; $k++) { $selected = ( $k == $result_array[11]) ? 'selected="selected"' : ''; $combo_tired .= '<option value="' . $k . '" ' . $selected . '>' . $k . '</option>'; } $combo_tired .= '</select>'; $mode = ( $editresult ) ? 'addeditresult' : 'addresult'; $template->assign_block_vars('result', array( 'L_FASTEST' => $lang['formel_pace'], 'PACECOMBO' => $drivercombo_pace, 'L_TIRED' => $lang['formel_tired'], 'MODE' => $mode, 'TIREDCOMBO' => $combo_tired, 'L_TITLE' => $lang['formel_results_resulttitle'], 'L_ADD' => $lang['formel_results_add']) ); } $template->assign_vars(array( 'S_FORM_ACTION' => append_sid("./formel_addresults.php"), 'U_FORMEL' => append_sid("./formel.php"), 'U_FORMEL_RESULTS' => append_sid("./formel_results.php"), 'L_FORMEL_RESULT' => $lang['formel_current_result'], 'RACE_ID' => $race_id, 'L_FORMEL_RESULTS_TITLE' => $lang['formel_results_title'], 'L_FORMEL_TITLE' => $lang['formel_title'], 'L_FORMEL_RESULTS_TITLE_EXP' => $lang['formel_results_title_exp']) ); $template->pparse('body'); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ?></code></pre></div> Bye</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1159719" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile1159719"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="avatar"><img class="avatar" src="./download/file.php?avatar=19974_1268110190.gif" width="80" height="67" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a> </dt> <dd class="profile-rank">Mitglied</dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=19974&sr=posts&sid=c8a1afd2db2efd9abf96793fb189e70a">635</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 11.07.2004 10:04</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Berlin</dd> </dl> <div class="postbody"> <div id="post_content1159719"> <h3 > <a href="./viewtopic.php?p=1159719&sid=c8a1afd2db2efd9abf96793fb189e70a#p1159719">Re: [Release] Formula 1 WebTip - Änderung für 2010</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1159719&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1159719&sid=c8a1afd2db2efd9abf96793fb189e70a#p1159719" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a></strong> » </span><time datetime="2010-02-03T10:59:49+00:00">03.02.2010 11:59</time> </p> <div class="content">Hi! <img class="smilies" src="./images/smilies/icon_cool.gif" width="15" height="17" alt="8)" title="Fetzig"> <br> <br> Das Punktesystem wurde wieder geändert. Diesmal nun endgültig auf <strong class="text-strong">25-18-15-12-10-8-6-4-2-1</strong>.<br> <br> Daher muss die <br> <br> <strong class="text-strong">formel_addresult.php</strong> erneut etwas angepasst werden. Dazu ersetze diesen Block:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> // Calc wm points // Get drivers data $sql = "SELECT * FROM " . FORMEL_DRIVERS_TABLE; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not get driver information', '', __LINE__, __FILE__, $sql); } while ( $row = $db->sql_fetchrow($result) ) { $teams[$row['driver_id']] = $row['driver_team']; } $db->sql_freeresult($result); $wm = array(); $wm[0] = 25; $wm[1] = 20; $wm[2] = 15; $wm[3] = 10; $wm[4] = 8; $wm[5] = 6; $wm[6] = 5; for ( $i=7; $i < 10; $i++ ) { $wm[$i] = ( 10 - $i ); } for ( $i=0; $i < count($result_array)-2; $i++ ) { $current_driver = $result_array[$i]; if ( $current_driver != '0' ) { $current_team = $teams[$current_driver]; $wm_points = $wm[$i]; $sql = "INSERT INTO " . FORMEL_WM_TABLE . " (wm_id,wm_race,wm_driver,wm_team,wm_points) VALUES ('',$race_id,$current_driver,$current_team,$wm_points)"; if (!$update = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } } } // END points calc</code></pre></div> durch diesen:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> // Calc wm points // Get drivers data $sql = "SELECT * FROM " . FORMEL_DRIVERS_TABLE; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not get driver information', '', __LINE__, __FILE__, $sql); } while ( $row = $db->sql_fetchrow($result) ) { $teams[$row['driver_id']] = $row['driver_team']; } $db->sql_freeresult($result); // wm points: 25-18-15-12-10-8-6-4-2-1 $wm = array(); $wm[0] = 25; // first place $wm[1] = 18; // secound place $wm[2] = 15; // third place $wm[3] = 12; // forth place $wm[4] = 10; // fifth place $wm[5] = 8; // sixth place $wm[6] = 6; // seventh place $wm[7] = 4; // eighth place $wm[8] = 2; // ninth place $wm[9] = 1; // tenth place // for ( $i=7; $i < 10; $i++ ) // { // $wm[$i] = ( 10 - $i ); // } for ( $i=0; $i < count($result_array)-2; $i++ ) { $current_driver = $result_array[$i]; if ( $current_driver != '0' ) { $current_team = $teams[$current_driver]; $wm_points = $wm[$i]; $sql = "INSERT INTO " . FORMEL_WM_TABLE . " (wm_id,wm_race,wm_driver,wm_team,wm_points) VALUES ('',$race_id,$current_driver,$current_team,$wm_points)"; if (!$update = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not update database', '', __LINE__, __FILE__, $sql); } } } // END points calc</code></pre></div> Bye</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1163058" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile1163058"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="avatar"><img class="avatar" src="./download/file.php?avatar=19974_1268110190.gif" width="80" height="67" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a> </dt> <dd class="profile-rank">Mitglied</dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=19974&sr=posts&sid=c8a1afd2db2efd9abf96793fb189e70a">635</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 11.07.2004 10:04</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Berlin</dd> </dl> <div class="postbody"> <div id="post_content1163058"> <h3 > <a href="./viewtopic.php?p=1163058&sid=c8a1afd2db2efd9abf96793fb189e70a#p1163058">Re: [Release] Formula 1 WebTip - Änderung für 2010</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1163058&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1163058&sid=c8a1afd2db2efd9abf96793fb189e70a#p1163058" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a></strong> » </span><time datetime="2010-02-21T10:24:45+00:00">21.02.2010 11:24</time> </p> <div class="content">Hi! <img class="smilies" src="./images/smilies/icon_cool.gif" width="15" height="17" alt="8)" title="Fetzig"><br> <br> Es ist ja nicht unwahrscheinlich, das wieder Rennen wegen Regen oder sonst welchen Ursachen vorzeitig abgebrochen werden. Sollte hierbei das führende Fahrzeug weniger als 75% der Renndistance gefahren sein, gibt es nach aktuellen Regeln nur die halbe Punktzahl. Dies ist im F1 Mod bisher nicht vorgesehen. Daher habe ich mal folgendes bei mir eingebaut:<br> <br> suche in der <strong class="text-strong">formel_add_result.php</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> // wm points: 25-18-15-12-10-8-6-4-2-1 $wm = array(); $wm[0] = '25'; // first place $wm[1] = '18'; // secound place $wm[2] = '15'; // third place $wm[3] = '12'; // forth place $wm[4] = '10'; // fifth place $wm[5] = '8'; // sixth place $wm[6] = '6'; // seventh place $wm[7] = '4'; // eighth place $wm[8] = '2'; // ninth place $wm[9] = '1'; // tenth place</code></pre></div> und ersetze es mit:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> if ($_POST['abort_1'] == '0') { // wm points: 25-18-15-12-10-8-6-4-2-1 $wm = array(); $wm[0] = '25'; // first place $wm[1] = '18'; // secound place $wm[2] = '15'; // third place $wm[3] = '12'; // forth place $wm[4] = '10'; // fifth place $wm[5] = '8'; // sixth place $wm[6] = '6'; // seventh place $wm[7] = '4'; // eighth place $wm[8] = '2'; // ninth place $wm[9] = '1'; // tenth place } else if ($_POST['abort_1'] == '1') // Rennabbruch { // wm points: 12,5-9-7,5-6-5-4-3-2-1-0,5 $wm = array(); $wm[0] = '12.5'; // first place $wm[1] = '9'; // secound place $wm[2] = '7.5'; // third place $wm[3] = '6'; // forth place $wm[4] = '5'; // fifth place $wm[5] = '4'; // sixth place $wm[6] = '3'; // seventh place $wm[7] = '2'; // eighth place $wm[8] = '1'; // ninth place $wm[9] = '0.5'; // tenth place }</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('result', array( 'L_FASTEST' => $lang['formel_pace'], 'PACECOMBO' => $drivercombo_pace, 'L_TIRED' => $lang['formel_tired'],</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> 'L_ABORT_1' => $lang['formel_abort_1'], 'L_ABORT_2' => $lang['formel_abort_2'],</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$template->assign_vars(array( 'S_FORM_ACTION' => append_sid("./formel_addresults.php"), 'U_FORMEL' => append_sid("./formel.php"), 'U_FORMEL_RESULTS' => append_sid("./formel_results.php"), 'L_FORMEL_RESULT' => $lang['formel_current_result'], 'RACE_ID' => $race_id, 'L_FORMEL_RESULTS_TITLE' => $lang['formel_results_title'], 'L_FORMEL_TITLE' => $lang['formel_title'], 'L_FORMEL_RESULTS_TITLE_EXP' => $lang['formel_results_title_exp'],</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> 'L_YES' => $lang['Yes'], 'L_NO' => $lang['No']</code></pre></div> <br> suche in der <strong class="text-strong">lang_formel.php</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $lang['formel_tired'] = 'Anzahl Ausf&auml;lle';</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $lang['formel_abort_1'] = 'Rennabbruch (halbe Punktzahl)'; $lang['formel_abort_2'] = 'Das f&uuml;hrende Fahrzeug fuhr weniger als 75% der Renndistanz.';</code></pre></div> suche in der <strong class="text-strong">formel_add_result_body.tpl</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> <tr> <td class="row1" width="50%" nowrap="nowrap" align="right" valign="middle"><span class="gen">&nbsp;{result.L_TIRED}&nbsp;</span></td> <td class="row1" width="50%" nowrap="nowrap" align="left" valign="middle">&nbsp;{result.TIREDCOMBO}&nbsp;</td> </tr></code></pre></div> und füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> <tr> <td class="row1" width="50%" nowrap="nowrap" align="right" valign="middle"><span class="gen">&nbsp;{result.L_ABORT_1}&nbsp;</span><br /><span class="gensmall">{result.L_ABORT_2}&nbsp;</span></td> <td class="row1"><input type="radio" name="abort_1" value="1" /> {L_YES}&nbsp;&nbsp;<input type="radio" name="abort_1" value="0" checked /> {L_NO}</td> </tr></code></pre></div> Wenn der Moderator ein Rennergebnis eingibt, hat er nun die Möglichkeit mittels <strong class="text-strong">Ja</strong>/<strong class="text-strong">Nein</strong> Radiobutton zu entscheiden ob das Rennen abgebrochen wurde oder nicht. Wenn ja, dann wird nur die halbe Punktzahl in die Datenbank eingetragen. Standard ist natürlich <strong class="text-strong">Nein</strong> aktiv.<br> <br> Wen dann noch bei der Anzeige der Punkte die 0 hinter dem Komma stört, der <br> <br> suche in der <strong class="text-strong">formel.php</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_drivers', array( 'RANK' => $rank_img, 'WM_DRIVERNAME' => $wm_drivername, 'WM_POINTS' => number_format($row['total_points'],1, ",", ".")) );</code></pre></div> ersetze durch:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_drivers', array( 'RANK' => $rank_img, 'WM_DRIVERNAME' => $wm_drivername, 'WM_POINTS' => str_replace(',0', '', number_format($row['total_points'],1, ",", ".")) ) );</code></pre></div> bzw.:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_teams', array( 'RANK' => $rank_img, 'WM_TEAMNAME' => $wm_teamname, 'WM_POINTS' => $row['total_points']) );</code></pre></div> und ersetze mit:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_teams', array( 'RANK' => $rank_img, 'WM_TEAMNAME' => $wm_teamname, 'WM_POINTS' => str_replace(',0', '', number_format($row['total_points'],1, ",", "."))) );</code></pre></div> suche in der <strong class="text-strong">formel_stats.php</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_teams_gfx', array( 'RANK' => $rank_img, 'WM_TEAMNAME' => $wm_teamname, 'WM_TEAMIMG' => $wm_teamimg, 'WM_TEAMCAR' => $wm_teamcar, 'WM_POINTS' => $row['total_points']) );</code></pre></div> ersetze durch:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_teams_gfx', array( 'RANK' => $rank_img, 'WM_TEAMNAME' => $wm_teamname, 'WM_TEAMIMG' => $wm_teamimg, 'WM_TEAMCAR' => $wm_teamcar, 'WM_POINTS' => str_replace(',0', '', number_format($row['total_points'],1, ",", "."))) );</code></pre></div> und:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_teams', array( 'RANK' => $rank, 'WM_TEAMNAME' => $wm_teamname, 'WM_POINTS' => $row['total_points']) );</code></pre></div> durch<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_teams', array( 'RANK' => $rank, 'WM_TEAMNAME' => $wm_teamname, 'WM_POINTS' => str_replace(',0', '', number_format($row['total_points'],1, ",", "."))) );</code></pre></div> und:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_drivers_gfx', array( 'RANK' => $rank_img, 'WM_DRIVERNAME' => $wm_drivername, 'WM_DRIVERIMG' => $wm_driverimg, 'WM_DRIVERCAR' => $wm_drivercar, 'WM_DRIVERTEAM' => $wm_driverteam, 'WM_POINTS' => $row['total_points']) );</code></pre></div> durch:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_drivers_gfx', array( 'RANK' => $rank_img, 'WM_DRIVERNAME' => $wm_drivername, 'WM_DRIVERIMG' => $wm_driverimg, 'WM_DRIVERCAR' => $wm_drivercar, 'WM_DRIVERTEAM' => $wm_driverteam, 'WM_POINTS' => str_replace(',0', '', number_format($row['total_points'],1, ",", "."))) );</code></pre></div> bzw.:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_drivers', array( 'RANK' => $rank, 'WM_DRIVERNAME' => $wm_drivername, 'WM_POINTS' => $row['total_points']) );</code></pre></div> durch:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $template->assign_block_vars('top_drivers', array( 'RANK' => $rank, 'WM_DRIVERNAME' => $wm_drivername, 'WM_POINTS' => str_replace(',0', '', number_format($row['total_points'],1, ",", "."))) );</code></pre></div> Bye</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1166506" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile1166506"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=31082&sid=c8a1afd2db2efd9abf96793fb189e70a" class="avatar"><img class="avatar" src="./download/file.php?avatar=31082.jpg" width="80" height="64" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=31082&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">mattie</a> </dt> <dd class="profile-rank">Mitglied</dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=31082&sr=posts&sid=c8a1afd2db2efd9abf96793fb189e70a">433</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 05.07.2005 21:39</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Rühen</dd> <dd class="profile-contact"> <strong>Kontaktdaten:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Kontaktdaten von mattie"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Kontaktdaten von mattie</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://www.icq.com/people/333012137/" title="ICQ"> <span class="contact-icon phpbb_icq-icon">ICQ</span> </a> <a href="http://www.matti-online.de" title="Website" class="last-cell"> <span class="contact-icon phpbb_website-icon">Website</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content1166506"> <h3 > <a href="./viewtopic.php?p=1166506&sid=c8a1afd2db2efd9abf96793fb189e70a#p1166506">Re: [Release] Formula 1 WebTip</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1166506&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1166506&sid=c8a1afd2db2efd9abf96793fb189e70a#p1166506" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=31082&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">mattie</a></strong> » </span><time datetime="2010-03-07T22:10:16+00:00">07.03.2010 23:10</time> </p> <div class="content">Hi Dungeonwatcher,<br> ich bin nur durch einen Riesenzufall nochmal hier gelandet und war vollkommen überrascht, dass es hier noch "Leben" gibt. Ich bin froh, dass ich deine Infos noch rechtzeitig "mitnehmen" konnte. Vielen, vielen Dank und meinen Respekt für die Anpassungen!! Ich konnte es nun nicht mehr testen, habe es aber trotzdem in eine neue Komplettversion eingebaut!<br> <br> Ich hatte in den letzten Tagen alle möglichen Infos zu diesem Mod zusammengefummelt und hatte schon eine neue Version fertig, als ich dies hier zufällig gefunden hatte. Ich habe dies nun gleich mit verwurschtelt und in eine neue Version verpackt. Dein Einverständnis musste ich einfach mal voraussetzen. <img class="smilies" src="./images/smilies/icon_redface.gif" width="15" height="17" alt=":oops:" title="Verlegen"> <br> <br> Ich habe vor langer Zeit diesen Mod bei mir in den Download gestellt, weil er hier nicht mehr verfügbar war. Ich werde nun diese zusammengestrickte neue Version 1.2, aufgrund diverser negativer Erfahrungen von einigen "Helden", nur bei mir für registrierte Mitglieder bereit stellen. Du bist herzlich eingeladen, dich bei <a href="http://www.matti-online.de" class="postlink">mir</a> zu beteiligen und diesen Mod weiter zu pflegen. Falls du dies nicht möchtest, dann gib mir per PN deine Email-Adresse und ich sende dir die bisherigen gesammelten Werke zu und hoffe, dass dir damit auch geholfen ist und es weitere Optimierungen von dir geben wird.</div> <div id="sig1166506" class="signature">Adios! matti<br> Es bleibt alles wie es ist bis man es ändert!</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1166528" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile1166528"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="avatar"><img class="avatar" src="./download/file.php?avatar=19974_1268110190.gif" width="80" height="67" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a> </dt> <dd class="profile-rank">Mitglied</dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=19974&sr=posts&sid=c8a1afd2db2efd9abf96793fb189e70a">635</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 11.07.2004 10:04</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Berlin</dd> </dl> <div class="postbody"> <div id="post_content1166528"> <h3 > <a href="./viewtopic.php?p=1166528&sid=c8a1afd2db2efd9abf96793fb189e70a#p1166528">Re: [Release] Formula 1 WebTip</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1166528&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1166528&sid=c8a1afd2db2efd9abf96793fb189e70a#p1166528" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a></strong> » </span><time datetime="2010-03-08T06:05:51+00:00">08.03.2010 07:05</time> </p> <div class="content"><blockquote><div><cite>mattie hat geschrieben:</cite>Hi Dungeonwatcher,<br> ich bin nur durch einen Riesenzufall nochmal hier gelandet und war vollkommen überrascht, dass es hier noch "Leben" gibt. Ich bin froh, dass ich deine Infos noch rechtzeitig "mitnehmen" konnte. Vielen, vielen Dank und meinen Respekt für die Anpassungen!! Ich konnte es nun nicht mehr testen, habe es aber trotzdem in eine neue Komplettversion eingebaut!</div></blockquote> Fein, fein. Diese Version enthält alle meine bisherigen Anpassungen? Einige sind nämlich in anderen Threads erwähnt und beschrieben.<br> <blockquote class="uncited"><div>Ich hatte in den letzten Tagen alle möglichen Infos zu diesem Mod zusammengefummelt und hatte schon eine neue Version fertig, als ich dies hier zufällig gefunden hatte. Ich habe dies nun gleich mit verwurschtelt und in eine neue Version verpackt. Dein Einverständnis musste ich einfach mal voraussetzen. <img class="smilies" src="./images/smilies/icon_redface.gif" width="15" height="17" alt=":oops:" title="Verlegen"> </div></blockquote> Aber bediene dich ruhig bei mir, meine Erlaubnis hast du.<br> <blockquote class="uncited"><div>Ich habe vor langer Zeit diesen Mod bei mir in den Download gestellt, weil er hier nicht mehr verfügbar war.</div></blockquote> Schön zu lesen.<br> <blockquote class="uncited"><div>Ich werde nun diese zusammengestrickte neue Version 1.2, aufgrund diverser negativer Erfahrungen von einigen "Helden", nur bei mir für registrierte Mitglieder bereit stellen.</div></blockquote> Immer zu. <img class="smilies" src="./images/smilies/icon_e_smile.gif" width="15" height="17" alt=":-)" title="Lächeln"><br> <blockquote class="uncited"><div>Du bist herzlich eingeladen, dich bei <a href="http://www.matti-online.de" class="postlink">mir</a> zu beteiligen und diesen Mod weiter zu pflegen. Falls du dies nicht möchtest, dann gib mir per PN deine Email-Adresse und ich sende dir die bisherigen gesammelten Werke zu und hoffe, dass dir damit auch geholfen ist und es weitere Optimierungen von dir geben wird.</div></blockquote> Ich gebe mir Mühe. Eigentlich "zerlege" ich nur die 0.3.er Version von Dr.Dead <span style="color:#BF0000">[<strong class="text-strong">Anm. von Moderator:</strong> Richtig heiße ich --> Dr.Death <img class="smilies" src="./images/smilies/icon_e_smile.gif" width="15" height="17" alt=":-)" title="Lächeln"> ]</span> und versuche einiges davon in die 1.er Version umzusetzen. Alldieweil der Mod ansonsten tot wäre und das fände ich schade. Zumal er bei mir seit Jahren aktiv im Einsatz ist.<br> Das mit deinem Forum schaue ich mir die Tage mal an. Jetzt falle ich aber erstmal in die warmen Federn, die Nachtschicht fordert ihrren Tribut. <img class="smilies" src="./images/smilies/icon_e_smile.gif" width="15" height="17" alt=":)" title="Lächeln"> <br> <br> Bye</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1167809" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile1167809"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=31082&sid=c8a1afd2db2efd9abf96793fb189e70a" class="avatar"><img class="avatar" src="./download/file.php?avatar=31082.jpg" width="80" height="64" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=31082&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">mattie</a> </dt> <dd class="profile-rank">Mitglied</dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=31082&sr=posts&sid=c8a1afd2db2efd9abf96793fb189e70a">433</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 05.07.2005 21:39</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Rühen</dd> <dd class="profile-contact"> <strong>Kontaktdaten:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Kontaktdaten von mattie"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Kontaktdaten von mattie</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://www.icq.com/people/333012137/" title="ICQ"> <span class="contact-icon phpbb_icq-icon">ICQ</span> </a> <a href="http://www.matti-online.de" title="Website" class="last-cell"> <span class="contact-icon phpbb_website-icon">Website</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content1167809"> <h3 > <a href="./viewtopic.php?p=1167809&sid=c8a1afd2db2efd9abf96793fb189e70a#p1167809">Re: [Release] Formula 1 WebTip</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1167809&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1167809&sid=c8a1afd2db2efd9abf96793fb189e70a#p1167809" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=31082&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">mattie</a></strong> » </span><time datetime="2010-03-13T18:29:18+00:00">13.03.2010 19:29</time> </p> <div class="content">Hallo zusammen,<br> es ist für die neue Punktregelung noch eine kleine Anpassung nötig, damit die Tipps im Zusatzfenster korrekt angezeigt werden.<br> <br> öffne formel_usertipp.php (bei euch heisst die Datei evt. nur usertipp.php) und finde <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $fastest_driver_name = $driver_name[$tipp_array[8]]; $tired = $tipp_array[9]; //Recalc Tipp Points for Tipp Fastest Driver and Tired if ($tipp_array[8] == $results[8]) { $single_fastest += $formel_config['points_fastest']; } if ($tipp_array[9] == $results[9]) { $single_tired += $formel_config['points_tired']; }</code></pre></div> ersetze das ganze mit<div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> $fastest_driver_name = $driver_name[$tipp_array[10]]; $tired = $tipp_array[11]; //Recalc Tipp Points for Tipp Fastest Driver and Tired if ($tipp_array[10] == $results[10]) { $single_fastest += $formel_config['points_fastest']; } if ($tipp_array[11] == $results[11]) { $single_tired += $formel_config['points_tired']; }</code></pre></div> Viel Erfolg</div> <div id="sig1167809" class="signature">Adios! matti<br> Es bleibt alles wie es ist bis man es ändert!</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1168512" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile1168512"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="avatar"><img class="avatar" src="./download/file.php?avatar=19974_1268110190.gif" width="80" height="67" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a> </dt> <dd class="profile-rank">Mitglied</dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=19974&sr=posts&sid=c8a1afd2db2efd9abf96793fb189e70a">635</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 11.07.2004 10:04</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Berlin</dd> </dl> <div class="postbody"> <div id="post_content1168512"> <h3 > <a href="./viewtopic.php?p=1168512&sid=c8a1afd2db2efd9abf96793fb189e70a#p1168512">Formel1 Mod: Strafpunkte für Fahrer und Teams</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1168512&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1168512&sid=c8a1afd2db2efd9abf96793fb189e70a#p1168512" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a></strong> » </span><time datetime="2010-03-16T16:58:37+00:00">16.03.2010 17:58</time> </p> <div class="content">Hi! <img class="smilies" src="./images/smilies/icon_cool.gif" width="15" height="17" alt="8-)" title="Fetzig"><br> <br> Selten aber es kommt durchaus vor das Fahrer und oder Teams Strafpunkte bekommen. Diese sind im Original Mod nicht vorgesehen. Da diese aber durchaus für ein Rennergebnis entscheidend sind habe ich ein Strafpunktesystem wie folgt eingebaut. Es ist dem F1 Mod für das phpBB3 entnommen.<br> <br> <br> Zuerst müssen per PMA neue Tabellfelder für Fahrer bzw. Teams angelegt werden:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>ALTER TABLE `phpbb_formel_drivers` ADD `driver_penalty` FLOAT NOT NULL DEFAULT '0' AFTER `driver_team` ALTER TABLE `phpbb_formel_teams` ADD `team_penalty` FLOAT NOT NULL DEFAULT '0' AFTER `team_car`</code></pre></div> Dann suche in der <strong class="text-strong">admin_formel_drivers.php</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$driver_id = ( isset($HTTP_POST_VARS['driver_id']) ) ? intval ($HTTP_POST_VARS['driver_id']) : 0;</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$driver_penalty = ( isset($HTTP_POST_VARS['driver_penalty']) ) ? intval ($HTTP_POST_VARS['driver_penalty']) : '';</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$sql = "INSERT INTO " . FORMEL_DRIVERS_TABLE . " (driver_id,driver_name,driver_img,driver_team) VALUES ('','$drivername','$driverimg','$driverteam')";</code></pre></div> ersetze durch:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$sql = "INSERT INTO " . FORMEL_DRIVERS_TABLE . " (driver_id,driver_name,driver_img,driver_team) VALUES ('','$drivername','$driverimg','$driverteam')";</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>SET driver_name = '$drivername',driver_img = '$driverimg',driver_team = '$driverteam'</code></pre></div> ersetze durch:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>SET driver_name = '$drivername',driver_img = '$driverimg',driver_team = $driverteam,driver_penalty = '$driver_penalty'</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>SET driver_name = '$drivername',driver_team = '$driverteam'</code></pre></div> ersetze durch:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>SET driver_name = '$drivername',driver_team = $driverteam,driver_penalty = '$driver_penalty'</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$preselected_id = $row['driver_team'];</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$driver_penalty = $row['driver_penalty'];</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'PREDEFINED_IMG' => $driverimg,</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'PREDEFINED_PENALTY' => $driver_penalty,</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_DRIVERS' => $lang['formel_acp_drivers'],</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_DRIVERPOINTS_PENALTY' => $lang['formel_acp_driverpoints_penalty']</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'DRIVERTEAM' => $teams[$row['driver_team']],</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'DRIVERPOINTS_PENALTY' => $row['driver_penalty'], 'DRIVERPOINTS' => $points - $row['driver_penalty']</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'DRIVERTEAM' => $teams[$row['driver_team']],</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'DRIVERPOINTS_PENALTY' => $row['driver_penalty'], 'DRIVERPOINTS' => $points - $row['driver_penalty']</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_DRIVERPOINTS' => $lang['formel_acp_driverpoints'],</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_DRIVERPOINTS_PENALTY' => $lang['formel_acp_driverpoints_penalty'],</code></pre></div> <br> Suche in der <strong class="text-strong">admin_formel_drivers_body.tpl</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="cat" align="center" valign="middle" nowrap="nowrap"><span class="cattitle"><strong>{L_DRIVERPOINTS}</strong></span></td></code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="cat" align="center" valign="middle" nowrap="nowrap"><span class="cattitle"><strong>{L_DRIVERPOINTS_PENALTY}</strong></span></td></code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="genmed">&nbsp;{driverrow_gfx.DRIVERPOINTS}&nbsp;</span></td></code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="genmed">&nbsp;{driverrow_gfx.DRIVERPOINTS_PENALTY}&nbsp;</span></td></code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="genmed">&nbsp;{driverrow.DRIVERPOINTS}&nbsp;</span></td></code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="genmed">&nbsp;{driverrow.DRIVERPOINTS_PENALTY}&nbsp;</span></td></code></pre></div> suche in der <strong class="text-strong">admin_formel_adddriver_body.tpl</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> <tr> <td class="row1" align="right" width="50%" valign="middle" nowrap="nowrap"><span class="genmed"><strong>{L_DRIVERIMG}:</strong></span>&nbsp;</td> <td class="row1" align="left" width="50%" valign="middle" nowrap="nowrap">&nbsp;<input type="text" class="post" size="30" name="driverimg" value="{PREDEFINED_IMG}" /></td> </tr> </code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> <tr> <td class="row1" align="right" width="50%" valign="middle" nowrap="nowrap"><span class="genmed"><strong>{L_DRIVERPOINTS_PENALTY}:</strong></span>&nbsp;</td> <td class="row1" align="left" width="50%" valign="middle" nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="driver_penalty" value="{PREDEFINED_PENALTY}" /></td> </tr></code></pre></div> suche in der <strong class="text-strong">admin_formel_teams.php</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$teamcar = ( isset($HTTP_POST_VARS['teamcar']) ) ? $HTTP_POST_VARS['teamcar'] : '';</code></pre></div> füge danach ein:<br> <br> $teampenalty = ( isset($HTTP_POST_VARS['team_penalty']) )? $HTTP_POST_VARS['team_penalty'] : '';[/code]<br> <br> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$sql = "INSERT INTO " . FORMEL_TEAMS_TABLE . " (team_id,team_name,team_img,team_car,team_penalty) VALUES ('','$teamname','$teamflag','$teamcar','$teampenalty')";</code></pre></div> ersetze durch:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$sql = "INSERT INTO " . FORMEL_TEAMS_TABLE . " (team_id,team_name,team_img,team_car,team_penalty) VALUES ('','$teamname','$teamflag','$teamcar','$teampenalty')";</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$sql = "UPDATE " . FORMEL_TEAMS_TABLE . " SET team_name = '$teamname',team_img = '$teamimg',team_car = '$teamcar',team_penalty = '$teampenalty' WHERE team_id = " . $team_id;</code></pre></div> ersetze durch:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$sql = "UPDATE " . FORMEL_TEAMS_TABLE . " SET team_name = '$teamname',team_img = '$teamimg',team_flag = '$teamflag',team_car = '$teamcar',team_penalty = '$teampenalty' WHERE team_id = " . $team_id;</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$teamcar = $row['team_car'];</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$teampenalty = $row['team_penalty'];</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'PREDEFINED_CAR' => $teamcar,</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'PREDEFINED_PENALTY' => $teampenalty,</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_TEAMCAR' => $lang['formel_acp_teamcar'],</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_TEAMS_PENALTY' => $lang['formel_acp_driverpoints_penalty'],</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$team_car = $row['team_car'];</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$team_penalty = $row['team_penalty'];</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'TEAMID' => $row['team_id'],</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'POINTS' => $points - $row['team_penalty'],</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'TEAMCAR' => $team_car,</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'TEAM_PENALTY' => $row['team_penalty']</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'TEAMID' => $row['team_id'],</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'POINTS' => $points - $row['team_penalty'],</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'TEAMCAR' => $team_car,</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'TEAM_PENALTY' => $row['team_penalty']</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_POINTS' => $lang['formel_acp_driverpoints'],</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_TEAMS_PENALTY' => $lang['formel_acp_driverpoints_penalty'],</code></pre></div> Suche in der <strong class="text-strong">admin_formel_teams_body.tpl</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="cat" align="center" valign="middle" nowrap="nowrap"><span class="cattitle"><strong>{L_POINTS}</strong></span></td></code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="cat" align="center" valign="middle" nowrap="nowrap"><span class="cattitle"><strong>{L_TEAMS_PENALTY}</strong></span></td></code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="row1" align="center" valign="middle" nowrap="nowrap">&nbsp;{teamrow.POINTS}&nbsp;</td></code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="row1" align="center" valign="middle" nowrap="nowrap">&nbsp;{teamrow.TEAM_PENALTY}&nbsp;</td></code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="row1" align="center" valign="middle" nowrap="nowrap">&nbsp;{teamrow_gfx.POINTS}&nbsp;</td></code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="row1" align="center" valign="middle" nowrap="nowrap">&nbsp;{teamrow_gfx.TEAM_PENALTY}&nbsp;</td></code></pre></div> Suche in der <strong class="text-strong">admin_formel_addteam_body.tpl</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> <tr> <td class="row1" align="right" width="50%" valign="middle" nowrap="nowrap"><span class="genmed"><strong>{L_TEAMCAR}:</strong></span>&nbsp;</td> <td class="row1" align="left" width="50%" valign="middle" nowrap="nowrap">&nbsp;<input type="text" class="post" size="30" name="teamcar" value="{PREDEFINED_CAR}" /></td> </tr></code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> <tr> <td class="row1" align="right" width="50%" valign="middle" nowrap="nowrap"><span class="genmed"><strong>{L_TEAMS_PENALTY}:</strong></span>&nbsp;</td> <td class="row1" align="left" width="50%" valign="middle" nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="team_penalty" value="{PREDEFINED_PENALTY}" /></td> </tr></code></pre></div> Suche in der <strong class="text-strong">lang_formel.php</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$lang['formel_acp_driverpoints'] = 'WM Punkte';</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$lang['formel_acp_driverpoints_penalty'] = 'Strafpunkte';</code></pre></div> Damit kann der Admin im ACP für Fahrer und Teams getrennt Strafpunkte eintragen. Damit diese Strafpunkte aber auch das aktuelle Punktesystem einbezogen wird sind noch folgende Änderungen zu machen.<br> <br> Suche in der <strong class="text-strong">formel.php</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>// // Get all wm points and fill Top10 drivers // $sql = "SELECT sum(wm_points) AS total_points, wm_driver FROM " . FORMEL_WM_TABLE . " GROUP BY wm_driver ORDER BY total_points DESC LIMIT 5"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query drivers', '', __LINE__, __FILE__, $sql); } $first_rank = $phpbb_root_path . "images/formel/goldpokal.gif"; $secound_rank = $phpbb_root_path . "images/formel/silberpokal.gif"; $third_rank = $phpbb_root_path . "images/formel/bronzepokal.gif"; $rank = $real_rank = 0; $previous_points = false; while ($row = $db->sql_fetchrow($result)) { $real_rank++; if($row['total_points'] != $previous_points) { $rank = $real_rank; $previous_points = $row['total_points']; } if ($rank === 1) { $rank_img = '<img src="' . $first_rank . '" alt="1. Platz" title="1. Platz" />'; } elseif ($rank === 2) { $rank_img = '<img src="' . $secound_rank . '" alt="2. Platz" title="2. Platz" />'; } elseif ($rank === 3) { $rank_img = '<img src="' . $third_rank . '" alt="3. Platz" title="3. Platz" />'; } else { $rank_img = $rank; } $template->assign_block_vars('top_drivers', array( 'RANK' => $rank_img, 'WM_DRIVERNAME' => $wm_drivername, 'WM_POINTS' => $driver['total_points'] ) ); } $db->sql_freeresult($result);</code></pre></div> und ersetze diesen Block durch diesen:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>// // Get all wm points and fill Top10 drivers // $sql = "SELECT sum(wm_points) AS total_points, wm_driver FROM " . FORMEL_WM_TABLE . " GROUP BY wm_driver ORDER BY total_points DESC LIMIT 5"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query drivers', '', __LINE__, __FILE__, $sql); } //Stop! we have to recalc the driver WM points... maybe we have some penalty ! $recalc_drivers = array(); while ($row = $db->sql_fetchrow($result)) { $recalc_drivers[$row['wm_driver']]['total_points'] = $row['total_points'] - $drivers[$row['wm_driver']]['driver_penalty']; $recalc_drivers[$row['wm_driver']]['driver_name'] = $drivers[$row['wm_driver']]['driver_name']; } // re-sort the drivers. Big points first ;-) arsort($recalc_drivers); $first_rank = $phpbb_root_path . "images/formel/goldpokal.gif"; $secound_rank = $phpbb_root_path . "images/formel/silberpokal.gif"; $third_rank = $phpbb_root_path . "images/formel/bronzepokal.gif"; $rank = $real_rank = 0; $previous_points = false; foreach ($recalc_drivers as $driver_id => $driver) { $real_rank++; if ($driver['total_points'] <> $previous_points) { $rank = $real_rank; $previous_points = $driver['total_points']; } if ($rank === 1) { $rank_img = '<img src="' . $first_rank . '" alt="1. Platz" title="1. Platz" />'; } elseif ($rank === 2) { $rank_img = '<img src="' . $secound_rank . '" alt="2. Platz" title="2. Platz" />'; } elseif ($rank === 3) { $rank_img = '<img src="' . $third_rank . '" alt="3. Platz" title="3. Platz" />'; } else { $rank_img = $rank; } $wm_drivername = $driver['driver_name']; $template->assign_block_vars('top_drivers', array( 'RANK' => $rank_img, 'WM_DRIVERNAME' => $wm_drivername, 'WM_POINTS' => $driver['total_points'] ) ); } $db->sql_freeresult($result);</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>// // Get all wm points and fill Top10 teams // $sql = "SELECT sum(wm_points) AS total_points, wm_team FROM " . FORMEL_WM_TABLE . " GROUP BY wm_team ORDER BY total_points DESC LIMIT 5"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query teams', '', __LINE__, __FILE__, $sql); } $first_rank = $phpbb_root_path . "images/formel/goldpokal.gif"; $secound_rank = $phpbb_root_path . "images/formel/silberpokal.gif"; $third_rank = $phpbb_root_path . "images/formel/bronzepokal.gif"; $rank = $real_rank = 0; $previous_points = false; while ($row = $db->sql_fetchrow($result)) { $real_rank++; if($row['total_points'] != $previous_points) { $rank = $real_rank; $previous_points = $row['total_points']; } $wm_teamname = $team['team_name']; $wm_teamimg = $team['team_img']; $wm_teamcar = $team['team_car']; $wm_points = $team['total_points']; if ($rank === 1) { $rank_img = '<img src="' . $first_rank . '" alt="1. Platz" title="1. Platz" />'; } elseif ($rank === 2) { $rank_img = '<img src="' . $secound_rank . '" alt="2. Platz" title="2. Platz" />'; } elseif ($rank === 3) { $rank_img = '<img src="' . $third_rank . '" alt="3. Platz" title="3. Platz" />'; } else { $rank_img = $rank; } $template->assign_block_vars('top_teams', array( 'RANK' => $rank_img, 'WM_TEAMNAME' => $wm_teamname, 'WM_POINTS' => $wm_points ) ); } $db->sql_freeresult($result);</code></pre></div> und ersetze diesen Block durch diesen:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>// // Get all wm points and fill Top10 teams // $sql = "SELECT sum(wm_points) AS total_points, wm_team FROM " . FORMEL_WM_TABLE . " GROUP BY wm_team ORDER BY total_points DESC LIMIT 5"; if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Could not query teams', '', __LINE__, __FILE__, $sql); } //Stop! we have to recalc the WM points... maybe we have some penalty ! $recalc_teams = array(); while ($row = $db->sql_fetchrow($result)) { $recalc_teams[$row['wm_team']]['total_points'] = $row['total_points'] - $teams[$row['wm_team']]['team_penalty']; $recalc_teams[$row['wm_team']]['team_name'] = $teams[$row['wm_team']]['team_name']; $recalc_teams[$row['wm_team']]['team_img'] = $teams[$row['wm_team']]['team_img']; $recalc_teams[$row['wm_team']]['team_car'] = $teams[$row['wm_team']]['team_car']; } // re-sort the teams. Big points first ;-) arsort($recalc_teams); $first_rank = $phpbb_root_path . "images/formel/goldpokal.gif"; $secound_rank = $phpbb_root_path . "images/formel/silberpokal.gif"; $third_rank = $phpbb_root_path . "images/formel/bronzepokal.gif"; $rank = $real_rank = 0; $previous_points = false; foreach ($recalc_teams as $team_id => $team) { $real_rank++; if ($team['total_points'] <> $previous_points) { $rank = $real_rank; $previous_points = $team['total_points']; } $wm_teamname = $team['team_name']; $wm_teamimg = $team['team_img']; $wm_teamcar = $team['team_car']; $wm_points = $team['total_points']; if ($rank === 1) { $rank_img = '<img src="' . $first_rank . '" alt="1. Platz" title="1. Platz" />'; } elseif ($rank === 2) { $rank_img = '<img src="' . $secound_rank . '" alt="2. Platz" title="2. Platz" />'; } elseif ($rank === 3) { $rank_img = '<img src="' . $third_rank . '" alt="3. Platz" title="3. Platz" />'; } else { $rank_img = $rank; } $template->assign_block_vars('top_teams', array( 'RANK' => $rank_img, 'WM_TEAMNAME' => $wm_teamname, 'WM_POINTS' => $wm_points ) ); } $db->sql_freeresult($result);</code></pre></div> Nun werden die Strafpunkt in die Berechnung der Punktemit einbezogen.<br> <br> Ich hoffe nichts vergessen zu haben. <img class="smilies" src="./images/smilies/icon_rolleyes.gif" width="15" height="17" alt=":roll:" title="Augen verdrehen"> <br> <br> Bye</div> <div class="notice"> Zuletzt geändert von <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a> am 17.03.2010 19:37, insgesamt 1-mal geändert. </div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1168719" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile1168719"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="avatar"><img class="avatar" src="./download/file.php?avatar=19974_1268110190.gif" width="80" height="67" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a> </dt> <dd class="profile-rank">Mitglied</dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=19974&sr=posts&sid=c8a1afd2db2efd9abf96793fb189e70a">635</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 11.07.2004 10:04</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Berlin</dd> </dl> <div class="postbody"> <div id="post_content1168719"> <h3 > <a href="./viewtopic.php?p=1168719&sid=c8a1afd2db2efd9abf96793fb189e70a#p1168719">Formel1 Mod: Startnummern der Fahrer</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1168719&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1168719&sid=c8a1afd2db2efd9abf96793fb189e70a#p1168719" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a></strong> » </span><time datetime="2010-03-17T18:36:04+00:00">17.03.2010 19:36</time> </p> <div class="content">Hi! <img class="smilies" src="./images/smilies/icon_cool.gif" width="15" height="17" alt="8)" title="Fetzig"><br> <br> Für die Übersicht bei den Fahrern im ACP bietet es sich an die offiziellen Startnummern zur Sortierung zu nutzen. Dies wird folgendermaßen erreicht:<br> <br> Zuerst erstelle per PMA ein neues Tabellenfeld:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>ALTER TABLE `phpbb_formel_drivers` ADD `driver_nr` TINYINT NOT NULL DEFAULT '0'</code></pre></div> Dann suche in der <strong class="text-strong">admin_formel_drivers.php</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$driver_id = ( isset($HTTP_POST_VARS['driver_id']) ) ? intval ($HTTP_POST_VARS['driver_id']) : 0;</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$driver_nr = ( isset($HTTP_POST_VARS['driver_nr']) ) ? intval ($HTTP_POST_VARS['driver_nr']) : '';</code></pre></div> suche nach:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$sql = "INSERT INTO " . FORMEL_DRIVERS_TABLE . " (driver_id,driver_name,driver_img,driver_team,driver_penalty) VALUES ('','$drivername','$driverimg','$driverflag',$driverteam,'$driver_penalty')";</code></pre></div> ersetze mit:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$sql = "INSERT INTO " . FORMEL_DRIVERS_TABLE . " (driver_id,driver_name,driver_img,driver_nation,driver_flag,driver_team,driver_penalty,driver_nr) VALUES ('','$drivername','$driverimg','$driverflag',$driverteam,'$driver_penalty','$driver_nr')";</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>SET driver_name = '$drivername',driver_img = '$driverimg',driver_team = $driverteam,driver_penalty = '$driver_penalty',driver_nr = '$driver_nr' WHERE driver_id = $driver_id";</code></pre></div> ersetze mit:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>SET driver_name = '$drivername',driver_img = '$driverimg',driver_team = $driverteam,driver_penalty = '$driver_penalty',driver_nr = '$driver_nr' WHERE driver_id = $driver_id";</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>SET driver_name = '$drivername',driver_team = $driverteam,driver_penalty = '$driver_penalty' WHERE driver_id = $driver_id";</code></pre></div> ersetze mit:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>SET driver_name = '$drivername',driver_team = $driverteam,driver_penalty = '$driver_penalty',driver_nr = '$driver_nr' WHERE driver_id = $driver_id";</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$preselected_id = $row['driver_team'];</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$driver_nr = $row['driver_nr'];</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'PREDEFINED_IMG' => $driverimg,</code></pre></div> füge danach ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'PREDEFINED_NR' => $driver_nr,</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_DRIVERIMG' => $lang['formel_acp_driverimg'],</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_DRIVERNR' => $lang['formel_acp_drivernr'],</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>// // Get all drivers data // $sql = "SELECT * FROM " . FORMEL_DRIVERS_TABLE . " ... if (!$result = $db->sql_query($sql)</code></pre></div> ersetze durch:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>// // Get all drivers data // $sql = "SELECT * FROM " . FORMEL_DRIVERS_TABLE . " ORDER BY driver_nr ASC"; if (!$result = $db->sql_query($sql)</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'DRIVERTEAM' => $teams[$row['driver_team']],</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'DRIVERNR' => $row['driver_nr'],</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'DRIVERTEAM' => $teams[$row['driver_team']],</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'DRIVERNR' => $row['driver_nr'],</code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_DRIVERTEAM' => $lang['formel_acp_driverteam'],</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>'L_DRIVERNR' => $lang['formel_acp_drivernr'],</code></pre></div> Suche in der <strong class="text-strong">lang_formel.php</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$lang['formel_acp_drivername'] = 'Fahrer';</code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code>$lang['formel_acp_drivernr'] = 'Startnummer';</code></pre></div> Suche in der <strong class="text-strong">admin_drivers_body.tpl</strong>:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="cat" align="center" valign="middle">&nbsp;</td></code></pre></div> ersetze mit:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="cat" align="center" valign="middle">{L_DRIVERNR}</td></code></pre></div> suche:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="row1" align="center" valign="middle" nowrap="nowrap">&nbsp;{driverrow_gfx.DRIVERIMG}&nbsp;</td></code></pre></div> davor füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code><td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="genmed">{driverrow_gfx.DRIVERNR}</span></td></code></pre></div> Suche in der <strong class="text-strong">admin_adddrivers_body.tpl</strong>::<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> <tr> <td class="row1" align="right" width="50%" valign="middle" nowrap="nowrap"><span class="genmed"><strong>{L_DRIVERIMG}:</strong></span>&nbsp;</td> <td class="row1" align="left" width="50%" valign="middle" nowrap="nowrap">&nbsp;<input type="text" class="post" size="30" name="driverimg" value="{PREDEFINED_IMG}" /></td> </tr></code></pre></div> danach füge ein:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> <tr> <td class="row1" align="right" width="50%" valign="middle" nowrap="nowrap"><span class="genmed"><strong>{L_DRIVERNR}:</strong></span>&nbsp;</td> <td class="row1" align="left" width="50%" valign="middle" nowrap="nowrap">&nbsp;<input type="text" class="post" size="30" name="driver_nr" value="{PREDEFINED_NR}" /></td> </tr></code></pre></div> Das wars. <img class="smilies" src="./images/smilies/icon_e_smile.gif" width="15" height="17" alt=":-)" title="Lächeln"><br> <br> Bye</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1168803" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile1168803"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=8739&sid=c8a1afd2db2efd9abf96793fb189e70a" class="avatar"><img class="avatar" src="./download/file.php?avatar=8739_1704634026.png" width="52" height="80" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=8739&sid=c8a1afd2db2efd9abf96793fb189e70a" style="color: #58A504;" class="username-coloured">Dr.Death</a> </dt> <dd class="profile-rank">Moderator<br /><img src="./images/ranks/rang_moderator.png" alt="Moderator" title="Moderator" /></dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=8739&sr=posts&sid=c8a1afd2db2efd9abf96793fb189e70a">17443</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 23.04.2003 08:22</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Xanten</dd> <dd class="profile-contact"> <strong>Kontaktdaten:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Kontaktdaten von Dr.Death"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Kontaktdaten von Dr.Death</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="http://www.lpi-clan.de" title="Website" class="last-cell"> <span class="contact-icon phpbb_website-icon">Website</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content1168803"> <h3 > <a href="./viewtopic.php?p=1168803&sid=c8a1afd2db2efd9abf96793fb189e70a#p1168803">Re: [Release] Formula 1 WebTip</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1168803&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1168803&sid=c8a1afd2db2efd9abf96793fb189e70a#p1168803" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=8739&sid=c8a1afd2db2efd9abf96793fb189e70a" style="color: #58A504;" class="username-coloured">Dr.Death</a></strong> » </span><time datetime="2010-03-18T06:58:36+00:00">18.03.2010 07:58</time> </p> <div class="content">Hi,<br> <br> warum verpackst Du Deine ganzen Änderungen nicht in eine MOD Beschreibung ? <img class="smilies" src="./images/smilies/icon_e_wink.gif" width="15" height="17" alt=";-)" title="Zwinkern"></div> <div id="sig1168803" class="signature">Doc.<br> <br> <a href="https://www.phpbb.de/kb/knigge" class="postlink">Der kleine phpBB.de-Knigge - unsere Hausordnung</a></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1168933" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile1168933"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="avatar"><img class="avatar" src="./download/file.php?avatar=19974_1268110190.gif" width="80" height="67" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a> </dt> <dd class="profile-rank">Mitglied</dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=19974&sr=posts&sid=c8a1afd2db2efd9abf96793fb189e70a">635</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 11.07.2004 10:04</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Berlin</dd> </dl> <div class="postbody"> <div id="post_content1168933"> <h3 > <a href="./viewtopic.php?p=1168933&sid=c8a1afd2db2efd9abf96793fb189e70a#p1168933">Re: [Release] Formula 1 WebTip</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1168933&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1168933&sid=c8a1afd2db2efd9abf96793fb189e70a#p1168933" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=19974&sid=c8a1afd2db2efd9abf96793fb189e70a" class="username">Dungeonwatcher</a></strong> » </span><time datetime="2010-03-18T18:17:01+00:00">18.03.2010 19:17</time> </p> <div class="content">Hi! <img class="smilies" src="./images/smilies/icon_cool.gif" width="15" height="17" alt="8)" title="Fetzig"><br> <blockquote><div><cite>Dr.Death hat geschrieben:</cite>warum verpackst Du Deine ganzen Änderungen nicht in eine MOD Beschreibung ? <img class="smilies" src="./images/smilies/icon_e_wink.gif" width="15" height="17" alt=";-)" title="Zwinkern"></div></blockquote> Weil diese ganzen Änderungen nicht wirklich mehr mit dem Original harmonieren und ich mittlerweile die Übersicht über meine ganzen Änderungen/Erweiterungen verloren habe. <img class="smilies" src="./images/smilies/icon_rolleyes.gif" width="15" height="17" alt=":roll:" title="Augen verdrehen"> Eigentlich müsste fast der ganze Mod ersetzt werden. <br> <br> Auf oxpus.de habe ich meine aktuellen Dateien testweise einem Interessenten zum DL bereitgestellt und eine Kurzbeschreibung für die Erweiterung der DB dazu geschrieben. Wenn es der Betreffende damit problemlos schafft seinen Mod damit zu ersetzen, dann mache ich mich aber daran das ganze in eine Moderweiterung bzw. -ersetzung zu packen. <br> <br> Bye</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div class="action-bar bar-bottom"> <a href="./posting.php?mode=reply&t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a" class="button" title="Antwort erstellen"> <span>Antworten</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i> </a> <div class="dropdown-container dropdown-button-control topic-tools"> <span title="Themen-Optionen" class="button button-secondary dropdown-trigger dropdown-select"> <i class="icon fa-wrench fa-fw" aria-hidden="true"></i> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents"> <li> <a href="./viewtopic.php?t=94133&start=510&sid=c8a1afd2db2efd9abf96793fb189e70a&view=print" title="Druckansicht" accesskey="p"> <i class="icon fa-print fa-fw" aria-hidden="true"></i><span>Druckansicht</span> </a> </li> </ul> </div> </div> <form method="post" action="./viewtopic.php?t=94133&start=510&sid=c8a1afd2db2efd9abf96793fb189e70a"> <div class="dropdown-container dropdown-container-left dropdown-button-control sort-tools"> <span title="Anzeige- und Sortierungs-Einstellungen" class="button button-secondary dropdown-trigger dropdown-select"> <i class="icon fa-sort-amount-asc fa-fw" aria-hidden="true"></i> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown hidden"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents"> <fieldset class="display-options"> <label>Anzeigen: <select name="st" id="st"><option value="0" selected="selected">Alle Beiträge</option><option value="1">1 Tag</option><option value="7">7 Tage</option><option value="14">2 Wochen</option><option value="30">1 Monat</option><option value="90">3 Monate</option><option value="180">6 Monate</option><option value="365">1 Jahr</option></select></label> <label>Sortiere nach: <select name="sk" id="sk"><option value="a">Autor</option><option value="t" selected="selected">Erstellungsdatum</option><option value="s">Betreff</option></select></label> <label>Richtung: <select name="sd" id="sd"><option value="a" selected="selected">Aufsteigend</option><option value="d">Absteigend</option></select></label> <hr class="dashed" /> <input type="submit" class="button2" name="sort" value="Los" /> </fieldset> </div> </div> </div> </form> <div class="pagination"> 520 Beiträge <ul> <li class="dropdown-container dropdown-button-control dropdown-page-jump page-jump"> <a class="button button-icon-only dropdown-trigger" href="#" title="Klicke, um auf Seite … zu gehen" role="button"><i class="icon fa-level-down fa-rotate-270" aria-hidden="true"></i><span class="sr-only">Seite <strong>52</strong> von <strong>52</strong></span></a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents"> <li>Gehe zu Seite:</li> <li class="page-jump-form"> <input type="number" name="page-number" min="1" max="999999" title="Gib die Nummer der Seite an, zu der du gehen möchtest." class="inputbox tiny" data-per-page="10" data-base-url="./viewtopic.php?t=94133&amp;sid=c8a1afd2db2efd9abf96793fb189e70a" data-start-name="start" /> <input class="button2" value="Los" type="button" /> </li> </ul> </div> </li> <li class="arrow previous"><a class="button button-icon-only" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a&start=500" rel="prev" role="button"><i class="icon fa-chevron-left fa-fw" aria-hidden="true"></i><span class="sr-only">Vorherige</span></a></li> <li><a class="button" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a" role="button">1</a></li> <li class="ellipsis" role="separator"><span>…</span></li> <li><a class="button" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a&start=470" role="button">48</a></li> <li><a class="button" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a&start=480" role="button">49</a></li> <li><a class="button" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a&start=490" role="button">50</a></li> <li><a class="button" href="./viewtopic.php?t=94133&sid=c8a1afd2db2efd9abf96793fb189e70a&start=500" role="button">51</a></li> <li class="active"><span>52</span></li> </ul> </div> </div> <div class="action-bar actions-jump"> <p class="jumpbox-return"> <a href="./viewforum.php?f=48&sid=c8a1afd2db2efd9abf96793fb189e70a" class="left-box arrow-left" accesskey="r"> <i class="icon fa-angle-left fa-fw icon-black" aria-hidden="true"></i><span>Zurück zu „phpBB 2.0: Mods in Entwicklung“</span> </a> </p> <div class="jumpbox dropdown-container dropdown-container-right dropdown-up dropdown-left dropdown-button-control" id="jumpbox"> <span title="Gehe zu" class="button button-secondary dropdown-trigger dropdown-select"> <span>Gehe zu</span> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents"> <li><a href="./viewforum.php?f=96&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-cat-link"> <span> Wichtige Neuigkeiten</span></a></li> <li><a href="./viewforum.php?f=9&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Ankündigungen und Neuigkeiten</span></a></li> <li><a href="./viewforum.php?f=164&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Der kleine phpBB.de-Knigge - unsere Hausordnung</span></a></li> <li><a href="./viewforum.php?f=144&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-cat-link"> <span> phpBB 3.3.x</span></a></li> <li><a href="./viewforum.php?f=145&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Support-Forum</span></a></li> <li><a href="./viewforum.php?f=148&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Extension-Foren</span></a></li> <li><a href="./viewforum.php?f=150&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Extension Support</span></a></li> <li><a href="./viewforum.php?f=151&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Extension Suche/Anfrage</span></a></li> <li><a href="./viewforum.php?f=149&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Extensions in Entwicklung</span></a></li> <li><a href="./viewforum.php?f=140&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Extension Bastelstube</span></a></li> <li><a href="./viewforum.php?f=163&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ ABD Extensions</span></a></li> <li><a href="./viewforum.php?f=152&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Style-Foren</span></a></li> <li><a href="./viewforum.php?f=153&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Styles, Templates und Grafiken</span></a></li> <li><a href="./viewforum.php?f=154&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Styles in Entwicklung</span></a></li> <li><a href="./viewforum.php?f=141&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Übersetzungs-Foren</span></a></li> <li><a href="./viewforum.php?f=161&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.3.x] Übersetzungs-Diskussionen</span></a></li> <li><a href="./viewforum.php?f=157&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.2.x] Übersetzungs-Diskussionen</span></a></li> <li><a href="./viewforum.php?f=156&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Extension-Übersetzungen</span></a></li> <li><a href="./viewforum.php?f=143&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Übersetzungs-Diskussionen (abgeschlossen)</span></a></li> <li><a href="./viewforum.php?f=103&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-cat-link"> <span> Entwickler-Ecke</span></a></li> <li><a href="./viewforum.php?f=6&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Coding & Technik</span></a></li> <li><a href="./viewforum.php?f=158&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Area51 auf phpBB.com</span></a></li> <li><a href="./viewforum.php?f=100&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-cat-link"> <span> Frühere Versionen</span></a></li> <li><a href="./viewforum.php?f=155&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Foren für phpBB 3.0</span></a></li> <li><a href="./viewforum.php?f=97&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Support-Foren</span></a></li> <li><a href="./viewforum.php?f=73&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Installation, Update und Konvertierung</span></a></li> <li><a href="./viewforum.php?f=74&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Administration, Benutzung und Betrieb</span></a></li> <li><a href="./viewforum.php?f=98&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mod-Foren</span></a></li> <li><a href="./viewforum.php?f=85&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Snippets</span></a></li> <li><a href="./viewforum.php?f=87&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mod Suche/Anfragen</span></a></li> <li><a href="./viewforum.php?f=86&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mod Support</span></a></li> <li><a href="./viewforum.php?f=88&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mods in Entwicklung</span></a></li> <li><a href="./viewforum.php?f=93&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mod Bastelstube</span></a></li> <li><a href="./viewforum.php?f=99&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Style-Foren</span></a></li> <li><a href="./viewforum.php?f=89&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Styles, Templates und Grafiken</span></a></li> <li><a href="./viewforum.php?f=129&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Styles in Entwicklung</span></a></li> <li><a href="./viewforum.php?f=136&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Übersetzungs-Foren</span></a></li> <li><a href="./viewforum.php?f=137&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] phpBB.de-Übersetzungen</span></a></li> <li><a href="./viewforum.php?f=134&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mod-Übersetzungen</span></a></li> <li><a href="./viewforum.php?f=135&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Foren für phpBB 2.0</span></a></li> <li><a href="./viewforum.php?f=12&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Installation und Update</span></a></li> <li><a href="./viewforum.php?f=13&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Administration, Benutzung und Betrieb</span></a></li> <li><a href="./viewforum.php?f=101&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0 Mods</span></a></li> <li><a href="./viewforum.php?f=37&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Mod-Datenbank</span></a></li> <li><a href="./viewforum.php?f=34&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Snippets</span></a></li> <li><a href="./viewforum.php?f=47&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Mod Suche/Anfragen</span></a></li> <li><a href="./viewforum.php?f=49&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Mod Support</span></a></li> <li><a href="./viewforum.php?f=48&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Mods in Entwicklung</span></a></li> <li><a href="./viewforum.php?f=102&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0 Styles</span></a></li> <li><a href="./viewforum.php?f=42&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Styles-Datenbank</span></a></li> <li><a href="./viewforum.php?f=35&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Styles, Templates und Grafiken</span></a></li> <li><a href="./viewforum.php?f=94&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Mod-Bastelstube</span></a></li> <li><a href="./viewforum.php?f=104&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-cat-link"> <span> Community-Foren</span></a></li> <li><a href="./viewforum.php?f=19&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Community Talk</span></a></li> <li><a href="./viewforum.php?f=33&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ phpBB Diskussion</span></a></li> <li><a href="./viewforum.php?f=67&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Show-Off</span></a></li> <li><a href="./viewforum.php?f=105&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ phpBB Regional</span></a></li> <li><a href="./viewforum.php?f=77&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in Norddeutschland</span></a></li> <li><a href="./viewforum.php?f=78&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in Ostdeutschland</span></a></li> <li><a href="./viewforum.php?f=79&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in Süddeutschland</span></a></li> <li><a href="./viewforum.php?f=80&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in Westdeutschland</span></a></li> <li><a href="./viewforum.php?f=81&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in Österreich</span></a></li> <li><a href="./viewforum.php?f=82&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in der Schweiz und Liechtenstein</span></a></li> <li><a href="./viewforum.php?f=83&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB im sonstigen Ausland</span></a></li> <li><a href="./viewforum.php?f=72&sid=c8a1afd2db2efd9abf96793fb189e70a" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Newsletter-Archiv</span></a></li> </ul> </div> </div> </div> </div> <div id="page-footer" class="page-footer" role="contentinfo"> <div class="navbar" role="navigation"> <div class="inner"> <ul id="nav-footer" class="nav-footer linklist" role="menubar"> <li class="breadcrumbs"> <span class="crumb"><a href="./../" data-navbar-reference="home"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span>Startseite</span></a></span> <span class="crumb"><a href="./index.php?sid=c8a1afd2db2efd9abf96793fb189e70a" data-navbar-reference="index"><span>Community</span></a></span> </li> <li class="rightside">Alle Zeiten sind <span title="Europa/Berlin">UTC+01:00</span></li> <li class="rightside"> <a href="/community/user/delete_cookies?sid=c8a1afd2db2efd9abf96793fb189e70a" data-ajax="true" data-refresh="true" role="menuitem"> <i class="icon fa-trash fa-fw" aria-hidden="true"></i><span>Alle Cookies löschen</span> </a> </li> <li class="rightside" data-last-responsive="true"> <a href="./../phpbbde/impressum/?sid=c8a1afd2db2efd9abf96793fb189e70a" role="menuitem"> <i class="icon fa-info-circle fa-fw" aria-hidden="true"></i><span>Impressum </span> </a> </li> <li class="rightside" data-last-responsive="true"> <a href="./../phpbbde/team/?sid=c8a1afd2db2efd9abf96793fb189e70a" role="menuitem"> <i class="icon fa-shield fa-fw" aria-hidden="true"></i><span>Das Team</span> </a> </li> <li class="rightside" data-last-responsive="true"> <a href="/community/contactadmin?sid=c8a1afd2db2efd9abf96793fb189e70a" role="menuitem"> <i class="icon fa-envelope fa-fw" aria-hidden="true"></i><span>Kontakt</span> </a> </li> </ul> </div> </div> <div class="copyright"> <p class="footer-row"> <span class="footer-copyright">Powered by <a href="https://www.phpbb.com/">phpBB</a>® Forum Software © phpBB Limited</span> </p> <p class="footer-row"> <span class="footer-copyright">Deutsche Übersetzung durch <a href="https://www.phpbb.de/">phpBB.de</a></span> </p> <p class="footer-row" role="menu"> <a class="footer-link" href="./ucp.php?mode=privacy&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Datenschutz" role="menuitem"> <span class="footer-link-text">Datenschutz</span> </a> | <a class="footer-link" href="./ucp.php?mode=terms&sid=c8a1afd2db2efd9abf96793fb189e70a" title="Nutzungsbedingungen" role="menuitem"> <span class="footer-link-text">Nutzungsbedingungen</span> </a> </p> <div class="sponsor-logo"> <a href="https://linevast.de/" rel="nofollow">hosted by Linevast.de <br> <img src="./styles/phpBBdev1/theme/images/linevast.png" alt="Linevast.de" height="63" width="257"> </a> </div> </div> <div id="darkenwrapper" class="darkenwrapper" data-ajax-error-title="AJAX-Fehler" data-ajax-error-text="Bei der Verarbeitung deiner Anfrage ist ein Fehler aufgetreten." data-ajax-error-text-abort="Der Benutzer hat die Anfrage abgebrochen." data-ajax-error-text-timeout="Bei deiner Anfrage ist eine Zeitüberschreitung aufgetreten. Bitte versuche es erneut." data-ajax-error-text-parsererror="Bei deiner Anfrage ist etwas falsch gelaufen und der Server hat eine ungültige Antwort zurückgegeben."> <div id="darken" class="darken"> </div> </div> <div id="phpbb_alert" class="phpbb_alert" data-l-err="Fehler" data-l-timeout-processing-req="Bei der Anfrage ist eine Zeitüberschreitung aufgetreten."> <a href="#" class="alert_close"> <i class="icon fa-times-circle fa-fw" aria-hidden="true"></i> </a> <h3 class="alert_title"> </h3><p class="alert_text"></p> </div> <div id="phpbb_confirm" class="phpbb_alert"> <a href="#" class="alert_close"> <i class="icon fa-times-circle fa-fw" aria-hidden="true"></i> </a> <div class="alert_text"></div> </div> </div> </div> <div> <a id="bottom" class="anchor" accesskey="z"></a> </div> <script src="./assets/javascript/jquery-3.7.1.min.js?assets_version=280"></script> <script src="./assets/javascript/core.js?assets_version=280"></script> <script src="./styles/phpBBdev1/template/forum_fn.js?assets_version=280"></script> <script src="./styles/phpBBdev1/template/ajax.js?assets_version=280"></script> <script src="./styles/phpBBdev1/template/phpbbde_navi.js?assets_version=280"></script> <script>(function(a){if(a.getElementsByTagName("pre").length){var c=a.getElementsByTagName("head")[0],b=a.createElement("script");a=a.createElement("link");b.type="text/javascript";b.onload=function(){hljs.initHighlighting()};b.async=!0;b.src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js";c.appendChild(b);a.type="text/css";a.rel="stylesheet";a.href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github-gist.min.css";c.appendChild(a)}})(document)</script> </body> </html>