当前位置: 首页>>代码示例>>PHP>>正文


PHP String::getVarsLink方法代码示例

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


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

示例1: agregar

 public function agregar()
 {
     $this->carabiner->css(array(array('general/forms.css', 'screen')));
     $params['info_empleado'] = $this->info_empleado['info'];
     //info empleado
     $params['opcmenu_active'] = 'Almacen';
     //activa la opcion del menu
     $params['seo'] = array('titulo' => 'Agregar lista de precios');
     $this->load->library('form_validation');
     $rules = array(array('field' => 'dnombre', 'label' => 'Nombre', 'rules' => 'required|max_length[30]'), array('field' => 'des_default', 'label' => 'Precio publico', 'rules' => 'max_length[2]'));
     $this->form_validation->set_rules($rules);
     if ($this->form_validation->run() == FALSE) {
         $params['frm_errors'] = $this->showMsgs(2, preg_replace("[\n|\r|\n\r]", '', validation_errors()));
     } else {
         $this->load->model('listas_precio_model');
         $respons[0] = $this->listas_precio_model->addLista();
         if ($respons[0]) {
             redirect(base_url('panel/listas_precio/agregar/?' . String::getVarsLink(array('msg')) . '&msg=4'));
         }
     }
     if (isset($_GET['msg'][0])) {
         $params['frm_errors'] = $this->showMsgs($_GET['msg']);
     }
     $this->load->view('panel/header', $params);
     $this->load->view('panel/general/menu', $params);
     $this->load->view('panel/productos/listas_precio/agregar_lista', $params);
     $this->load->view('panel/footer');
 }
开发者ID:cesarmontoya770828,项目名称:nevarez,代码行数:28,代码来源:listas_precio.php

示例2: agregar

 private function agregar()
 {
     $this->carabiner->css(array(array('general/forms.css', 'screen'), array('general/tables.css', 'screen')));
     $this->carabiner->js(array(array('aviones/frm_addmod.js')));
     $params['info_empleado'] = $this->info_empleado['info'];
     $params['opcmenu_active'] = 'Aviones';
     //activa la opcion del menu
     $params['seo'] = array('titulo' => 'Agregar Avion');
     $this->configAddAvion();
     if ($this->form_validation->run() == FALSE) {
         $params['frm_errors'] = $this->showMsgs(2, preg_replace("[\n|\r|\n\r]", '', validation_errors()));
     } else {
         $model_resp = $this->aviones_model->addAvion();
         if ($model_resp[0]) {
             redirect(base_url('panel/aviones/agregar/?' . String::getVarsLink(array('msg')) . '&msg=4'));
         } else {
             $params['frm_errors'] = $this->showMsgs(2, 'Ya existe el Avión', 'Alerta !');
         }
     }
     if (isset($_GET['msg'][0])) {
         $params['frm_errors'] = $this->showMsgs($_GET['msg']);
     }
     $this->load->view('panel/header', $params);
     $this->load->view('panel/general/menu', $params);
     $this->load->view('panel/aviones/agregar', $params);
     $this->load->view('panel/footer', $params);
 }
开发者ID:sujatapadwal,项目名称:diatomeas,代码行数:27,代码来源:aviones.php

示例3: index

 public function index()
 {
     $this->carabiner->css(array(array('libs/jquery.uniform.css', 'screen'), array('libs/jquery.colorpicker2.css', 'screen')));
     $this->carabiner->js(array(array('libs/jquery.uniform.min.js'), array('libs/jquery.numeric.js'), array('libs/jquery.colorpicker2.js'), array('libs/jquery.colorpicker2eye.js'), array('libs/jquery.colorpicker2layout.js'), array('libs/jquery.colorpicker2utils.js'), array('general/msgbox.js'), array('panel/config/frm_mod.js')));
     $params['info_empleado'] = $this->info_empleado['info'];
     //info empleado
     $params['seo'] = array('titulo' => 'Configuración');
     $this->configAddModEmpl();
     $this->load->model('config_model');
     $this->load->model('empresas_model');
     if ($this->form_validation->run() == FALSE) {
         $params['frm_errors'] = $this->showMsgs(2, preg_replace("[\n|\r|\n\r]", '', validation_errors()));
     } else {
         $respons = $this->config_model->updateConfig(1);
         if ($respons[0]) {
             redirect(base_url('panel/config/?' . String::getVarsLink(array('msg')) . '&msg=' . $respons[2]));
         }
     }
     $params['info'] = $this->config_model->getInfoConfig(1);
     $params['empresa'] = $this->empresas_model->getInfoEmpresa(2);
     if (isset($_GET['msg'][0])) {
         $params['frm_errors'] = $this->showMsgs($_GET['msg']);
     }
     //echo "<pre>".print_r($params)."</pre>";
     $this->load->view('panel/header', $params);
     $this->load->view('panel/general/menu', $params);
     $this->load->view('panel/config/modificar', $params);
     $this->load->view('panel/footer');
 }
