Example #1
0
    }
    ?>
        </form>
        <br>

          <?php 
    if (count($comentarios) > 0 and !isset($_SESSION['supervisada'])) {
        ?>
            <b>Comentarios</b>
            <div style="height:150px;width:50%;overflow-y:auto;">
              <ul>
                <?php 
        foreach ($comentarios as $value) {
            ?>
                  <li><p><?php 
            markdownout($value['fecha'] . ': "' . $value['observacion'] . '" - ' . $value['supervisor']);
            ?>
</p></li>
                <?php 
        }
        ?>
              </ul>
            </div>
          <?php 
    }
} else {
    ?>
          <p>Lo sentimos no se encontró ninguna medición en la orden de trabajo seleccionada</p>
        <?php 
}
?>
Example #2
0
    <meta charset="utf-8">
    <title>Manage Jokes: Search Results</title>
  </head>
  <body>
    <h1>Search Results</h1>
    <?php 
if (isset($jokes)) {
    ?>
      <table>
        <tr><th>Joke Text</th><th>Options</th></tr>
        <?php 
    foreach ($jokes as $joke) {
        ?>
        <tr valign="top">
          <td><?php 
        markdownout($joke['text']);
        ?>
</td>
          <td>
            <form action="?" method="post">
              <div>
                <input type="hidden" name="id" value="<?php 
        htmlout($joke['id']);
        ?>
">
                <input type="submit" name="action" value="Edit">
                <input type="submit" name="action" value="Delete">
              </div>
            </form>
          </td>
        </tr>
Example #3
0
    <meta charset="utf-8">
    <title>Manage Albums: Search Results</title>
  </head>
  <body>
    <h1>Search Results</h1>
    <?php 
if (isset($albums)) {
    ?>
      <table>
        <tr><th>Album Text</th><th>Options</th></tr>
        <?php 
    foreach ($albums as $album) {
        ?>
        <tr valign="top">
          <td><?php 
        markdownout($album['text']);
        ?>
</td>
          <td>
            <form action="?" method="post">
              <div>
                <input type="hidden" name="id" value="<?php 
        htmlout($album['id']);
        ?>
">
                <input type="submit" name="action" value="Edit">
                <input type="submit" name="action" value="Delete">
              </div>
            </form>
          </td>
        </tr>