Logo Search packages:      
Sourcecode: dacode version File versions  Download package

post.php3

<?php
/* daCode _ http://www.dacode.org/
 * $Id: post.php3,v 1.13.2.4 2002/03/27 17:15:27 penso Exp $
 */

      $topdir = '..';
      require $topdir."/dacode.php3";

      $html = LoadClass('Html');
      $sidebox = LoadClass('Sidebox');
      $message = LoadClass('Message');

      $title = lecho("Send a message");

      if (!isset ($HTTP_GET_VARS['answer_id']) 
                  || empty ($HTTP_GET_VARS['answer_id'])) {
            $row['answer'] = "0";
      } else {
            $row['answer'] = $HTTP_GET_VARS['answer_id'];
      }
      if (!isset ($HTTP_GET_VARS['user_id_dest'])
                  || empty ($HTTP_GET_VARS['user_id_dest'])) {
            $row['user_id_dest'] = '';
      } else {
            $row['user_id_dest'] = $HTTP_GET_VARS['user_id_dest'];
      }
      if (!isset ($HTTP_GET_VARS['quote']) || empty ($HTTP_GET_VARS['quote'])) {
            $row['quote'] = "0";
      } else {
            $row['quote'] = $HTTP_GET_VARS['quote'];
      }
      $text = $message->show_new_message($row);

      $html->parsetemplate('users.tmpl');

?>

Generated by  Doxygen 1.6.0   Back to index