From: Leandro Lucarella Date: Sun, 23 Mar 2003 04:50:53 +0000 (+0000) Subject: Import inicial después del /var incident. :( X-Git-Tag: svn_import~5 X-Git-Url: https://git.llucax.com/personal/website.old.git/commitdiff_plain/d9c27be4892b7ed9b16c7a0e229dbff1d64139b3?ds=inline Import inicial después del /var incident. :( --- d9c27be4892b7ed9b16c7a0e229dbff1d64139b3 diff --git a/includes/append.php b/includes/append.php new file mode 100644 index 0000000..8d7741e --- /dev/null +++ b/includes/append.php @@ -0,0 +1,38 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: append.php 3 2003-01-31 04:35:46Z luca $ +// + +require_once 'Hook.php'; + +// Pie de la página web. +Hook::hook('pie'); + +// Hook append. +Hook::hook('append'); + +// $id$ +?> diff --git a/includes/default-hooks/default-album-footer.php b/includes/default-hooks/default-album-footer.php new file mode 100644 index 0000000..399aabb --- /dev/null +++ b/includes/default-hooks/default-album-footer.php @@ -0,0 +1,41 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-album-footer.php 9 2003-02-03 04:48:09Z luca $ +// + +/** + * Draws an album footer. + * + * @param string $title Album Title. + */ +$title = @$args[1]; + +?> + + + + + diff --git a/includes/default-hooks/default-album-header.php b/includes/default-hooks/default-album-header.php new file mode 100644 index 0000000..91789f4 --- /dev/null +++ b/includes/default-hooks/default-album-header.php @@ -0,0 +1,44 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-album-header.php 13 2003-02-23 04:12:48Z luca $ +// + +/** + * Draws an album header. + * + * @param string $desc Album description. + * @param int $cols How many columns the album has. + */ +$desc = @$args[1]; +$cols = @$args[2]; + +?> + +

+
+ + + diff --git a/includes/default-hooks/default-album-item-empty.php b/includes/default-hooks/default-album-item-empty.php new file mode 100644 index 0000000..2e4776a --- /dev/null +++ b/includes/default-hooks/default-album-item-empty.php @@ -0,0 +1,41 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-album-item-empty.php 6 2003-02-02 04:14:21Z luca $ +// + +/** + * Draws an empty album item. + * + * @param int $current Current photo number. + * @param int $total Total number of photos. + */ +$current = @$args[1]; +$total = @$args[2]; + +?> + + + diff --git a/includes/default-hooks/default-album-item.php b/includes/default-hooks/default-album-item.php new file mode 100644 index 0000000..36d8b40 --- /dev/null +++ b/includes/default-hooks/default-album-item.php @@ -0,0 +1,51 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-album-item.php 6 2003-02-02 04:14:21Z luca $ +// + +/** + * Draws an album item. + * + * @param string $photo Photo file. + * @param string $desc Description. + * @param string $thumb Thumbnail file. + * @param bool $selected True if this photo is selected. + * @param int $current Current photo number. + * @param int $total Total number of photos. + */ +$photo = @$args[1]; +$desc = @$args[2]; +$thumb = @$args[3]; +$selected = @$args[4]; +$current = @$args[5]; +$total = @$args[6]; + +?> + + + diff --git a/includes/default-hooks/default-album-photo.php b/includes/default-hooks/default-album-photo.php new file mode 100644 index 0000000..b45bbeb --- /dev/null +++ b/includes/default-hooks/default-album-photo.php @@ -0,0 +1,42 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-album-photo.php 6 2003-02-02 04:14:21Z luca $ +// + +/** + * Draws a photo. + * + * @param string $photo Photo file. + * @param string $desc Description. + */ +$photo = @$args[1]; +$desc = @$args[2]; + +?> + +<?= $desc ?> +
+ diff --git a/includes/default-hooks/default-album-row-footer.php b/includes/default-hooks/default-album-row-footer.php new file mode 100644 index 0000000..bdde5f1 --- /dev/null +++ b/includes/default-hooks/default-album-row-footer.php @@ -0,0 +1,36 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-album-row-footer.php 6 2003-02-02 04:14:21Z luca $ +// + +/** + * Draws an album row footer. + */ + +?> + + + diff --git a/includes/default-hooks/default-album-row-header.php b/includes/default-hooks/default-album-row-header.php new file mode 100644 index 0000000..8b794f8 --- /dev/null +++ b/includes/default-hooks/default-album-row-header.php @@ -0,0 +1,36 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-album-row-header.php 6 2003-02-02 04:14:21Z luca $ +// + +/** + * Draws an album row header. + */ + +?> + + + diff --git a/includes/default-hooks/default-cabecera.php b/includes/default-hooks/default-cabecera.php new file mode 100644 index 0000000..75d6a25 --- /dev/null +++ b/includes/default-hooks/default-cabecera.php @@ -0,0 +1,69 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-cabecera.php 13 2003-02-23 04:12:48Z luca $ +// + +require_once 'Hook.php'; +require_once 'Hook/Menu.php'; + +/** + * Draws the HTML header. + */ + +global $CONFIG; +$menu = $CONFIG['menu']; +$title = $CONFIG['title']; +$root = $CONFIG['root']; + +?> + + + + + +
  + <?= $desc ?> +
+ + + + + + + + +
+

Húngara

+
el
+
+ + Volver a la página inicial + +
+
+

+
+ diff --git a/includes/default-hooks/default-config.php b/includes/default-hooks/default-config.php new file mode 100644 index 0000000..ab75220 --- /dev/null +++ b/includes/default-hooks/default-config.php @@ -0,0 +1,45 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-config.php 9 2003-02-03 04:48:09Z luca $ +// + +require_once 'Hook/Menu.php'; + +global $CONFIG; + +$CONFIG['root'] = ''; +$CONFIG['css'][] = 'base'; +$CONFIG['css'][] = 'header'; +$CONFIG['css'][] = 'footer'; +$CONFIG['css'][] = 'menu'; +$CONFIG['css'][] = 'album'; +$CONFIG['title'] = Hook_Menu::getName(); +$CONFIG['menu']['up'] = true; +$CONFIG['menu']['root'] = '.'; +$CONFIG['menu']['deep'] = 1; +$CONFIG['menu']['level']= 0; + +?> diff --git a/includes/default-hooks/default-head.php b/includes/default-hooks/default-head.php new file mode 100644 index 0000000..7d5157e --- /dev/null +++ b/includes/default-hooks/default-head.php @@ -0,0 +1,51 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-head.php 9 2003-02-03 04:48:09Z luca $ +// + +require_once 'Hook.php'; + +/** + * Draws a HTML HEAD. + */ + +global $CONFIG; +$root = $CONFIG['root']; +$title = $CONFIG['title']; +$desc = @$CONFIG['desc']; +$css = is_array($CONFIG['css']) ? $CONFIG['css'] : array($CONFIG['css']); + +?> + + + Luca's Home<?= $title ? ": $title" : '' ?> + + + + " type="text/css"> + + + diff --git a/includes/default-hooks/default-menu-footer.php b/includes/default-hooks/default-menu-footer.php new file mode 100644 index 0000000..f88f359 --- /dev/null +++ b/includes/default-hooks/default-menu-footer.php @@ -0,0 +1,37 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-menu-footer.php 5 2003-02-01 22:41:25Z luca $ +// + +/** + * Draws the menu header. + */ + +?> + +
+ diff --git a/includes/default-hooks/default-menu-header.php b/includes/default-hooks/default-menu-header.php new file mode 100644 index 0000000..acf0a69 --- /dev/null +++ b/includes/default-hooks/default-menu-header.php @@ -0,0 +1,37 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-menu-header.php 13 2003-02-23 04:12:48Z luca $ +// + +/** + * Draws the menu header. + */ + +?> + + + + diff --git a/includes/default-hooks/default-menu-item.php b/includes/default-hooks/default-menu-item.php new file mode 100644 index 0000000..2137fc0 --- /dev/null +++ b/includes/default-hooks/default-menu-item.php @@ -0,0 +1,50 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-menu-item.php 13 2003-02-23 04:12:48Z luca $ +// + +/** + * Draws the menu item. + * + * @param string $link Link where to point to. + * @param string $name Name of the link. + */ +$link = @$args[1]; +$name = @$args[2]; +$root = $GLOBALS['CONFIG']['root']; + +?> + + + + + diff --git a/includes/default-hooks/default-menu-parent.php b/includes/default-hooks/default-menu-parent.php new file mode 100644 index 0000000..019443e --- /dev/null +++ b/includes/default-hooks/default-menu-parent.php @@ -0,0 +1,50 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-menu-parent.php 13 2003-02-23 04:12:48Z luca $ +// + +/** + * Draws the menu item. + * + * @param string $link Link where to point to. + * @param string $name Name of the link. + */ +$link = @$args[1]; +$name = @$args[2]; +$root = $GLOBALS['CONFIG']['root']; + +?> + + + + + diff --git a/includes/default-hooks/default-menu-subitem.php b/includes/default-hooks/default-menu-subitem.php new file mode 100644 index 0000000..b41229c --- /dev/null +++ b/includes/default-hooks/default-menu-subitem.php @@ -0,0 +1,52 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-menu-subitem.php 13 2003-02-23 04:12:48Z luca $ +// + +/** + * Draws the menu item. + * + * @param string $link Link where to point to. + * @param string $name Name of the link. + * @param int $level Identation level. + */ +$link = @$args[1]; +$name = @$args[2]; +$level = @$args[3]; +$root = $GLOBALS['CONFIG']['root']; + +?> + + + + + diff --git a/includes/default-hooks/default-pie.php b/includes/default-hooks/default-pie.php new file mode 100644 index 0000000..0c63e53 --- /dev/null +++ b/includes/default-hooks/default-pie.php @@ -0,0 +1,72 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-pie.php 11 2003-02-14 03:21:16Z luca $ +// + +require_once 'Hook.php'; +require_once 'File/Util.php'; + +/** + * Draws an HTML footer. + */ + +global $CONFIG; + +$root = $CONFIG['root']; + +?> + + + + + + + + + + + + + + + + diff --git a/includes/prepend.php b/includes/prepend.php new file mode 100644 index 0000000..5b74a34 --- /dev/null +++ b/includes/prepend.php @@ -0,0 +1,51 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: prepend.php 9 2003-02-03 04:48:09Z luca $ +// + +// Configuración local: +putenv('LC_ALL=es_AR'); +setlocale(LC_ALL, 'es_AR'); +umask(0007); + +require_once 'Hook.php'; + +//Debug: +ini_set('display_errors', true); +error_reporting(E_ALL); + +// Hook de configuración. +global $CONFIG; +Hook::config('config'); + +// Hook prepend. +Hook::hook('prepend'); + +// Cabecera de la página web. +Hook::hook('cabecera'); + +// $Id: prepend.php 9 2003-02-03 04:48:09Z luca $ +?> diff --git a/scripts/mkalbum b/scripts/mkalbum new file mode 100755 index 0000000..87fcdab --- /dev/null +++ b/scripts/mkalbum @@ -0,0 +1,81 @@ +#!/usr/bin/php4 -qC + | +// +--------------------------------------------------------------------+ +// +// $Id: mkalbum 8 2003-02-02 21:53:11Z luca $ +// + +// Configuración local: +putenv('LC_ALL=es_AR'); +setlocale(LC_ALL, 'es_AR'); +set_time_limit(0); +umask(0007); + +//Debug: +ini_set('display_errors', true); +ini_set('html_errors', false); +error_reporting(E_ALL); + +// Creates album object. +require_once 'Hook/Album.php'; +$album =& new Hook_Album(); + +// Opens stdin. +$in = fopen('php://stdin', 'r'); + +// Gets the name. +echo 'Enter the album name for the menu: '; +$name = chop(fgets($in, 4096)); + +// Writes the name. +require_once 'Hook/Menu.php'; +Hook_Menu::setName($name); + +// Gets the description. +echo "Enter the album description ('.' in single line to finish):\n"; +$desc = ''; +while (($buff = chop(fgets($in, 4096))) !== '.') { + $desc .= "$buff\n"; +} +$desc = chop($desc); + +// Writes the description. +$album->setDescription($desc); + +//Closes stdin. +fclose($in); + +// Creates a symlink to the parent's index.php. +symlink('../index.php', 'index.php'); +symlink('../photo.php', 'photo.php'); + +// Creates the thumbnails. +echo "Generating thumbnails, this could take a while, please wait...\n"; +$album->createThumbs(); + +echo "Done!\n" + +// $Id: mkalbum 8 2003-02-02 21:53:11Z luca $ +?> diff --git a/www/.menu b/www/.menu new file mode 100644 index 0000000..09c9125 --- /dev/null +++ b/www/.menu @@ -0,0 +1 @@ +Página Inicial \ No newline at end of file diff --git a/www/css/album.css b/www/css/album.css new file mode 100644 index 0000000..915903c --- /dev/null +++ b/www/css/album.css @@ -0,0 +1,75 @@ +/* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: + * +--------------------------------------------------------------------+ + * | Luca's Website (L'SWS) | + * +--------------------------------------------------------------------+ + * | This file is part of L'SWS. | + * | | + * | L'SWS is free software; you can redistribute it and/or modify it | + * | under the terms of the GNU General Public License as published by | + * | the Free Software Foundation; either version 2 of the License, or | + * | (at your option) any later version. | + * | | + * | L'SWS is distributed in the hope that it will be useful, but | + * | WITHOUT ANY WARRANTY; without even the implied warranty of | + * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | + * | General Public License for more details. | + * | | + * | You should have received a copy of the GNU General Public License | + * | along with Hooks; if not, write to the Free Software Foundation, | + * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | + * +--------------------------------------------------------------------+ + * | Created: sáb feb 1 22:00:05 ART 2003 | + * | Authors: Leandro Lucarella | + * +--------------------------------------------------------------------+ + * + * $Id: album.css 6 2003-02-02 04:14:21Z luca $ + * + */ + +/** + * Album styles. + */ +TABLE.album { + width: 0%; + text-align: center; + vertical-align: middle; +} + +TH.album { + font-size: large; +} + +TD.albumitem { + margin: 0pt; + height: 100px; + width: 100px; +} + +A.albumitem { + color: red; + background-color: white; +} + +A.albumitem:hover { + text-decoration: none; +} + +A.albumitem:visited { + color: black; + background-color: white; +} + +A.albumitem:active { + color: black; + background-color: white; +} + +IMG.albumitem { + border: thin solid black; +} + +IMG.albumphoto { + border: thin solid black; +} + +/* $Id: album.css 6 2003-02-02 04:14:21Z luca $ */ diff --git a/www/css/base.css b/www/css/base.css new file mode 100644 index 0000000..3aa3ab4 --- /dev/null +++ b/www/css/base.css @@ -0,0 +1,79 @@ +/* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: + * +--------------------------------------------------------------------+ + * | Luca's Website (L'SWS) | + * +--------------------------------------------------------------------+ + * | This file is part of L'SWS. | + * | | + * | L'SWS is free software; you can redistribute it and/or modify it | + * | under the terms of the GNU General Public License as published by | + * | the Free Software Foundation; either version 2 of the License, or | + * | (at your option) any later version. | + * | | + * | L'SWS is distributed in the hope that it will be useful, but | + * | WITHOUT ANY WARRANTY; without even the implied warranty of | + * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | + * | General Public License for more details. | + * | | + * | You should have received a copy of the GNU General Public License | + * | along with Hooks; if not, write to the Free Software Foundation, | + * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | + * +--------------------------------------------------------------------+ + * | Created: vie ene 31 00:52:00 ART 2003 | + * | Authors: Leandro Lucarella | + * +--------------------------------------------------------------------+ + * + * $Id: base.css 14 2003-02-23 04:45:34Z luca $ + * + */ + +/** + * Base styles. + */ +BODY { + font-family: Verdana, Helvetica, sans-serif; + color: black; + background-color: white; + margin: 0pt; + padding: 0pt; + font-size: 9pt; +} + +TABLE { + width: 100%; +} + +TD { + border: none; +} + +IMG { + border: 0pt; +} + +A { + color: blue; + background-color: transparent; + text-decoration: none; +} + +A:hover { + text-decoration: underline; +} + +A:active { + color: white; + background-color: teal; + text-decoration: underline; +} + +:first-letter { + color: blue; + font-size: larger; + background-color: transparent; +} + +.center { + text-align: center; +} + +/* $Id: base.css 14 2003-02-23 04:45:34Z luca $ */ diff --git a/www/css/footer.css b/www/css/footer.css new file mode 100644 index 0000000..3abc333 --- /dev/null +++ b/www/css/footer.css @@ -0,0 +1,69 @@ +/* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: + * +--------------------------------------------------------------------+ + * | Luca's Website (L'SWS) | + * +--------------------------------------------------------------------+ + * | This file is part of L'SWS. | + * | | + * | L'SWS is free software; you can redistribute it and/or modify it | + * | under the terms of the GNU General Public License as published by | + * | the Free Software Foundation; either version 2 of the License, or | + * | (at your option) any later version. | + * | | + * | L'SWS is distributed in the hope that it will be useful, but | + * | WITHOUT ANY WARRANTY; without even the implied warranty of | + * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | + * | General Public License for more details. | + * | | + * | You should have received a copy of the GNU General Public License | + * | along with Hooks; if not, write to the Free Software Foundation, | + * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | + * +--------------------------------------------------------------------+ + * | Created: sáb feb 1 19:21:30 ART 2003 | + * | Authors: Leandro Lucarella | + * +--------------------------------------------------------------------+ + * + * $Id: footer.css 13 2003-02-23 04:12:48Z luca $ + * + */ + +/** + * Footer styles. + */ +DIV.lastupdate { + font-size: smaller; + font-style: italic; + margin-top: 0pt; + margin-bottom: 3pt; + text-align: center; +} + +TD.validhtml { + margin: 0pt; + text-align: left; + vertical-align: middle; +} + +TD.copyleft { + font-size: smaller; + margin: 0pt; + text-align: center; + vertical-align: middle; +} + +TD.validcss { + margin: 0pt; + text-align: right; + vertical-align: middle; +} + +HR.footseparator { + margin-top: 20pt; + margin-bottom: 0pt; + color: navy; + background-color: navy; + width: 100%; + height: 1pt; + text-align: center; +} + +/* $Id: footer.css 13 2003-02-23 04:12:48Z luca $ */ diff --git a/www/css/header.css b/www/css/header.css new file mode 100644 index 0000000..336e10c --- /dev/null +++ b/www/css/header.css @@ -0,0 +1,90 @@ +/* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: + * +--------------------------------------------------------------------+ + * | Luca's Website (L'SWS) | + * +--------------------------------------------------------------------+ + * | This file is part of L'SWS. | + * | | + * | L'SWS is free software; you can redistribute it and/or modify it | + * | under the terms of the GNU General Public License as published by | + * | the Free Software Foundation; either version 2 of the License, or | + * | (at your option) any later version. | + * | | + * | L'SWS is distributed in the hope that it will be useful, but | + * | WITHOUT ANY WARRANTY; without even the implied warranty of | + * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | + * | General Public License for more details. | + * | | + * | You should have received a copy of the GNU General Public License | + * | along with Hooks; if not, write to the Free Software Foundation, | + * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | + * +--------------------------------------------------------------------+ + * | Created: sáb feb 1 19:19:54 ART 2003 | + * | Authors: Leandro Lucarella | + * +--------------------------------------------------------------------+ + * + * $Id: header.css 14 2003-02-23 04:45:34Z luca $ + * + */ + +/** + * Header styles. + */ +TABLE.structure { + width: 100%; + margin: 0pt; +} + +H1 { + position: relative; + left: 7pt; + top: -5pt; + text-align: center; + font-size: x-large; + letter-spacing: 4pt; +} + +H1:first-letter { + position: relative; + top: 2pt; + color: blue; + background-color: transparent; + font-size: xx-large; +} + +H2 { + font-size: large; +} + +TD.logocontainer DIV { + position: absolute; + left: 2pt; + top: 5pt; + font-size: larger; + font-weight: bold; + font-family: Arial Black, sans-serif; +} + +TD.logocontainer DIV.home { + position: absolute; + left: 52pt; + top: 35pt; +} + +TD.titlecontainer { + text-align: center; + vertical-align: middle; +} + +TD.menucontainer { + text-align: left; + vertical-align: top; + width: 115pt; +} + +TD.bodycontainer { + text-align: left; + vertical-align: top; + padding-left: 5pt; +} + +/* $Id: header.css 14 2003-02-23 04:45:34Z luca $ */ diff --git a/www/css/menu.css b/www/css/menu.css new file mode 100644 index 0000000..4cac062 --- /dev/null +++ b/www/css/menu.css @@ -0,0 +1,79 @@ +/* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: + * +--------------------------------------------------------------------+ + * | Luca's Website (L'SWS) | + * +--------------------------------------------------------------------+ + * | This file is part of L'SWS. | + * | | + * | L'SWS is free software; you can redistribute it and/or modify it | + * | under the terms of the GNU General Public License as published by | + * | the Free Software Foundation; either version 2 of the License, or | + * | (at your option) any later version. | + * | | + * | L'SWS is distributed in the hope that it will be useful, but | + * | WITHOUT ANY WARRANTY; without even the implied warranty of | + * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | + * | General Public License for more details. | + * | | + * | You should have received a copy of the GNU General Public License | + * | along with Hooks; if not, write to the Free Software Foundation, | + * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | + * +--------------------------------------------------------------------+ + * | Created: sáb feb 1 19:22:18 ART 2003 | + * | Authors: Leandro Lucarella | + * +--------------------------------------------------------------------+ + * + * $Id: menu.css 14 2003-02-23 04:45:34Z luca $ + * + */ + +/** + * Menu styles. + */ +TABLE.menu IMG { + float: left; + margin-right: 3pt; +} + +TABLE.menu TH { + font-weight: bold; + text-align: center; + vertical-align: middle; + color: white; + background-color: black; + padding: 2pt; +} + +TABLE.menu A { + color: black; + background-color: transparent; + text-decoration: none; +} + +TABLE.menu A:active { + color: red; + background-color: transparent; +} + +TABLE.menu TD:hover { + color: white; + background-color: rgb(70%,70%,100%); +} + +TD.menuitem { + font-weight: bold; + vertical-align: middle; +} + +IMG.menuparent { + margin-left: 0pt; +} + +IMG.menuitem { + margin-left: 8pt; +} + +IMG.menusubitem { + margin-left: 16pt; +} + +/* $Id: menu.css 14 2003-02-23 04:45:34Z luca $ */ diff --git a/www/default-config.php b/www/default-config.php new file mode 100644 index 0000000..cfa4f45 --- /dev/null +++ b/www/default-config.php @@ -0,0 +1,35 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-config.php 11 2003-02-14 03:21:16Z luca $ +// + +global $CONFIG; + +$CONFIG['title'] = "Pagina Inicial"; +$CONFIG['menu']['up'] = false; +$CONFIG['menu']['deep'] = 0; + +?> diff --git a/www/desarrollo/.menu b/www/desarrollo/.menu new file mode 100644 index 0000000..b8f103f --- /dev/null +++ b/www/desarrollo/.menu @@ -0,0 +1 @@ +Desarrollo diff --git a/www/desarrollo/default-config.php b/www/desarrollo/default-config.php new file mode 100644 index 0000000..f708770 --- /dev/null +++ b/www/desarrollo/default-config.php @@ -0,0 +1,34 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-config.php 14 2003-02-23 04:45:34Z luca $ +// + +global $CONFIG; + +$CONFIG['title'] = "Cosas que estoy desarrollando"; +$CONFIG['menu']['deep'] = 0; + +?> diff --git a/www/desarrollo/index.php b/www/desarrollo/index.php new file mode 100644 index 0000000..f40e713 --- /dev/null +++ b/www/desarrollo/index.php @@ -0,0 +1,33 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: index.php 14 2003-02-23 04:45:34Z luca $ +// + +?> + +En esta página se encuentran las cosas que estoy desarrollando actualmente +o las que he desarrollado en algún momento. + diff --git a/www/desarrollo/sitios/.menu b/www/desarrollo/sitios/.menu new file mode 100644 index 0000000..9ba34f9 --- /dev/null +++ b/www/desarrollo/sitios/.menu @@ -0,0 +1 @@ +Sitios diff --git a/www/desarrollo/sitios/default-config.php b/www/desarrollo/sitios/default-config.php new file mode 100644 index 0000000..2f5978a --- /dev/null +++ b/www/desarrollo/sitios/default-config.php @@ -0,0 +1,34 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-config.php 14 2003-02-23 04:45:34Z luca $ +// + +global $CONFIG; + +$CONFIG['title'] = "Sitios que estoy desarrollando"; +$CONFIG['menu']['deep'] = 0; + +?> diff --git a/www/desarrollo/sitios/default-menu-item.php b/www/desarrollo/sitios/default-menu-item.php new file mode 100644 index 0000000..dedae05 --- /dev/null +++ b/www/desarrollo/sitios/default-menu-item.php @@ -0,0 +1,50 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-menu-item.php 14 2003-02-23 04:45:34Z luca $ +// + +/** + * Draws the menu item. + * + * @param string $link Link where to point to. + * @param string $name Name of the link. + */ +$link = @$args[1]; +$name = @$args[2]; +$root = $GLOBALS['CONFIG']['root']; + +?> + + + + Flecha item + + + + + + diff --git a/www/desarrollo/sitios/index.php b/www/desarrollo/sitios/index.php new file mode 100644 index 0000000..8605795 --- /dev/null +++ b/www/desarrollo/sitios/index.php @@ -0,0 +1,32 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: index.php 14 2003-02-23 04:45:34Z luca $ +// + +?> + +En esta página se encuentran los sitios que estoy desarrollando actualmente. + diff --git a/www/facultad/.menu b/www/facultad/.menu new file mode 100644 index 0000000..b9aad03 --- /dev/null +++ b/www/facultad/.menu @@ -0,0 +1 @@ +Facultad \ No newline at end of file diff --git a/www/facultad/default-config.php b/www/facultad/default-config.php new file mode 100644 index 0000000..e5e30f6 --- /dev/null +++ b/www/facultad/default-config.php @@ -0,0 +1,34 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: default-config.php 5 2003-02-01 22:41:25Z luca $ +// + +global $CONFIG; + +$CONFIG['title'] = "Facultad"; +$CONFIG['menu']['deep'] = -1; + +?> diff --git a/www/facultad/index.php b/www/facultad/index.php new file mode 100644 index 0000000..0400532 --- /dev/null +++ b/www/facultad/index.php @@ -0,0 +1,32 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: index.php 4 2003-01-31 23:55:34Z luca $ +// + +?> + +Hola Mundo! + diff --git a/www/fotos/.album b/www/fotos/.album new file mode 100644 index 0000000..9d6ed9e --- /dev/null +++ b/www/fotos/.album @@ -0,0 +1 @@ +Album de fotos general, debería estar vacío :) diff --git a/www/fotos/.menu b/www/fotos/.menu new file mode 100644 index 0000000..d109989 --- /dev/null +++ b/www/fotos/.menu @@ -0,0 +1 @@ +Fotos \ No newline at end of file diff --git a/www/fotos/index.php b/www/fotos/index.php new file mode 100644 index 0000000..8e0fbfd --- /dev/null +++ b/www/fotos/index.php @@ -0,0 +1,37 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: index.php 6 2003-02-02 04:14:21Z luca $ +// + +require_once 'Hook/Album.php'; + +// Creates the album object. +$album =& new Hook_Album('.', 4); + +?> + +album() ?> + diff --git a/www/fotos/photo.php b/www/fotos/photo.php new file mode 100644 index 0000000..4cceea8 --- /dev/null +++ b/www/fotos/photo.php @@ -0,0 +1,61 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: photo.php 6 2003-02-02 04:14:21Z luca $ +// + +require_once 'Hook/Album.php'; + +// Creates the album object. +$album =& new Hook_Album('.', 4); + +$photo = @$_REQUEST['photo']; + +?> + + + + + + + + + + + + + + +
+
+
+ Á l b u m   d e   f o t o s +
+
+

+

photo($photo) ?>
+
+ + diff --git a/www/htaccess b/www/htaccess new file mode 100644 index 0000000..598dfd6 --- /dev/null +++ b/www/htaccess @@ -0,0 +1,33 @@ +# vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: +# +--------------------------------------------------------------------+ +# | Luca's Website (L'SWS) | +# +--------------------------------------------------------------------+ +# | This file is part of L'SWS. | +# | | +# | L'SWS is free software; you can redistribute it and/or modify it | +# | under the terms of the GNU General Public License as published by | +# | the Free Software Foundation; either version 2 of the License, or | +# | (at your option) any later version. | +# | | +# | L'SWS is distributed in the hope that it will be useful, but | +# | WITHOUT ANY WARRANTY; without even the implied warranty of | +# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | +# | General Public License for more details. | +# | | +# | You should have received a copy of the GNU General Public License | +# | along with Hooks; if not, write to the Free Software Foundation, | +# | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | +# +--------------------------------------------------------------------+ +# | Created: vie ene 31 00:47:59 ART 2003 | +# | Authors: Leandro Lucarella | +# +--------------------------------------------------------------------+ +# +# $Id: .htaccess 12 2003-02-22 15:53:42Z luca $ +# +# php directives +php_value auto_prepend_file "/home/luca/apache/includes/prepend.php" +php_value auto_append_file "/home/luca/apache/includes/append.php" +php_value include_path ".:/home/luca/apache/includes:/home/luca/apache/hooks/lib:/usr/share/pear" + +# Apache Options +Options +MultiViews diff --git a/www/images/home.png b/www/images/home.png new file mode 100644 index 0000000..365617f Binary files /dev/null and b/www/images/home.png differ diff --git a/www/images/menu_item.png b/www/images/menu_item.png new file mode 100644 index 0000000..28fad1a Binary files /dev/null and b/www/images/menu_item.png differ diff --git a/www/images/menu_parent.png b/www/images/menu_parent.png new file mode 100644 index 0000000..148d370 Binary files /dev/null and b/www/images/menu_parent.png differ diff --git a/www/images/menu_subitem.png b/www/images/menu_subitem.png new file mode 100644 index 0000000..758b77d Binary files /dev/null and b/www/images/menu_subitem.png differ diff --git a/www/images/valid-css.png b/www/images/valid-css.png new file mode 100644 index 0000000..9b2f596 Binary files /dev/null and b/www/images/valid-css.png differ diff --git a/www/images/valid-html401.png b/www/images/valid-html401.png new file mode 100644 index 0000000..3855210 Binary files /dev/null and b/www/images/valid-html401.png differ diff --git a/www/index.php b/www/index.php new file mode 100644 index 0000000..0400532 --- /dev/null +++ b/www/index.php @@ -0,0 +1,32 @@ + | +// +--------------------------------------------------------------------+ +// +// $Id: index.php 4 2003-01-31 23:55:34Z luca $ +// + +?> + +Hola Mundo! +