Exemplo n.º 1
0
<?php

/***
 * Popup
 */
$win = new SDPanel();
$win->setCaption("");
$table = new Table();
//$table -> setFormClass("form.algo");
$lugar = new Label();
$lugar->setCaption("Place");
$combo_box_lugar = new ComboBox();
$combo_box_lugar->setEmptyItem(false);
//$combo_box_fecha-> setEmptyItemText("Choose options");
$combo_box_lugar->setValues("All:1, Staples Center:2, Quickens Loans Arena:3");
$boton = new Button();
$boton->setCaption("Search");
$boton->onTap(prueba());
$table->addControl($lugar, 1, 1);
$table->addControl($combo_box_lugar, 1, 2);
$table->addControl($boton, 2, 1, 1, 2, "", "");
$win->addControl($table);
function prueba()
{
    echo "Searching...";
}
Exemplo n.º 2
0
<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
require_once './controladores/ctrl_usuario.php';
prueba();
Exemplo n.º 3
0
            <h2 class="sub-header">Tareas</h2>
            <a href="insertartareas.php">Agrega una nueva Tarea</a>
          <div class="table-responsive">
            <table class="table table-striped">
              <thead>
                <tr>
                  <th>#</th>
                  <th>Usuario</th>
                  <th>Tarea</th>
                  <th>Fecha Inicio</th>
                  <th>Fecha Final</th>
                </tr>
              </thead>
              <tbody>
                <?php 
    $tareas = prueba();
    while ($fila = mysql_fetch_array($tareas)) {
        ?>
                <tr>
                  <td><?php 
        echo $fila['id_proyecto'];
        ?>
</td>
                  <td>
                    <a href="editartareas.php?id=<?php 
        echo $fila['id_proyecto'];
        ?>
">
                        <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                    </a>
                    <a href="" class="eliminartarea" data-id="<?php