code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
<?php
require_once('search/SearchCriteria.php');
Class ImagenesSearchCriteria extends SearchCriteria{
private $idItem;
private $fecha;
private $table;
function getIdItem() { return $this->idItem; }
function getFecha() { return $this->fecha; }
function getTable() { return $this->table; }
f... | 0admin | trunk/search/ImagenesSearchCriteria.php | PHP | oos | 472 |
<?php
require_once('search/SearchCriteria.php');
Class ContenidoSearchCriteria extends SearchCriteria{
private $search = null;
private $titulo = null;
public function getTitulo(){
return $this->titulo;
}
public function setTitulo($titulo){
$this->titulo = $titulo;
}
public function ge... | 0admin | trunk/search/ContenidoSearchCriteria.php | PHP | oos | 439 |
<?php
require_once('search/SearchCriteria.php');
Class ContactoSearchCriteria extends SearchCriteria{
private $empresa = null;
private $nombre = null;
public function getEmpresa(){
return $this->empresa;
}
public function setEmpresa($empresa){
$this->empresa = $empresa;
}
public funct... | 0admin | trunk/search/ContactoSearchCriteria.php | PHP | oos | 444 |
<?php
require_once('include/header.php');
require_once('vo/ContenidoVO.php');
require_once('search/ContenidoSearchCriteria.php');
require_once('logic/ContenidoLogic.php');
require_once('logic/ImagenesLogic.php');
require('conf/configuration.php');
$logic = new ContenidoLogic($_POST);
$imagenesLogic = new Ima... | 0admin | trunk/contenido.php | PHP | oos | 3,796 |
<?php
// Include
include_once('plugin/LoginPlugin.php');
// Chequea si el usuario ya esta logueado
if (LoginPlugin::isLogged()) {
LoginPlugin::logout();
}
header( 'Location: index.php' );
exit; | 0admin | trunk/logout.php | PHP | oos | 208 |
<?php
include_once('plugin/LoginPlugin.php');
include_once('plugin/AppConfigPlugin.php');
include_once('plugin/CommonPlugin.php');
$rol = LoginPlugin::getRol();
$menuItems = AppConfigPlugin::getMenuItems($rol);
$scriptPhp = $menuItems[0][script];
header('Location: contenido.php');
?> | 0admin | trunk/admin.php | PHP | oos | 302 |
<?php
class DBConfig {
protected static $db_host = "localhost";
protected static $db_username = "root";
protected static $db_password = "";
protected static $db_dbname = "0admin";
//protected static $db_host = "localhost";
//protected static $db_username = "diegolaprida_ujs";
//protected static $db_... | 0admin | trunk/conf/DBConfig.php | PHP | oos | 407 |
<?php
// Tipo accidente
$categoriasList = array();
$categoriasList[] = array("key" => "DEPORTE", "value" => "Deporte", "color" => "#1C7682");
$categoriasList[] = array("key" => "POLITICA", "value" => "Politica", "color" => "#6A88A3");
$categoriasList[] = array("key" => "SOCIEDAD", "value" => "Sociedad", "color" ... | 0admin | trunk/conf/enum.php | PHP | oos | 526 |
<?php
require_once('conf/DBConfig.php');
class DBConnection extends DBConfig{
private static $instance;
private function __construct(){
self::$instance = mysql_connect(parent::$db_host, parent::$db_username, parent::$db_password) or DIE('Error en la conexion');
$db = mysql_select_db(parent... | 0admin | trunk/conf/DBConnection.php | PHP | oos | 565 |
<?php
require_once('include/header.php');
require_once('vo/AvisosVO.php');
require_once('search/AvisosSearchCriteria.php');
require_once('logic/AvisosLogic.php');
require('conf/configuration.php');
$logic = new AvisosLogic($_POST);
// Ordenamiento
if($_GET[order] == "asc")
$order= "desc";
else if($_GET[o... | 0admin | trunk/avisos.php | PHP | oos | 3,053 |
<?php
/**
* When a page is called, the page controller is run before any output is made.
* The controller's job is to transform the HTTP request into business objects,
* then call the approriate logic and prepare the objects used to display the response.
*
* The page logic performs the following steps:
... | 0admin | trunk/usuarios.php | PHP | oos | 3,344 |
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v2.1.3 (2011-02-07)
*
* (c) 2009-2010 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*jslint forin: true */
/*global document, window, navigator, setInterval, clearInterva... | 0admin | trunk/js/highcharts.src.js | JavaScript | oos | 270,133 |
/**
* @license Highcharts JS v2.1.3 (2011-02-07)
* MooTools adapter
*
* (c) 2010 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, Fx, $, $extend, $each, $merge, Events, Event */
var HighchartsAdapter = {
/**
* Initialize the adapter. This is ... | 0admin | trunk/js/adapters/mootools-adapter.src.js | JavaScript | oos | 4,952 |
/**
* Ajax upload
* Project page - http://valums.com/ajax-upload/
* Copyright (c) 2008 Andris Valums, http://valums.com
* Licensed under the MIT license (http://valums.com/mit-license/)
* Version 3.5 (23.06.2009)
*/
/**
* Changes from the previous version:
* 1. Added better JSON handling that allows ... | 0admin | trunk/js/ajaxupload.3.5.js | JavaScript | oos | 14,986 |
$(document).ready(function(){
$("#formPaises").validate({
rules: {codigo:{digits:true}},
messages:{ codigo:'El codigo debe ser Numerico'}
});
$("#formBuques").validate({
rules: {codigo:{digits:true}},
messages:{codigo:'El codigo debe ser Numerico'}});
$("#formDespachante").vali... | 0admin | trunk/js/form/validations.js | JavaScript | oos | 1,377 |
/**
* @license Highcharts JS v2.1.3 (2011-02-07)
* Exporting module
*
* (c) 2010 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, document, window, Math, setTimeout */
(function() { // encapsulate
// create shortcuts
var HC = Highcharts,
Cha... | 0admin | trunk/js/modules/exporting.src.js | JavaScript | oos | 16,427 |
/*
* jQuery Autocomplete plugin 1.1
*
* Copyright (c) 2009 Jörn Zaefferer
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.autocomplete.js 15 2009-08-22 10:30:27Z joern.zaefferer ... | 0admin | trunk/js/jquery.autocomplete.js | JavaScript | oos | 22,078 |
/*
* jQuery RTE plugin 0.3 - create a rich text form for Mozilla, Opera, and Internet Explorer
*
* Copyright (c) 2007 Batiste Bieler
* Distributed under the GPL (GPL-LICENSE.txt) licenses.
*/
// define the rte light plugin
jQuery.fn.rte = function(css_url, media_url) {
if(document.designMode || doc... | 0admin | trunk/js/jquery.rte.js | JavaScript | oos | 7,773 |
.mce-visualblocks p {
padding-top: 10px;
border: 1px dashed #BBB;
margin-left: 3px;
background: transparent no-repeat url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7);
}
.mce-visualblocks h1 {
padding-top: 10px;
border: 1px dashed #BBB;
margin-left:... | 0admin | trunk/js/editorhtml/plugins/visualblocks/css/visualblocks.css | CSS | oos | 4,824 |
tinymce.addI18n('es',{
"Cut": "Cortar",
"Header 2": "Header 2 ",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Tu navegador no soporta acceso directo al portapapeles. Por favor usa las teclas Crtl+X\/C\/V de tu teclado",
"Div": "Capa",
"Paste": ... | 0admin | trunk/js/editorhtml/langs/es.js | JavaScript | oos | 6,180 |
function setSidebarHeight(){
setTimeout(function(){
var height = $(document).height();
$('.grid_12').each(function () {
height -= $(this).outerHeight();
});
height -= $('#site_info').outerHeight();
height-=1;
//salert(height);
$('.sidemenu').css('height', height);
},1... | 0admin | trunk/js/setup.js | JavaScript | oos | 18,001 |
/**
* Dark blue theme for Highcharts JS
* @author Torstein Hønsi
*/
Highcharts.theme = {
colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee",
"#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
chart: {
backgroundColor: {
linearGradient: [0, 0, 250, 500],
stops: [
... | 0admin | trunk/js/themes/dark-green.js | JavaScript | oos | 3,011 |
/**
* Dark blue theme for Highcharts JS
* @author Torstein Hønsi
*/
Highcharts.theme = {
colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee",
"#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
chart: {
backgroundColor: {
linearGradient: [0, 0, 250, 500],
stops: [
... | 0admin | trunk/js/themes/dark-blue.js | JavaScript | oos | 3,011 |
/**
* Grid theme for Highcharts JS
* @author Torstein Hønsi
*/
Highcharts.theme = {
colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'],
chart: {
backgroundColor: {
linearGradient: [0, 0, 500, 500],
stops: [
[0, 'rgb(255, 255, 255)'],
... | 0admin | trunk/js/themes/grid.js | JavaScript | oos | 1,812 |
/**
* Gray theme for Highcharts JS
* @author Torstein Hønsi
*/
Highcharts.theme = {
colors: ["#DDDF0D", "#7798BF", "#55BF3B", "#DF5353", "#aaeeee", "#ff0066", "#eeaaee",
"#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
chart: {
backgroundColor: {
linearGradient: [0, 0, 0, 400],
stops: [
[0,... | 0admin | trunk/js/themes/gray.js | JavaScript | oos | 2,994 |
/*
http://www.JSON.org/json2.js
2011-02-23
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EX... | 0admin | trunk/js/json2.js | JavaScript | oos | 17,893 |
body {margin:0 25px; font:12px Verdana, Arial, Helvetica, sans-serif}
h2 {font-size:14px; margin:25px 0}
.divs div {display:block; padding:10px; border:2px solid black}
.divs .lower {border-top:none}
.divs .bold {font-weight:bold}
.divs .darkgrey {border-color:#8b8b8b; margin-bottom:10px} | 0admin | trunk/js/fader/fader.css | CSS | oos | 294 |
// main function to process the fade request //
function colorFade(id,element,start,end,steps,speed) {
var startrgb,endrgb,er,eg,eb,step,rint,gint,bint,step;
var target = document.getElementById(id);
steps = steps || 20;
speed = speed || 20;
clearInterval(target.timer);
endrgb = colorConv(end);
er... | 0admin | trunk/js/fader/fader.js | JavaScript | oos | 2,423 |
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JavaScript Color Fader</title>
<link rel="stylesheet" type="text/... | 0admin | trunk/js/fader/fader.html | HTML | oos | 2,964 |
<?php
require_once('include/header.php');
require_once('vo/ClientesVO.php');
require_once('search/ClientesSearchCriteria.php');
require_once('logic/ClientesLogic.php');
require('conf/configuration.php');
$logic = new ClientesLogic($_POST);
// Ordenamiento
if($_GET[order] == "asc")
$order= "desc";
else if... | 0admin | trunk/clientes.php | PHP | oos | 3,107 |
<?php
/**
* When a page is called, the page controller is run before any output is made.
* The controller's job is to transform the HTTP request into business objects,
* then call the approriate logic and prepare the objects used to display the response.
*
* The page logic performs the following steps:
... | 0admin | trunk/noticias.php | PHP | oos | 5,153 |
<?php
class ContactoVO{
private $id = null;
private $empresa = null;
private $nombre = null;
private $direccion = null;
private $telefono = null;
private $celular = null;
private $mail = null;
private $web = null;
private $borrado = null;
public function getId(){
return $this->id;
}
... | 0admin | trunk/vo/ContactoVO.php | PHP | oos | 1,466 |
<?php
class NoticiasVO{
private $id = null;
private $titulo = null;
private $tags = null;
private $resumen = null;
private $contenido = null;
private $fecha = null;
private $categoria = null;
private $seccion = null;
private $orden = null;
private $visitas = null;
private $activo = null;
p... | 0admin | trunk/vo/NoticiasVO.php | PHP | oos | 1,984 |
<?php
/**
* VOs are actually a J2EE pattern. It can easily be implemented in PHP.
* A value object corresponds directly to a C struct.
* It's a class that contains only member variables and no methods other than convenience
* methods (usually none). A VO corresponds to a business object.
* A VO typical... | 0admin | trunk/vo/ImagenesVO.php | PHP | oos | 1,769 |
<?php
/**
* VOs are actually a J2EE pattern. It can easily be implemented in PHP.
* A value object corresponds directly to a C struct.
* It's a class that contains only member variables and no methods other than convenience
* methods (usually none). A VO corresponds to a business object.
* A VO typica... | 0admin | trunk/vo/UsuarioVO.php | PHP | oos | 1,141 |
<?php
class ClientesVO{
private $id = null;
private $nombre = null;
private $mail = null;
private $telefono = null;
private $ciudad = null;
private $active = null;
private $fecha = null;
private $borrado = null;
public function getId(){
return $this->id;
}
public function setId($id){
... | 0admin | trunk/vo/ClientesVO.php | PHP | oos | 1,286 |
<?php
/**
* VOs are actually a J2EE pattern. It can easily be implemented in PHP.
* A value object corresponds directly to a C struct.
* It's a class that contains only member variables and no methods other than convenience
* methods (usually none). A VO corresponds to a business object.
* A VO typical... | 0admin | trunk/vo/ImageVO.php | PHP | oos | 1,868 |
<?php
class AvisosVO{
private $id = null;
private $fechatexto = null;
private $fecha = null;
private $descripcion = null;
public function getId(){
return $this->id;
}
public function setId($id){
$this->id = $id;
}
public function getFechatexto(){
return $this->fechatexto;
}
pub... | 0admin | trunk/vo/AvisosVO.php | PHP | oos | 695 |
<?php
class ContenidoVO{
private $id = null;
private $titulo = null;
private $texto = null;
private $descripcion = null;
private $imagen = null;
private $borrado = null;
public function getId(){
return $this->id;
}
public function setId($id){
$this->id = $id;
}
public function ... | 0admin | trunk/vo/ContenidoVO.php | PHP | oos | 1,004 |
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.meio.mask.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/form/validations.js"... | 0admin | trunk/pages/templates/admin_account_update.tpl | Smarty | oos | 1,999 |
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.meio.mask.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/form/validations.js" cha... | 0admin | trunk/pages/templates/contenidoForm.tpl | Smarty | oos | 1,904 |
{literal}
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
<script type="text/javascript">
$(document).ready(function(){
var co... | 0admin | trunk/pages/templates/clientes.tpl | Smarty | oos | 3,893 |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
{literal}
<script type="text/javascript">
function cambiarEntradas(){
$("#formC... | 0admin | trunk/pages/templates/clientesSearch.tpl | Smarty | oos | 1,343 |
{literal}
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
<script type="text/javascript">
$(document).ready(function(){
var co... | 0admin | trunk/pages/templates/contenido.tpl | Smarty | oos | 3,534 |
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6 lt8"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7 lt8"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8 lt8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!... | 0admin | trunk/pages/templates/admin_login.tpl | Smarty | oos | 2,546 |
<div id="branding">
<div class="floatleft">
<img src="images/logo.png" width="280px"/>
<span style="font-size:32px;color:#f2f2f2;font-weight:bold">ADMINISTRADOR</span>
</div>
<div class="floatright">
<div class="floatleft">
<img src="images/account.png" alt="Profile Pic" />
</div>
<div class=... | 0admin | trunk/pages/templates/admin_account_menu.tpl | Smarty | oos | 702 |
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery.datePicker.js"></script>
<script type="text/javascript" src="js/date.js"></script>
<link rel="stylesheet" type="text/css" href="css/datepicker.css" />
{literal}
<script type="text/javascript">
... | 0admin | trunk/pages/templates/noticiasSearch.tpl | Smarty | oos | 2,266 |
<div class="grid_12">
<ul class="nav main">
{foreach from=$menuItems item=menuItem}
<li {if $currentPage == $menuItem.script} class="{$menuItem.class} active" {/if} class="{$menuItem.class}">
<a href="{$menuItem.script}"><span>{$menuItem.name}</span></a>
<ul>
{foreach from=$menuItem.submenu i... | 0admin | trunk/pages/templates/admin_menu.tpl | Smarty | oos | 479 |
{php}
include ("editorhtml_js.html");
{/php}
<link rel="stylesheet" type="text/css" href="css/datepicker.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/validations.css" />
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jqu... | 0admin | trunk/pages/templates/noticiasForm.tpl | Smarty | oos | 4,641 |
{literal}
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
<script type="text/javascript">
$(document).ready(function(){
var co... | 0admin | trunk/pages/templates/noticias.tpl | Smarty | oos | 5,063 |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
{literal}
<script type="text/javascript">
function cambiarEntradas(){
$("#formc... | 0admin | trunk/pages/templates/contenidoSearch.tpl | Smarty | oos | 1,346 |
{literal}
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
<script type="text/javascript">
$(document).ready(function(){
var co... | 0admin | trunk/pages/templates/contacto.tpl | Smarty | oos | 3,875 |
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.meio.mask.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/form/validations.... | 0admin | trunk/pages/templates/usuariosDetail.tpl | Smarty | oos | 2,275 |
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.meio.mask.js" charset="utf-8"></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js" charset="utf-8"></script>
<script type="text/javascript" src="js/form/validations.js" chars... | 0admin | trunk/pages/templates/contactoDetail.tpl | Smarty | oos | 1,848 |
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery.datePicker.js"></script>
<script type="text/javascript" src="js/date.js"></script>
<link rel="stylesheet" type="text/css" href="css/datepicker.css" />
{literal}
<script type="text/javascript">
$(fu... | 0admin | trunk/pages/templates/avisosForm.tpl | Smarty | oos | 1,795 |
<div class="grid_10">
<div class="box round first fullpage">
<h2>Galería de imágenes</h2>
<div class="block ">
<div class="imagenesDiv">
<br><br>
<form action="imagenes.php" id="formImage" name="formImage" enctype="multipart/form-data" method="POST">
<input type="hidden" id="... | 0admin | trunk/pages/templates/imagenes.tpl | Smarty | oos | 2,416 |
<!-- Paginador -->
<table width="100%" class="paginator" style="border:0">
<tr>
<td align="center">
{if ($page - 1 > 0)}
<a href='{$script}&page={$page-1}'>< Anterior</a>
{/if}
{if $totalPages > 1}
{assign var="middle" value="6"}
{if $totalPages < $middle}
{assign var="middle... | 0admin | trunk/pages/templates/paginator.tpl | Smarty | oos | 1,567 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>{$appInfo.appname}</title>
<link rel="stylesheet" type="text... | 0admin | trunk/pages/templates/admin_header.tpl | Smarty | oos | 2,154 |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
{literal}
<script type="text/javascript">
function cambiarEntradas(){
$("#formA... | 0admin | trunk/pages/templates/avisosSearch.tpl | Smarty | oos | 1,337 |
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.meio.mask.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/form/validations.... | 0admin | trunk/pages/templates/usuariosAdd.tpl | Smarty | oos | 5,715 |
<div class="grid_10">
<div class="box round first fullpage">
<h2>Detalle de la noticia</h2>
<div class="block ">
<div id="item_form">
<br><br>
<table width="95%" class="details">
<tr>
<td class="title"><label>Fecha:</label></td>
<td class="value">{$noticia.fecha|date_format:"... | 0admin | trunk/pages/templates/noticiasDetails.tpl | Smarty | oos | 1,610 |
{literal}
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
<script type="text/javascript">
$(document).ready(function(){
var co... | 0admin | trunk/pages/templates/avisos.tpl | Smarty | oos | 3,526 |
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.meio.mask.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/form/validations.js" cha... | 0admin | trunk/pages/templates/contactoForm.tpl | Smarty | oos | 2,455 |
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.meio.mask.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/form/validations.js" cha... | 0admin | trunk/pages/templates/clientesForm.tpl | Smarty | oos | 2,785 |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
{literal}
<script type="text/javascript">
function cambiarEntradas(){
$("#formc... | 0admin | trunk/pages/templates/contactoSearch.tpl | Smarty | oos | 1,325 |
<div class="clear">
</div>
<div class="grid_12">
<div class="box round first fullpage">
<h2>Formulario de Datos
<label style="margin-left:30%">Nombre de usuario: {$usuario.username}</label>
</h2>
<a href="usuarios.php"><... | 0admin | trunk/pages/templates/usuariosUpdate.tpl | Smarty | oos | 4,984 |
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.meio.mask.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/form/validations.js" cha... | 0admin | trunk/pages/templates/clientesDetail.tpl | Smarty | oos | 1,431 |
<div class="grid_10">
<div class="box round first fullpage">
<h2>Detalle de contenido</h2>
<div class="block ">
<div id="item_form">
<div class="subtitulo">Datos del contenido:</div><br>
<table width="95%" class="details">
<tr>
<td class="title"><label>Título:</label></td>
... | 0admin | trunk/pages/templates/contenidoDetail.tpl | Smarty | oos | 1,402 |
<div class="grid_10">
<div class="box round first grid">
<h2>Registro de Usuarios</h2>
<div class="clear"></div>
<!-- Opciones generales -->
<div style="padding-top:10px">
{if $rol|strpos:"0" !== false || $rol|strpos:"Lw" !== false}
<a style="margin-right:20px" href="usuarios.php?... | 0admin | trunk/pages/templates/usuarios.tpl | Smarty | oos | 2,393 |
<div class="grid_10">
<div class="box round first grid" style="height:300px">
<h2>Error de acceso</h2>
<div class="block ">
<div class="message error" style="text-align:center">
<h5>No tiene acceso para ver esta página</h5>
<p>Consulte con el administrador</p>
</div>
</div>
</div>
... | 0admin | trunk/pages/templates/admin_noaccess.tpl | Smarty | oos | 327 |
{include file="admin_header.tpl"}
<script type="text/javascript" src="js/ui/ui.js"></script>
<div class="clear">
</div>
<!-- Mensaje -->
{if $message != ""}
<div class="message success box">
<p align="center"><h5>{$message}</h5></p>
</div>
{/if}
<!-- Error -->... | 0admin | trunk/pages/templates/admin_generic.tpl | Smarty | oos | 544 |
<script type="text/javascript" src="js/editorhtml/tinymce.min.js"></script>
<script>
tinymce.init({
selector: "textarea#contenido",
theme: "modern",
width: 900,
height: 200,
language : 'es',
plugins: [
"advlist autolink link image lists charmap print preview hr anchor pagebre... | 0admin | trunk/editorhtml_js.html | HTML | oos | 1,248 |
/*
-----------------------------------------------
Grey Box Method - Layout CSS
----------------------------------------------- */
body {
background: #2E5E79;
color: #333;
font-size: 11px;
padding: 0 0 0px;
}
/* commons
----------------------------------------------- */
.floatleft{float:left;}
... | 0admin | trunk/css/layout.css | CSS | oos | 30,127 |
ul.sorting
{
list-style-type: none;
margin: 0;
padding: 0;
display: inline-block;
margin-top:10px;
}
ul.sorting li
{
margin: 0;
padding: 0;
float: left;
display: inline-block;
}
ul.sorting li a, h2 span
{
background-color: #d3d3d3;
background-image: -webkit-... | 0admin | trunk/css/tabs.css | CSS | oos | 2,104 |
/*
960 Grid System ~ Text CSS.
Learn more ~ http://960.gs/
Licensed under GPL and MIT.
*/
/* =Basic HTML
--------------------------------------------------------------------------------*/
body
{
font: 13px/1.5 Tahoma, Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
}
a:focus
{
outli... | 0admin | trunk/css/text.css | CSS | oos | 1,061 |
table.jCalendar {
border: 1px solid #000;
background: #aaa;
border-collapse: separate;
border-spacing: 2px;
}
table.jCalendar th {
background: #333;
color: #fff;
font-weight: bold;
padding: 3px 5px;
}
table.jCalendar td {
background: #ccc;
color: #000;
padding: 3px 5px;
text-align:... | 0admin | trunk/css/datepicker.css | CSS | oos | 3,022 |
/**********************************
Name: cmxform Styles
***********************************/
form.cmxform {
width: 370px;
font-size: 1.0em;
color: #333;
}
form.cmxform legend {
padding-left: 0;
}
form.cmxform legend, form.cmxform label {
color: #333;
}
form.cmxform fieldset {
border: non... | 0admin | trunk/css/validations.css | CSS | oos | 1,074 |
#login-box {
width:333px;
height: 352px;
padding: 58px 76px 0 76px;
color: #ebebeb;
font: 12px Arial, Helvetica, sans-serif;
background: url(../images/login-box-backg.png) no-repeat left top;
}
#login-box img {
border:none;
}
#login-box h2 {
padding:0;
margin:0;
color: #ebebeb;
font: bol... | 0admin | trunk/css/login-box.css | CSS | oos | 904 |
body, td{
font-size: 11px;
}
/*td {width: 15%;}
th{
border:solid;
border-color: black;
border-width: 1px;
}*/
/*TODOS LOS TDS DE LA TABLA Q TENGA ESTE CLASS*/
.tablaCenter td
{
text-align:center;
vertical-align:middle;
}
.tableBorder td
{
border-bottom: solid;
border-left: so... | 0admin | trunk/css/report.css | CSS | oos | 1,035 |
@CHARSET "ISO-8859-1";
body {
font-size: 11px;
font-family: tahoma;
padding-top: 0px;
padding-left: 0px;
text-align: left; /* for IE */
margin:0px;
}
a {
text-decoration: none;
color: #000;
}
a:hover {
text-decoration: underline;
/*color: #808080;*/
}
img {
border: 0
}
.buttons ... | 0admin | trunk/css/style.css | CSS | oos | 9,340 |
/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center... | 0admin | trunk/css/reset.css | CSS | oos | 1,026 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* General page setup
*/
#dt_example {
font: 80%/1.45em "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
color: #333;
background-color: #fff;
}
#dt_example #container {
width: 800px;
margin... | 0admin | trunk/css/table/demo_page.css | CSS | oos | 1,439 |
/*
* File: demo_table_jui.css
* CVS: $Id$
* Description: CSS descriptions for DataTables demo pages
* Author: Allan Jardine
* Created: Tue May 12 06:47:22 BST 2009
* Modified: $Date$ by $Author$
* Language: CSS
* Project: DataTables
*
* Copyright 20... | 0admin | trunk/css/table/demo_table_jui.css | CSS | oos | 9,510 |
/*
* File: demo_table.css
* CVS: $Id$
* Description: CSS descriptions for DataTables demo pages
* Author: Allan Jardine
* Created: Tue May 12 06:47:22 BST 2009
* Modified: $Date$ by $Author$
* Language: CSS
* Project: DataTables
*
* Copyright 2009 A... | 0admin | trunk/css/table/demo_table.css | CSS | oos | 10,287 |
/*
960 Grid System ~ Core CSS.
Learn more ~ http://960.gs/
Licensed under GPL and MIT.
*/
/* =Containers
--------------------------------------------------------------------------------*/
.container_12,
.container_16
{
width: 100%;
}
/* =Grid >> Global
---------------------------------------... | 0admin | trunk/css/grid.css | CSS | oos | 6,629 |
@font-face {
font-family: 'BebasNeueRegular';
src: url('fonts/BebasNeue-webfont.eot');
src: url('fonts/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/BebasNeue-webfont.woff') format('woff'),
url('fonts/BebasNeue-webfont.ttf') format('truetype'),
url('... | 0admin | trunk/css/login.css | CSS | oos | 15,019 |
/*
-----------------------------------------------
Navigation
----------------------------------------------- */
/* navigation (horizontal subnavigation)
----------------------------------------------- */
ul.nav,
ul.nav * { margin:0;padding:0;}
ul.nav {
position:relative;
background:url(../images/nav-re... | 0admin | trunk/css/nav.css | CSS | oos | 4,944 |
<?php
require_once('conf/DBConnection.php');
require_once('dao/DAO.php');
/**
* DAO is actually a J2EE pattern.
* It can easily be implemented in PHP and helps greatly in separating database access from the rest of your code.
* The DAOs form a thin layer. The DAO layer can be 'stacked' which helps for... | 0admin | trunk/dao/UsuarioDAO.php | PHP | oos | 2,777 |
<?php
require_once('conf/DBConnection.php');
require_once('dao/DAO.php');
class NoticiasDAO extends DAO {
function NoticiasDAO() {}
function get($id) {
DBConnection::getInstance();
$query = "SELECT * FROM `noticias` where id = $id";
$result = mysql_query($query);
$results = $this->getFromResu... | 0admin | trunk/dao/NoticiasDAO.php | PHP | oos | 5,073 |
<?php
require_once('dao/UsuarioDAO.php');
require_once('dao/NoticiasDAO.php');
require_once('dao/ContenidoDAO.php');
require_once('dao/ContactoDAO.php');
require_once('dao/ClientesDAO.php');
require_once('dao/AvisosDAO.php');
require_once('dao/ImagenesDAO.php');
class FactoryDAO{
public static functi... | 0admin | trunk/dao/FactoryDAO.php | PHP | oos | 836 |
<?php
require_once('conf/DBConnection.php');
require_once('dao/DAO.php');
require_once('search/ImagenesSearchCriteria.php');
/**
* DAO is actually a J2EE pattern.
* It can easily be implemented in PHP and helps greatly in separating database access from the rest of your code.
* The DAOs form a thin l... | 0admin | trunk/dao/ImagenesDAO.php | PHP | oos | 3,939 |
<?php
require_once('conf/DBConnection.php');
require_once('dao/DAO.php');
class ClientesDAO extends DAO {
function ClientesDAO() {}
function get($id){
DBConnection::getInstance();
$query = "SELECT * FROM clientes WHERE id = $id";
$result = mysql_query($query);
$results = $this->getFromResul... | 0admin | trunk/dao/ClientesDAO.php | PHP | oos | 2,545 |
<?php
require_once('conf/DBConnection.php');
require_once('dao/DAO.php');
class AvisosDAO extends DAO {
function AvisosDAO() {
}
function get($id){
DBConnection::getInstance();
$query = "SELECT * FROM avisos WHERE id = $id";
$result = mysql_query($query);
$results = $this->getFromResult($... | 0admin | trunk/dao/AvisosDAO.php | PHP | oos | 1,854 |
<?php
require_once('conf/DBConnection.php');
require_once('dao/DAO.php');
class ContactoDAO extends DAO {
function ContactoDAO() {}
function get($id){
DBConnection::getInstance();
$query = "SELECT * FROM contacto WHERE id = $id";
$result = mysql_query($query);
$results = $this->getFromResul... | 0admin | trunk/dao/ContactoDAO.php | PHP | oos | 2,325 |
<?php
require_once('conf/DBConnection.php');
require_once('dao/DAO.php');
class ContenidoDAO extends DAO {
function ContenidoDAO() {
}
function get($id){
DBConnection::getInstance();
$query = "SELECT * FROM contenido WHERE id = $id";
$result = mysql_query($query);
$results = $this->getFro... | 0admin | trunk/dao/ContenidoDAO.php | PHP | oos | 2,176 |
<?php
class FileUtilityPlugin {
/**
* Obtener la extension de un archivo
*/
public static function getExtension($fileName) {
$pathInfo = pathinfo($fileName);
//echo $partes_ruta['dirname'] . "\n";
//echo $partes_ruta['basename'] . "\n";
return $pathInfo['extension'];
}
/*
*... | 0admin | trunk/plugin/FileUtilityPlugin.php | PHP | oos | 1,484 |
<?php
class SecurityAccessPlugin {
/**
* Retorna true si el rol tiene acceso a la pagina que se intenta ver ($scriptPhp)
*/
public static function hasAccess($menuItems, $scriptPhp, $allAccessPages, $rol) {
if ($rol == "0")
return true;
// chequea que scriptPhp no se encuentre dentro... | 0admin | trunk/plugin/SecurityAccessPlugin.php | PHP | oos | 982 |
<?php
//set_include_path('.:/php/includes:/home/diegolaprida/domains/simesev.com.ar/public_html/admin/core:/usr/lib/php:/usr/local/lib/php');
//require_once 'coreapi/SmartyAPI.php';
require_once 'Zend/Session/Namespace.php';
require_once 'Smarty/Smarty.class.php';
class SmartyPlugin {
/**
* Retorna... | 0admin | trunk/plugin/SmartyPlugin.php | PHP | oos | 892 |
<?php
require_once 'plugin/SessionPlugin.php';
/**
* Para funciones comunes
*
*/
class CommonPlugin {
/**
* Retorna los parametros recibidos por GET formateados
*/
public static function getParamsAsString($get) {
$params = "";
$keys = array_keys($get);
$values = array_values($get);
... | 0admin | trunk/plugin/CommonPlugin.php | PHP | oos | 1,135 |
<?php
require_once 'plugin/SessionPlugin.php';
require_once 'plugin/UsersDBPlugin.php';
/**
* Loguea un usuario en la DB
*
*/
class LoginPlugin {
/**
* Chequea que exista el usuario
*/
public static function existUser($username, $password) {
return UsersDBPlugin::existUser($username,... | 0admin | trunk/plugin/LoginPlugin.php | PHP | oos | 2,743 |