Exemple #1
0
function Muestra()
{
    include "../../lib/php/messageResources.php";
    $INDEXIDIOMA = $_SESSION["idiomausuario"];
    $I = new Interfaz("Usuarios:: Editar Usuario", true);
    ?>
<style type="text/css">
<!--
.Estilo1 {color: #FF0000}
-->
</style>
<script language="JavaScript" src="../../lib/js/jquery/jquery-1.3.2.js" type="text/javascript"></script>
<script language="JavaScript" src="../../lib/js/validateForm.js" type="text/javascript"></script>
<script language="JavaScript" src="../../lib/js/valida_form.js" type="text/javascript"></script>

<br><br>
		<form name="form1" method="post"/>
			<table width="80%" align="center" cellpadding="4" cellspacing="4" border="0" bgcolor="#f4f4f4" style="padding-top: 20px;">
				<tr>
				    <td colspan="2" align="center"><strong><?php 
    echo $LABELINDEX[$INDEXIDIOMA][73];
    ?>
</strong></td>
                </tr>
				<tr>
                    <td align="right" width="50%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][327];
    ?>
<span class="Estilo1">*</span>:</td><td> <input type="text" name="nombre" id="nombre" size="20" value=""/></td>
                </tr>
                <tr>
				 	<td align="right" width="30%">
						<?php 
    echo $LABELINDEX[$INDEXIDIOMA][55];
    ?>
<span class="Estilo1">*</span>:
					</td>
					<td>
						<?php 
    $pais = new Pais();
    ?>
						<select name="pais_id" id="pais_id" onChange="">
								<option name="pais_id" id="pais_id" value="-1">
									Selecciona un item
								</option>
							<?php 
    foreach ($pais->Load_all() as $arrE) {
        ?>
										<option name="pais_id" id="pais_id" value="<?php 
        echo $arrE['p_id'];
        ?>
">
											<?php 
        echo $arrE['p_nombre'];
        ?>
										</option>
							<?php 
    }
    ?>
						</select>					
					</td>
                </tr>
				<tr>
                    <td align="right" width="50%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][438];
    ?>
<span class="Estilo1">*</span>:</td><td> <input type="text" name="abrev_div" id="abrev_div" size="20" value=""/></td>
                </tr>
				<tr>
                    <td align="right" width="50%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][437];
    ?>
<span class="Estilo1">*</span>:</td><td> <input type="text" name="tasa" id="tasa" size="20" value="" onkeypress="return validaNum(event)" /></td>
                </tr>
				<tr><td colspan="2">&nbsp;</td></tr>
				<tr>
				 	<td colspan="2" align="center">
				 		<input type="submit" value="<?php 
    echo $LABELINDEX[$INDEXIDIOMA][116];
    ?>
" name="registrar" onclick="return validar_formulario_editar_divisa(); ">
				 		<input type="submit" value="<?php 
    echo $LABELINDEX[$INDEXIDIOMA][219];
    ?>
" name="cancelar">
					</td>
				</tr>
			</table>
        </form>
		
		<?php 
    $I->Footer();
}