X-Git-Url: https://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=blobdiff_plain;f=product%2Fhotelgate%2FIndex.pm;fp=product%2Fhotelgate%2FIndex.pm;h=d3fd3f96a5adbe493dd1e1eff85f13ed7556353d;hp=0000000000000000000000000000000000000000;hb=91a24944e0dbe54ba26b173dae648f3907311404;hpb=44ff093eb0423ce0d3397f785479a9958e53fd4a diff --git a/product/hotelgate/Index.pm b/product/hotelgate/Index.pm new file mode 100644 index 0000000..d3fd3f9 --- /dev/null +++ b/product/hotelgate/Index.pm @@ -0,0 +1,101 @@ +# $Id$ +# Main page of 'My::Project::hotelgate' +# Copyright (C) 2005 Jan Kratochvil +# +# This program 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; exactly version 2 of June 1991 is required +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +package product::hotelgate::Index; +require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway +our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; }; +our $CVS_ID=q$Id$; +use strict; +use warnings; + +use My::Web; + + +our @ListItem=( + "name"=>"HotelGate", + "priority"=>80, + "icon"=>"Admin-Login-icon.jpeg", + "summary"=>"Internet Public Access Gateway", + "description"=><<"HERE", +

User-friendly Internet access gateway providing separate rooms / areas +access control with a single central administration point.

+HERE + ); + +sub handler +{ +Wrequire 'product::hotelgate::Lib'; +my $W=product::hotelgate::Lib->init( + "css_push"=>"./Index.css", + ); + +my $ListItem=product::Lib->name_to_hashref("hotelgate"); + + +print <<"HERE"; +

@{[ product::Lib->title($ListItem) ]}

+HERE + +print rightimg <<"HERE","./rack-1u.jpeg","Rack mountable 1U cased"; +

Unique feature of this product is its control of Internet access for each +individual network segment connected through remotely located switches. One +example of such feature is its utilization for enabling/disabling Internet +specifically in each room of your hotel. No need to complicate the clients' +access by the usual tickets. Still even the ticketed access is provided.

+HERE + +print <<"HERE"; +

Features List

+ +

(@{[ a_href 'Spec.pm#feature','see more' ]} with descriptions included)

+ + + +HERE + +sub hotel_href($) +{ +my($content)=@_; + + return a_href_cc {""=>'http://www.hotelsevendays.com/', + "CZ"=>'http://www.hotelsevendays.cz/', + "RU"=>'http://www.hotelsevendays.ru/'},$content; +} + +print rightimg <<"HERE",hotel_href(img 'hotelsevendays.jpeg','Hotel Seven Days photo'); +

Pilot Deployment

+

The initial pilot deployment of this gateway is running since 2004 in +@{[ hotel_href 'Hotel Seven Days' ]}.

+HERE + + +exit; +} +1;