• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP Interfaz类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中Interfaz的典型用法代码示例。如果您正苦于以下问题:PHP Interfaz类的具体用法?PHP Interfaz怎么用?PHP Interfaz使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了Interfaz类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: Muestra

	function Muestra(){
		include "../../lib/php/messageResources.php";
		$INDEXIDIOMA=$_SESSION["idiomausuario"];
		$idioma= new Idioma();
		if(isset($_GET['idioma_id'])){
			$idioma_id=$_GET['idioma_id'];
			$idioma->Load_Idioma($idioma_id);
		} else {
			header("Location: index.php");
		}
	
		$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][435]?></strong></td>
                </tr>
                <tr>
                    <td>
                        <input type="hidden" name="i_id" id="i_id" value="<?php echo $_GET['idioma_id']; ?>" readonly="readonly" style="border-color:#FFFFFF" />
                    </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="<?php echo $idioma->Get_dato("i_idioma");?>"/></td>
                </tr>
				<tr>
				 	<td align="right" width="50%"><?php echo $LABELINDEX[$INDEXIDIOMA][28]?>:</td>
                    <td>
					<?php if($idioma->Get_dato("i_estatus") == 1){ ?>
						<input type=checkbox name="estatus" id="estatus" checked="checked" />
					<? }else{ ?>
						<input type=checkbox name="estatus" id="estatus" />
					<? } ?>
                    </td>
				</tr>
				<tr><td colspan="2">&nbsp;</td></tr>
				<tr>
				 	<td colspan="2" align="center">
				 		<input type="submit" value="<?php echo $LABELINDEX[$INDEXIDIOMA][345]?>" name="actualizar" onclick="return validar_formulario_editar_idioma(); ">
				 		<input type="submit" value="<?php echo $LABELINDEX[$INDEXIDIOMA][219]?>" name="cancelar">
					</td>
				</tr>
			</table>
        </form>
		
		<?php
		
		$I->Footer();
	}
开发者ID:hackdracko,项目名称:belcorp,代码行数:60,代码来源:idioma_edit.php


示例2: printProgramacion

function printProgramacion($asignatura, $printConfiguracion)
{
    if ($printConfiguracion) {
        printConfiguracion();
    }
    $programator = new Programator();
    $evaluaciones = getEvaluaciones($asignatura);
    // chapuza
    echo "asignatura" . $asignatura . "<br>";
    echo "evaluaciones" . $evaluaciones . "<br>";
    $programator->programarDias($asignatura, $evaluaciones);
    //$programator->printDias();
    //$programator->printUnidades();
    $interfaz = new Interfaz($asignatura, $programator->DIAS, $programator->UNIDADES);
    $interfaz->printDiasByRango($f1, $f2);
    // $f1, $f2 no se estan utilizando
}
开发者ID:rubentotal,项目名称:programator,代码行数:17,代码来源:prueba.php


示例3: Muestra

