--- /dev/null
+<?php
+// 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:31 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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$
+?>
--- /dev/null
+<?php
+// 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 21:05:38 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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];
+
+?>
+<!-- INICIO $Id: default-album-footer.php 9 2003-02-03 04:48:09Z luca $ -->
+ </TBODY>
+ </TABLE>
+</DIV>
+<!-- FIN $Id: default-album-footer.php 9 2003-02-03 04:48:09Z luca $ -->
--- /dev/null
+<?php
+// 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 21:00:33 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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];
+
+?>
+<!-- INICIO $Id: default-album-header.php 13 2003-02-23 04:12:48Z luca $ -->
+<H3 class="album"><?= $desc ?></H3>
+<DIV class="center">
+ <TABLE class="album">
+ <TBODY>
+<!-- FIN $Id: default-album-header.php 13 2003-02-23 04:12:48Z luca $ -->
--- /dev/null
+<?php
+// 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 21:04:30 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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];
+
+?>
+<!-- INICIO $Id: default-album-item-empty.php 6 2003-02-02 04:14:21Z luca $ -->
+<TD class="albumitem"> </TD>
+<!-- FIN $Id: default-album-item-empty.php 6 2003-02-02 04:14:21Z luca $ -->
--- /dev/null
+<?php
+// 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:53:31 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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];
+
+?>
+<!-- INICIO $Id: default-album-item.php 6 2003-02-02 04:14:21Z luca $ -->
+<TD class="albumitem">
+ <A class="albumitem" href="photo?photo=<?= urlencode( $photo ) ?>" title="<?= $desc ?>"><IMG alt="<?= $desc ?>" src="<?= $thumb ?>" class="albumitem"></A>
+</TD>
+<!-- FIN $Id: default-album-item.php 6 2003-02-02 04:14:21Z luca $ -->
--- /dev/null
+<?php
+// 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 21:37:00 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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];
+
+?>
+<!-- INICIO $Id: default-album-photo.php 6 2003-02-02 04:14:21Z luca $ -->
+<IMG class="albumphoto" alt="<?= $desc ?>" src="<?= $photo ?>"/>
+<DIV class="albumphoto"><? $desc ?></DIV>
+<!-- FIN $Id: default-album-photo.php 6 2003-02-02 04:14:21Z luca $ -->
--- /dev/null
+<?php
+// 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 21:08:44 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: default-album-row-footer.php 6 2003-02-02 04:14:21Z luca $
+//
+
+/**
+ * Draws an album row footer.
+ */
+
+?>
+<!-- INICIO $Id: default-album-row-footer.php 6 2003-02-02 04:14:21Z luca $ -->
+</TR>
+<!-- FIN $Id: default-album-row-footer.php 6 2003-02-02 04:14:21Z luca $ -->
--- /dev/null
+<?php
+// 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 21:08:44 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: default-album-row-header.php 6 2003-02-02 04:14:21Z luca $
+//
+
+/**
+ * Draws an album row header.
+ */
+
+?>
+<!-- INICIO $Id: default-album-row-header.php 6 2003-02-02 04:14:21Z luca $ -->
+<TR>
+<!-- FIN $Id: default-album-row-header.php 6 2003-02-02 04:14:21Z luca $ -->
--- /dev/null
+<?php
+// 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 01:16:41 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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'];
+
+?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- INICIO $Id: default-cabecera.php 13 2003-02-23 04:12:48Z luca $ -->
+<HTML lang="es">
+ <? Hook::hook('head') ?>
+ <BODY>
+ <TABLE class="structure">
+ <TBODY>
+ <TR>
+ <TD class="logocontainer">
+ <H1>Húngara</H1>
+ <DIV>el</DIV>
+ <DIV class="home">
+ <A href="<?= $root ?>/">
+ <IMG src="<?= $root ?>/images/home"
+ alt="Volver a la página inicial"/>
+ </A>
+ </DIV>
+ </TD>
+ <TD class="titlecontainer" colspan="2">
+ <H2><?= $title ?></H2>
+ </TD>
+ </TR>
+ <TR>
+ <TD class="menucontainer">
+ <? Hook_Menu::menu($menu['up'], $menu['root'], $menu['deep'], $menu['level']) ?>
+ </TD>
+ <TD class="bodycontainer" colspan="2">
+<!-- FIN $Id: default-cabecera.php 13 2003-02-23 04:12:48Z luca $ -->
--- /dev/null
+<?php
+// 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 01:16:41 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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;
+
+?>
--- /dev/null
+<?php
+// 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 01:23:22 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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']);
+
+?>
+<!-- INICIO $Id: default-head.php 9 2003-02-03 04:48:09Z luca $ -->
+<HEAD>
+ <TITLE>Luca's Home<?= $title ? ": $title" : '' ?></TITLE>
+ <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <META name="Description" content="<?= $desc ? $desc : $title ?>">
+<? foreach ($css as $style) { ?>
+ <LINK rel="stylesheet" href="<?= "$root/css/$style" ?>" type="text/css">
+<? } ?>
+</HEAD>
+<!-- FIN $Id: default-head.php 9 2003-02-03 04:48:09Z luca $ -->
--- /dev/null
+<?php
+// 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 01:28:24 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: default-menu-footer.php 5 2003-02-01 22:41:25Z luca $
+//
+
+/**
+ * Draws the menu header.
+ */
+
+?>
+<!-- INICIO $Id: default-menu-footer.php 5 2003-02-01 22:41:25Z luca $ -->
+ </TBODY>
+</TABLE>
+<!-- FIN $Id: default-menu-footer.php 5 2003-02-01 22:41:25Z luca $ -->
--- /dev/null
+<?php
+// 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 01:22:09 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: default-menu-header.php 13 2003-02-23 04:12:48Z luca $
+//
+
+/**
+ * Draws the menu header.
+ */
+
+?>
+<!-- INICIO $Id: default-menu-header.php 13 2003-02-23 04:12:48Z luca $ -->
+<TABLE class="menu">
+ <TBODY>
+<!-- FIN $Id: default-menu-header.php 13 2003-02-23 04:12:48Z luca $ -->
--- /dev/null
+<?php
+// 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 01:29:50 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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'];
+
+?>
+<!-- INICIO $Id: default-menu-item.php 13 2003-02-23 04:12:48Z luca $ -->
+<TR>
+ <TD class="menuitem">
+ <IMG src="<?= $root ?>/images/menu_item"
+ class="menuitem" alt="Flecha item"/>
+ <A href="<?= $link ?>">
+ <?= $name ?>
+ </A>
+ </TD>
+</TR>
+<!-- FIN $Id: default-menu-item.php 13 2003-02-23 04:12:48Z luca $ -->
--- /dev/null
+<?php
+// 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: lun feb 10 02:09:23 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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'];
+
+?>
+<!-- INICIO $Id: default-menu-parent.php 13 2003-02-23 04:12:48Z luca $ -->
+<TR>
+ <TD class="menuitem">
+ <IMG src="<?= $root ?>/images/menu_parent"
+ class="menuparent" alt="Flecha arriba"/>
+ <A href="<?= $link ?>">
+ <?= $name ?>
+ </A>
+ </TD>
+</TR>
+<!-- FIN $Id: default-menu-parent.php 13 2003-02-23 04:12:48Z luca $ -->
--- /dev/null
+<?php
+// 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 01:29:50 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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'];
+
+?>
+<!-- INICIO $Id: default-menu-subitem.php 13 2003-02-23 04:12:48Z luca $ -->
+<TR>
+ <TD>
+ <IMG src="<?= $root ?>/images/menu_subitem"
+ class="menusubitem" alt="Flecha subitem"/>
+ <A href="<?= $link ?>">
+ <?= $name ?>
+ </A>
+ </TD>
+</TR>
+<!-- FIN $Id: default-menu-subitem.php 13 2003-02-23 04:12:48Z luca $ -->
--- /dev/null
+<?php
+// 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:50:57 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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'];
+
+?>
+<!-- INICIO $Id: default-pie.php 11 2003-02-14 03:21:16Z luca $ -->
+ </TD>
+ </TR>
+ <TR>
+ <TD class="footseparator" colspan="3">
+ <HR class="footseparator"/>
+ </TD>
+ </TR>
+ <TR>
+ <TD class="validhtml">
+ <A href="http://validator.w3.org/check/referer"><IMG src="<?= $root ?>/images/valid-html401" alt="Valid HTML 4.01!" height="31" width="88"/></A>
+ </TD>
+ <TD class="copyleft">
+ <DIV class="lastupdate">
+ Última modificación:
+ <?= File_Util::lastModified($_SERVER['SCRIPT_FILENAME']) ?>
+ </DIV>
+ <DIV class="copyleft">
+ © Copyleft 1998-<?= strftime('%Y') ?> Leandro Lucarella (usando
+ <a href="http://svn.llucax.hn.org/svn/hooks/tronco/">Hooks</a>)
+ - Bajo licencia GPL
+ </DIV>
+ </TD>
+ <TD class="validcss">
+ <A href="http://jigsaw.w3.org/css-validator/validator?uri=<?= urlencode($_SERVER['SCRIPT_URI']) ?>"><IMG src="<?= $root ?>/images/valid-css" alt="Valid CSS!" height="31" width="88"/></A>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </BODY>
+</HTML>
+<!-- FIN $Id: default-pie.php 11 2003-02-14 03:21:16Z luca $ -->
--- /dev/null
+<?php
+// 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:53:15 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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 $
+?>
--- /dev/null
+#!/usr/bin/php4 -qC
+<?php
+// 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: dom feb 2 17:53:45 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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 $
+?>
--- /dev/null
+Página Inicial
\ No newline at end of file
--- /dev/null
+/* 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 <luca@lugmen.org.ar> |
+ * +--------------------------------------------------------------------+
+ *
+ * $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 $ */
--- /dev/null
+/* 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 <luca@lugmen.org.ar> |
+ * +--------------------------------------------------------------------+
+ *
+ * $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 $ */
--- /dev/null
+/* 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 <luca@lugmen.org.ar> |
+ * +--------------------------------------------------------------------+
+ *
+ * $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 $ */
--- /dev/null
+/* 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 <luca@lugmen.org.ar> |
+ * +--------------------------------------------------------------------+
+ *
+ * $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 $ */
--- /dev/null
+/* 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 <luca@lugmen.org.ar> |
+ * +--------------------------------------------------------------------+
+ *
+ * $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 $ */
--- /dev/null
+<?php
+// 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 01:16:41 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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;
+
+?>
--- /dev/null
+Desarrollo
--- /dev/null
+<?php
+// 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 01:16:41 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: default-config.php 14 2003-02-23 04:45:34Z luca $
+//
+
+global $CONFIG;
+
+$CONFIG['title'] = "Cosas que estoy desarrollando";
+$CONFIG['menu']['deep'] = 0;
+
+?>
--- /dev/null
+<?php
+// 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 20:03:30 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: index.php 14 2003-02-23 04:45:34Z luca $
+//
+
+?>
+<!-- INICIO $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.
+<!-- FIN $Id: index.php 14 2003-02-23 04:45:34Z luca $ -->
--- /dev/null
+<?php
+// 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 01:16:41 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: default-config.php 14 2003-02-23 04:45:34Z luca $
+//
+
+global $CONFIG;
+
+$CONFIG['title'] = "Sitios que estoy desarrollando";
+$CONFIG['menu']['deep'] = 0;
+
+?>
--- /dev/null
+<?php
+// 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 01:29:50 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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'];
+
+?>
+<!-- INICIO $Id: default-menu-item.php 14 2003-02-23 04:45:34Z luca $ -->
+<TR>
+ <TD class="menuitem">
+ <IMG src="<?= $root ?>/images/menu_item"
+ class="menuitem" alt="Flecha item"/>
+ <A href="<?= $link ?>">
+ <?= trim($link, './') ?>
+ </A>
+ </TD>
+</TR>
+<!-- FIN $Id: default-menu-item.php 14 2003-02-23 04:45:34Z luca $ -->
--- /dev/null
+<?php
+// 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 20:03:30 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: index.php 14 2003-02-23 04:45:34Z luca $
+//
+
+?>
+<!-- INICIO $Id: index.php 14 2003-02-23 04:45:34Z luca $ -->
+En esta página se encuentran los sitios que estoy desarrollando actualmente.
+<!-- FIN $Id: index.php 14 2003-02-23 04:45:34Z luca $ -->
--- /dev/null
+Facultad
\ No newline at end of file
--- /dev/null
+<?php
+// 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 01:16:41 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: default-config.php 5 2003-02-01 22:41:25Z luca $
+//
+
+global $CONFIG;
+
+$CONFIG['title'] = "Facultad";
+$CONFIG['menu']['deep'] = -1;
+
+?>
--- /dev/null
+<?php
+// 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 20:03:30 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: index.php 4 2003-01-31 23:55:34Z luca $
+//
+
+?>
+<!-- INICIO $Id: index.php 4 2003-01-31 23:55:34Z luca $ -->
+Hola Mundo!
+<!-- FIN $Id: index.php 4 2003-01-31 23:55:34Z luca $ -->
--- /dev/null
+Album de fotos general, debería estar vacío :)
--- /dev/null
+Fotos
\ No newline at end of file
--- /dev/null
+<?php
+// 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 20:14:32 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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);
+
+?>
+<!-- INICIO $Id: index.php 6 2003-02-02 04:14:21Z luca $ -->
+<? $album->album() ?>
+<!-- FIN $Id: index.php 6 2003-02-02 04:14:21Z luca $ -->
--- /dev/null
+<?php
+// 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 21:34:02 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $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'];
+
+?>
+<!-- INICIO $Id: photo.php 6 2003-02-02 04:14:21Z luca $ -->
+<DIV class="center"><A href="./">Volver</A></DIV>
+<TABLE valign="top" width="100%">
+<TBODY>
+ <TR>
+ <TD height="10" class="cuerpo">
+ </TD>
+ </TR>
+ <TR>
+ <TD class="delimitador">
+ <DIV class="delimitador" align="center">
+ Á l b u m d e f o t o s
+ </DIV>
+ </TD>
+ </TR>
+ <TR>
+ <TD class="cuerpo">
+ <P>
+ <CENTER><? $album->photo($photo) ?></CENTER>
+ </TD>
+ </TR>
+</TBODY>
+</TABLE>
+<div align="center"><a class="cuerpo" href="./">Volver</a></div>
+<!-- FIN $Id: photo.php 6 2003-02-02 04:14:21Z luca $ -->
--- /dev/null
+# 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 <luca@lugmen.org.ar> |
+# +--------------------------------------------------------------------+
+#
+# $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
--- /dev/null
+<?php
+// 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 20:03:30 ART 2003 |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: index.php 4 2003-01-31 23:55:34Z luca $
+//
+
+?>
+<!-- INICIO $Id: index.php 4 2003-01-31 23:55:34Z luca $ -->
+Hola Mundo!
+<!-- FIN $Id: index.php 4 2003-01-31 23:55:34Z luca $ -->