Example #1
0
      <td><input type="text" style="width:99.5%" name="title" required /></td>
    </tr>
    <tr>
      <td><?php 
echo $string['message'];
?>
</td>
      <td><textarea class="mceEditor" id="message" name="message" rows="6" style="width:100%; height:200px"></textarea></td>
    </tr>
    <tr>
      <td><?php 
echo $string['date'];
?>
</td>
      <td><?php 
echo date_utils::timedate_select('f', $default_date, false, date('Y'), date('Y') + 2, $string);
?>
</td>
    </tr>
    <tr>
      <td><?php 
echo $string['duration'];
?>
</td>
      <td>
        <select name="duration">
          <option value="5">5 <?php 
echo $string['mins'];
?>
</option>
          <option value="10">10 <?php 
Example #2
0
    <td class="field"><?php 
echo $string['Available from'];
?>
</td>
    <td><?php 
echo date_utils::timedate_select('f', date('YmdH00'), false, date('Y'), date('Y') + 2, $string);
?>
</td>
  </tr>
  <tr>
    <td class="field"><?php 
echo $string['Available to'];
?>
</td>
    <td><?php 
echo date_utils::timedate_select('t', date('YmdH00'), false, date('Y'), date('Y') + 2, $string);
?>
</td>
  </tr>
  <tr>
    <td class="field"><?php 
echo $string['Staff Message'];
?>
</td>
    <td><textarea class="mceEditor" id="staff_msg" name="staff_msg" style="width:750px; height:180px; margin:0" rows="5" cols="20"></textarea></td>
  </tr>
  <tr>
    <td class="field"><?php 
echo $string['Student Message'];
?>
</td>
Example #3
0
</tr>
<tr>
<td class="field"><?php 
echo $string['Available from'];
?>
</td><td><?php 
echo date_utils::timedate_select('f', $startdate, false, $start_year, date('Y') + 2, $string);
?>
</td>
</tr>
<tr>
<td class="field"><?php 
echo $string['Available to'];
?>
</td><td><?php 
echo date_utils::timedate_select('t', $enddate, false, $start_year, date('Y') + 2, $string);
?>
</td>
</tr>
<tr>
<td class="field"><?php 
echo $string['Staff Message'];
?>
</td><td><textarea class="mceEditor" id="staff_msg" name="staff_msg" style="width:750px; height:180px; margin: 0" rows="5" cols="20"><?php 
echo $staff_msg;
?>
</textarea></td>
</tr>
<tr>
<td class="field"><?php 
echo $string['Student Message'];