function Muestra()
{
    $I = new Interfaz("Concepto:: Nuevo Concepto", true);
    ?>
<style type="text/css">
<!--
.Estilo1 {color: #FF0000}
-->
</style>
<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 align="right">&nbsp;</td>
				   <td><strong>Nuevo Concepto</strong></td>
                 </tr>
				 <tr>
                    <td align="right" width="30%" > <input type="hidden" name="catalogo" id="catalogo" size="70" value="1"/></td>
                </tr>
				 <tr>
                    <td align="right" width="30%">Concepto<span class="Estilo1">*</span>:</td><td> <input type="text" name="concepto" id="concepto" size="70" /></td>
                </tr>
				 <tr>
                    <td align="right" width="30%">Cuenta<span class="Estilo1">*</span>:</td><td> <input type="text" name="cuenta" id="cuenta" size="70" onkeypress="return validaNum(event);"/></td>
                </tr>                
				 <tr>
				 	<td align="right" width="30%">Clasificaci&oacute;n :</td>
                        <td>
                            <select name='clasificacion'>
                                <option value='1'>DEDUCIBLE</option>
                                <option value='0'>NO DEDUCIBLE</option>
                            </select>
                        </td>
				</tr>
				 <tr>
				 	<td align="right" width="30%">Estatus :</td>
                        <td>
                            <select name='estatus'>
                            	<option value='1'>ACTIVO</option>
                                <option value='0'>INACTIVO</option>                                
                            </select>
                        </td>
				</tr>
				 <tr><td colspan="2">&nbsp;</td></tr>
				 <tr>
				 	<td colspan="2" align="center">
				 		<input type="submit" value="Registrar" name="registrar" onclick="return validate(); ">
				 		<input type="submit" value="Cancelar" name="cancelar"></td>
				 </tr>
			</table>
        </form>
		
		<?php 
    $I->Footer();
}
开发者ID:hackdracko,项目名称:envasadoras,代码行数:55,代码来源:concepto_new.php


示例4: getInterPerfiles

 public function getInterPerfiles()
 {
     $interfacesPerfiles = Interfaz::join('InterfazPerfiles', 'InterfazPerfiles.IdInterfaz', '=', 'Interfaz.ID')->join('Perfiles', 'Perfiles.ID', '=', 'InterfazPerfiles.IdPerfil')->select('Interfaz.DisplayName', 'Perfiles.Perfil', 'IdInterfaz', 'IdPerfil')->orderBy('Interfaz.ID', 'asc')->get();
     $datos = array();
     foreach ($interfacesPerfiles->toArray() as $intperf) {
         $intperf['Eliminar'] = "<div class='text-center'><a href='desasignarint/{$intperf['IdInterfaz']}/{$intperf['IdPerfil']}' title='Desasignar'>" . "<span style='color:#FA5858; padding-left:15px' class='glyphicon glyphicon-remove'></span>" . "</a></div>";
         $datos[] = $intperf;
     }
     $datos = json_encode($datos);
     return $datos;
 }
开发者ID:miguelcamargo9,项目名称:dactool,代码行数:11,代码来源:AdminController.php


示例5: Muestra

function Muestra()
{
    include "../../lib/php/messageResources.php";
    $INDEXIDIOMA = $_SESSION["idiomausuario"];
    $I = new Interfaz("Idioma:: Nuevo Idioma", true);
    ?>
<style type="text/css">
<!--
.Estilo1 {color: #FF0000}
-->
</style>
<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][70];
    ?>
</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="50%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][28];
    ?>
:</td>
                    <td>
						<input type=checkbox name="estatus" id="estatus" />
                    </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_idioma(); "/>
				 		<input type="submit" value="<?php 
    echo $LABELINDEX[$INDEXIDIOMA][219];
    ?>
" name="cancelar"/>
					</td>
				</tr>
			</table>
        </form>
		
		<?php 
    $I->Footer();
}
开发者ID:hackdracko,项目名称:belcorp,代码行数:54,代码来源:idioma_new.php


示例6: Muestra

function Muestra()
{
    $I = new Interfaz("CentroCosto:: Nueva CentroCosto", true);
    ?>
<style type="text/css">
<!--
.Estilo1 {color: #FF0000}
-->
</style>
		<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 align="right">&nbsp;</td>
				   <td><strong>Nuevo Modelo de Auto</strong></td>
                 </tr>
				 <tr>
                    <td align="right" width="30%">Nombre<span class="Estilo1">*</span>:</td><td> <input type="text" name="nombre" id="nombre" size="70" /></td></tr>
				 <tr>
				 	<td align="right" width="30%">Factor<span class="Estilo1">*</span>:</td><td> <input type="text" onkeypress="return validaNum(event);" name="factor" id="factor" size="40"/></td>
				</tr>
				 <tr>
				 	<td align="right" width="30%">Estatus :</td>
                    <td> <select name='estatus'>
                        <option value="1">Activo</option>
						<option value="0">Inactivo</option>
                    </select>
                    </td>
				</tr>
				<tr><td colspan="2">&nbsp;</td></tr>
				<tr>
				 	<td colspan="2" align="center">
				 		<input type="submit" value="Registrar" name="registrar" onclick="return validate(); ">
				 		<input type="button" value="Cancelar" name="cancelar" onclick="confirma();">				 	</td>
				</tr>
				 
			</table>
        </form>
		
		<?php 
    $I->Footer();
}
开发者ID:hackdracko,项目名称:envasadoras,代码行数:43,代码来源:modelo_auto_new.php


示例7: Muestra

function Muestra()
{
    $I = new Interfaz("Empresa:: Nueva Empresa", true);
    ?>
<style type="text/css">
<!--
.Estilo1 {color: #FF0000}
-->
</style>
		<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 align="right">&nbsp;</td>
				   <td><strong>Nueva Empresa</strong></td>
                 </tr>
				 <tr>
                    <td align="right" width="30%">Nombre<span class="Estilo1">*</span>:</td><td> <input type="text" name="nombre" id="nombre" size="70" /></td>
                 </tr>
				 <tr>
				 	<td align="right" width="30%">C&oacute;digo<span class="Estilo1">*</span>:</td><td> <input type="text" name="codigo" id="codigo" size="40"/></td>
				</tr>
				<tr>
				 	<td align="right" width="30%">Estatus :</td><td> <select name="estatus" id="estatus">
				 		<option value="1">Activo</option>
				 		<option value="0">Inactivo</option>
				 	</select></td>
				</tr>
				 <tr><td colspan="2">&nbsp;</td></tr>
				 <tr>
				 	<td colspan="2" align="center">
				 		<input type="submit" value="Registrar" name="registrar" onclick="return validate(); ">
				 		<input type="submit" value="Cancelar" name="cancelar">				 	</td>
				 </tr>
			</table>
        </form>
		
		<?php 
    $I->Footer();
}
开发者ID:hackdracko,项目名称:envasadoras,代码行数:40,代码来源:empresa_new.php


示例8: Muestra

function Muestra()
{
    $empresa = new Empresa();
    if (isset($_GET['empresa_id'])) {
        $empresa_id = $_GET['empresa_id'];
        $empresa->Load_EmpresaporID($empresa_id);
    } else {
        header("Location: index.php");
    }
    $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">
	function validate(){	
		if($("#nombre").val() == ""){
			alert("El nombre es un campo requerido.");
			$("#nombre").focus();		
			return false;
		}         
		if($("#codigo").val() == ""){
			alert("El código es un campo requerido.");
			$("#codigo").focus();
			return false;
		}           
		var url = "services/Ajax_empresa.php";
		var codigo = $("#codigo").val();
		var regresa = true;		
		var id = <?php 
    echo $_GET['empresa_id'];
    ?>
;
		$.ajaxSetup({async:false});
		$.post(url,{codigo:codigo,id:id},function(data){						
			if(data!=''){
				alert("El código ya ha sido asignado a otra empresa.");
				$("#codigo").focus();		
				regresa = false;		
			}
		});        
		return regresa;
	}
</script>

<br><br>
	<form name="form1" method="post" action="">
		<table width="80%" align="center" cellpadding="4" cellspacing="4" border="0" bgcolor="#f4f4f4" style="padding-top: 20px;">
			<tr>
				<td align="right">&nbsp;</td>
				<td><strong>Editar Empresa</strong></td>
		    </tr>
			<tr>
				<td align="right">&nbsp;</td>
				<td>
					<input type="hidden" name="empresa_id" id="empresa_id" value="<?php 
    echo $empresa_id;
    ?>
" readonly="readonly" style="border-color:#FFFFFF" />
				</td>
		    </tr>
			<tr>
				<td align="right" width="30%">Nombre<span class="Estilo1">*</span>: 	</td>
                <td> <input type="text" name="nombre" id="nombre" size="70" value="<?php 
    echo $empresa->Get_dato("e_nombre");
    ?>
"/>
				</td>
			</tr>
			<tr>
				<td align="right" width="30%">C&oacute;digo<span class="Estilo1">*</span>: 			
				</td>
				<td> 
					<input type="text" name="codigo" id="codigo" size="40" value="<?php 
    echo $empresa->Get_dato("e_codigo");
    ?>
"/>
				</td>
			</tr>
			<tr>
				<td align="right" width="30%">Estatus :</td><td> 
					<select name="estatus" id="estatus">
						<?php 
    if ($empresa->Get_dato("e_estatus") == 1) {
        ?>
									<option selected value="1">Activo</option>
									<option value="0">Inactivo</option>
							  <?php 
    } else {
        ?>
							  		<option value="1">Activo</option>
									<option selected value="0">Inactivo</option>
							  <?php 
    }
    ?>
					</select>
//.........这里部分代码省略.........
开发者ID:hackdracko,项目名称:envasadoras,代码行数:101,代码来源:empresa_edit.php


示例9: Muestra

function Muestra()
{
    include "../../lib/php/messageResources.php";
    $INDEXIDIOMA = $_SESSION["idiomausuario"];
    $I = new Interfaz("Impuesto:: Nueva Impuesto", true);
    ?>
<style type="text/css">
<!--
.Estilo1 {color: #FF0000}
-->
</style>
		<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" style="text-align:center;"><strong><?php 
    echo $LABELINDEX[$INDEXIDIOMA][81];
    ?>
</strong></td>
                 </tr>
				 <tr>
                    <td align="right" width="40%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][340];
    ?>
<span class="Estilo1">*</span>:</td><td> <input type="text" name="nombre" id="nombre" size="30" maxlength="10"/></td>
                 </tr>
                 <tr>
				 	<td align="right" width="40%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][415];
    ?>
<span class="Estilo1">*</span>:</td>
                    <td> <select name='pais_id' id='pais_id' onchange="change_pais(this.value);">
                        <?php 
    $query = sprintf("SELECT p_id,p_nombre FROM pais WHERE p_estatus = 1");
    $var = mysql_query($query);
    while ($arr = mysql_fetch_assoc($var)) {
        echo sprintf("<option name='%s' id='%s' value='%s'>%s</option>", $arr['p_id'], $arr['p_id'], $arr['p_id'], $arr['p_nombre']);
    }
    ?>
                    
                    </select>
                    </td>
				</tr>
				<tr>
                    <td align="right" width="40%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][630];
    ?>
<span class="Estilo1">*</span>:</td><td> <input type="text" name="porcentaje" id="porcentaje" size="25" onkeypress="return validaNum(event)"/></td>
                 </tr>
				<tr>
				 	<td align="right" width="40%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][412];
    ?>
:</td><td> <input type="checkbox" name="estatus" id="estatus"/></td>
				</tr>
				  <tr><td colspan="2">
					<input type="hidden" name="pais" id="pais" value="" readonly="readonly" />				
				</td></tr>
				 <tr>
				 	<td colspan="2" align="center">
				 		<input type="submit" value="<?php 
    echo $LABELINDEX[$INDEXIDIOMA][116];
    ?>
" name="registrar" onclick="return validate(); ">
				 		<input type="submit" value="<?php 
    echo $LABELINDEX[$INDEXIDIOMA][219];
    ?>
" name="cancelar">				 	</td>
				 </tr>
			</table>
        </form>
		
		<?php 
    $I->Footer();
}
开发者ID:hackdracko,项目名称:belcorp,代码行数:75,代码来源:impuesto_new.php


示例10: Muestra

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();
}
开发者ID:hackdracko,项目名称:belcorp,代码行数:93,代码来源:divisa_new.php


示例11: Muestra

function Muestra()
{
    include "../../lib/php/messageResources.php";
    $INDEXIDIOMA = $_SESSION["idiomausuario"];
    $I = new Interfaz("Usuarios:: Nuevo Usuario", true);
    ?>
<style type="text/css">
<!--
.Estilo1 {color: #FF0000}
-->
</style>

		<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>&nbsp;</td>
					<td colspan="4" align="center">
						<strong><?php 
    echo $LABELINDEX[$INDEXIDIOMA][441];
    ?>
</strong>
					</td>
					<td>&nbsp;</td>
				 </tr>
				 <tr>
					<td width="2%">&nbsp;</td>
					<td colspan="2" align="right" width="33%"> <?php 
    echo $LABELINDEX[$INDEXIDIOMA][327];
    ?>
<span class="Estilo1">*</span>:</td>
					<td colspan="2"> <input type="text" name="nombre" id="nombre" size="63" />
					</td>
					<td width="2%">&nbsp;</td>
				 </tr>
				 <tr>
					<td>&nbsp;</td>
				 	<td colspan="2" align="right" width="30%">	<?php 
    echo $LABELINDEX[$INDEXIDIOMA][0];
    ?>
<span class="Estilo1">*</span>: 			</td>
					<td colspan="2"> <input type="text" name="user" id="user" size="40" onKeypress="return bloqueaEspacio(event);"/> 											
					</td>
					<td>&nbsp;</td>
				</tr>
				 <tr>
					<td>&nbsp;</td>
				 	<td colspan="2" align="right" width="30%"> <?php 
    echo $LABELINDEX[$INDEXIDIOMA][1];
    ?>
<span class="Estilo1">*</span>:					</td>
					<td colspan="2"> <input type="password" name="passwd"  id="passwd" size="40" onKeypress="return bloqueaEspacio(event);"/>					</td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
				 	<td colspan="2" align="right" width="30%"> <?php 
    echo $LABELINDEX[$INDEXIDIOMA][112];
    ?>
<span class="Estilo1">*</span>:					</td>
					<td colspan="2"> <input type="password" name="passwd2" id="passwd2" size="40" onKeypress="return bloqueaEspacio(event);"/>					</td>
					<td>&nbsp;</td>
				</tr>
				 <tr>
					<td>&nbsp;</td>
				 	<td colspan="2" align="right" width="30%"> 
						<?php 
    echo $LABELINDEX[$INDEXIDIOMA][96];
    ?>
<span class="Estilo1">*</span>:					
					</td>
					<td colspan="2">
						<input type="text" name="email" id="email" size="40" onKeypress="return bloqueaEspacio(event);"/>					
					</td>
					<td>&nbsp;</td>
				</tr>
				 <tr>
				   <td>&nbsp;</td>
				   <td colspan="4" align="right">&nbsp;</td>
				   <td>&nbsp;</td>
				 </tr>
				 <tr>
				   <td>&nbsp;</td>
				   <td colspan="4" align="center"><strong><?php 
    echo $LABELINDEX[$INDEXIDIOMA][442];
    ?>
</strong></td>
				   <td>&nbsp;</td>
		         </tr>
		         <tr>
				   <td>&nbsp;</td>
				 	<td align="right" width="30%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][443];
    ?>
:</td>
                    <td>
						<input type=checkbox name="normal" id="normal" />
                    </td>
				 	<td align="right" width="30%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][445];
//.........这里部分代码省略.........
开发者ID:hackdracko,项目名称:belcorp,代码行数:101,代码来源:u_new.php


示例12: Muestra

function Muestra()
{
    $I = new Interfaz("CentroCosto:: Nueva CentroCosto", true);
    include "../../lib/php/messageResources.php";
    $INDEXIDIOMA = $_SESSION["idiomausuario"];
    ?>
<style type="text/css">
<!--
.Estilo1 {color: #FF0000}
-->
</style>
		<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 align="right">&nbsp;</td>
				   <td><strong><?php 
    echo $LABELINDEX[$INDEXIDIOMA][68];
    ?>
</strong></td>
                 </tr>
				 <tr>
                    <td align="right" width="30%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][327];
    ?>
<span class="Estilo1">*</span>:</td><td> <input type="text" name="nombre" id="nombre" size="70" /></td></tr>
				 <tr>
				 	<td align="right" width="30%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][329];
    ?>
<span class="Estilo1">*</span>:</td><td> <input type="text" name="codigo" id="codigo" size="40" onkeypress="return validaNum(event)"/></td>
				</tr>
				 <tr>
				 	<td align="right" width="30%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][55];
    ?>
<span class="Estilo1">*</span>:</td>
                    <td> <select name='pais_id' id='pais_id' onchange="obtener_sociedades(this.value);change_pais(this.value);">
                    <option id='0' name='0' value="0">Seleccione...</option>
                        <?php 
    $query = sprintf("SELECT p_id,p_nombre FROM pais WHERE p_estatus = 1");
    $var = mysql_query($query);
    while ($arr = mysql_fetch_assoc($var)) {
        echo sprintf("<option name='%s' id='%s' value='%s'>%s</option>", $arr['p_id'], $arr['p_id'], $arr['p_id'], $arr['p_nombre']);
    }
    ?>
                    
                    </select>
                    </td>
				</tr>
				 <tr>
				 	<td align="right" width="30%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][58];
    ?>
<span class="Estilo1">*</span>:</td>
                    <td> <select name='sociedad_id' id='sociedad_id' onchange="change_sociedad(this.value);">
						<option>Seleccione...</option>                 
                    </select>
                    </td>
				</tr>
   <tr>
                <td align="right" width="30%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][330];
    ?>
<span class="Estilo1">*</span>:</td>
                <td> <select name='aprobador_id' id='aprobador_id' onchange="change_aprobador(this.value);">
                		<option id='0' value="-1">Seleccione...</option>
                        <?php 
    $query = sprintf("SELECT u_id, u_nombre FROM usuario WHERE u_aprobador='1'");
    $var = mysql_query($query);
    while ($arr = mysql_fetch_assoc($var)) {
        echo sprintf("<option id='%s' value='%s'>%s</option>", $arr['u_id'], $arr['u_id'], $arr['u_nombre']);
    }
    ?>
             
                </select>
                </td>
               
            </tr> 
               <tr>
                <td align="right" width="30%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][326];
    ?>
<span class="Estilo1">*</span>:</td>
                <td> <select name='vicepresidencia_id' id='vicepresidencia_id' onchange="change_vicepresidencia(this.value);">
                		<option id='0' name='0' value="0">Seleccione...</option>
                        <?php 
    $query = sprintf("SELECT v_id, v_nombre FROM vicepresidencia WHERE v_estatus='1'");
    $var = mysql_query($query);
    while ($arr = mysql_fetch_assoc($var)) {
        echo sprintf("<option name='%s' id='%s' value='%s'>%s</option>", $arr['v_id'], $arr['v_id'], $arr['v_id'], $arr['v_nombre']);
    }
    ?>
             
                </select>
                </td>
               
            </tr>         
            <tr>
//.........这里部分代码省略.........
开发者ID:hackdracko,项目名称:belcorp,代码行数:101,代码来源:ceco_new.php


示例13: Muestra

function Muestra()
{
    $concepto = new Concepto();
    if (isset($_GET['concepto_id'])) {
        $concepto_id = $_GET['concepto_id'];
        $concepto->Load_Concepto($concepto_id);
    } else {
        header("Location: index.php");
    }
    $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">
	function validate(){	
		if($("#concepto").val() == ""){
			alert("El concepto es un campo requerido.");
			$("#concepto").focus();		
			return false;
		}         
		if($("#cuenta").val() == ""){
			alert("El cuenta es un campo requerido.");
			$("#cuenta").focus();
			return false;
		}           
		var url = "services/Ajax_conceptos.php";
		var codigo = $("#cuenta").val();
		var regresa = true;		
		var id = <?php 
    echo $_GET['concepto_id'];
    ?>
;
		$.ajaxSetup({async:false});
		$.post(url,{codigo:codigo,id:id},function(data){						
			if(data!=''){
				alert("La cuenta ya ha sido asignado a otro Concepto.");
				$("#cuenta").focus();		
				regresa = false;		
			}
		});        
		return regresa;
	}
//validación campos numericos
function validaNum(valor){
	cTecla=(document.all)?valor.keyCode:valor.which;
	if(cTecla==8) return true;
	patron=/^([0-9.]{1,2})?$/;
	cTecla= String.fromCharCode(cTecla);
	return patron.test(cTecla);
}
</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 align="right">&nbsp;</td>
				   <td><strong>Editar Concepto</strong></td>
                 </tr>
                <tr>
                    <td align="right">&nbsp;</td>
                    <td>
                        <input type="hidden" name="dc_id" id="dc_id" value="<?php 
    echo $_GET['concepto_id'];
    ?>
" readonly="readonly" style="border-color:#FFFFFF" />
                    </td>
                </tr>                 
				 <tr>
                    <td align="right" width="30%"><input type="hidden" name="catalogo" id="catalogo" size="70" value="0"/></td>
                </tr>
				 <tr>
                    <td align="right" width="30%">Concepto<span class="Estilo1">*</span>:</td><td> <input type="text" name="concepto" id="concepto" size="70" value="<?php 
    echo $concepto->Get_dato("cp_concepto");
    ?>
"/></td>
                </tr>
				 <tr>
                    <td align="right" width="30%">Cuenta<span class="Estilo1">*</span>:</td><td> <input type="text" name="cuenta" id="cuenta" size="70" onkeypress="return validaNum(event);" value="<?php 
    echo $concepto->Get_dato("cp_cuenta");
    ?>
"/></td>
                </tr>                
				 <tr>
				 	<td align="right" width="30%">Clasificaci&oacute;n :</td>
                        <td>
                            <select name='clasificacion'>
                                <?php 
    if ($concepto->Get_dato("cp_deducible") == 1) {
        ?>
                                    <option selected='selected' value='1'>DEDUCIBLE</option>
                                    <option value='0'>NO DEDUCIBLE</option>                                
                                <?php 
    } else {
        ?>
//.........这里部分代码省略.........
开发者ID:hackdracko,项目名称:envasadoras,代码行数:101,代码来源:concepto_edit.php


示例14: Muestra

function Muestra()
{
    $I = new Interfaz("Vicepresidencia:: Nueva Vicepresidencia", true);
    include "../../lib/php/messageResources.php";
    $INDEXIDIOMA = $_SESSION["idiomausuario"];
    ?>
<style type="text/css">
<!--
.Estilo1 {color: #FF0000}
-->
</style>
		<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 align="right">&nbsp;</td>
				   <td><strong><?php 
    echo $LABELINDEX[$INDEXIDIOMA][325];
    ?>
</strong></td>
                 </tr>
				 <tr>
                    <td align="right" width="30%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][327];
    ?>
:<span class="Estilo1">*</span>:</td><td> <input type="text" name="nombre" id="nombre" size="70" /></td></tr>
				 <tr>
				 	<td align="right" width="30%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][331];
    ?>
:</td><td> <input type="text" name="descripcion" id="descripcion" size="40"/></td>
				</tr>
            <tr>
                <td align="right" width="30%"><?php 
    echo $LABELINDEX[$INDEXIDIOMA][28];
    ?>
:</td>
                <td>
                <input type="checkbox" name="estatus" id="estatus"/>
                </td>
            </tr>        
				 <tr><td colspan="2">
					<input type="hidden" name="pais" id="pais" value="" readonly="readonly" />
					<input type="hidden" name="sociedad" id="sociedad" value="" readonly="readonly" />
					<input type="hidden" name="aprobador" id="aprobador" value="" readonly="readonly" />					
				</td></tr>
				 <tr>
				 	<td colspan="2" align="center">
				 		<input type="submit" value="<?php 
    echo $LABELINDEX[$INDEXIDIOMA][116];
    ?>
" name="registrar" onclick="return validate(); ">
				 		<input type="submit" value="<?php 
    echo $LABELINDEX[$INDEXIDIOMA][219];
    ?>
" name="cancelar">				 	</td>
				 </tr>
				 
			</table>
        </form>
		
		<?php 
    $I->Footer();
}
开发者ID:hackdracko,项目名称:belcorp,代码行数:65,代码来源:vicepresidencia_new.php


示例15: Muestra

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&quo 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP InternalAutoloader类代码示例发布时间:2022-05-23
下一篇:
PHP Interfaces类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap