LiveUser
[ class tree: LiveUser ] [ index: LiveUser ] [ all elements ]

Source for file news_new.tpl.php

Documentation is available at news_new.tpl.php

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html>
  3. <head>
  4. <title>Example 4</title>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  6.     <meta http-equiv="Content-Language" content="en" />
  7.     <link rel="stylesheet" href="style.css" type="text/css" media="all" />
  8. </head>
  9. <body>
  10.     <div class="center">
  11.         <table id="table3" cellspacing="0" cellpadding="0">
  12.             <tr>
  13.                 <td>
  14.                     <table id="table4" cellspacing="0" cellpadding="0">
  15.                         <tr>
  16.                             <td valign="top" width="130">
  17.                                 <table width="108" border="0" cellspacing="0" cellpadding="0" name="navigation">
  18.                                     <tr>
  19.                                         <td colspan="2" height="40">&nbsp;</td>
  20.                                     </tr>
  21.                                     <tr>
  22.                                         <td width="108" nowrap="nowarp"><a href="news_new.php">Write news </a></td>
  23.                                     </tr>
  24.                                     <tr>
  25.                                         <td width="108" nowrap="nowarp"><a href="news_change.php">Change / delete news</a></td>
  26.                                     </tr>
  27.                                     <tr>
  28.                                         <td width="108" nowrap="nowarp"><a href="news_view.php">View news</a></td>
  29.                                     </tr>
  30.                                     <tr>
  31.                                         <td colspan="2" style="height: 100px;">&nbsp;</td>
  32.                                     </tr>
  33.                                     <tr>
  34.                                         <td colspan="2" align="center">
  35.                                             <table width="108" border="0" cellspacing="0" cellpadding="0">
  36.                                                 <tr>
  37.                                                     <td rowspan="2" valign="top">&nbsp;</td>
  38.                                                     <td><font style="font-size: 10px;">{user}</span></td>
  39.                                                 </tr>
  40.                                                 <tr valign="bottom">
  41.                                                     <td colspan="2" height="40"><span style="font-size: 10px;">Last login:<br />{lastLogin}</span></td>
  42.                                                 </tr>
  43.                                                 <tr valign="bottom">
  44.                                                     <td colspan="2" height="40"><span style="font-size: 10px;"><a href="news_new.php?logout=1">Logout</a></span></td>
  45.                                                 </tr>
  46.                                             </table>
  47.                                         </td>
  48.                                     </tr>
  49.                                 </table>
  50.                             </td>
  51.                             <td valign="top" width="500">
  52.                                 <h1 class="center">write news</h1>
  53.                                 {script_msg}
  54.                                 <form action="{form_action}" method="POST">
  55.                                     <table style="width: 450; border: 0px;" cellpadding="0" cellspacing="5">
  56.                                         <tr>
  57.                                             <td><b>Message:</b></td>
  58.                                             <td>
  59.                                                 <textarea name="news" cols="40" rows="6">{message}</textarea>
  60.                                             </td>
  61.                                         </tr>
  62.                                         <tr>
  63.                                             <td><b>Valid:</b></td>
  64.                                             <td>
  65.                                                 <input type="text" name="valid_to" maxlength="2" value="{valid}" size="4" /> &nbsp;Weeks</td>
  66.                                         </tr>
  67.                                         <!-- BEGIN group -->
  68.                                         <tr>
  69.                                             <td><b>For Group:</b></td>
  70.                                             <td>
  71.                                                 <select name="group_id" size="1">
  72.                                                     <!-- BEGIN choose_group -->
  73.                                                     <option value="{value}" {selected}>{label}</option>
  74.                                                     <!-- END choose_group -->
  75.                                                 </select>
  76.                                             </td>
  77.                                         </tr>
  78.                                         <!-- END group -->
  79.                                         <tr>
  80.                                             <td colspan="2">&nbsp;</td>
  81.                                         </tr>
  82.                                         <tr>
  83.                                             <td>&nbsp;</td>
  84.                                             <td>
  85.                                                 <input type="submit" name="Button" value="Send" />
  86.                                                 <!-- BEGIN button_abort -->
  87.                                                 <input type="submit" name="Button2" value="Abort" />
  88.                                                 <!-- END button_abort -->
  89.                                             </td>
  90.                                         </tr>
  91.                                     </table>
  92.                                     <!-- BEGIN set_group -->
  93.                                     <input type="hidden" name="group_id" value="{group_id}" />
  94.                                     <!-- END set_group -->
  95.                                     <!-- BEGIN set_news -->
  96.                                     <input type="hidden" name="news_id" value="{news_id}" />
  97.                                     <!-- END set_news -->
  98.                                     <!-- BEGIN action -->
  99.                                     <input type="hidden" name="action" value="change" />
  100.                                     <!-- END action -->
  101.                                 </form>
  102.                                 <p>&nbsp;</p>
  103.                             </td>
  104.                         </tr>
  105.                         <tr class="center">
  106.  
  107.                         </tr>
  108.                     </table>
  109.                 </td>
  110.             </tr>
  111.         </table>
  112.     </div>
  113. </body>
  114. </html>

Documentation generated on Mon, 11 Mar 2019 15:40:13 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.