<?php
// auto-generated by sfPropelCrud
// date: 2008/01/21 16:03:00
?>
<?php use_helper('Object') ?>
<?php use_helper('tvtl') ?>

<?php echo form_tag('presentation/update') ?>

<?php echo object_input_hidden_tag($tblpresentation, 'getPrId') ?>

<table>
<tbody>
<tr>
  <th>&nbsp;</th>
  <td><?php if ($tblpresentation!=null) echo $tblpresentation->getObject()->getPreview(); ?></td>
</tr>
<tr>
  <th>Pr category:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrCategory', array (
  'size' => 7,
)) ?></td>
</tr>
<tr>
  <th>Pr name*:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrName', array (
  'size' => 80,
)) ?></td>
</tr>
<tr>
  <th>Pr source*:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrSource', array (
  'size' => 80,
)) ?></td>
</tr>
<tr>
  <th>Pr keyword*:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrKeyword', array (
  'size' => 80,
)) ?></td>
</tr>
<tr>
  <th>Pr type*:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrType', array (
  'size' => 20,
)) ?></td>
</tr>
<tr>
  <th>Pr filename*:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrFilename', array (
  'size' => 80,
)) ?></td>
</tr>
<tr>
  <th>Pr user:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrUser', array (
  'size' => 7,
)) ?></td>
</tr>
<tr>
  <th>Pr slides:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrSlides', array (
  'size' => 7,
)) ?></td>
</tr>
<tr>
  <th>Pr hit*:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrHit', array (
  'size' => 7,
)) ?></td>
</tr>
<tr>
  <th>Pr status:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrStatus', array (
  'size' => 7,
)) ?></td>
</tr>
<tr>
  <th>Pr playername*:</th>
  <td><?php echo object_textarea_tag($tblpresentation, 'getPrPlayername', array (
  'size' => '30x3',
)) ?></td>
</tr>
<tr>
  <th>Pr content:</th>
  <td><?php echo object_textarea_tag($tblpresentation, 'getPrContent', array (
  'size' => '80x40',
)) ?></td>
</tr>
<tr>
  <th>Pr view:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrView', array (
  'size' => 7,
)) ?></td>
</tr>
<tr>
  <th>Pr price:</th>
  <td><?php echo object_input_tag($tblpresentation, 'getPrPrice', array (
  'size' => 7,
)) ?></td>
</tr>
<tr>
  <th>Thumbnail</th>
  <td>
    <?php if ($tblpresentation!=null) echo $tblpresentation->getObject()->getThumbnail();?>
    <?php echo checkbox_tag('clearThumbnail', 1, false) ?>Clear current thumbnail
  </td>
</tr>
</tbody>
</table>
<hr />
<?php echo submit_tag('save') ?>
<?php if ($tblpresentation->getPrId()): ?>
  &nbsp;<?php echo link_to('delete', 'presentation/delete?pr_id='.$tblpresentation->getPrId(), 'post=true&confirm=Are you sure?') ?>
  &nbsp;<?php echo link_to('cancel', 'presentation/show?pr_id='.$tblpresentation->getPrId()) ?>
<?php else: ?>
  &nbsp;<?php echo link_to('cancel', 'presentation/list') ?>
<?php endif; ?>
</form>
