示例#1
0
        ?>
><?php 
        echo $row_cat['categoria'];
        ?>
</option>
              <?php 
    } while ($row_cat = mysql_fetch_assoc($cat));
    $rows = mysql_num_rows($cat);
    if ($rows > 0) {
        mysql_data_seek($cat, 0);
        $row_cat = mysql_fetch_assoc($cat);
    }
    ?>
            </select>
              <?php 
    echo $tNGs->displayFieldError("paginas", "id_cat", $cnt1);
    ?>
</td>
          </tr>
          <tr>
            <td class="KT_th"><label for="id_subcat_<?php 
    echo $cnt1;
    ?>
">Subcategoría:</label></td>
            <td><select name="id_subcat_<?php 
    echo $cnt1;
    ?>
" id="id_subcat_<?php 
    echo $cnt1;
    ?>
">
示例#2
0
文件: login.php 项目: Mayoh/grupo-ha
<form method="post" id="form1" class="KT_tngformerror" action="<?php 
echo KT_escapeAttribute(KT_getFullUri());
?>
">
  <table cellpadding="2" cellspacing="0" class="KT_tngtable">
    <tr>
      <td class="KT_th"><label for="kt_login_user">Username:</label></td>
      <td><input type="text" name="kt_login_user" id="kt_login_user" value="<?php 
echo KT_escapeAttribute($row_rscustom['kt_login_user']);
?>
" size="32" />
        <?php 
echo $tNGs->displayFieldHint("kt_login_user");
?>
 <?php 
echo $tNGs->displayFieldError("custom", "kt_login_user");
?>
</td>
    </tr>
    <tr>
      <td class="KT_th"><label for="kt_login_password">Password:</label></td>
      <td><input type="password" name="kt_login_password" id="kt_login_password" value="" size="32" />
        <?php 
echo $tNGs->displayFieldHint("kt_login_password");
?>
 <?php 
echo $tNGs->displayFieldError("custom", "kt_login_password");
?>
</td>
    </tr>
    <tr class="KT_buttons">
示例#3
0
">Nombre:</label></td>
            <td><input type="text" name="nombre_<?php 
    echo $cnt1;
    ?>
" id="nombre_<?php 
    echo $cnt1;
    ?>
" value="<?php 
    echo KT_escapeAttribute($row_rsusuarios['nombre']);
    ?>
" size="32" maxlength="255" />
              <?php 
    echo $tNGs->displayFieldHint("nombre");
    ?>
 <?php 
    echo $tNGs->displayFieldError("usuarios", "nombre", $cnt1);
    ?>
</td>
          </tr>
          <tr>
            <td class="KT_th"><label for="apellidos_<?php 
    echo $cnt1;
    ?>
">Apellidos:</label></td>
            <td><input type="text" name="apellidos_<?php 
    echo $cnt1;
    ?>
" id="apellidos_<?php 
    echo $cnt1;
    ?>
" value="<?php 
示例#4
0
">Servicio:</label></td>
            <td><input type="text" name="servicio_<?php 
    echo $cnt1;
    ?>
" id="servicio_<?php 
    echo $cnt1;
    ?>
" value="<?php 
    echo KT_escapeAttribute($row_rsservicios['servicio']);
    ?>
" size="32" maxlength="150" />
              <?php 
    echo $tNGs->displayFieldHint("servicio");
    ?>
 <?php 
    echo $tNGs->displayFieldError("servicios", "servicio", $cnt1);
    ?>
</td>
          </tr>
          <tr>
            <td class="KT_th"><label for="desc_serv_<?php 
    echo $cnt1;
    ?>
">Descripción:</label></td>
            <td><textarea name="desc_serv_<?php 
    echo $cnt1;
    ?>
" cols="32" rows="4" id="desc_serv_<?php 
    echo $cnt1;
    ?>
"><?php 
示例#5
0
    ?>
        <table cellpadding="2" cellspacing="0" class="KT_tngtable">
          <tr>
            <td class="KT_th"><label for="banner_<?php 
    echo $cnt1;
    ?>
">Banner:</label></td>
            <td><input type="file" name="banner_<?php 
    echo $cnt1;
    ?>
" id="banner_<?php 
    echo $cnt1;
    ?>
" size="32" />
              <?php 
    echo $tNGs->displayFieldError("banner", "banner", $cnt1);
    ?>
</td>
          </tr>
        </table>
        <input type="hidden" name="kt_pk_banner_<?php 
    echo $cnt1;
    ?>
" class="id_field" value="<?php 
    echo KT_escapeAttribute($row_rsbanner['kt_pk_banner']);
    ?>
" />
        <?php 
} while ($row_rsbanner = mysql_fetch_assoc($rsbanner));
?>
      <div class="KT_bottombuttons">
示例#6
0
">Categoria:</label></td>
            <td><input type="text" name="categoria_<?php 
    echo $cnt1;
    ?>
" id="categoria_<?php 
    echo $cnt1;
    ?>
" value="<?php 
    echo KT_escapeAttribute($row_rscategorias['categoria']);
    ?>
" size="32" maxlength="255" />
              <?php 
    echo $tNGs->displayFieldHint("categoria");
    ?>
 <?php 
    echo $tNGs->displayFieldError("categorias", "categoria", $cnt1);
    ?>
</td>
          </tr>
          <tr>
            <td class="KT_th"><label for="liga_cat_<?php 
    echo $cnt1;
    ?>
">Liga:</label></td>
            <td><input type="text" name="liga_cat_<?php 
    echo $cnt1;
    ?>
" id="liga_cat_<?php 
    echo $cnt1;
    ?>
" value="<?php 
示例#7
0
">Tieudetin:</label></td>
            <td><input type="text" name="tieudetin_<?php 
    echo $cnt1;
    ?>
" id="tieudetin_<?php 
    echo $cnt1;
    ?>
" value="<?php 
    echo KT_escapeAttribute($row_rstintuc['tieudetin']);
    ?>
" size="32" maxlength="255" />
                <?php 
    echo $tNGs->displayFieldHint("tieudetin");
    ?>
 <?php 
    echo $tNGs->displayFieldError("tintuc", "tieudetin", $cnt1);
    ?>
 </td>
          </tr>
          <tr>
            <td class="KT_th"><label for="hinhtrichdan_<?php 
    echo $cnt1;
    ?>
">Hinhtrichdan:</label></td>
            <td><input type="file" name="hinhtrichdan_<?php 
    echo $cnt1;
    ?>
" id="hinhtrichdan_<?php 
    echo $cnt1;
    ?>
" size="32" />
示例#8
0
        ?>
><?php 
        echo $row_cats['categoria'];
        ?>
</option>
              <?php 
    } while ($row_cats = mysql_fetch_assoc($cats));
    $rows = mysql_num_rows($cats);
    if ($rows > 0) {
        mysql_data_seek($cats, 0);
        $row_cats = mysql_fetch_assoc($cats);
    }
    ?>
            </select>
              <?php 
    echo $tNGs->displayFieldError("subcategorias", "id_cat", $cnt1);
    ?>
</td>
          </tr>
          <tr>
            <td class="KT_th"><label for="subcat_<?php 
    echo $cnt1;
    ?>
">Subcategoría:</label></td>
            <td><input type="text" name="subcat_<?php 
    echo $cnt1;
    ?>
" id="subcat_<?php 
    echo $cnt1;
    ?>
" value="<?php