开发者ID:r9software,项目名称:terminalSP,代码行数:29,代码来源:config.php

示例4: isset

?>
",
	opcmenu_active = '<?php 
echo isset($opcmenu_active) ? $opcmenu_active : 0;
?>
';
</script>
</head>
<body>
<div>
	<div class="titulo ajus w100 am-c"><?php 
echo $seo['titulo'];
?>
</div>
	<form action="<?php 
echo base_url('panel/nomina/abono_piloto/?' . String::getVarsLink(array('msg')));
?>
" method="post">
		<div class="frmsec-left w90 f-l">
			<p class="f-l w30">
				<label for="ffecha">*Fecha</label><br>
				<input type="text" name="ffecha" id="ffecha" value="<?php 
echo set_value('ffecha') != '' ? set_value('ffecha') : date("Y-m-d");
?>
" size="20" maxlength="40" readonly>
			</p>
			<p class="f-r w70">		
				<table class="tblListados corner-all8" style="width:40% !important;margin-right:0px;">
						<tr>
							<td style="text-align:right;">Total de Vuelos</td>
							<td id="ta_total" class="a-r" style="background-color:#ccc;"><?php 
开发者ID:sujatapadwal,项目名称:diatomeas,代码行数:31,代码来源:abono.php

示例5: base_url

        echo $vuelo->total_vuelos;
        ?>
</td>
								<td><input type="checkbox" name="vuelos" value="<?php 
        echo $vuelo->id_vuelo;
        ?>
"></td>
							</tr>
				<?php 
    }
}
?>
			</table>
			<?php 
//Paginacion
$this->pagination->initialize(array('base_url' => base_url($this->uri->uri_string()) . '?' . String::getVarsLink(array('pag')) . '&', 'total_rows' => $piloto['total_rows'], 'per_page' => $piloto['items_per_page'], 'cur_page' => $piloto['result_page'] * $piloto['items_per_page'], 'page_query_string' => TRUE, 'num_links' => 1, 'anchor_class' => 'pags corner-all'));
$pagination = $this->pagination->create_links();
echo '<div class="pagination w100">' . $pagination . '</div>';
?>
			<input type="button" name="enviar" value="Cargar" class="btn-blue corner-all f-r" id="CgrVuelos">
	</div>
</div>


<div id="container" style="display:none">
	<div id="withIcon">
		<a class="ui-notify-close ui-notify-cross" href="#">x</a>
		<div style="float:left;margin:0 10px 0 0"><img src="#{icon}" alt="warning" width="64" height="64"></div>
		<h1>#{title}</h1>
		<p>#{text}</p>
		<div class="clear"></div>
开发者ID:cesarmontoya770828,项目名称:nevarez,代码行数:31,代码来源:vuelos_piloto.php

