コード例 #1
0
 function nuevo_registro()
 {
     //proceso de programacion
     $this->seguridad();
     $pais = Pais::verPaises();
     //vistas en html
     fk_js_addLink(fk_theme_url() . '/js/cargar_ciudad.js');
     fk_header();
     $this->Load->View('albaranes/nuevo_registro.php', array('pais' => $pais));
     fk_footer();
 }
コード例 #2
0
ファイル: login.php プロジェクト: mtaisigue/albaranes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link type="text/css" rel="stylesheet" href="<?php 
echo fk_theme_url() . '/css/main.css';
?>
"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Albaranes | Login</title>
</head>
<body>
<div class="container" id="login" style="width:300px; margin:200px auto 0; border-top:none">

<div class="content">
<form method="post" action="<?php 
echo fk_link('login/ex_login/');
?>
" class="validate" style="margin-top:0px">
	<?php 
if (@$msg != '') {
    ?>
    <div class="msg_error fail_error ui-corner-all" style="display:block"><?php 
    echo @$msg;
    ?>
</div>
    <div class="clear"></div><?php 
}
?>
	<input type="hidden" name="location" value="admin" class="input" />
<table width="100%">
	<tr>
コード例 #3
0
ファイル: fk.php プロジェクト: mmendoza000/freekore
function fk_loading_img()
{
    return '<img src="' . fk_theme_url() . '/../../img/ajax-loader.gif">';
}
コード例 #4
0
ファイル: header.php プロジェクト: mtaisigue/albaranes
?>
<script type="text/javascript" > var theme_url = '<?php 
echo fk_theme_url();
?>
'; 
var root = '<?php 
echo fk_link('');
?>
';
</script>
<script type="text/javascript" src="<?php 
echo fk_theme_url();
?>
/js/menu.js"></script>
<script type="text/javascript" src="<?php 
echo fk_theme_url();
?>
/js/common.js"></script>


</head>
<body id="body">
<div id="footerless">
<div id="container">
<div id="header" style="height:107px;">
  <div id="profile_info" style="background:none; margin-top:20px;">
    <div style="float:right; margin-left:20px;">
      <p> Bienvenido <strong><?php 
echo $_SESSION['nombre'];
?>
</strong>. <a href="<?php 
コード例 #5
0
ファイル: direcciones.php プロジェクト: mtaisigue/albaranes
<?php

$themeurl = str_replace('../', '', fk_theme_url());
$themeurl = $root . $themeurl;
?>
<h3>Direcciones</h3>
<?php 
if ((empty($dir) || !is_array($dir)) && $tipo_cuenta == 1) {
    ?>
	<p>No has ingresado ninguna direcci&oacute;n. Ingresa tus direcciones, para realizar busquedas de locales de acuerdo a la ubicacion en la que te encuentras</p>
<?php 
}
if (is_array($dir)) {
    foreach ($dir as $D) {
        ?>
    <div style="float:left; margin-right:20px; border-right:1px solid #ccc; padding-right:20px">
        <label><?php 
        echo $D['nombre_direccion'];
        ?>
</label><br/>
        <label><?php 
        echo $D['calle'] . ', ' . $D['colonia'];
        ?>
</label><br/>
        <label><?php 
        echo $D['estado'] . ', ' . $D['pais'];
        ?>
</label><br/><br/>
        
        <div style="float:right">
        	 <a href="<?php 
コード例 #6
0
 public function perfiles()
 {
     self::seguridad();
     fk_js_addLink(fk_theme_url() . '/js/perfiles.js');
     $this->Load->Model('Perfil');
     $P = new Perfil();
     $perfiles = $P->verPerfiles();
     $Data = array('DataPerfiles' => $perfiles);
     //$Data['DataPerfiles'] = $perfiles;
     fk_header();
     $perfiles = $P->verPerfiles();
     $this->Load->View('admin/perfiles.php', $Data);
     fk_footer();
 }