function printmenu() { global $menuitems, $elmar_debug_level; ?> <!-- menu_begin --> <table id="menu" border="0" cellpadding="3" cellspacing="0" align="left" summary="Layout Menü"> <?php for ($i = 0, $n = sizeof($menuitems); $i < $n; $i++) { // entspricht PHP4: foreach($menuitems as $item) $item = $menuitems[$i]; if (THISPAGE == $item[0]) { echo "<tr><td style=\"background-color:#FFF8DC\"><strong>{$item['2']}</strong></td></tr>\n"; } else { echo '<tr><td><a class="submenu" href="' . ELMAR_START . $item[0] . "\" title=\"{$item['1']}\">{$item['2']}</a></td></tr>\n"; } } echo "<tr><td align='center'>\n"; navbuttons(); ?> </td></tr> <tr><td> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"><p> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="*****@*****.**"> <input type="hidden" name="item_name" value="Support Elm@r-Modul für osCommerce"> <input type="hidden" name="no_shipping" value="1"> <input type="hidden" name="cn" value="Nachricht"> <input type="hidden" name="currency_code" value="EUR"> <input type="hidden" name="lc" value="DE"> <input style="margin-top:3px;margin-bottom:3px;margin-left:10px;margin-right:10px;width:80px;height:31px" type="image" src="<?php echo ELMAR_PATH; ?> img/paypal.gif" name="submit" alt="Spenden" title="Fördern Sie die Weiterentwicklung des Elm@r-Moduls!"></p> </form> </td></tr> <tr><td> <form action="<?php echo $_SERVER['PHP_SELF']; ?> " method="GET" name="formdebuglevel"> <input type="hidden" name="file" value="<?php echo THISPAGE; ?> "> <p align="center" style="color:white" title="Einstellen, ob alle, nur Fehlermeldungen oder keine Meldungen angezeigt werden. Benutzt Cookies."> Meldungen: <select name="elmar_debug_level" onChange="formdebuglevel.submit()"> <option value="error" <?php if ($elmar_debug_level == 'error') { echo 'selected'; } ?> >Fehler</option> <option value="all" <?php if ($elmar_debug_level == 'all') { echo 'selected'; } ?> >Alle</option> <option value="none" <?php if ($elmar_debug_level == 'none') { echo 'selected'; } ?> >Keine</option> </select> <noscript><input type="submit" value="OK" title="Einstellen, ob alle, nur Fehlermeldungen oder keine Meldungen angezeigt werden."></noscript> </p> </form> </td></tr> </table> <!-- menu_end --> <?php }
echo "</a>"; // echo (mbstrlen($sender) > 15) ? "..." : ""; echo "</a></td>"; echo "<td bgcolor=\"{$bgcolor1}\"><a href='readmail.php?id={$id}&msgid={$i}{$att_exists}' title=\"{$body}\">"; $subject = htmlspecialchars($subject); echo rtrim($subject) ? $subject : "" . _MD_WEBMAIL_NOSUBJECT . ""; echo "</td><td bgcolor=\"{$bgcolor1}\">"; echo round($list["size"] / 1024) . "Kb"; echo $list["has_attachment"] ? "<img src='images/clip.gif' border=\"0\">" : ""; echo $list["is_html"] ? "<a href='readmail.php?id={$id}&msgid={$i}{$att_exists}&ht=1'><img src='images/html.gif' border=\"0\" alt=" . _MD_WEBMAIL_HTML_VIEW . "></a>" : ""; echo "</td><td bgcolor=\"{$bgcolor1}\">"; echo htmlspecialchars($list["date"]); echo "</td></tr>"; } echo "</table>"; navbuttons(); echo "</form>"; CloseTable(); } else { OpenTable(); echo "<center><b>{$account}: " . _MD_WEBMAIL_EMAILINBOX . '<br /><br />'; echo '<b>' . _MD_WEBMAIL_MSG_NO_MAIL . '</b></center>'; CloseTable(); } $pop3->Close(); include XOOPS_ROOT_PATH . "/footer.php"; function getServer($id) { global $xoopsDB, $xoopsUser, $user, $server, $port, $username, $password, $numshow, $apop; if (!$id) { output_err("Error: Invalid Parameter");