function confirm() { global $db, $_GET, $owpFilename; $owpDBTable = owpDBGetTables(); $sql = "SELECT count(*) as total \n FROM " . $owpDBTable['administrators'] . " \n WHERE admin_newsletter = '1'"; $mail = $db->Execute($sql); $confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . ' <tr>' . "\n" . ' <td class="main"><font color="#ff0000"><b>' . sprintf(TEXT_COUNT_USER, $mail->fields['total']) . '</b></font></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . owpTransLine('1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><b>' . $this->title . '</b></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . owpTransLine('1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><tt>' . nl2br($this->content) . '</tt></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . owpTransLine('1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td align="right"><a href="' . owpLink($owpFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send') . '">' . owpImageButton('button_send.gif', IMAGE_SEND) . '</a> <a href="' . owpLink($owpFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a></td>' . "\n" . ' </tr>' . "\n" . '</table>'; return $confirm_string; }
echo ' <td class="smallText"><a href="' . owpLink($owpFilename['define_language'], 'lngdir=' . $_GET['lngdir'] . '&filename=' . $file) . '">' . $file . '</a></td>' . "\n"; if (!$left) { echo ' </tr>' . "\n" . ' <tr>' . "\n"; } $left = !$left; } } $dir->close(); } ?> </tr> </table></td> </tr> <tr> <td><?php echo owpTransLine('1', '10'); ?> </td> </tr> <tr> <td align="right"><?php echo '<a href="' . owpLink($owpFilename['file_manager'], 'current_path=' . OWP_LANG_PATH . $_GET['lngdir']) . '">' . owpImageButton('button_file_manager.gif', IMAGE_FILE_MANAGER) . '</a>'; ?> </td> </tr> <?php } ?> </table></td> </tr> </table></td>
echo owpTransLine(); ?> </td> </tr> <tr> <td bgcolor="#D9DCC2" align="center" valign="middle"> <p align="center"><font class="owp-sub"> <br /><a href="http://www.osisnet.de/shop.php" target="_blank"><img src="images/powered/osis.gif" border="0" alt="Web site powered by OSIS" hspace="10" /></a> <a href="http://php.weblogs.com/ADODB" target="_blank"><img src="images/powered/adodb2.gif" alt="ADODB database library" border="0" hspace="10" /></a> <a href="http://www.php.net/" target="_blank"><img src="images/powered/php2.gif" alt="PHP Scripting Language" border="0" hspace="10" /></a> <br /><br /> <?php /* Please leave this comment intact together with the following copyright announcement. */ ?> Copyright (c) 2003 <a href="http://www.r23.de/" target="_blank">r23</a><br /> OSIS WebPrinter provides no warranty and is redistributable under the <a href="http://www.fsf.org/licenses/gpl.txt" target="_blank">GNU General Public License</a> <br /><br /> </center></font></p> </td> </tr> <tr> <td bgcolor="#000000"><?php echo owpTransLine(); ?> </td> </tr> </table>
?> <table border="0" cellspacing="0" cellpadding="0" bgcolor="#F6F7EB" width="100%"> <tr> <td bgcolor="#B1B78B" align="center" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td><?php echo $breadcrumb->trail(' » '); ?> </td> <td><?php echo owpTransLine('1', '40'); ?> </td> </tr> </table></td> </tr> <tr> <td width="100%" bgcolor="#000000"><?php echo owpTransLine(); ?> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td><?php echo owpTransLine('1', '390'); ?> </td> <td align="left" valign="top">