示例6: modificar

 /**
  * carga el login para entrar al panel
  */
 public function modificar()
 {
     $this->carabiner->css(array(array('general/forms.css', 'screen')));
     $params['info_empleado'] = $this->info_empleado['info'];
     //info empleado
     $params['opcmenu_active'] = 'Privilegios';
     //activa la opcion del menu
     $params['seo'] = array('titulo' => 'Modificar privilegio');
     if (isset($_GET['id'][0])) {
         $this->configAddModPriv();
         if ($this->form_validation->run() == FALSE) {
             $params['frm_errors'] = $this->showMsgs(2, preg_replace("[\n|\r|\n\r]", '', validation_errors()));
         } else {
             $respons = $this->empleados_model->updatePrivilegio();
             if ($respons[0]) {
                 redirect(base_url('panel/privilegios/modificar/?' . String::getVarsLink(array('msg')) . '&msg=3'));
             }
         }
         $params['privilegio'] = $this->empleados_model->getInfoPrivilegio($_GET['id']);
         if (!is_object($params['privilegio'])) {
             unset($params['privilegio']);
         }
         if (isset($_GET['msg'][0])) {
             $params['frm_errors'] = $this->showMsgs($_GET['msg']);
         }
     } else {
         $params['frm_errors'] = $this->showMsgs(1);
     }
     $this->load->view('panel/header', $params);
     $this->load->view('panel/general/menu', $params);
     $this->load->view('panel/privilegios/modificar', $params);
     $this->load->view('panel/footer');
 }
开发者ID:cesarmontoya770828,项目名称:nevarez,代码行数:36,代码来源:privilegios.php

示例7: modificar

 /**
  * Modificar una sucursal a un cliente a la bd
  */
 public function modificar()
 {
     $this->carabiner->css(array(array('libs/jquery.msgbox.css', 'screen'), array('general/forms.css', 'screen'), array('general/tables.css', 'screen')));
     $this->carabiner->js(array(array('libs/jquery.msgbox.min.js'), array('general/msgbox.js'), array('libs/jquery.numeric.js'), array('clientes/frm_addmod.js')));
     $params['info_empleado'] = $this->info_empleado['info'];
     //info empleado
     $params['seo'] = array('titulo' => 'Modificar Cliente');
     $params['opcmenu_active'] = 'Clientes';
     //activa la opcion del menu
     if (isset($_GET['id'][0])) {
         $this->configAddModEmpl();
         $this->load->model('listas_precio_model');
         $this->load->model('clientes_model');
         if ($this->form_validation->run() == FALSE) {
             $params['frm_errors'] = $this->showMsgs(2, preg_replace("[\n|\r|\n\r]", '', validation_errors()));
         } else {
             $respons = $this->clientes_model->updateCliente();
             if ($respons[0]) {
                 redirect(base_url('panel/clientes/modificar/?' . String::getVarsLink(array('msg')) . '&msg=' . $respons[2]));
             }
         }
         $params['listas'] = $this->listas_precio_model->obtenListasPrecio();
         $params['info'] = $this->clientes_model->getInfoCliente($_GET['id']);
     } else {
         $params['frm_errors'] = $this->showMsgs(1);
     }
     if (isset($_GET['msg'][0])) {
         $params['frm_errors'] = $this->showMsgs($_GET['msg']);
     }
     $this->load->view('panel/header', $params);
     $this->load->view('panel/general/menu', $params);
     $this->load->view('panel/clientes/modificar_sucursal', $params);
     $this->load->view('panel/footer');
 }
开发者ID:cesarmontoya770828,项目名称:nevarez,代码行数:37,代码来源:clientes.php

示例8: agregar_gasto

 /**
  * Agrega una compra a la bd
  */
 public function agregar_gasto()
 {
     $this->carabiner->css(array(array('libs/jquery.msgbox.css', 'screen'), array('general/forms.css', 'screen'), array('general/tables.css', 'screen')));
     $this->carabiner->js(array(array('libs/jquery.msgbox.min.js'), array('libs/jquery.numeric.js'), array('general/msgbox.js'), array('general/util.js'), array('compras/frm_addmod.js')));
     $params['info_empleado'] = $this->info_empleado['info'];
     //info empleado
     $params['opcmenu_active'] = 'Compras';
     //activa la opcion del menu
     $params['seo'] = array('titulo' => 'Agregar Gasto');
     $this->configAddModCompra();
     if ($this->form_validation->run() == FALSE) {
         $params['frm_errors'] = $this->showMsgs(2, preg_replace("[\n|\r|\n\r]", '', validation_errors()));
     } else {
         $this->load->model('compras_model');
         $respons = $this->compras_model->addCompra();
         if ($respons[0]) {
             redirect(base_url('panel/compras/agregar_gasto/?' . String::getVarsLink(array('msg')) . '&msg=4'));
         }
     }
     $params['fecha'] = date("Y-m-d");
     $params['plazo_credito'] = 7;
     if (isset($_GET['msg'][0])) {
         $params['frm_errors'] = $this->showMsgs($_GET['msg']);
     }
     $this->load->view('panel/header', $params);
     $this->load->view('panel/general/menu', $params);
     $this->load->view('panel/compras/agregar_gasto', $params);
     $this->load->view('panel/footer');
 }
