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; }
} $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> <!-- body_text_eof //--> </tr> </table> <!-- body_eof //--> <!-- footer //-->
$account = $account_query->fields; require OWP_ACCOUNT_DIR . 'account_details.php'; ?> </td> </tr> <tr> <td><?php echo owpTransLine('1', '10'); ?> </td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td align="right" class="main"><?php echo '<a href="' . owpLink($owpFilename['account_edit'], '', 'SSL') . '">' . owpImageButton('button_edit_account.gif', IMAGE_BUTTON_EDIT_ACCOUNT) . '</a>'; ?> </td> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require OWP_INCLUDES_DIR . 'footer.php'; ?>
case 'edit': $heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>'); if ($cInfo->set_function) { eval('$value_field = ' . $cInfo->set_function . "'" . $cInfo->configuration_value . "');"); } else { $value_field = owpInputField('configuration_value', $cInfo->configuration_value); } $contents = array('form' => owpDrawForm('configuration', $owpFilename['configuration'], 'gID=' . $_GET['gID'] . '&cID=' . $cInfo->configuration_id . '&action=save')); $contents[] = array('text' => TEXT_INFO_EDIT_INTRO); $contents[] = array('text' => '<br><b>' . $cInfo->configuration_title . '</b><br>' . $cInfo->configuration_description . '<br>' . $value_field); $contents[] = array('align' => 'center', 'text' => '<br>' . owpImageSubmit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . owpLink($owpFilename['configuration'], 'gID=' . $_GET['gID'] . '&cID=' . $cInfo->configuration_id) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; default: if (is_object($cInfo)) { $heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . owpLink($owpFilename['configuration'], 'gID=' . $_GET['gID'] . '&cID=' . $cInfo->configuration_id . '&action=edit') . '">' . owpImageButton('button_edit.gif', IMAGE_EDIT) . '</a>'); $contents[] = array('text' => '<br>' . $cInfo->configuration_description); $contents[] = array('text' => '<br>' . TEXT_INFO_DATE_ADDED . ' ' . owpDateShort($cInfo->date_added)); if (owpNotNull($cInfo->last_modified)) { $contents[] = array('text' => TEXT_INFO_LAST_MODIFIED . ' ' . owpDateShort($cInfo->last_modified)); } } break; } if (owpNotNull($heading) && owpNotNull($contents)) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box(); echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?>
$account = $account_query->fields; $email_address = $account['admin_email_address']; require OWP_ACCOUNT_DIR . 'account_details.php'; ?> </td> </tr> <td><?php echo owpTransLine('1', '10'); ?> </td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo '<a href="' . owpLink(FILENAME_ACCOUNT, '', 'SSL') . '">' . owpImageButton('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?> </td> <td class="main" align="right"><?php echo owpImageSubmit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?> </td> </tr> </table></td> </tr> </table></form></td> <!-- body_text_eof //--> </tr> </table> <!-- body_eof //-->
$contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY_CODE_2 . '<br>' . owpInputField('countries_iso_code_2', $cInfo->countries_iso_code_2)); $contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY_CODE_3 . '<br>' . owpInputField('countries_iso_code_3', $cInfo->countries_iso_code_3)); $contents[] = array('text' => '<br>' . TEXT_INFO_ADDRESS_FORMAT . '<br>' . owpInputField('address_format_id', $cInfo->address_format_id)); $contents[] = array('align' => 'center', 'text' => '<br>' . owpImageSubmit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . owpLink($owpFilename['countries'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_COUNTRY . '</b>'); $contents = array('form' => owpDrawForm('countries', $owpFilename['countries'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO); $contents[] = array('text' => '<br><b>' . $cInfo->countries_name . '</b>'); $contents[] = array('align' => 'center', 'text' => '<br>' . owpImageSubmit('button_delete.gif', IMAGE_UPDATE) . ' <a href="' . owpLink($owpFilename['countries'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; default: if (is_object($cInfo)) { $heading[] = array('text' => '<b>' . $cInfo->countries_name . '</b>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . owpLink($owpFilename['countries'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=edit') . '">' . owpImageButton('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . owpLink($owpFilename['countries'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=delete') . '">' . owpImageButton('button_delete.gif', IMAGE_DELETE) . '</a>'); $contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY_NAME . '<br>' . $cInfo->countries_name); $contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY_CODE_2 . ' ' . $cInfo->countries_iso_code_2); $contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY_CODE_3 . ' ' . $cInfo->countries_iso_code_3); $contents[] = array('text' => '<br>' . TEXT_INFO_ADDRESS_FORMAT . ' ' . $cInfo->address_format_id); } break; } if (owpNotNull($heading) && owpNotNull($contents)) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box(); echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?> </tr>
$contents[] = array('text' => '<br>' . TEXT_INFO_LANGUAGE_SORT_ORDER . '<br>' . owpInputField('sort_order', $lInfo->sort_order)); if (DEFAULT_LANGUAGE != $lInfo->iso_639_2) { $contents[] = array('text' => '<br>' . owpCheckboxField('default') . ' ' . TEXT_SET_DEFAULT); } $contents[] = array('align' => 'center', 'text' => '<br>' . owpImageSubmit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . owpLink($owpFilename['languages'], 'page=' . $_GET['page'] . '&lID=' . $lInfo->languages_id) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_LANGUAGE . '</b>'); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO); $contents[] = array('text' => '<br><b>' . $lInfo->name . '</b>'); $contents[] = array('align' => 'center', 'text' => '<br>' . ($remove_language ? '<a href="' . owpLink($owpFilename['languages'], 'page=' . $_GET['page'] . '&lID=' . $lInfo->languages_id . '&action=deleteconfirm') . '">' . owpImageButton('button_delete.gif', IMAGE_DELETE) . '</a>' : '') . ' <a href="' . owpLink($owpFilename['languages'], 'page=' . $_GET['page'] . '&lID=' . $lInfo->languages_id) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; default: if (is_object($lInfo)) { $heading[] = array('text' => '<b>' . $lInfo->name . '</b>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . owpLink($owpFilename['languages'], 'page=' . $_GET['page'] . '&lID=' . $lInfo->languages_id . '&action=edit') . '">' . owpImageButton('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . owpLink($owpFilename['languages'], 'page=' . $_GET['page'] . '&lID=' . $lInfo->languages_id . '&action=delete') . '">' . owpImageButton('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . owpLink($owpFilename['define_language'], 'lngdir=' . $lInfo->iso_639_2) . '">' . owpImageButton('button_define.gif', IMAGE_DEFINE) . '</a>'); $contents[] = array('text' => '<br>' . TEXT_INFO_LANGUAGE_NAME . ' ' . $lInfo->name); $contents[] = array('text' => TEXT_INFO_LANGUAGE_ISO_639_2 . ' ' . $lInfo->iso_639_2); $contents[] = array('text' => '<br>' . owpImage(OWP_FLAGS . $lInfo->iso_639_2 . '.gif', $lInfo->name)); $contents[] = array('text' => '<br>' . TEXT_INFO_LANGUAGE_DIRECTORY . '<br>' . OWP_LANGUAGES_DIR . '<b>' . $lInfo->iso_639_2 . '</b>'); $contents[] = array('text' => '<br>' . TEXT_INFO_LANGUAGE_SORT_ORDER . ' ' . $lInfo->sort_order); } break; } if (owpNotNull($heading) && owpNotNull($contents)) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box(); echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?>
?> </td> <td><?php echo owpInputField('email_address'); ?> </td> </tr> <tr> <td colspan="2"><?php echo owpTransLine('1', '5'); ?> </td> </tr> <tr> <td valign="top"><a href="<?php echo owpLink($owpFilename['login'], '', 'SSL') . '">' . owpImageButton('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?> </td> <td align="right" valign="top"><?php echo owpImageSubmit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?> </td> </tr> </table></form></td> </tr> <tr> <td colspan="3"><?php echo owpTransLine('1', '5'); ?> </td> </tr>
$contents[] = array('text' => TEXT_INFO_RESTORE_LOCAL . '<br><br>' . TEXT_INFO_BEST_THROUGH_HTTPS); $contents[] = array('text' => '<br>' . owpFileField('sql_file')); $contents[] = array('text' => TEXT_INFO_RESTORE_LOCAL_RAW_FILE); $contents[] = array('align' => 'center', 'text' => '<br>' . owpImageSubmit('button_restore.gif', IMAGE_restore) . ' <a href="' . owpLink($owpFilename['backup']) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': $heading[] = array('text' => '<b>' . $buInfo->date . '</b>'); $contents = array('form' => owpDrawForm('delete', $owpFilename['backup'], 'file=' . $buInfo->file . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_DELETE_INTRO); $contents[] = array('text' => '<br><b>' . $buInfo->file . '</b>'); $contents[] = array('align' => 'center', 'text' => '<br>' . owpImageSubmit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . owpLink($owpFilename['backup'], 'file=' . $buInfo->file) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; default: if (is_object($buInfo)) { $heading[] = array('text' => '<b>' . $buInfo->date . '</b>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . owpLink($owpFilename['backup'], 'file=' . $buInfo->file . '&action=restore') . '">' . owpImageButton('button_restore.gif', IMAGE_RESTORE) . '</a> <a href="' . owpLink($owpFilename['backup'], 'file=' . $buInfo->file . '&action=delete') . '">' . owpImageButton('button_delete.gif', IMAGE_DELETE) . '</a>'); $contents[] = array('text' => '<br>' . TEXT_INFO_DATE . ' ' . $buInfo->date); $contents[] = array('text' => TEXT_INFO_SIZE . ' ' . $buInfo->size); $contents[] = array('text' => '<br>' . TEXT_INFO_COMPRESSION . ' ' . $buInfo->compression); } break; } if (owpNotNull($heading) && owpNotNull($contents)) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box(); echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?> </tr> </table></td>
echo owpImage(OWP_IMAGES_DIR . 'table_background_man_on_board.gif', HEADING_TITLE); ?> </td> <td valign="top" class="main"><div align="center" class="owp-title"><?php echo HEADING_TITLE; ?> </div><br><?php echo TEXT_ACCOUNT_CREATED; ?> </td> </tr> </table></td> </tr> <tr> <td align="right"><br><?php echo '<a href="' . owpLink($owpFilename['index']) . '">' . owpImageButton('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?> </td> </tr> </table></td> <!-- body_text_eof //--> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require OWP_INCLUDES_DIR . 'footer.php'; ?> <!-- footer_eof //--> <br>
$contents = array(); switch ($_GET['action']) { case 'delete': $heading[] = array('text' => '<b>' . $nInfo->title . '</b>'); $contents = array('form' => owpDrawForm('newsletters', $owpFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO); $contents[] = array('text' => '<br><b>' . $nInfo->title . '</b>'); $contents[] = array('align' => 'center', 'text' => '<br>' . owpImageSubmit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . owpLink($owpFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; default: if (is_object($nInfo)) { $heading[] = array('text' => '<b>' . $nInfo->title . '</b>'); if ($nInfo->locked > 0) { $contents[] = array('align' => 'center', 'text' => '<a href="' . owpLink($owpFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=new') . '">' . owpImageButton('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . owpLink($owpFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=delete') . '">' . owpImageButton('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . owpLink($owpFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=preview') . '">' . owpImageButton('button_preview.gif', IMAGE_PREVIEW) . '</a> <a href="' . owpLink($owpFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=send') . '">' . owpImageButton('button_send.gif', IMAGE_SEND) . '</a> <a href="' . owpLink($owpFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=unlock') . '">' . owpImageButton('button_unlock.gif', IMAGE_UNLOCK) . '</a>'); } else { $contents[] = array('align' => 'center', 'text' => '<a href="' . owpLink($owpFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=preview') . '">' . owpImageButton('button_preview.gif', IMAGE_PREVIEW) . '</a> <a href="' . owpLink($owpFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=lock') . '">' . owpImageButton('button_lock.gif', IMAGE_LOCK) . '</a>'); } $contents[] = array('text' => '<br>' . TEXT_NEWSLETTER_DATE_ADDED . ' ' . owpDateShort($nInfo->date_added)); if ($nInfo->status == '1') { $contents[] = array('text' => TEXT_NEWSLETTER_DATE_SENT . ' ' . owpDateShort($nInfo->date_sent)); } } break; } if (owpNotNull($heading) && owpNotNull($contents)) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box(); echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?>
echo owpDrawHiddenField($key, htmlspecialchars(stripslashes($value))); } } ?> <table border="0" width="100%" cellpadding="0" cellspacing="2"> <tr> <td valign="top" align="left"><?php echo owpImageSubmit('button_back.gif', IMAGE_BACK, 'name="back"'); ?> </td> <td><?php echo owpTransLine('20', '1'); ?> </td> <td align="right"><?php echo '<a href="' . owpLink($owpFilename['mail']) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a> ' . owpImageSubmit('button_send_mail.gif', IMAGE_SEND_EMAIL); ?> </td> </tr> </table></td> </tr> </table></td> </form></tr> <?php } else { $sql = "SELECT admin_firstname, admin_lastname, admin_email_address \n FROM " . $owpDBTable['administrators'] . " \n WHERE admin_id = '" . owpDBInput($_SESSION['user_id']) . "'"; $db->cacheSecs = 900; $admin_send_query = $db->CacheExecute($sql); $admin_send = $admin_send_query->fields; ?> <tr><?php
break; case 'upload': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_UPLOAD . '</b>'); $contents = array('form' => owpDrawForm('file', $owpFilename['file_manager'], 'action=processuploads', 'post', 'enctype="multipart/form-data"')); $contents[] = array('text' => TEXT_UPLOAD_INTRO); for ($i = 1; $i < 6; $i++) { $file_upload .= owpFileField('file_' . $i) . '<br>'; } $contents[] = array('text' => '<br>' . $file_upload); $contents[] = array('align' => 'center', 'text' => '<br>' . ($directory_writeable ? owpImageSubmit('button_upload.gif', IMAGE_UPLOAD) : '') . ' <a href="' . owpLink($owpFilename['file_manager'], 'info=' . urlencode($_GET['info'])) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; default: if (is_object($fInfo)) { $heading[] = array('text' => '<b>' . $fInfo->name . '</b>'); if (!$fInfo->is_dir) { $contents[] = array('align' => 'center', 'text' => '<a href="' . owpLink($owpFilename['file_manager'], 'info=' . urlencode($fInfo->name) . '&action=edit') . '">' . owpImageButton('button_edit.gif', IMAGE_EDIT) . '</a>'); } $contents[] = array('text' => '<br>' . TEXT_FILE_NAME . ' <b>' . $fInfo->name . '</b>'); if (!$fInfo->is_dir) { $contents[] = array('text' => '<br>' . TEXT_FILE_SIZE . ' <b>' . $fInfo->size . '</b>'); } $contents[] = array('text' => '<br>' . TEXT_LAST_MODIFIED . ' ' . $fInfo->last_modified); } } if (owpNotNull($heading) && owpNotNull($contents)) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box(); echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?>
</table></td> <?php $heading = array(); $contents = array(); switch ($_GET['action']) { case 'delete': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_USER . '</b>'); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO); $contents[] = array('text' => '<br><b>' . $aInfo->admin_firstname . ' ' . $aInfo->admin_lastname . '</b>'); $contents[] = array('align' => 'center', 'text' => '<br><a href="' . owpLink($owpFilename['administrators'], 'page=' . $_GET['page'] . '&aID=' . $aInfo->admin_id . '&action=deleteconfirm') . '">' . owpImageButton('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . owpLink($owpFilename['administrators'], 'page=' . $_GET['page'] . '&aID=' . $aInfo->admin_id) . '">' . owpImageButton('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; default: if (is_object($aInfo)) { $heading[] = array('text' => '<b>' . $aInfo->admin_firstname . ' ' . $aInfo->admin_lastname . '</b>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . owpLink($owpFilename['administrators'], 'page=' . $_GET['page'] . '&aID=' . $aInfo->admin_id . '&action=edit') . '">' . owpImageButton('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . owpLink($owpFilename['administrators'], 'page=' . $_GET['page'] . '&aID=' . $aInfo->admin_id . '&action=delete') . '">' . owpImageButton('button_delete.gif', IMAGE_DELETE) . '</a>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . owpLink($owpFilename['mail'], 'selected_box=tools&admin=' . $aInfo->admin_email_address) . '">' . owpImageButton('button_email.gif', IMAGE_EMAIL) . '</a>'); $contents[] = array('text' => '<br>' . TEXT_DATE_ACCOUNT_CREATED . ' ' . owpDateShort($aInfo->date_account_created)); $contents[] = array('text' => '<br>' . TEXT_DATE_ACCOUNT_LAST_MODIFIED . ' ' . owpDateShort($aInfo->date_account_last_modified)); $contents[] = array('text' => '<br>' . TEXT_INFO_DATE_LAST_LOGON . ' ' . owpDateShort($aInfo->date_last_logon)); $contents[] = array('text' => '<br>' . TEXT_INFO_NUMBER_OF_LOGONS . ' ' . $aInfo->number_of_logons); } break; } if (owpNotNull($heading) && owpNotNull($contents)) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box(); echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?> </tr>