ZenCart_Documentation  1.5.0
http://www.collinsharper.com
C:/xampp/htdocs/zen-cart/admin/gv_mail.php
Go to the documentation of this file.
00001 <?php
00010   require('includes/application_top.php');
00011 
00012   require(DIR_WS_CLASSES . 'currencies.php');
00013   $currencies = new currencies();
00014 
00015   $_POST['amount'] = preg_replace('/[^0-9.%]/', '', $_POST['amount']);
00016   $_POST['amount'] = abs($_POST['amount']);
00017 
00018   if ($_GET['action'] == 'set_editor') {
00019     // Reset will be done by init_html_editor.php. Now we simply redirect to refresh page properly.
00020     $action='';
00021     zen_redirect(zen_href_link(FILENAME_GV_MAIL));
00022   }
00023 
00024   if ( ($_GET['action'] == 'send_email_to_user') && ($_POST['customers_email_address'] || $_POST['email_to']) && (!$_POST['back_x']) ) {
00025     $audience_select = get_audience_sql_query($_POST['customers_email_address'], 'email');
00026     $mail = $db->Execute($audience_select['query_string']);
00027     $mail_sent_to = $audience_select['query_name'];
00028     if ($_POST['email_to']) {
00029       $mail_sent_to = $_POST['email_to'];
00030     }
00031 
00032     // demo active test
00033     if (zen_admin_demo()) {
00034       $_GET['action']= '';
00035       $messageStack->add_session(ERROR_ADMIN_DEMO, 'caution');
00036       zen_redirect(zen_href_link(FILENAME_GV_MAIL, 'mail_sent_to=' . urlencode($mail_sent_to)));
00037     }
00038     $from = zen_db_prepare_input($_POST['from']);
00039     $subject = zen_db_prepare_input($_POST['subject']);
00040     $recip_count=0;
00041 
00042     // set time-limit for processing to 5 minutes... if allowed by PHP configuration
00043     zen_set_time_limit(600);
00044 
00045     while (!$mail->EOF) {
00046 
00047       $id1 = create_coupon_code($mail->fields['customers_email_address']);
00048       $insert_query = $db->Execute("insert into " . TABLE_COUPONS . "
00049                                     (coupon_code, coupon_type, coupon_amount, date_created)
00050                                     values ('" . $id1 . "', 'G', '" . $_POST['amount'] . "', now())");
00051 
00052       $insert_id = $db->Insert_ID();
00053 
00054       $db->Execute("insert into " . TABLE_COUPON_EMAIL_TRACK . "
00055                     (coupon_id, customer_id_sent, sent_firstname, emailed_to, date_sent)
00056                     values ('" . $insert_id ."', '0', 'Admin',
00057                             '" . $mail->fields['customers_email_address'] . "', now() )");
00058 
00059       $message = $_POST['message'];
00060       $html_msg['EMAIL_MESSAGE_HTML'] = zen_db_prepare_input($_POST['message_html']);
00061       $message .= "\n\n" . TEXT_GV_WORTH  . $currencies->format($_POST['amount']) . "\n\n";
00062       $message .= TEXT_TO_REDEEM;
00063       $message .= TEXT_WHICH_IS . ' ' . $id1 . ' ' . TEXT_IN_CASE . "\n\n";
00064 
00065       $html_msg['GV_WORTH']  = TEXT_GV_WORTH;
00066       $html_msg['GV_AMOUNT']  = $currencies->format($_POST['amount']);
00067       $html_msg['GV_REDEEM'] = TEXT_TO_REDEEM . TEXT_WHICH_IS . ' <strong>' . $id1 . '</strong> ' . TEXT_IN_CASE;
00068 
00069       if (SEARCH_ENGINE_FRIENDLY_URLS == 'true') {
00070         $message .= HTTP_CATALOG_SERVER  . DIR_WS_CATALOG . 'index.php/gv_redeem/gv_no/'.$id1 . "\n\n";
00071         $html_msg['GV_CODE_URL'] = '<a href="' . HTTP_CATALOG_SERVER  . DIR_WS_CATALOG . 'index.php/gv_redeem/gv_no/'.$id1.'">' .TEXT_CLICK_TO_REDEEM . '</a>'. "&nbsp;";
00072       } else {
00073         $message .= HTTP_CATALOG_SERVER  . DIR_WS_CATALOG . 'index.php?main_page=gv_redeem&gv_no='.$id1 . "\n\n";
00074         $html_msg['GV_CODE_URL'] =  '<a href="'. HTTP_CATALOG_SERVER  . DIR_WS_CATALOG . 'index.php?main_page=gv_redeem&gv_no='.$id1 .'">' .TEXT_CLICK_TO_REDEEM . '</a>' . "&nbsp;";
00075       }
00076 
00077       $message .= TEXT_OR_VISIT . HTTP_CATALOG_SERVER  . DIR_WS_CATALOG . TEXT_ENTER_CODE . "\n\n";
00078       $html_msg['GV_CODE_URL'] .= TEXT_OR_VISIT .  '<a href="' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG.'">' . STORE_NAME . '</a>' . TEXT_ENTER_CODE;
00079       $html_msg['EMAIL_FIRST_NAME'] = $mail->fields['customers_firstname'];
00080       $html_msg['EMAIL_LAST_NAME']  = $mail->fields['customers_lastname'];
00081 
00082       // disclaimer
00083       $message .= "\n-----\n" . sprintf(EMAIL_DISCLAIMER, STORE_OWNER_EMAIL_ADDRESS) . "\n\n";
00084 
00085       zen_mail($mail->fields['customers_firstname'] . ' ' . $mail->fields['customers_lastname'], $mail->fields['customers_email_address'], $subject , $message, $from, $from, $html_msg, 'gv_mail');
00086       $recip_count++;
00087       if (SEND_EXTRA_GV_ADMIN_EMAILS_TO_STATUS== '1' and SEND_EXTRA_GV_ADMIN_EMAILS_TO != '') {
00088         zen_mail('', SEND_EXTRA_GV_ADMIN_EMAILS_TO, SEND_EXTRA_GV_ADMIN_EMAILS_TO_SUBJECT . ' ' . $subject, $message, $from, $from, $html_msg, 'gv_mail_extra');
00089       }
00090 
00091       // Now create the coupon main and email entry
00092       $mail->MoveNext();
00093     }
00094 
00095     if ($_POST['email_to']) {
00096       $id1 = create_coupon_code($_POST['email_to']);
00097       $message = zen_db_prepare_input($_POST['message']);
00098       $message .= "\n\n" . TEXT_GV_WORTH  . $currencies->format($_POST['amount']) . "\n\n";
00099       $message .= TEXT_TO_REDEEM;
00100       $message .= TEXT_WHICH_IS . ' ' . $id1 . ' ' . TEXT_IN_CASE . "\n\n";
00101 
00102       $html_msg['GV_WORTH']  = TEXT_GV_WORTH;
00103       $html_msg['GV_AMOUNT']  = $currencies->format($_POST['amount']);
00104       $html_msg['GV_REDEEM'] = TEXT_TO_REDEEM . TEXT_WHICH_IS . ' <strong>' . $id1 . '</strong> ' . TEXT_IN_CASE . "\n\n";
00105 
00106       if (SEARCH_ENGINE_FRIENDLY_URLS == 'true') {
00107         $message .= HTTP_CATALOG_SERVER  . DIR_WS_CATALOG . 'index.php/gv_redeem/gv_no/'.$id1 . "\n\n";
00108         $html_msg['GV_CODE_URL']  = '<a href="' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'index.php/gv_redeem/gv_no/'.$id1.'">' .TEXT_CLICK_TO_REDEEM . '</a>'. "&nbsp;";
00109       } else {
00110         $message .= HTTP_CATALOG_SERVER  . DIR_WS_CATALOG . 'index.php?main_page=gv_redeem&gv_no='.$id1 . "\n\n";
00111         $html_msg['GV_CODE_URL']  =  '<a href="'. HTTP_CATALOG_SERVER  . DIR_WS_CATALOG . 'index.php?main_page=gv_redeem&gv_no='.$id1 .'">' .TEXT_CLICK_TO_REDEEM . '</a>' . "&nbsp;";
00112       }
00113       $message .= TEXT_OR_VISIT . HTTP_CATALOG_SERVER  . DIR_WS_CATALOG  . TEXT_ENTER_CODE . "\n\n";
00114       $html_msg['GV_CODE_URL']  .= TEXT_OR_VISIT .  '<a href="'.HTTP_CATALOG_SERVER  . DIR_WS_CATALOG.'">' . STORE_NAME . '</a>' . TEXT_ENTER_CODE;
00115 
00116       $html_msg['EMAIL_MESSAGE_HTML'] = zen_db_prepare_input($_POST['message_html']);
00117       $html_msg['EMAIL_FIRST_NAME'] = ''; // unknown, since only an email address was supplied
00118       $html_msg['EMAIL_LAST_NAME']  = ''; // unknown, since only an email address was supplied
00119 
00120       // disclaimer
00121       $message .= "\n-----\n" . sprintf(EMAIL_DISCLAIMER, STORE_OWNER_EMAIL_ADDRESS) . "\n\n";
00122 
00123       //Send the emails
00124       zen_mail('Friend', $_POST['email_to'], $subject , $message, $from, $from, $html_msg, 'gv_mail');
00125       $recip_count++;
00126       if (SEND_EXTRA_GV_ADMIN_EMAILS_TO_STATUS== '1' and SEND_EXTRA_GV_ADMIN_EMAILS_TO != '') {
00127         zen_mail('', SEND_EXTRA_GV_ADMIN_EMAILS_TO, SEND_EXTRA_GV_ADMIN_EMAILS_TO_SUBJECT . ' ' . $subject, $message, $from, $from, $html_msg, 'gv_mail_extra');
00128       }
00129 
00130       // Now create the coupon main entry
00131       $insert_query = $db->Execute("insert into " . TABLE_COUPONS . "
00132                                     (coupon_code, coupon_type, coupon_amount, date_created)
00133                                     values ('" . $id1 . "', 'G', '" . $_POST['amount'] . "', now())");
00134 
00135       $insert_id = $db->Insert_id();
00136 
00137       $insert_query = $db->Execute("insert into " . TABLE_COUPON_EMAIL_TRACK . "
00138                                     (coupon_id, customer_id_sent, sent_firstname, emailed_to, date_sent)
00139                                     values ('" . $insert_id ."', '0', 'Admin',
00140                                             '" . $_POST['email_to'] . "', now() )");
00141 
00142     }
00143     zen_redirect(zen_href_link(FILENAME_GV_MAIL, 'mail_sent_to=' . urlencode($mail_sent_to) . '&recip_count='. $recip_count ));
00144   }
00145 
00146   if ( ($_GET['action'] == 'preview') && (!$_POST['customers_email_address']) && (!$_POST['email_to']) ) {
00147     $messageStack->add(ERROR_NO_CUSTOMER_SELECTED, 'error');
00148   }
00149 
00150   if ( ($_GET['action'] == 'preview') && (!$_POST['subject']) ) {
00151     $messageStack->add(ERROR_NO_SUBJECT, 'error');
00152   }
00153   if ( ($_GET['action'] == 'preview') && ($_POST['amount'] <= 0) ) {
00154     $messageStack->add(ERROR_NO_AMOUNT_SELECTED, 'error');
00155   }
00156 
00157   if ($_GET['mail_sent_to']) {
00158     $messageStack->add(sprintf(NOTICE_EMAIL_SENT_TO, $_GET['mail_sent_to']. '(' . $_GET['recip_count'] . ')'), 'success');
00159   }
00160 ?>
00161 <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
00162 <html <?php echo HTML_PARAMS; ?>>
00163 <head>
00164 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
00165 <title><?php echo TITLE; ?></title>
00166 <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
00167 <link rel="stylesheet" type="text/css" href="includes/cssjsmenuhover.css" media="all" id="hoverJS">
00168 <script language="javascript" src="includes/menu.js"></script>
00169 <script type="text/javascript">
00170   <!--
00171   function init()
00172   {
00173     cssjsmenu('navbar');
00174     if (document.getElementById)
00175     {
00176       var kill = document.getElementById('hoverJS');
00177       kill.disabled = true;
00178     }
00179   if (typeof _editor_url == "string") HTMLArea.replace('message_html');
00180   }
00181   // -->
00182 </script>
00183 <script language="javascript" type="text/javascript"><!--
00184 var form = "";
00185 var submitted = false;
00186 var error = false;
00187 var error_message = "";
00188 
00189 function check_recipient(field_cust, field_input, message) {
00190 //  if (form.elements[field_cust] && form.elements[field_cust].type != "hidden" && form.elements[field_input] && form.elements[field_input].type != "hidden") {
00191     var field_value_cust = form.elements[field_cust].value;
00192     var field_value_input = form.elements[field_input].value;
00193 
00194     if ((field_value_input == '' || field_value_input.length < 1)  &&  field_value_cust == '') {
00195       error_message = error_message + "* " + message + "\n";
00196       error = true;
00197     }
00198   }
00199 //}
00200 function check_amount(field_name, field_size, message) {
00201   if (form.elements[field_name] && (form.elements[field_name].type != "hidden")) {
00202     var field_value = form.elements[field_name].value;
00203 
00204     if (field_value == '' || field_value == 0 || field_value < 0 || field_value.length < field_size ) {
00205       error_message = error_message + "* " + message + "\n";
00206       error = true;
00207     }
00208   }
00209 }
00210 function check_message(msg) {
00211   if (form.elements['message'] && form.elements['message_html']) {
00212     var field_value1 = form.elements['message'].value;
00213     var field_value2 = form.elements['message_html'].value;
00214 
00215     if ((field_value1 == '' || field_value1.length < 3) && (field_value2 == '' || field_value2.length < 3)) {
00216       error_message = error_message + "* " + msg + "\n";
00217       error = true;
00218     }
00219   }
00220 }
00221 function check_input(field_name, field_size, message) {
00222   if (form.elements[field_name] && (form.elements[field_name].type != "hidden")) {
00223     var field_value = form.elements[field_name].value;
00224 
00225     if (field_value == '' || field_value.length < field_size) {
00226       error_message = error_message + "* " + message + "\n";
00227       error = true;
00228     }
00229   }
00230 }
00231 
00232 function check_form(form_name) {
00233   if (submitted == true) {
00234     alert("<?php echo JS_ERROR_SUBMITTED; ?>");
00235     return false;
00236   }
00237   error = false;
00238   form = form_name;
00239   error_message = "<?php echo JS_ERROR; ?>";
00240 
00241   check_recipient('customers_email_address', 'email_to', "<?php echo ERROR_NO_CUSTOMER_SELECTED; ?>");
00242   check_message("<?php echo ENTRY_NOTHING_TO_SEND; ?>");
00243   check_amount('amount',1,"<?php echo ERROR_NO_AMOUNT_SELECTED; ?>");
00244   check_input('subject','',"<?php echo ERROR_NO_SUBJECT; ?>");
00245 
00246   if (error == true) {
00247     alert(error_message);
00248     return false;
00249   } else {
00250     submitted = true;
00251     return true;
00252   }
00253 }
00254 //--></script>
00255 <?php if ($editor_handler != '') include ($editor_handler); ?>
00256 </head>
00257 <body onLoad="init()">
00258 <!-- header //-->
00259 <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
00260 <!-- header_eof //-->
00261 
00262 <!-- body //-->
00263 <table border="0" width="100%" cellspacing="2" cellpadding="2">
00264   <tr>
00265 <!-- body_text //-->
00266     <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
00267       <tr>
00268         <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
00269           <tr>
00270             <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
00271             <td class="pageHeading" align="right"><?php echo zen_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
00272             <td class="main">
00273 <?php
00274 // toggle switch for editor
00275         echo TEXT_EDITOR_INFO . zen_draw_form('set_editor_form', FILENAME_GV_MAIL, '', 'get') . '&nbsp;&nbsp;' . zen_draw_pull_down_menu('reset_editor', $editors_pulldown, $current_editor_key, 'onChange="this.form.submit();"') .
00276         zen_hide_session_id() .
00277         zen_draw_hidden_field('action', 'set_editor') .
00278         '</form>';
00279 ?>
00280           </td>
00281           </tr>
00282         </table></td>
00283       </tr>
00284       <tr>
00285         <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
00286 <?php
00287   if ( ($_GET['action'] == 'preview') && ($_POST['customers_email_address'] || $_POST['email_to']) ) {
00288   $audience_select = get_audience_sql_query($_POST['customers_email_address']);
00289     $mail_sent_to = $audience_select['query_name'];
00290         if ($_POST['email_to']) {
00291           $mail_sent_to = $_POST['email_to'];
00292         }
00293 ?>
00294           <tr><?php echo zen_draw_form('mail', FILENAME_GV_MAIL, 'action=send_email_to_user'); ?>
00295             <td><table border="0" width="100%" cellpadding="0" cellspacing="2">
00296               <tr>
00297                 <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00298               </tr>
00299               <tr>
00300                 <td class="smallText"><b><?php echo TEXT_CUSTOMER; ?></b><br /><?php echo $mail_sent_to; ?></td>
00301               </tr>
00302               <tr>
00303                 <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00304               </tr>
00305               <tr>
00306                 <td class="smallText"><b><?php echo TEXT_FROM; ?></b><br /><?php echo htmlspecialchars(stripslashes($_POST['from'])); ?></td>
00307               </tr>
00308               <tr>
00309                 <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00310               </tr>
00311               <tr>
00312                 <td class="smallText"><b><?php echo TEXT_SUBJECT; ?></b><br /><?php echo htmlspecialchars(stripslashes($_POST['subject'])); ?></td>
00313               </tr>
00314               <tr>
00315                 <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00316               </tr>
00317               <tr>
00318                 <td class="smallText"><b><?php echo TEXT_AMOUNT; ?></b><br /><?php echo nl2br(htmlspecialchars(stripslashes($_POST['amount']))) . ($_POST['amount'] <= 0 ? '&nbsp<span class="alert">' . ERROR_GV_AMOUNT . '</span>' : ''); ?></td>
00319               </tr>
00320               <tr>
00321                 <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00322               </tr>
00323               <tr>
00324                 <td><hr /><b><?php echo TEXT_RICH_TEXT_MESSAGE; ?></b><br /><?php echo stripslashes($_POST['message_html']); ?></td>
00325               </tr>
00326               <tr>
00327                 <td><hr /><b><?php echo TEXT_MESSAGE; ?></b><br /><tt><?php echo nl2br(htmlspecialchars(stripslashes($_POST['message']))); ?></tt><hr /></td>
00328               </tr>
00329               <tr>
00330                 <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00331               </tr>
00332               <tr>
00333                 <td>
00334 <?php
00335 /* Re-Post all POST'ed variables */
00336     reset($_POST);
00337     while (list($key, $value) = each($_POST)) {
00338       if (!is_array($_POST[$key])) {
00339         echo zen_draw_hidden_field($key, htmlspecialchars(stripslashes($value)));
00340       }
00341     }
00342 ?>
00343                 <table border="0" width="100%" cellpadding="0" cellspacing="2">
00344                   <tr>
00345                     <td><?php echo zen_image_submit('button_back.gif', IMAGE_BACK, 'name="back"'); ?></td>
00346                     <td align="right"><?php echo '<a href="' . zen_href_link(FILENAME_GV_MAIL) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a> ' . ($_POST['amount'] <= 0 ? '' : zen_image_submit('button_send_mail.gif', IMAGE_SEND_EMAIL)); ?></td>
00347                   </tr>
00348                 </table></td>
00349               </tr>
00350             </table></td>
00351           </form></tr>
00352 <?php
00353   } else {
00354 ?>
00355           <tr><?php echo zen_draw_form('mail', FILENAME_GV_MAIL, 'action=preview','post', 'onsubmit="return check_form(mail);"'); ?>
00356             <td><table border="0" width="100%" cellpadding="0" cellspacing="2">
00357               <tr>
00358                 <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00359               </tr>
00360 <?php
00361     $customers = get_audiences_list('email');
00362 ?>
00363               <tr>
00364                 <td class="main"><?php echo TEXT_CUSTOMER; ?></td>
00365                 <td><?php echo zen_draw_pull_down_menu('customers_email_address', $customers, $_GET['customer']);?></td>
00366               </tr>
00367               <tr>
00368                 <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00369               </tr>
00370                <tr>
00371                 <td class="main"><?php echo TEXT_TO; ?></td>
00372                 <td><?php echo zen_draw_input_field('email_to', '', 'size="50"'); ?><?php echo '&nbsp;&nbsp;' . TEXT_SINGLE_EMAIL; ?></td>
00373               </tr>
00374               <tr>
00375                 <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00376               </tr>
00377              <tr>
00378                 <td class="main"><?php echo TEXT_FROM; ?></td>
00379                 <td><?php echo zen_draw_input_field('from', htmlspecialchars(EMAIL_FROM, ENT_COMPAT, CHARSET, TRUE), 'size="50"'); ?></td>
00380               </tr>
00381               <tr>
00382                 <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00383               </tr>
00384               <tr>
00385                 <td class="main"><?php echo TEXT_SUBJECT; ?></td>
00386                 <td><?php echo zen_draw_input_field('subject', '', 'size="50"'); ?></td>
00387               </tr>
00388               <tr>
00389                 <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00390               </tr>
00391               <tr>
00392                 <td valign="top" class="main"><?php echo TEXT_AMOUNT; ?></td>
00393                 <td><?php echo zen_draw_input_field('amount'); ?></td>
00394               </tr>
00395               <tr>
00396                 <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00397               </tr>
00398 <?php if (EMAIL_USE_HTML == 'true') {?>
00399               <tr>
00400                 <td valign="top" class="main"><?php echo TEXT_RICH_TEXT_MESSAGE; ?></td>
00401                 <td><?php echo zen_draw_textarea_field('message_html', 'soft', '100%', '20', htmlspecialchars(($_POST['message_html']=='') ? TEXT_GV_ANNOUNCE : stripslashes($_POST['message_html']), ENT_COMPAT, CHARSET, TRUE), 'id="message_html" class="editorHook"'); ?></td>
00402               </tr>
00403 <?php } ?>
00404               <tr>
00405                 <td valign="top" class="main"><?php echo TEXT_MESSAGE; ?></td>
00406                 <td><?php echo zen_draw_textarea_field('message', 'soft', '60', '15', htmlspecialchars(($_POST['message']=='') ? strip_tags(TEXT_GV_ANNOUNCE) : stripslashes($_POST['message']), ENT_COMPAT, CHARSET, TRUE)); ?></td>
00407               </tr>
00408               <tr>
00409                 <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
00410               </tr>
00411               <tr>
00412                 <td colspan="2" align="right"><?php echo zen_image_submit('button_send_mail.gif', IMAGE_SEND_EMAIL); ?></td>
00413               </tr>
00414             </table></td>
00415           </form></tr>
00416 <?php
00417   }
00418 ?>
00419 <!-- body_text_eof //-->
00420         </table></td>
00421       </tr>
00422     </table></td>
00423   </tr>
00424 </table>
00425 <!-- body_eof //-->
00426 
00427 <!-- footer //-->
00428 <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
00429 <!-- footer_eof //-->
00430 <br />
00431 </body>
00432 </html>
00433 <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
 All Data Structures Namespaces Files Functions Variables Enumerations