开发者ID:sujatapadwal,项目名称:diatomeas,代码行数:32,代码来源:cuentas_cobrar.php

示例9: eliminar_abono

 public function eliminar_abono()
 {
     if (isset($_GET['ida'][0])) {
         $this->load->model('tickets_model');
         $res = $this->tickets_model->eliminar_abono();
         if ($res) {
             redirect(base_url('panel/cuentas_cobrar/detalle/?' . String::getVarsLink(array('msg', 'ida')) . '&msg=3'));
         }
     } else {
         redirect(base_url('panel/cuentas_cobrar/detalle/?' . String::getVarsLink(array('msg', 'ida')) . '&msg=1'));
     }
 }
开发者ID:oghenez,项目名称:n3v4r3z,代码行数:12,代码来源:tickets.php

示例10: base_url

<div id="contentAll" class="f-l">
	<form action="<?php 
echo base_url('panel/clientes/modificar/?' . String::getVarsLink(array('msg')));
?>
" method="post" class="frm_addmod">
		<div class="frmsec-left w100 f-l">
			<div id="frmsec-acordion">
				<h3 class="frmsec-acordion"><a href="#">Información Facturación</a></h3>
				<div>
					<input type="hidden" name="tiene_sucursales" 
						value="<?php 
echo isset($info['info']->tiene_sucursales) ? $info['info']->tiene_sucursales : 'f';
?>
">
					<p class="w50 f-l">
						<label for="dnombre_fiscal">*Nombre Fiscal:</label> <br>
						<input type="text" name="dnombre_fiscal" id="dnombre_fiscal" 
							value="<?php 
echo isset($info['info']->nombre_fiscal) ? $info['info']->nombre_fiscal : '';
?>
" size="40" maxlength="130" autofocus>
					</p>
					<p class="w30 f-l">
						<label for="drfc">RFC:</label> <br>
						<input type="text" name="drfc" id="drfc" 
							value="<?php 
echo isset($info['info']->rfc) ? $info['info']->rfc : '';
?>
" size="20" maxlength="13">
					</p>
开发者ID:sujatapadwal,项目名称:diatomeas,代码行数:30,代码来源:modificar_sucursal.php

示例11: isset

?>
",
	opcmenu_active = '<?php 
echo isset($opcmenu_active) ? $opcmenu_active : 0;
?>
';
</script>
</head>
<body>
<div>
	<div class="titulo ajus w100 am-c"><?php 
echo $seo['titulo'];
?>
</div>
	<form action="<?php 
echo base_url('panel/productos/modificar_familia/?' . String::getVarsLink(array('msg')));
?>
" method="post" class="frm_addmod">
		
			<p>
				<label for="dcodigo">*Código:</label> <span class="ej-info">Ej. 1, 8, 12, 20</span><br>
				<input type="text" name="dcodigo" id="dcodigo" value="<?php 
echo isset($info_familia[0]->codigo) ? $info_familia[0]->codigo : '';
?>
" size="5" maxlength="8" autofocus>
			</p>
			
			<p>
				<label for="dnombre">*Nombre:</label> <br>
				<input type="text" name="dnombre" id="dnombre" value="<?php 
echo isset($info_familia[0]->nombre) ? $info_familia[0]->nombre : '';
开发者ID:sujatapadwal,项目名称:diatomeas,代码行数:31,代码来源:modificar_familia.php

