Source for file msgwrite.php

Documentation is available at msgwrite.php

  1. <?php
  2. /**
  3.  * R.E. Login 2.0 - Üzenet Írása - msginbox.php
  4.  *
  5.  * Üzenet, vagy hír írás sablonja <br />
  6.  * <br />
  7.  * <b>Dátum:</b> 2010.04.02.
  8.  *
  9.  * <b>Szerző weboldala:</b> {@link http://rimelek.hu/}<br />
  10.  * <b>Login weblapja:</b> {@link http://rimelek.hu/meghivos-loginrendszer-r-e-login-v2-0 R.E. Login v2.0}
  11.  *
  12.  * @author Takács Ákos (Rimelek), programmer [at] rimelek [dot] hu
  13.  * @copyright Copyright (C) 2010, Takács Ákos
  14.  * @license http://www.gnu.org/licenses/gpl.html
  15.  * @package RELogin
  16.  * @version 2.0
  17.  */
  18.  
  19. if(!class_exists('System'))
  20. {
  21.     exit('Ez a fajl nem erheto el kozvetlenul. Reszletek a readme.txt-ben.');
  22. }
  23.  
  24. /**
  25.  * @ignore
  26.  */
  27. require_once System::getIncLoginDir().'includes/msgwrite.php';
  28.  
  29. /**
  30.  * @ignore
  31.  */
  32. require_once System::getIncLoginDir().'includes/msgmenu.php';
  33. ?>
  34.  
  35. <div align="center">
  36.     <?php print $msg?>
  37. </div>
  38. <form action="" method="post">
  39.     <?php if (System::$user->rank(array('admin','owner'))) ?>
  40.     <div align="center">
  41.         <input type="checkbox" name="message[news]" <?php if($data['news']print 'checked="checked"'?> />
  42.         Hír küldése
  43.     </div>
  44.     <?php ?>
  45.     <table align="center" border="0">
  46.         <tr>
  47.             <td>Címzett:</td>
  48.             <td><input type="text" name="message[toname]" value="<?php print htmlspecialchars($data['toname']?>" /></td>
  49.         </tr>
  50.         <tr>
  51.             <td>Tárgy:</td>
  52.             <td> <input type="text" name="message[subject]" value="<?php print htmlspecialchars($data['subject']?>" /></td>
  53.         </tr>
  54.         <tr>
  55.             <td colspan="2">Üzenet</td>
  56.         </tr>
  57.         <tr>
  58.             <td colspan="2"><textarea cols="40" rows="7" name="message[body]"><?php print htmlspecialchars($data['body']?></textarea></td>
  59.         </tr>
  60.     </table>
  61.     <div align="center">
  62.         <input type="submit" value="Küldés" />
  63.     </div>
  64. </form>

Documentation generated on Sun, 04 Apr 2010 22:43:47 +0200 by phpDocumentor 1.4.1