code
stringlengths
1
2.01M
language
stringclasses
1 value
<?php /** * PHPExcel * * Copyright (c) 2006 - 2012 PHPExcel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later ve...
PHP
<?php include_once '../Config/config.php'; include_once '../Config/conexion.php'; //Paper include_once '../Model/Paper.php'; $idpaper = $_POST["idpaper"]; $paper = Paper::Obtener($idpaper); $lista = $paper->Autores; //print_r($lista); //EnvialMail($to ,$subject ,$message, $cabeceras = "") ?> <div st...
PHP
<?php include_once '../Config/config.php'; include_once '../Config/conexion.php'; //Paper include_once '../Model/Paper.php'; $idpaper = $_POST["idpaper"]; $paper = Paper::Obtener($idpaper); ?> <div class="grid_14 alpha omega"> <h1> <?php echo $paper->Titulo; ?> </h1> </div> <div class="grid_14 al...
PHP
<?php include_once '../Config/config.php'; include_once '../Config/conexion.php'; include_once '../Model/Paper.php'; include_once '../Model/Autor.php'; $action = $_POST["action"]; if($action == "subir-paper"){ $paper = new Paper(); $paper->Titulo = $_POST["titulo"]; $paper->FechaSubida = date...
PHP
<?php include_once '../Config/config.php'; include_once '../Config/conexion.php'; $titulo_page = 'Subir Papers'; include_once '../Shared/header.php'; session_destroy(); unset($_COOKIE); ?> <style> .error-input-text{ border:1px solid red; } </style> <script type="text/javascript"> function camb...
PHP
<?php include_once '../Config/config.php'; include_once '../Config/conexion.php'; //Paper include_once '../Model/Paper.php'; $idpaper = $_POST["idpaper"]; $paper = Paper::Obtener($idpaper); $paper->ObtenerAutores(); $lista = $paper->Autores; ?> <?php if(count($lista) == 0){ ?> <div class="grid_11 ...
PHP
<?php include_once '../Config/config.php'; include_once '../Config/conexion.php'; include_once '../Model/Pais.php'; include_once '../Model/Institucion.php'; $idpaper = $_POST["idpaper"]; ?> <script type="text/javascript"> $(document).ready(function(){ $("#email").blur(function(){ var email = $(this...
PHP
<?php $paso = !isset($_POST["paso"])?"paso1":$_POST["paso"]; if($paso == "paso1" ){ $paso1 = "paso1-activo"; $paso2 = "paso2-noactivo"; $paso3 = "paso3-noactivo"; }else if($paso == "paso2"){ $paso1 = "paso1-noactivo"; $paso2 = "paso2-activo"; $paso3 = "paso3-noactivo"; }else if($paso == "pa...
PHP
<?php include_once '../Config/config.php'; include_once '../Config/conexion.php'; //Paper include_once '../Model/Rol.php'; include_once '../Model/Revisor.php'; $action = $_POST["action"]; if($action == "registrar"){ //si es que existe una nueva institucion registrarla $OtraInstitucion ...
PHP
<?php include_once '../Config/config.php'; include_once '../Config/conexion.php'; $titulo_page = 'Subir Papers'; include_once '../Shared/header.php'; session_destroy(); unset($_COOKIE); ?> <script type="text/javascript"> $(document).ready(function(){ $("#frm").submit(function(){ $(this).ajaxSubmit({ ...
PHP
<?php define('INI_URL','http://172.59.1.14/asamblea2012/asamblea-cladea-2012/'); define('CORREO_ADM','jolivera@esan.edu.pe'); //define('RAIZ','C:\\wamp\www\\CLADEA\\'); define('RAIZ','C:\\xampp\\htdocs\\asamblea2012\\asamblea-cladea-2012\\'); define('CVS',RAIZ.'files/cvs/'); define('CARTAS',RAIZ.'files/cart...
PHP
<?php $dbh = null; try { $dsn = 'mysql:dbname=asamblea2012;host=localhost'; $user = 'root'; $password = ''; $dbh = new PDO($dsn, $user, $password); } catch (PDOException $e) { print "Error:". $e->getMessage. "<br/>"; die (); } ?>
PHP
<?php define('INI_URL','http://172.59.1.14/asamblea2012/asamblea-cladea-2012/'); define('CORREO_ADM','jolivera@esan.edu.pe'); //define('RAIZ','C:\\wamp\www\\CLADEA\\'); define('RAIZ','C:\\xampp\\htdocs\\asamblea2012\\asamblea-cladea-2012\\'); define('CVS',RAIZ.'files\\cvs\\'); define('CARTAS',RAIZ.'files\\c...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; $titulo_page = 'Subir Papers'; include_once RAIZ.'Shared/header.php'; session_destroy(); unset($_COOKIE); ?> <link rel="stylesheet" href="<?php echo INI_URL;?>/Content/<?php echo TEMPLATE;?>/Login.css" type="text/css" med...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once RAIZ.'Model/Autor.php'; //Franz hacer la parte de seguridad de limpieza de caracteres $idpaper = $_POST['idpaper']; $action = $_POST["action"]; if($action == "movimiento-autor"){ $idautor = $_POST['ida...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once RAIZ.'Model/Autor.php'; $titulo_page = 'Autor'; include_once RAIZ.'Shared/header.php'; $usuario = Util::ObtenerSession(); $NombreCompleto = $usuario->Nombres.' '.$usuario->Paterno.' '.$usuario->Materno; if(...
PHP
<form name="frmPaper" id="frmPaper" method="post" enctype="multipart/form-data" action="proceso.php"> <input type="file" name="paperfinal" id="paperfinal" /> <br/> <input type="hidden" name="action" id="action" value="subir-paper-final" /> <input type="hidden" name="idpaper" id="idpaper" value="<?php echo ...
PHP
<?php include_once '../Config/config.php'; include_once '../Config/conexion.php'; include_once '../Model/Pais.php'; include_once '../Model/Revisor.php'; $titulo_page = 'Subir Papers'; include_once '../Shared/header.php'; if(isset($_GET["idrevisor"])){ $revisor_id = $_GET["idrevisor"]; $revisor = Revisor:...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once RAIZ.'Model/Paper.php'; include_once RAIZ.'Model/Revisor.php'; $paper_id = $_POST['paper_id']; $revisor_id = $_POST['revisor_id']; $revisor = Usuario::Obtener($revisor_id); $comentario = $_POST['comentario'];...
PHP
<?php include_once '../Config/config.php'; include_once '../Config/conexion.php'; include_once '../Model/Revisor.php'; $revisor_id = (isset($_POST['revisor_id']))?$_POST['revisor_id']:0; if($revisor_id == 0){ $revisor = new Revisor(null); }else{ $revisor = Revisor::ObtenerRevisorPorIdRevisor($revisor_id...
PHP
<?php include '../Config/config.php'; include '../Config/conexion.php'; include_once '../Model/Revisor.php'; $revisores = Revisor::Listar(); $titulo_page = 'Subir Papers'; include_once '../Shared/header.php'; ?> <div class="container"> <?php $tituloMenu = htmlentities(utf8_decode("Gestión de Revisores"))...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once RAIZ.'Model/Paper.php'; include_once RAIZ.'Model/Revisor.php'; $paper_id = $_POST['paper_id']; $revisor_id = $_POST['revisor_id']; $revisor = Usuario::Obtener($revisor_id); $comentario = $_POST['comentario'];...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once RAIZ.'Model/Autor.php'; $usuario = Util::ObtenerSession(); ?> <table class="tabla-basica" style="margin-bottom:10px"> <thead> <th>T&iacute;tulo</th> <th>Track</th> <th>Idioma</th> <th> Autores ...
PHP
<?php include '../Config/config.php'; include '../Config/conexion.php'; include '../Model/Revisor.php'; $revisor_id = (isset($_POST['revisor_id']))?$_POST['revisor_id']:0; if($revisor_id == 0){ $revisor = new Revisor(null); }else{ $revisor = Revisor::ObtenerRevisorPorIdRevisor($revisor_id); } if(i...
PHP
<?php header("Content-type: application/vnd.ms-excel"); header("Content-Disposition: filename=\"AutoresCLADEA2012.XLS\";"); ?> <?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Paper.php'; include_once RAIZ.'Shared/header.php'; include_once '.....
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Paper.php'; include_once RAIZ.'Shared/header.php'; include_once '../../Model/Track.php'; include_once '../../Model/Idioma.php'; ?> <div style="float:left; width:20%; padding:10px"><a href="Recepci...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Revisor.php'; include_once '../../Model/Paper.php'; //print_r($_POST); $id = $_POST["id"]; foreach($_POST["revisor"] as $row){ $usuarioSession = Util::ObtenerSession(); //print_r($usuari...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Paper.php'; include_once '../../Model/Track.php'; include_once '../../Model/Idioma.php'; $listaPaper = array( 0 => array( "id" => "PS", "nombre" => "Paper Sesion" ), 1 => array( "id...
PHP
<?php include '../../Config/config.php'; include '../../Config/conexion.php'; include '../../Model/Paper.php'; $EsAnonimo = $_POST["EsAnonimo"]; $paper_id = $_POST['paper_id']; $Paper = Paper::Obtener($paper_id); if($_FILES['PaperAnonimo']['name'] != ""){ $PaperName = $paper_id."@".date('his').$_FILES['P...
PHP
<?php include '../Config/config.php'; include '../Config/conexion.php'; include '../Model/Paper.php'; $revisor_id = $_POST['revisor_id']; $paper_id = $_POST['paper_id']; Paper::EliminarRevisorDePaper($revisor_id,$paper_id); ?>
PHP
<?php header("Content-type: application/vnd.ms-excel"); header("Content-Disposition: filename=\"PapersCLADEA2012.XLS\";"); ?> <?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Paper.php'; include_once RAIZ.'Shared/header.php'; include_once '../...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Paper.php'; include_once '../../Model/Track.php'; include_once '../../Model/Idioma.php'; ?> <table class="tabla-basica"> <thead> <tr> <th> # </th> <th> Paper </th> ...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Paper.php'; include_once '../../Model/Track.php'; include_once '../../Model/Idioma.php'; ?> <table class="tabla-basica"> <thead> <tr> <th> # </th> <th> Paper </th> ...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Paper.php'; include_once RAIZ.'Shared/header.php'; include_once '../../Model/Track.php'; include_once '../../Model/Idioma.php'; ?> <script> $(document).ready(function(){ function Listar(){ ...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Revisor.php'; include_once '../../Model/Paper.php'; $id= $_POST['id']; $Paper = Paper::Obtener($id); ?> <div class="grid_11 omega alpha" style="background:#fff;overflow:hidden;padding:10px;"> <...
PHP
<?php include '../../Config/config.php'; include '../../Config/conexion.php'; include_once '../../Model/Revisor.php'; include_once '../../Model/Paper.php'; $id = $_POST['id']; $Paper = Paper::Obtener($id); $revisores = Usuario::ListarPorRol(2); $usuario = Util::ObtenerSession(); $track_id = ""; if($u...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; //Paper include_once '../../Model/Rol.php'; include_once '../../Model/Track.php'; include_once '../../Model/Revisor.php'; $action = $_POST["action"]; if($action == "registrar-usuario"){ //Validar corr...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Pais.php'; include_once '../../Model/Idioma.php'; include_once '../../Model/Track.php'; include_once '../../Model/Revisor.php'; $Usuario = Usuario::Obtener($_POST["idusuario"]); $revis...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once RAIZ.'Model/Rol.php'; $titulo_page = 'Administrador de usuarios'; include_once RAIZ.'Shared/header.php'; include_once RAIZ.'Shared/Menu.php'; ?> <script> $(document).ready(function(){ $("#AgregarUsua...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Paper.php'; include_once '../../Model/Track.php'; include_once '../../Model/Idioma.php'; include_once '../../Model/Rol.php'; include_once '../../Model/Revisor.php'; $usuario = Util::ObtenerSessi...
PHP
<?php header("Content-type: application/vnd.ms-excel"); header("Content-Disposition: filename=\"Usuarios_Cladea2012.XLS\";"); ?> <?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Paper.php'; include_once '../../Model/Track.php'; include_onc...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once RAIZ.'Model/Pais.php'; include_once RAIZ.'Model/Rol.php'; include_once RAIZ.'Model/Track.php'; include_once RAIZ.'Model/Idioma.php'; include_once RAIZ.'Model/Institucion.php'; include_once RAIZ.'Model/Rev...
PHP
<?php session_start(); session_destroy(); header("Location:index.php"); ?>
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once RAIZ.'Model/Usuario.php'; //Franz hacer la parte de seguridad de limpieza de caracteres $email = $_POST['email']; $clave = $_POST['clave']; $idrol = $_POST['idrol']; $usuario = Usuario::Login($email, $cla...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; $titulo_page = 'Subir Papers'; include_once RAIZ.'Shared/header.php'; session_destroy(); unset($_COOKIE); ?> <link rel="stylesheet" href="<?php echo INI_URL;?>/Content/<?php echo TEMPLATE;?>/Login.css" type="text/css" med...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once RAIZ.'Model/Rol.php'; include_once RAIZ.'Model/Participante.php'; $titulo_page = 'Administrador de usuarios'; include_once RAIZ.'Shared/header.php'; include_once RAIZ.'Shared/Menu.php'; ?> <script> $(docum...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once '../../Model/Pais.php'; include_once '../../Model/Institucion.php'; include_once '../../Model/Transaccion.php'; include_once '../../Model/Participante.php'; require_once RAIZ.'lib/nusoap.php'; $action = $_REQUE...
PHP
<?php Class MovimientoController extends ApplicationGeneral{ function EnviarSAP_SARC_EDUTIVA_ASAMBLEACLADEA(){ //Obteniendo el valor del cliente proceso $idClienteProceso=$_REQUEST['id']; //Obteniendo los datos generales $_SESSION['Autenticado']=true; $actor = new Actor(); $movimientoSAP = new...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Paper.php'; include_once '../../Model/Track.php'; include_once '../../Model/Idioma.php'; $idrol = 8; ?> <script> $(document).ready(function(){ $(".confirmado-pago").click(function(){ ...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once '../../Model/Pais.php'; include_once '../../Model/Institucion.php'; include_once '../../Model/Transaccion.php'; include_once '../../Model/Participante.php'; require_once RAIZ.'lib/nusoap.php'; $action = $_REQUE...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Revisor.php'; include_once '../../Model/Paper.php'; include_once '../../Model/Horario.php'; include_once '../../Model/Sala.php'; error_reporting(E_ALL); /** PHPExcel_IOFactory */ require_once '.....
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Revisor.php'; include_once '../../Model/Paper.php'; //print_r($_POST); //exit(); $idpaper = isset($_POST['idpaper'])?$_POST['idpaper']:''; $action = $_POST['action']; if($action == "cambiar...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once RAIZ.'Model/Paper.php'; include_once RAIZ.'Model/Horario.php'; include_once RAIZ.'Model/Sala.php'; $titulo_page = 'Subir Papers'; include_once RAIZ.'Shared/header.php'; include_once RAIZ.'Shared/Menu.php'; ...
PHP
<?php include_once '../../Config/config.php'; include_once '../../Config/conexion.php'; include_once '../../Model/Paper.php'; include_once '../../Model/Track.php'; include_once '../../Model/Idioma.php'; include_once RAIZ.'Model/Horario.php'; include_once RAIZ.'Model/Sala.php'; $listaSala = Sala::Listar();...
PHP
<?php include_once '../../Config/config.php'; include_once RAIZ.'Config/conexion.php'; include_once RAIZ.'Model/Paper.php'; if(!isset($_SESSION["usuario"])){ ?> <script> window.location = "http://cladea.org/convocatoriapapers/Modulos/Login"; </script> <?php exit(); } $revisor_id = $...
PHP
<?php if(isset($_SESSION['usuario'])){ ?> <div class="menu span-24 last"> <div class="span-2"> <a href="<?php echo INI_URL?>/AdmComite/Lista.php" target="_self"> <img src="<?php echo INI_URL?>/Content/<?php echo TEMPLATE;?>/images/Comite.jpg"/> Comite </a> </div> <div class="span-2" > <a href=...
PHP
<?php include_once 'Tarifa.php'; class tipoparticipante{ public $Id; public $Nombre; public $Tarifa; function __construct($id, $nombre){ $this->Id = $id; $this->Nombre = $nombre; } static function Listar($fecha = ''){ global $dbh; $sql = 'SELECT Id, Nombre FROM tipoparticipante'...
PHP
<?php include_once 'Usuario.php'; include_once 'Paper.php'; class Revisor extends Usuario { public $Resena; public $Tracks; public $Idiomas; //Almacena el estado de la calificacion de un revisor en particular public $EstadoDeRevisor; public function Insertar(){ global $dbh; paren...
PHP
<?php include_once "Rol.php"; include_once "Track.php"; include_once "Pais.php"; include_once "Institucion.php"; include_once "TipoDocumento.php"; include_once "TipoParticipante.php"; include_once "Transaccion.php"; class Usuario { public $IdUsuario; public $Nombres; public $Paterno; publ...
PHP
<?php class Institucion{ public $Id; public $Nombre; public function Insertar(){ global $dbh; $sql = 'INSERT INTO `institucion` ( `Id` , `Nombre` ) VALUES ( NULL , \''.strtoupper($this->Nombre).'\' )'; $temp_q_id = $dbh->prepare($sql); if (!$temp_q_id) {...
PHP
<?php class Tarifa{ public $Id; public $IdTipoParticipante; public $Monto; public $FechaInicio; public $FechaFin; function __construct($row){ $this->Id = $row['id']; $this->IdTipoParticipante = $row['idtipoparticipante']; $this->Monto = $row['monto']; $this->FechaInicio = $row['fechainicio...
PHP
<?php class Transaccion{ public $Id; public $IdUsuario; public $ETicket; public $Pagado; public $Monto; public $TipoCambio; public $FechaTransaccion; public $FechaPago; public $NroOrden; public $PedidoSAP; public $XMLEnvio; public $XMLRespuesta; public $TipoPago; public $Destinat...
PHP
<?php class Track{ public $Id; public $Nombre; public $track_chair_id; function __construct($id, $track, $track_chair_id){ $this->Id = $id; $this->Nombre = $track; $this->track_chair_id = $track_chair_id; } public function Insertar(){ global $dbh; $sql = 'INSERT INTO `tracks` ( ...
PHP
<?php class Horario{ public $IdHorario; public $PaperSession ; public $Hora ; public $dia; function __construct($row){ $this->IdHorario = $row['IdHorario']; $this->PaperSession = $row['PaperSession']; $this->Hora = $row['Hora']; $this->dia = $row['dia']; } static function Listar(){...
PHP
<?php class Rol{ public $Id; public $Nombre; function __construct($id, $nombre){ $this->Id = $id; $this->Nombre = $nombre; } static function Listar(){ global $dbh; $sql = 'SELECT id, nombre FROM rol'; $lista = array(); foreach($dbh->query($sql) as $row) { $lista[] = new...
PHP
<?php include_once 'Usuario.php'; include_once 'Paper.php'; class Autor extends Usuario { public $autor_id; public $autor; public $pais; public $email1; public $email2; public $institucion; public $telefono; public $archivo_cv; public $archivo_referencia; public $usuario_id; ...
PHP
<?php class Idioma{ public $Id; public $Nombre; function __construct($id, $nombre){ $this->Id = $id; $this->Nombre = $nombre; } static function Listar(){ global $dbh; $sql = 'SELECT idioma_id, idioma FROM idiomas'; $lista = array(); foreach($dbh->query($sql) as $row) { ...
PHP
<?php class Revisiones{ public $IdRevisiones; public $revisor_id; public $paper_id; public $relevanciaTema; public $revisionLiteratura; public $rigorMetodologico; public $calidad; public $contribucion; public $redaccion; public $recomendaciones; public $decision; public functi...
PHP
<?php class Pais{ public $Id; public $Nombre; function __construct($id,$nombre){ $this->Id =$id; $this->Nombre = $nombre; } public function Insertar(){ global $dbh; $sql = 'INSERT INTO `pais` ( `IdPais` , `NomPais` ) VALUES ( NULL , \''.$this->nombre.'\' ...
PHP
<?php class Sala{ public $IdSala; public $Nombre; function __construct($row){ $this->IdSala = $row['IdSala']; $this->Nombre = $row['Nombre']; } static function Listar(){ global $dbh; $sql = 'SELECT IdSala,Nombre FROM Sala'; $lista = array(); foreach($dbh->query($sql) as ...
PHP
<?php class tipodocumento{ public $Id; public $Nombre; public $Descripcion; public $CodigoSAP; function __construct($id, $nombre, $descripcion, $CodigoSAP){ $this->Id = $id; $this->Nombre = $nombre; $this->Descripcion = $descripcion; $this->CodigoSAP = $CodigoSAP; } static function Li...
PHP
<?php class Util { static public function RandomString($length=10,$uc=TRUE,$n=TRUE,$sc=FALSE){ $source = 'abcdefghijklmnopqrstuvwxyz'; if($uc==1) $source .= 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; if($n==1) $source .= '1234567890'; if($sc==1) $source .= '|@#~$%()=^*+[]{}-_'; if($length>0){ $rstr = ""; ...
PHP
<?php class Util { static public function RandomString($length=10,$uc=TRUE,$n=TRUE,$sc=FALSE){ $source = 'abcdefghijklmnopqrstuvwxyz'; if($uc==1) $source .= 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; if($n==1) $source .= '1234567890'; if($sc==1) $source .= '|@#~$%()=^*+[]{}-_'; if($length>0){ $rstr = ""; ...
PHP
<?php include_once "TipoParticipante.php"; include_once "Transaccion.php"; class Participante { public $Id; public $IdUsuario; public $IdTipoParticipante; public $Activo; public $FechaRegistro; public $EsAceptado; public $FechaAceptacion; public $UsuarioAceptacion; public $MontoAPagar; //Es ...
PHP
<?php if(isset($_SESSION['usuario'])){ ?> <div class="menu grid_24 last"> <div class="grid_2"> <a href="<?php echo INI_URL?>/Administrador/Usuarios/index.php?idrol=2" target="_self"> <img src="<?php echo INI_URL?>/Content/<?php echo TEMPLATE;?>/images/Revisores.jpg"/> Revisores </a> </div> <div c...
PHP
<!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> <title> <?php if(isset($titulo_page) && $titulo_page != ''){ echo $titulo_page; }else{ echo 'Papers'; } ?> </title> ...
PHP
<?php if(isset($_SESSION['usuario'])){ $usuario = Util::ObtenerSession(); ?> <style> .manuales img{ margin-top:10px; } </style> <div class="menu grid_24 last"> <?php if($usuario->Roles[0]->Id != 6 && $usuario->Roles[0]->Id != 5){ ?> <div class="grid_2 alpha"> <a href="<?php echo INI_URL?>M...
PHP
<!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> <title> <?php if(isset($titulo_page) && $titulo_page != ''){ echo $titulo_page; }else{ echo 'Papers'; } ?> </title> ...
PHP
<?php /* $Id: nusoap.php,v 1.123 2010/04/26 20:15:08 snichol Exp $ NuSOAP - Web Services Toolkit for PHP Copyright (c) 2002 NuSphere Corporation This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Softwa...
PHP
<?php /** * * nusoap_parser class parses SOAP XML messages into native PHP values * * @author Dietrich Ayala <dietrich@ganx4.com> * @author Scott Nichol <snichol@users.sourceforge.net> * @version $Id: class.soap_parser.php,v 1.42 2010/04/26 20:15:08 snichol Exp $ * @access public */ class nusoa...
PHP
<?php /* $Id: nusoapmime.php,v 1.13 2010/04/26 20:15:08 snichol Exp $ NuSOAP - Web Services Toolkit for PHP Copyright (c) 2002 NuSphere Corporation This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Softw...
PHP
<?php /* The NuSOAP project home is: http://sourceforge.net/projects/nusoap/ The primary support for NuSOAP is the mailing list: nusoap-general@lists.sourceforge.net */ /** * caches instances of the wsdl class * * @author Scott Nichol <snichol@users.sourceforge.net> * @author Ingo Fischer <ingo@apollo...
PHP
<?php /** * * [nu]soapclient higher level class for easy usage. * * usage: * * // instantiate client with server info * $soapclient = new nusoap_client( string path [ ,mixed wsdl] ); * * // call method, get results * echo $soapclient->call( string methodname [ ,array parameters] ); * * // bye bye c...
PHP
<?php /** * Contains information for a SOAP fault. * Mainly used for returning faults from deployed functions * in a server instance. * @author Dietrich Ayala <dietrich@ganx4.com> * @version $Id: class.soap_fault.php,v 1.14 2007/04/11 15:49:47 snichol Exp $ * @access public */ class nusoap_fault ext...
PHP
<?php /** * transport class for sending/receiving data via HTTP and HTTPS * NOTE: PHP must be compiled with the CURL extension for HTTPS support * * @author Dietrich Ayala <dietrich@ganx4.com> * @author Scott Nichol <snichol@users.sourceforge.net> * @version $Id: class.soap_transport_http.php,v 1.68...
PHP
<?php /** * parses a WSDL file, allows access to it's data, other utility methods. * also builds WSDL structures programmatically. * * @author Dietrich Ayala <dietrich@ganx4.com> * @author Scott Nichol <snichol@users.sourceforge.net> * @version $Id: class.wsdl.php,v 1.76 2010/04/26 20:15:08 snichol...
PHP
<?php /** * * nusoap_server allows the user to create a SOAP server * that is capable of receiving messages and returning responses * * @author Dietrich Ayala <dietrich@ganx4.com> * @author Scott Nichol <snichol@users.sourceforge.net> * @version $Id: class.soap_server.php,v 1.63 2010/04/26 20:15:08...
PHP
<?php /** * For creating serializable abstractions of native PHP types. This class * allows element name/namespace, XSD type, and XML attributes to be * associated with a value. This is extremely useful when WSDL is not * used, but is also useful when WSDL is used with polymorphic types, including * xsd...
PHP
<?php /* $Id: class.nusoap_base.php,v 1.56 2010/04/26 20:15:08 snichol Exp $ NuSOAP - Web Services Toolkit for PHP Copyright (c) 2002 NuSphere Corporation This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the F...
PHP
<?php /** * parses an XML Schema, allows access to it's data, other utility methods. * imperfect, no validation... yet, but quite functional. * * @author Dietrich Ayala <dietrich@ganx4.com> * @author Scott Nichol <snichol@users.sourceforge.net> * @version $Id: class.xmlschema.php,v 1.53 2010/04/26 2...
PHP
<?php /** * Handles Comment Post to WordPress and prevents duplicate comment posting. * * @package WordPress */ if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) { header('Allow: POST'); header('HTTP/1.1 405 Method Not Allowed'); header('Content-Type: text/plain'); exit; } /** Sets up the WordPress Environment. */ ...
PHP
<?php /** * Outputs the OPML XML format for getting the links defined in the link * administration. This can be used to export links from one blog over to * another. Links aren't exported by the WordPress export, so this file handles * that. * * This file is not added by default to WordPress theme pages when outp...
PHP
<?php /** * WordPress Cron Implementation for hosts, which do not offer CRON or for which * the user has not set up a CRON job pointing to this file. * * The HTTP request to this file will not slow down the visitor who happens to * visit when the cron job is needed to run. * * @package WordPress */ ignore_user...
PHP
<?php /** * Used to set up and fix common variables and include * the WordPress procedural and class library. * * Allows for some configuration in wp-config.php (see default-constants.php) * * @internal This file must be parsable by PHP4. * * @package WordPress */ /** * Stores the location of the WordPress d...
PHP
<?php /** * Bootstrap file for setting the ABSPATH constant * and loading the wp-config.php file. The wp-config.php * file will then load the wp-settings.php file, which * will then set up the WordPress environment. * * If the wp-config.php file is not found then an error * will be displayed asking the visitor t...
PHP
<?php /** * Disable error reporting * * Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) for debugging */ error_reporting(0); /** Set ABSPATH for execution */ define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' ); define( 'WPINC', 'wp-includes' ); /** * @ignore */ function __() {} /...
PHP
<?php /** * Multisite themes administration panel. * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ require_once( dirname( __FILE__ ) . '/admin.php' ); wp_redirect( network_admin_url('themes.php') ); exit;
PHP
<?php /** * My Sites dashboard. * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ require_once( dirname( __FILE__ ) . '/admin.php' ); if ( !is_multisite() ) wp_die( __( 'Multisite support is not enabled.' ) ); if ( ! current_user_can('read') ) wp_die( __( 'You do not have sufficient permission...
PHP
<?php /** * Retrieves and creates the wp-config.php file. * * The permissions for the base directory must allow for writing files in order * for the wp-config.php to be created using this page. * * @internal This file must be parsable by PHP4. * * @package WordPress * @subpackage Administration */ /** * We ...
PHP
<?php /** * Multisite delete site panel. * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ require_once( dirname( __FILE__ ) . '/admin.php' ); if ( !is_multisite() ) wp_die( __( 'Multisite support is not enabled.' ) ); // @todo Create a delete blog cap. if ( ! current_user_can( 'manage_options'...
PHP