CINXE.COM
phpBB.de - Eintrag ansehen - newspost2mail.php
<!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>phpBB.de - Eintrag ansehen - newspost2mail.php</title> <link rel="alternate" type="application/atom+xml" title="Feed - phpBB.de" href="/feed?sid=322983d5e3d9246195d9b799433b9f73"> <link rel="alternate" type="application/atom+xml" title="Feed - Neuigkeiten" href="/feed/news?sid=322983d5e3d9246195d9b799433b9f73"> <link rel="alternate" type="application/atom+xml" title="Feed - Neue Themen" href="/feed/topics?sid=322983d5e3d9246195d9b799433b9f73"> <link rel="alternate" type="application/atom+xml" title="Feed - Aktive Themen" href="/feed/topics_active?sid=322983d5e3d9246195d9b799433b9f73"> <!-- 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="./../community/assets/css/font-awesome.min.css?assets_version=280" rel="stylesheet"> <link href="./../community/styles/prosilver/theme/stylesheet.css?assets_version=280" rel="stylesheet" /> <link href="./../community/styles/phpBBdev1/theme/stylesheet.css?assets_version=280" rel="stylesheet"> <link href="./../community/styles/phpBBdev1/theme/de/stylesheet.css?assets_version=280" rel="stylesheet"> <link href="./../community/styles/phpBBdev1/theme/images/favicon/mask-icon.svg?assets_version=280" rel="mask-icon" color="#3E647B" /> <!--[if lte IE 9]> <link href="./../community/styles/prosilver/theme/tweaks.css?assets_version=280" rel="stylesheet"> <![endif]--> <link href="./../community/ext/phpbbde/pastebin/styles/prosilver/theme/pastebin.css?assets_version=280" rel="stylesheet" media="screen"> <link href="./../community/ext/rmcgirr83/contactadmin/styles/prosilver/theme/imageset.css?assets_version=280" rel="stylesheet" media="screen"> </head> <body id="phpbb" class="nojs notouch section-app/pastebin/ 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="./../community/search.php?sid=322983d5e3d9246195d9b799433b9f73" 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="./../community/search.php?sid=322983d5e3d9246195d9b799433b9f73" 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="322983d5e3d9246195d9b799433b9f73" /> </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=322983d5e3d9246195d9b799433b9f73"><span class="subnavi-toggle"></span>Über uns</a> <ul class="subnavi"> <li><a href="./../phpbbde/chronik/?sid=322983d5e3d9246195d9b799433b9f73">phpBB.de-Chronik <span>Die Geschichte von phpBB.de in Wort und Bild</span></a></li> <li><a href="./../phpbbde/team/?sid=322983d5e3d9246195d9b799433b9f73">Das Team <span>Erfahre mehr über das Team hinter phpBB.de</span></a></li> <li><a href="./../phpbbde/fragen/?sid=322983d5e3d9246195d9b799433b9f73">Fragen an das Team <span>Ihr habt gefragt, wir haben geantwortet</span></a></li> <li><a href="/contactadmin?sid=322983d5e3d9246195d9b799433b9f73">Kontaktformular <span>Formular zur Kontaktaufnahme mit dem phpBB.de-Team</span></a></li> <li><a href="./../phpbbde/impressum/?sid=322983d5e3d9246195d9b799433b9f73">Impressum <span>Das phpBB.de-Impressum</span></a></li> </ul> </li> <li class="navi-button but-phpbb"> <a href="./../infos/?sid=322983d5e3d9246195d9b799433b9f73"><span class="subnavi-toggle"></span>phpBB</a> <ul class="subnavi"> <li><a href="./../infos/?sid=322983d5e3d9246195d9b799433b9f73">Infos über phpBB <span>Erfahre mehr über phpBB</span></a></li> <li><a href="./../infos/tour/?sid=322983d5e3d9246195d9b799433b9f73">Die phpBB-Tour <span>Was ist phpBB und wo bekomme ich es?</span></a></li> <li><a href="./../infos/features/?sid=322983d5e3d9246195d9b799433b9f73">Feature-Vergleich <span>Lerne alle Features kennen, die dir phpBB bietet</span></a></li> <li><a href="./../infos/anpassen/?sid=322983d5e3d9246195d9b799433b9f73">phpBB anpassen <span>Nutze Erweiterungen und Styles, um phpBB deinen Wünschen anzupassen</span></a></li> <li><a href="./../infos/entwickler/3.3/?sid=322983d5e3d9246195d9b799433b9f73">Informationen für Entwickler <span>phpBB-Projektarchiv, nützliche Links, ...</span></a></li> <li><a href="./../xref/3.3/?sid=322983d5e3d9246195d9b799433b9f73">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=322983d5e3d9246195d9b799433b9f73"><span class="subnavi-toggle"></span>Downloads</a> <ul class="subnavi"> <li><a href="./../downloads/pakete/?sid=322983d5e3d9246195d9b799433b9f73">phpBB-Pakete <span>Die aktuellen dt. Komplett- und Updatepakete von phpBB</span></a></li> <li><a href="./../downloads/sprachpakete/?sid=322983d5e3d9246195d9b799433b9f73">Sprachpakete <span>Die aktuellen deutschen Sprachdateien für phpBB</span></a></li> <li><a href="./../downloads/entwicklung/?sid=322983d5e3d9246195d9b799433b9f73">Entwicklung <span>Entwickler-Downloads</span></a></li> </ul> </li> <li class="navi-button but-docu"> <a href="./../support/?sid=322983d5e3d9246195d9b799433b9f73"><span class="subnavi-toggle"> </span>Support</a> <ul class="subnavi"> <li><a href="./../support/doku/quickstart/3.3/?sid=322983d5e3d9246195d9b799433b9f73">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=322983d5e3d9246195d9b799433b9f73">Knowledge Base <span>Unsere Wissensdatenbank mit vielen und hilfreichen Artikeln</span></a></li> <li><a href="./../support/videos/?sid=322983d5e3d9246195d9b799433b9f73">Videos <span>Unsere Supportvideos erklären Funktionen von phpBB</span></a></li> <li><a href="./../support/doku/?sid=322983d5e3d9246195d9b799433b9f73">Dokumentation <span>Hier findest Du Dokumentationen zu phpBB</span></a></li> <li><a href="./../support/doku/perror/?sid=322983d5e3d9246195d9b799433b9f73">MySQL-Fehlercodes <span>Mysql Fehlercodes dokumentiert</span></a></li> <li><a href="./../support/doku/htpasswd/?sid=322983d5e3d9246195d9b799433b9f73">.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=322983d5e3d9246195d9b799433b9f73"><span class="subnavi-toggle"> </span>Community</a> <ul class="subnavi"> <li><a href="./../community/viewforum.php?f=145&sid=322983d5e3d9246195d9b799433b9f73">Supportforen <span>Hilfe bei der Installation und Benutzung</span></a></li> <li><a href="./../community/viewforum.php?f=104&sid=322983d5e3d9246195d9b799433b9f73">Communityforen<span>Allgemeine Diskussionen und phpBB-Usergroups</span></a></li> <li><a href="./../community/viewforum.php?f=148&sid=322983d5e3d9246195d9b799433b9f73">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=322983d5e3d9246195d9b799433b9f73">Styleforen<span>Du suchst einen neuen Style oder hast Probleme mit einem Style?</span></a></li> <li><a href="./../kb/knigge?sid=322983d5e3d9246195d9b799433b9f73">Der kleine phpBB.de-Knigge <span>Eine kleine Liste von wichtigen Regeln auf phpBB.de</span></a></li> <li><a href="./../phpbbde/chat/?sid=322983d5e3d9246195d9b799433b9f73">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="./../community/search.php?search_id=unanswered&sid=322983d5e3d9246195d9b799433b9f73" 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="./../community/search.php?search_id=active_topics&sid=322983d5e3d9246195d9b799433b9f73" 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="./../community/search.php?sid=322983d5e3d9246195d9b799433b9f73" 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=322983d5e3d9246195d9b799433b9f73" 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=322983d5e3d9246195d9b799433b9f73" 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="/pastebin/?sid=322983d5e3d9246195d9b799433b9f73" 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="./../community/ucp.php?mode=login&redirect=..%2Fapp.php%2Fpastebin%2F%3Fmode%3Dview%26s%3D25&sid=322983d5e3d9246195d9b799433b9f73" 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="./../community/ucp.php?mode=register&sid=322983d5e3d9246195d9b799433b9f73" 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="./../community/index.php?sid=322983d5e3d9246195d9b799433b9f73" 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><a itemprop="item" href="/pastebin/?sid=322983d5e3d9246195d9b799433b9f73"><span itemprop="name">Pastebin</span></a><meta itemprop="position" content="3" /></span> </li> <li class="rightside responsive-search"> <a href="./../community/search.php?sid=322983d5e3d9246195d9b799433b9f73" 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"> <div class="pastebin"> <h2>Pastebin</h2> <div id="extras"> <div class="new-entry mini-panel navbar"> <h3>Pastebin</h3> <ul> <li><a href="/pastebin/?mode=download&s=25&sid=322983d5e3d9246195d9b799433b9f73">Eintrag herunterladen</a></li> </ul> </div> </div> <div id="content"> <h3>newspost2mail.php</h3> <em class="author">von <a href="./../community/memberlist.php?mode=viewprofile&u=92735&sid=322983d5e3d9246195d9b799433b9f73" class="username">FuGu</a> (16.06.2024 15:44)</em> <form action="/pastebin/?sid=322983d5e3d9246195d9b799433b9f73" method="get"> <p> <input type="hidden" name="mode" value="view" /> <input type="hidden" name="s" value="25" /> <label for="highlight">Syntaxhervorhebung:</label> <select id="highlight" name="highlight"><option value="text">Text</option><option selected="selected" value="php">PHP</option><option value="sql">SQL</option><option value="html5">HTML</option><option value="css">CSS</option><option value="javascript">JavaScript</option><option value="xml">XML</option><option value="diff">diff</option><option value="robots">Robots.txt</option></select> <input type="submit" value="Absenden" class="button1" /> </p> </form> <dl id="pastebin-codebox" class="codebox"> <dt>Dein Code:</dt> <dd> <ol class="php" style="font-family:monospace;"><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;"><?php</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// newpost2mail beta 21 for phpBB3 by Stefan Hendricks</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// See http://henmedia.de for latest version</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">//</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// Do not wonder if this code is formatted strange</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// in your editor as I always use a tabsize of 2 :)</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// only allow access from "posting.php"</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// if (!is_array($_SERVER)) { // phpBB3 >= v3.1.x</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><a href="http://www.php.net/version_compare"><span style="color: #990000;">version_compare</span></a><span style="color: #009900;">(</span>PHPBB_VERSION<span style="color: #339933;">,</span> <span style="color: #0000ff;">"3.1.0"</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">">="</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span> <span style="color: #666666; font-style: italic;">// phpBB3 >= v3.1.0</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$my_script_name</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$request</span><span style="color: #339933;">-></span><span style="color: #004000;">server</span><span style="color: #009900;">(</span><span style="color: #0000ff;">"SCRIPT_NAME"</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$my_script_uri</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$request</span><span style="color: #339933;">-></span><span style="color: #004000;">server</span><span style="color: #009900;">(</span><span style="color: #0000ff;">"SCRIPT_URI"</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">{</span> <span style="color: #666666; font-style: italic;">// phpBB3 < v3.1.0</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$my_script_name</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">[</span><span style="color: #0000ff;">"SCRIPT_NAME"</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$my_script_uri</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">[</span><span style="color: #0000ff;">"SCRIPT_URI"</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #009900;">(</span><a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$my_script_name</span><span style="color: #339933;">,</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">11</span><span style="color: #009900;">)</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">"posting.php"</span><span style="color: #009900;">)</span> AND <span style="color: #009900;">(</span><a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$my_script_uri</span><span style="color: #339933;">,</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">11</span><span style="color: #009900;">)</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">"posting.php"</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span> <a href="http://www.php.net/die"><span style="color: #990000;">die</span></a><span style="color: #009900;">(</span><span style="color: #0000ff;">"ACCESS DENIED"</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> newpost2mail<span style="color: #009900;">(</span><span style="color: #000088;">$data</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000000; font-weight: bold;">function</span> newpost2mail<span style="color: #009900;">(</span><span style="color: #000088;">$data</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$config</span><span style="color: #339933;">,</span> <span style="color: #000088;">$mode</span><span style="color: #339933;">,</span> <span style="color: #000088;">$user</span><span style="color: #339933;">,</span> <span style="color: #000088;">$post_data</span><span style="color: #339933;">,</span> <span style="color: #000088;">$phpEx</span><span style="color: #339933;">,</span> <span style="color: #000088;">$phpbb_root_path</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$version</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">"beta 21"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// variables that can be used in newpost2mail.config.php to build an individial subject line</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_SITENAME</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$config</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'sitename'</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_FORUMNAME</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'forum_name'</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_MODE</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$mode</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_TOPICTITLE</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'topic_title'</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_SUBJECT</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'post_subject'</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_USERNAME</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-></span><span style="color: #004000;">data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_IP</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'poster_ip'</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_HOST</span> <span style="color: #339933;">=</span> <span style="color: #339933;">@</span><a href="http://www.php.net/gethostbyaddr"><span style="color: #990000;">gethostbyaddr</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$post_IP</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// 3rd party edit?</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span> <span style="color: #009900;">(</span><span style="color: #000088;">$mode</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">"edit"</span> <span style="color: #009900;">)</span> AND <span style="color: #009900;">(</span><span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">]</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-></span><span style="color: #004000;">data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span> <span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_EDITOR</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-></span><span style="color: #004000;">data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_USERNAME</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// get forum parents</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">(</span>get_forum_parents<span style="color: #009900;">(</span><span style="color: #000088;">$post_data</span><span style="color: #009900;">)</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$temp</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_FORUMPARENTS</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$temp</span><span style="color: #009900;">[</span><span style="color: #0000ff;">"0"</span><span style="color: #009900;">]</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">" / "</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_FORUMPARENTS_laquo</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$temp</span><span style="color: #009900;">[</span><span style="color: #0000ff;">"0"</span><span style="color: #009900;">]</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">" &laquo; "</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// read configuration</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">include</span><span style="color: #009900;">(</span><span style="color: #000088;">$phpbb_root_path</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'newpost2mail.config.php'</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// check if the actual mode is set for sending mails</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$n2m_MAIL_ON</span><span style="color: #009900;">[</span><span style="color: #000088;">$mode</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// if there is a language set in newpost2mail.config.php then use that setting.</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// Otherwise read default language from board config and use that.</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$n2m_LANG</span> ? <span style="color: #000088;">$lang</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$n2m_LANG</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$lang</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$config</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'default_lang'</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// get (translated) phrases and convert them to UTF8</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">(</span><span style="color: #000088;">$n2m_TEXT</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'en'</span><span style="color: #009900;">]</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span><span style="color: #339933;">=></span><span style="color: #000088;">$value</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$n2m_TEXT</span><span style="color: #009900;">[</span><span style="color: #000088;">$lang</span><span style="color: #009900;">]</span><span style="color: #009900;">[</span><span style="color: #000088;">$key</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$phrase</span><span style="color: #009900;">[</span><span style="color: #000088;">$key</span><span style="color: #009900;">]</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/utf8_encode"><span style="color: #990000;">utf8_encode</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$n2m_TEXT</span><span style="color: #009900;">[</span><span style="color: #000088;">$lang</span><span style="color: #009900;">]</span><span style="color: #009900;">[</span><span style="color: #000088;">$key</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$phrase</span><span style="color: #009900;">[</span><span style="color: #000088;">$key</span><span style="color: #009900;">]</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/utf8_encode"><span style="color: #990000;">utf8_encode</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$n2m_TEXT</span><span style="color: #009900;">[</span>en<span style="color: #009900;">]</span><span style="color: #009900;">[</span><span style="color: #000088;">$key</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// set variables for later use</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">=</span> generate_board_url<span style="color: #009900;">(</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$board_url</span><span style="color: #339933;">,</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">)</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">"/"</span><span style="color: #009900;">)</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"/"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$forum_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"viewforum.php?f=<span style="color: #006699; font-weight: bold;">$data[forum_id]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$thread_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"viewtopic.php?f=<span style="color: #006699; font-weight: bold;">$data[forum_id]</span>&t=<span style="color: #006699; font-weight: bold;">$data[topic_id]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"viewtopic.php?f=<span style="color: #006699; font-weight: bold;">$data[forum_id]</span>&t=<span style="color: #006699; font-weight: bold;">$data[topic_id]</span>&p=<span style="color: #006699; font-weight: bold;">$data[post_id]</span>#p<span style="color: #006699; font-weight: bold;">$data[post_id]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$u_profile_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"memberlist.php?mode=viewprofile&u=<span style="color: #006699; font-weight: bold;">$post_data[poster_id]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$e_profile_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"memberlist.php?mode=viewprofile&u=<span style="color: #006699; font-weight: bold;">$post_data[post_edit_user]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$reply_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"posting.php?mode=reply&f=<span style="color: #006699; font-weight: bold;">$data[forum_id]</span>&t=<span style="color: #006699; font-weight: bold;">$data[topic_id]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$edit_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"posting.php?mode=edit&f=<span style="color: #006699; font-weight: bold;">$data[forum_id]</span>&p=<span style="color: #006699; font-weight: bold;">$data[post_id]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$quote_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"posting.php?mode=quote&f=<span style="color: #006699; font-weight: bold;">$data[forum_id]</span>&p=<span style="color: #006699; font-weight: bold;">$data[post_id]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$delete_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"posting.php?mode=delete&f=<span style="color: #006699; font-weight: bold;">$data[forum_id]</span>&p=<span style="color: #006699; font-weight: bold;">$data[post_id]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$info_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"mcp.php?i=main&mode=post_details&f=<span style="color: #006699; font-weight: bold;">$data[forum_id]</span>&p=<span style="color: #006699; font-weight: bold;">$data[post_id]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$pm_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"ucp.php?i=pm&mode=compose&action=quotepost&p=<span style="color: #006699; font-weight: bold;">$data[post_id]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$email_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$board_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"memberlist.php?mode=email&u=<span style="color: #006699; font-weight: bold;">$post_data[poster_id]</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// build the email header</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">include_once</span><span style="color: #009900;">(</span><span style="color: #000088;">$phpbb_root_path</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'includes/functions_messenger.'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$phpEx</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"Date: "</span><span style="color: #339933;">.</span><a href="http://www.php.net/date"><span style="color: #990000;">date</span></a><span style="color: #009900;">(</span><span style="color: #0000ff;">"D, j M Y H:i:s O"</span><span style="color: #009900;">)</span><span style="color: #339933;">.</span><span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"From: <span style="color: #000099; font-weight: bold;">\"</span>"</span><span style="color: #339933;">.</span>mail_encode<span style="color: #009900;">(</span><a href="http://www.php.net/html_entity_decode"><span style="color: #990000;">html_entity_decode</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$config</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'sitename'</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">.</span><span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\"</span> <<span style="color: #006699; font-weight: bold;">$config[board_email]</span>><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"X-Mailer: newpost2mail <span style="color: #006699; font-weight: bold;">$version</span> for phpBB3<span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"MIME-Version: 1.0<span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"Content-type: text/html; charset=UTF-8<span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// build the email body</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<HTML><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<HEAD><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<base href='<span style="color: #006699; font-weight: bold;">$board_url</span>'><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<META http-equiv='content-type' content='text/html; charset=UTF-8'><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// insert style definitions from newpost2mail.css</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<style type='text/css' media='screen'><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <a href="http://www.php.net/file_get_contents"><span style="color: #990000;">file_get_contents</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$phpbb_root_path</span><span style="color: #339933;">.</span><span style="color: #0000ff;">"newpost2mail.css"</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\n</span></style><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"</HEAD><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<BODY><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// build the informational table</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<table class='table_info'><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<tr><td><span style="color: #006699; font-weight: bold;">$phrase[user]</span></td><td>: <a href='<span style="color: #006699; font-weight: bold;">$u_profile_url</span>'><b><span style="color: #006699; font-weight: bold;">$post_USERNAME</span></b></a>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$post_EDITOR</span><span style="color: #009900;">)</span> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"&nbsp;&nbsp;-&raquo; <span style="color: #006699; font-weight: bold;">$phrase[edited_by]</span> <a href='<span style="color: #006699; font-weight: bold;">$e_profile_url</span>'><b><span style="color: #006699; font-weight: bold;">$post_EDITOR</span></b></a>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #009900;">(</span><span style="color: #000088;">$user</span><span style="color: #339933;">-></span><span style="color: #004000;">data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'user_allow_viewemail'</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span> or <span style="color: #009900;">(</span><span style="color: #000088;">$n2m_ALWAYS_SHOW_EMAIL</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">" (<a href='mailto:"</span><span style="color: #339933;">.</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-></span><span style="color: #004000;">data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'user_email'</span><span style="color: #009900;">]</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">"'>"</span><span style="color: #339933;">.</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-></span><span style="color: #004000;">data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'user_email'</span><span style="color: #009900;">]</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">"</a>)"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"</td><span style="color: #000099; font-weight: bold;">\n</span></tr><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<tr><td><span style="color: #006699; font-weight: bold;">$phrase[subject]</span></td><td>: <a href='<span style="color: #006699; font-weight: bold;">$post_url</span>'><b><span style="color: #006699; font-weight: bold;">$post_SUBJECT</span></b></a></td></tr><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<tr><td><span style="color: #006699; font-weight: bold;">$phrase[thread]</span></td><td>: <a href='<span style="color: #006699; font-weight: bold;">$thread_url</span>'><span style="color: #006699; font-weight: bold;">$post_TOPICTITLE</span></a></td></tr><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<tr><td><span style="color: #006699; font-weight: bold;">$phrase[forum]</span></td><td>: <a href='<span style="color: #006699; font-weight: bold;">$forum_url</span>'><span style="color: #006699; font-weight: bold;">$post_FORUMPARENTS_laquo</span><span style="color: #006699; font-weight: bold;">$post_FORUMNAME</span></a></td></tr><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<tr><td><span style="color: #006699; font-weight: bold;">$phrase[mode]</span></td><td>: <span style="color: #006699; font-weight: bold;">$mode</span></td></tr><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$post_HOST</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$post_IP</span><span style="color: #009900;">)</span> <span style="color: #000088;">$post_HOST</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$phrase</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'host_na'</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<tr><td><span style="color: #006699; font-weight: bold;">$phrase[ip_hostname]</span></td><td>: <span style="color: #006699; font-weight: bold;">$post_IP</span> / <span style="color: #006699; font-weight: bold;">$post_HOST</span></td></tr><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<tr><td><span style="color: #006699; font-weight: bold;">$phrase[actions]</span></td><td>: [<a href='<span style="color: #006699; font-weight: bold;">$reply_url</span>'><span style="color: #006699; font-weight: bold;">$phrase[reply]</span></a>] [<a href='<span style="color: #006699; font-weight: bold;">$quote_url</span>'><span style="color: #006699; font-weight: bold;">$phrase[quote]</span></a>] [<a href='<span style="color: #006699; font-weight: bold;">$edit_url</span>'><span style="color: #006699; font-weight: bold;">$phrase[edit]</span></a>] [<a href='<span style="color: #006699; font-weight: bold;">$delete_url</span>'><span style="color: #006699; font-weight: bold;">$phrase[delete]</span></a>] [<a href='<span style="color: #006699; font-weight: bold;">$info_url</span>'><span style="color: #006699; font-weight: bold;">$phrase[info]</span></a>] [<a href='<span style="color: #006699; font-weight: bold;">$pm_url</span>'><span style="color: #006699; font-weight: bold;">$phrase[pm]</span></a>] [<a href='<span style="color: #006699; font-weight: bold;">$email_url</span>'><span style="color: #006699; font-weight: bold;">$phrase[email]</span></a>]</td></tr><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"</table><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// build the post text table</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<table class='table_post' width='<span style="color: #006699; font-weight: bold;">$n2m_WIDTH</span>'><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<tr><td><div class='content'><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// search for inline attachments to show them in the post text</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #339933;">!</span><a href="http://www.php.net/empty"><span style="color: #990000;">empty</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'attachment_data'</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span> parse_attachments<span style="color: #009900;">(</span><span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'forum_id'</span><span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'message'</span><span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'attachment_data'</span><span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dummy</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// generate post text</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">(</span><span style="color: #0000ff;">"<br />"</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">"<br /><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">,</span> generate_text_for_display<span style="color: #009900;">(</span><span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'message'</span><span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'bbcode_uid'</span><span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'bbcode_bitfield'</span><span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'forum_desc_options'</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">.</span><span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// show attachments if not already shown in the post text</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #339933;">!</span><a href="http://www.php.net/empty"><span style="color: #990000;">empty</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'attachment_data'</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<br /><span style="color: #000099; font-weight: bold;">\n</span><dl class='attachbox'><dt><span style="color: #006699; font-weight: bold;">$phrase[attachments]</span>:</dt><dd><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">(</span><span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'attachment_data'</span><span style="color: #009900;">]</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$filename</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <a href="http://www.php.net/print_r"><span style="color: #990000;">print_r</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$filename</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"</dl><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// convert relative smily attachment to absolute url</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">(</span><span style="color: #0000ff;">"./download/file.php?id="</span><span style="color: #339933;">,</span> <span style="color: #000088;">$board_url</span><span style="color: #339933;">.</span><span style="color: #0000ff;">"download/file.php?id="</span><span style="color: #339933;">,</span> <span style="color: #000088;">$message</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// 3rd party edit</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'post_edit_reason'</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$post_EDITOR</span> ? <span style="color: #000088;">$edited_by</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post_EDITOR</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$edited_by</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post_USERNAME</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<div class='notice'>-&raquo; <span style="color: #006699; font-weight: bold;">$phrase[edited_by]</span> <span style="color: #006699; font-weight: bold;">$edited_by</span>, <span style="color: #006699; font-weight: bold;">$phrase[edit_reason]</span>: <em><span style="color: #006699; font-weight: bold;">$post_data[post_edit_reason]</span></em></div><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// add signature</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$n2m_SHOW_SIG</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$mode</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">"edit"</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span> <span style="color: #009900;">(</span><span style="color: #000088;">$user</span><span style="color: #339933;">-></span><span style="color: #004000;">data</span><span style="color: #009900;">[</span>user_sig<span style="color: #009900;">]</span><span style="color: #009900;">)</span> and <span style="color: #009900;">(</span><span style="color: #000088;">$data</span><span style="color: #009900;">[</span>enable_sig<span style="color: #009900;">]</span><span style="color: #009900;">)</span> <span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<div class='signature'>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> generate_text_for_display<span style="color: #009900;">(</span><span style="color: #000088;">$user</span><span style="color: #339933;">-></span><span style="color: #004000;">data</span><span style="color: #009900;">[</span>user_sig<span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-></span><span style="color: #004000;">data</span><span style="color: #009900;">[</span>user_sig_bbcode_uid<span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-></span><span style="color: #004000;">data</span><span style="color: #009900;">[</span>user_sig_bbcode_bitfield<span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span>forum_desc_options<span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #339933;">.</span><span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"</div><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span> <span style="color: #009900;">(</span><span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span>user_sig<span style="color: #009900;">]</span><span style="color: #009900;">)</span> and <span style="color: #009900;">(</span><span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span>enable_sig<span style="color: #009900;">]</span><span style="color: #009900;">)</span> and <span style="color: #009900;">(</span><span style="color: #000088;">$n2m_SHOW_SIG</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"<div class='signature'><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> generate_text_for_display<span style="color: #009900;">(</span><span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span>user_sig<span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span>user_sig_bbcode_uid<span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span>user_sig_bbcode_bitfield<span style="color: #009900;">]</span><span style="color: #339933;">,</span> <span style="color: #000088;">$post_data</span><span style="color: #009900;">[</span>forum_desc_options<span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #339933;">.</span><span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"</div><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// convert relative smily url to absolute url</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">(</span><span style="color: #0000ff;">"./<span style="color: #006699; font-weight: bold;">$config[smilies_path]</span>"</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">"<span style="color: #006699; font-weight: bold;">$board_url</span><span style="color: #006699; font-weight: bold;">$config[smilies_path]</span>"</span><span style="color: #339933;">,</span> <span style="color: #000088;">$message</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"</div></td></tr></table><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">"</BODY></HTML><span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$message</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/wordwrap"><span style="color: #990000;">wordwrap</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$message</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">256</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// encode subject</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$subject</span> <span style="color: #339933;">=</span> mail_encode<span style="color: #009900;">(</span><a href="http://www.php.net/html_entity_decode"><span style="color: #990000;">html_entity_decode</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$n2m_SUBJECT</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// fix for phpBB 3.05 !</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$subject</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">(</span><span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\r</span>"</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">""</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$subject</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">(</span><span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">""</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// send email to board contact address?</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$n2m_MAILTO_BOARDCONTACT</span><span style="color: #009900;">)</span> <span style="color: #000088;">$n2m_MAILTO</span><span style="color: #009900;">[</span><span style="color: #009900;">]</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$config</span><span style="color: #009900;">[</span>board_contact<span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// send email to group?</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">(</span><span style="color: #000088;">$n2m_MAILTO_GROUP</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$group</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-></span><span style="color: #004000;">sql_build_query</span><span style="color: #009900;">(</span><span style="color: #0000ff;">'SELECT'</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">(</span><span style="color: #0000ff;">'SELECT'</span> <span style="color: #339933;">=></span> <span style="color: #0000ff;">'u.user_email'</span><span style="color: #339933;">,</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #0000ff;">'FROM'</span> <span style="color: #339933;">=></span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">(</span>USERS_TABLE <span style="color: #339933;">=></span> <span style="color: #0000ff;">'u'</span><span style="color: #339933;">,</span> GROUPS_TABLE <span style="color: #339933;">=></span> <span style="color: #0000ff;">'g'</span><span style="color: #339933;">,</span> USER_GROUP_TABLE <span style="color: #339933;">=></span> <span style="color: #0000ff;">'ug'</span><span style="color: #009900;">)</span><span style="color: #339933;">,</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #0000ff;">'WHERE'</span> <span style="color: #339933;">=></span> <span style="color: #0000ff;">'ug.group_id = g.group_id AND ug.user_id = u.user_id AND u.user_email != \'\' AND lower(g.group_name) = \''</span> <span style="color: #339933;">.</span> <a href="http://www.php.net/strtolower"><span style="color: #990000;">strtolower</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$group</span><span style="color: #009900;">)</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'\''</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-></span><span style="color: #004000;">sql_query</span><span style="color: #009900;">(</span><span style="color: #000088;">$sql</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">while</span> <span style="color: #009900;">(</span><span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-></span><span style="color: #004000;">sql_fetchrow</span><span style="color: #009900;">(</span><span style="color: #000088;">$result</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span> <span style="color: #000088;">$n2m_MAILTO</span><span style="color: #009900;">[</span><span style="color: #009900;">]</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'user_email'</span><span style="color: #009900;">]</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$db</span><span style="color: #339933;">-></span><span style="color: #004000;">sql_freeresult</span><span style="color: #009900;">(</span><span style="color: #000088;">$result</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// add recipients by forum</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><a href="http://www.php.net/is_array"><span style="color: #990000;">is_array</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$n2m_MONITOR_FORUM</span><span style="color: #009900;">[</span><span style="color: #000088;">$data</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'forum_id'</span><span style="color: #009900;">]</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span> <span style="color: #000088;">$n2m_MAILTO</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array_merge"><span style="color: #990000;">array_merge</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$n2m_MAILTO</span><span style="color: #339933;">,</span> <span style="color: #000088;">$n2m_MONITOR_FORUM</span><span style="color: #009900;">[</span><span style="color: #000088;">$data</span><span style="color: #009900;">[</span>forum_id<span style="color: #009900;">]</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// convert all addresses to lowercase and delete any empty addresses</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">(</span><span style="color: #000088;">$n2m_MAILTO</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">=></span> <span style="color: #000088;">$value</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><a href="http://www.php.net/is_null"><span style="color: #990000;">is_null</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$value</span><span style="color: #009900;">)</span> or <span style="color: #009900;">(</span><span style="color: #000088;">$value</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">""</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <a href="http://www.php.net/unset"><span style="color: #990000;">unset</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$n2m_MAILTO</span><span style="color: #009900;">[</span><span style="color: #000088;">$key</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$n2m_MAILTO</span><span style="color: #009900;">[</span><span style="color: #000088;">$key</span><span style="color: #009900;">]</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/strtolower"><span style="color: #990000;">strtolower</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$n2m_MAILTO</span><span style="color: #009900;">[</span><span style="color: #000088;">$key</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// insure that every address is only used once</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$n2m_MAILTO</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array_unique"><span style="color: #990000;">array_unique</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$n2m_MAILTO</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// Testversion, Mails an Author des Artikels verhindern</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// unset($n2m_MAILTO[array_search($user->data['user_email'], $n2m_MAILTO)]);</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// die($message); // for debugging purposes, mail will be shown in browser and not sent out if we uncomment this line</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #666666; font-style: italic;">// and finally send the mails</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">(</span><span style="color: #000088;">$n2m_MAILTO</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$mailto</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$config</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'smtp_delivery'</span><span style="color: #009900;">]</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span> <span style="color: #666666; font-style: italic;">// SMTP?</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$tempto</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'to'</span><span style="color: #009900;">]</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'email'</span><span style="color: #009900;">]</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$mailto</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$to</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'to'</span><span style="color: #009900;">]</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$tempto</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> smtpmail<span style="color: #009900;">(</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">(</span><span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\n</span>."</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\n</span>.."</span><span style="color: #339933;">,</span> <span style="color: #000088;">$message</span><span style="color: #009900;">)</span><span style="color: #339933;">,</span> <span style="color: #000088;">$err_msg</span><span style="color: #339933;">,</span> <span style="color: #000088;">$headers</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <a href="http://www.php.net/reset"><span style="color: #990000;">reset</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$to</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <a href="http://www.php.net/reset"><span style="color: #990000;">reset</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$tempto</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">{</span> <span style="color: #666666; font-style: italic;">// or PHP mail?</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$config</span><span style="color: #009900;">[</span><span style="color: #0000ff;">'email_function_name'</span><span style="color: #009900;">]</span><span style="color: #009900;">(</span><span style="color: #000088;">$mailto</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$message</span><span style="color: #339933;">,</span> <span style="color: #000088;">$headers</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #009900;">}</span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">?></span></div></li> <li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li> </ol> </dd> </dl> <h3>Quellcode</h3> <form id="edit_form" method="post" action="/pastebin/?sid=322983d5e3d9246195d9b799433b9f73"> <p> Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. Alternativ kannst du den gesamten Eintrag auch als Datei <a href="/pastebin/?mode=download&s=25&sid=322983d5e3d9246195d9b799433b9f73">herunterladen</a>.<br /> <div class="textwrapper"> <textarea id="copy_paste" class="inputbox" name="edit_snippet" rows="5" cols="76" tabindex="4"><?php // newpost2mail beta 21 for phpBB3 by Stefan Hendricks // See http://henmedia.de for latest version // // Do not wonder if this code is formatted strange // in your editor as I always use a tabsize of 2 :) // only allow access from "posting.php" // if (!is_array($_SERVER)) { // phpBB3 >= v3.1.x if (version_compare(PHPBB_VERSION, "3.1.0", ">=")) { // phpBB3 >= v3.1.0 $my_script_name = $request->server("SCRIPT_NAME"); $my_script_uri = $request->server("SCRIPT_URI"); } else { // phpBB3 < v3.1.0 $my_script_name = $_SERVER["SCRIPT_NAME"]; $my_script_uri = $_SERVER["SCRIPT_URI"]; } if ((substr($my_script_name, -11) != "posting.php") AND (substr($my_script_uri, -11) != "posting.php")) die("ACCESS DENIED"); newpost2mail($data); function newpost2mail($data) { global $config, $mode, $user, $post_data, $phpEx, $phpbb_root_path, $db; $version = "beta 21"; // variables that can be used in newpost2mail.config.php to build an individial subject line $post_SITENAME = $config['sitename']; $post_FORUMNAME = $data['forum_name']; $post_MODE = $mode; $post_TOPICTITLE = $data['topic_title']; $post_SUBJECT = $post_data['post_subject']; $post_USERNAME = $user->data['username']; $post_IP = $data['poster_ip']; $post_HOST = @gethostbyaddr($post_IP); // 3rd party edit? if ( ($mode == "edit" ) AND ($post_data['username'] != $user->data['username']) ) { $post_EDITOR = $user->data['username']; $post_USERNAME = $post_data['username']; } // get forum parents foreach (get_forum_parents($post_data) as $temp) { $post_FORUMPARENTS .= $temp["0"]. " / "; $post_FORUMPARENTS_laquo .= $temp["0"]. " « "; } // read configuration include($phpbb_root_path . 'newpost2mail.config.php'); // check if the actual mode is set for sending mails if ($n2m_MAIL_ON[$mode]) { // if there is a language set in newpost2mail.config.php then use that setting. // Otherwise read default language from board config and use that. $n2m_LANG ? $lang = $n2m_LANG : $lang = $config['default_lang']; // get (translated) phrases and convert them to UTF8 foreach ($n2m_TEXT['en'] as $key=>$value) { if ($n2m_TEXT[$lang][$key]) { $phrase[$key] = utf8_encode($n2m_TEXT[$lang][$key]); } else { $phrase[$key] = utf8_encode($n2m_TEXT[en][$key]); } } // set variables for later use $board_url = generate_board_url(); if (substr($board_url, -1) != "/") $board_url .= "/"; $forum_url = $board_url . "viewforum.php?f=$data[forum_id]"; $thread_url = $board_url . "viewtopic.php?f=$data[forum_id]&t=$data[topic_id]"; $post_url = $board_url . "viewtopic.php?f=$data[forum_id]&t=$data[topic_id]&p=$data[post_id]#p$data[post_id]"; $u_profile_url = $board_url . "memberlist.php?mode=viewprofile&u=$post_data[poster_id]"; $e_profile_url = $board_url . "memberlist.php?mode=viewprofile&u=$post_data[post_edit_user]"; $reply_url = $board_url . "posting.php?mode=reply&f=$data[forum_id]&t=$data[topic_id]"; $edit_url = $board_url . "posting.php?mode=edit&f=$data[forum_id]&p=$data[post_id]"; $quote_url = $board_url . "posting.php?mode=quote&f=$data[forum_id]&p=$data[post_id]"; $delete_url = $board_url . "posting.php?mode=delete&f=$data[forum_id]&p=$data[post_id]"; $info_url = $board_url . "mcp.php?i=main&mode=post_details&f=$data[forum_id]&p=$data[post_id]"; $pm_url = $board_url . "ucp.php?i=pm&mode=compose&action=quotepost&p=$data[post_id]"; $email_url = $board_url . "memberlist.php?mode=email&u=$post_data[poster_id]"; // build the email header include_once($phpbb_root_path . 'includes/functions_messenger.' . $phpEx); $headers .= "Date: ".date("D, j M Y H:i:s O")."\n"; $headers .= "From: \"".mail_encode(html_entity_decode($config['sitename']))."\" <$config[board_email]>\n"; $headers .= "X-Mailer: newpost2mail $version for phpBB3\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=UTF-8\n"; // build the email body $message .= "<HTML>\n"; $message .= "<HEAD>\n"; $message .= "<base href='$board_url'>\n"; $message .= "<META http-equiv='content-type' content='text/html; charset=UTF-8'>\n"; // insert style definitions from newpost2mail.css $message .= "<style type='text/css' media='screen'>\n"; $message .= file_get_contents($phpbb_root_path."newpost2mail.css"); $message .= "\n</style>\n"; $message .= "</HEAD>\n"; $message .= "<BODY>\n"; // build the informational table $message .= "<table class='table_info'>\n"; $message .= "<tr><td>$phrase[user]</td><td>: <a href='$u_profile_url'><b>$post_USERNAME</b></a>"; if ($post_EDITOR) $message .= " -» $phrase[edited_by] <a href='$e_profile_url'><b>$post_EDITOR</b></a>"; if (($user->data['user_allow_viewemail']) or ($n2m_ALWAYS_SHOW_EMAIL)) $message .= " (<a href='mailto:". $user->data['user_email'] . "'>". $user->data['user_email'] ."</a>)"; $message .= "</td>\n</tr>\n"; $message .= "<tr><td>$phrase[subject]</td><td>: <a href='$post_url'><b>$post_SUBJECT</b></a></td></tr>\n"; $message .= "<tr><td>$phrase[thread]</td><td>: <a href='$thread_url'>$post_TOPICTITLE</a></td></tr>\n"; $message .= "<tr><td>$phrase[forum]</td><td>: <a href='$forum_url'>$post_FORUMPARENTS_laquo$post_FORUMNAME</a></td></tr>\n"; $message .= "<tr><td>$phrase[mode]</td><td>: $mode</td></tr>\n"; if ($post_HOST == $post_IP) $post_HOST = $phrase['host_na']; $message .= "<tr><td>$phrase[ip_hostname]</td><td>: $post_IP / $post_HOST</td></tr>\n"; $message .= "<tr><td>$phrase[actions]</td><td>: [<a href='$reply_url'>$phrase[reply]</a>] [<a href='$quote_url'>$phrase[quote]</a>] [<a href='$edit_url'>$phrase[edit]</a>] [<a href='$delete_url'>$phrase[delete]</a>] [<a href='$info_url'>$phrase[info]</a>] [<a href='$pm_url'>$phrase[pm]</a>] [<a href='$email_url'>$phrase[email]</a>]</td></tr>\n"; $message .= "</table>\n"; // build the post text table $message .= "<table class='table_post' width='$n2m_WIDTH'>\n"; $message .= "<tr><td><div class='content'>\n"; // search for inline attachments to show them in the post text if (!empty($data['attachment_data'])) parse_attachments($data['forum_id'], $data['message'], $data['attachment_data'], $dummy, true); // generate post text $message .= str_replace("<br />", "<br />\n", generate_text_for_display($data['message'], $data['bbcode_uid'], $data['bbcode_bitfield'], $post_data['forum_desc_options']))."\n"; // show attachments if not already shown in the post text if (!empty($data['attachment_data'])) { $message .= "<br />\n<dl class='attachbox'><dt>$phrase[attachments]:</dt><dd>\n"; foreach ($data['attachment_data'] as $filename) { $message .= print_r($filename, 1); } $message .= "</dl>\n"; } // convert relative smily attachment to absolute url $message = str_replace("./download/file.php?id=", $board_url."download/file.php?id=", $message); // 3rd party edit if ($post_data['post_edit_reason']) { $post_EDITOR ? $edited_by = $post_EDITOR : $edited_by = $post_USERNAME; $message .= "<div class='notice'>-» $phrase[edited_by] $edited_by, $phrase[edit_reason]: <em>$post_data[post_edit_reason]</em></div>\n"; } // add signature if ($n2m_SHOW_SIG) { if ($mode != "edit") { if ( ($user->data[user_sig]) and ($data[enable_sig]) ) { $message .= "<div class='signature'>"; $message .= generate_text_for_display($user->data[user_sig], $user->data[user_sig_bbcode_uid], $user->data[user_sig_bbcode_bitfield], $post_data[forum_desc_options])."\n"; $message .= "</div>\n"; } } else { if ( ($post_data[user_sig]) and ($post_data[enable_sig]) and ($n2m_SHOW_SIG)) { $message .= "<div class='signature'>\n"; $message .= generate_text_for_display($post_data[user_sig], $post_data[user_sig_bbcode_uid], $post_data[user_sig_bbcode_bitfield], $post_data[forum_desc_options])."\n"; $message .= "</div>\n"; } } } // convert relative smily url to absolute url $message = str_replace("./$config[smilies_path]", "$board_url$config[smilies_path]", $message); $message .= "</div></td></tr></table>\n"; $message .= "</BODY></HTML>\n"; $message = wordwrap($message, 256); // encode subject $subject = mail_encode(html_entity_decode($n2m_SUBJECT)); // fix for phpBB 3.05 ! $subject = str_replace("\r", "", $subject); $subject = str_replace("\n", "", $subject); // send email to board contact address? if ($n2m_MAILTO_BOARDCONTACT) $n2m_MAILTO[] = $config[board_contact]; // send email to group? foreach ($n2m_MAILTO_GROUP as $group) { $sql = $db->sql_build_query('SELECT', array('SELECT' => 'u.user_email', 'FROM' => array(USERS_TABLE => 'u', GROUPS_TABLE => 'g', USER_GROUP_TABLE => 'ug'), 'WHERE' => 'ug.group_id = g.group_id AND ug.user_id = u.user_id AND u.user_email != \'\' AND lower(g.group_name) = \'' . strtolower($group) . '\'')); $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) $n2m_MAILTO[] = $row['user_email']; $db->sql_freeresult($result); } // add recipients by forum if (is_array($n2m_MONITOR_FORUM[$data['forum_id']])) $n2m_MAILTO = array_merge($n2m_MAILTO, $n2m_MONITOR_FORUM[$data[forum_id]]); // convert all addresses to lowercase and delete any empty addresses foreach ($n2m_MAILTO as $key => $value) { if (is_null($value) or ($value == "")) { unset($n2m_MAILTO[$key]); } else { $n2m_MAILTO[$key] = strtolower($n2m_MAILTO[$key]); } } // insure that every address is only used once $n2m_MAILTO = array_unique($n2m_MAILTO); // Testversion, Mails an Author des Artikels verhindern // unset($n2m_MAILTO[array_search($user->data['user_email'], $n2m_MAILTO)]); // die($message); // for debugging purposes, mail will be shown in browser and not sent out if we uncomment this line // and finally send the mails foreach ($n2m_MAILTO as $mailto) { if ($config['smtp_delivery']) { // SMTP? $tempto['to']['email'] = $mailto; $to['to'] = $tempto; $result = smtpmail($to, $subject, str_replace("\n.", "\n..", $message), $err_msg, $headers); reset($to); reset($tempto); } else { // or PHP mail? $result = $config['email_function_name']($mailto, $subject, $message, $headers); } } } } ?> </textarea> </div> <input type="button" class="button1" onclick="getElementById('copy_paste').select(); return false;" value="Quellcode markieren" /> </p> <input type="hidden" name="creation_time" value="1732667989" /> <input type="hidden" name="form_token" value="27ac2d3b4309153cdafcd48595e71d05f365b727" /> </form> </div> <div class="last-snippets mini-panel navbar"> <h3>Letzte Einträge</h3> <ul> <li><a href="/pastebin/?mode=view&s=25&sid=322983d5e3d9246195d9b799433b9f73" title="newspost2mail.php">newspost2mail.php</a> (16.06.2024 15:44, <a href="./../community/memberlist.php?mode=viewprofile&u=92735&sid=322983d5e3d9246195d9b799433b9f73" class="username">FuGu</a>)</li> </ul> </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="./../community/index.php?sid=322983d5e3d9246195d9b799433b9f73" 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="/user/delete_cookies?sid=322983d5e3d9246195d9b799433b9f73" 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=322983d5e3d9246195d9b799433b9f73" 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=322983d5e3d9246195d9b799433b9f73" 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="/contactadmin?sid=322983d5e3d9246195d9b799433b9f73" 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="./../community/ucp.php?mode=privacy&sid=322983d5e3d9246195d9b799433b9f73" title="Datenschutz" role="menuitem"> <span class="footer-link-text">Datenschutz</span> </a> | <a class="footer-link" href="./../community/ucp.php?mode=terms&sid=322983d5e3d9246195d9b799433b9f73" 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="./../community/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="./../community/assets/javascript/jquery-3.7.1.min.js?assets_version=280"></script> <script src="./../community/assets/javascript/core.js?assets_version=280"></script> <script src="./../community/styles/phpBBdev1/template/forum_fn.js?assets_version=280"></script> <script src="./../community/styles/phpBBdev1/template/ajax.js?assets_version=280"></script> <script src="./../community/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>