示例12: eliminar_abono_piloto

 private function eliminar_abono_piloto()
 {
     if (isset($_GET['ida'])) {
         $this->load->model('nomina_model');
         $res = $this->nomina_model->eliminar_abono_piloto();
         if ($res[0]) {
             redirect(base_url('panel/nomina/detalle_piloto/?' . String::getVarsLink(array('ida', 'msg')) . '&msg=5'));
         }
     } else {
         redirect(base_url('panel/nomina/detalle_piloto/?' . String::getVarsLink(array('ida', 'msg')) . '&msg=1'));
     }
 }
开发者ID:sujatapadwal,项目名称:diatomeas,代码行数:12,代码来源:nomina.php

示例13: base_url

<div id="contentAll" class="f-l">
	<form action="<?php 
echo base_url('panel/proveedores/modificar/?' . String::getVarsLink(array('msg')));
?>
" method="post" class="frm_addmod" enctype="multipart/form-data">
		<div class="frmsec-left w100 f-l">
			<div id="frmsec-acordion">
				<h3 class="frmsec-acordion"><a href="#">Información</a></h3>
				<div>
					<p>
						<label for="dnombre">*Nombre:</label> <br>
						<input type="text" name="dnombre" id="dnombre" 
							value="<?php 
echo isset($proveedor['info']->nombre) ? $proveedor['info']->nombre : '';
?>
" size="40" maxlength="120" autofocus>
					</p>
					<div class="clear"></div>
					
					<p class="w40 f-l">
						<label for="dcalle">Calle:</label> <br>
						<input type="text" name="dcalle" id="dcalle" 
							value="<?php 
echo isset($proveedor['info']->calle) ? $proveedor['info']->calle : '';
?>
" size="30" maxlength="60">
					</p>
					<p class="w30 f-l">
						<label for="dno_exterior">No exterior:</label> <br>
						<input type="text" name="dno_exterior" id="dno_exterior" 
开发者ID:sujatapadwal,项目名称:diatomeas,代码行数:30,代码来源:modificar.php

示例14: base_url

<div id="contentAll" class="f-l">
	<form action="<?php 
echo base_url('panel/clientes/hacer_sucursal/?' . String::getVarsLink(array('msg')));
?>
" method="post" class="frm_addmod">
		<div class="frmsec-left w100 f-l">
			<p>
				<label for="dnombre_grupo">*Nombre del grupo:</label> <br>
				<input type="text" name="dnombre_grupo" id="dnombre_grupo" 
					value="<?php 
echo isset($info['info']->nombre) ? $info['info']->nombre : '';
?>
" size="40" maxlength="120">
				<input type="hidden" name="id_cliente" value="<?php 
echo isset($info['info']->id_cliente) ? $info['info']->id_cliente : '';
?>
">
			</p>
			
			<input type="submit" name="enviar" value="Guardar" class="btn-blue corner-all m10-all f-r">
		</div>
		
	</form>
</div>


<!-- Bloque de alertas -->
<div id="container" style="display:none">
	<div id="withIcon">
		<a class="ui-notify-close ui-notify-cross" href="#">x</a>
开发者ID:sujatapadwal,项目名称:diatomeas,代码行数:30,代码来源:hacer_grupo.php

示例15: isset

?>
",
	opcmenu_active = '<?php 
echo isset($opcmenu_active) ? $opcmenu_active : 0;
?>
';
</script>
</head>
<body>
<div>
	<div class="titulo ajus w100 am-c"><?php 
echo $seo['titulo'];
?>
</div>
	<form action="<?php 
echo base_url('panel/vehiculo/modificar/?' . String::getVarsLink(array('msg')));
?>
" method="post">
		<div class="frmsec-left w90 f-l">
			<p class="f-l w50">
				<label for="fnombre">*Nombre</label><br>
				<input type="text" name="fnombre" id="fnombre" value="<?php 
echo isset($vehiculo[0]->nombre) ? $vehiculo[0]->nombre : '';
?>
" size="40" maxlength="40" autofocus>
			</p>
			<p class="f-l w50">
				<label for="fplacas">*Placas</label><br>
				<input type="text" name="fplacas" id="fplacas" value="<?php 
echo isset($vehiculo[0]->placas) ? $vehiculo[0]->placas : '';
?>
开发者ID:cesarmontoya770828,项目名称:nevarez,代码行数:31,代码来源:modificar.php


注:本文中的String::getVarsLink方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。