App-SilverSplash
view release on metacpan or search on metacpan
htdocs/header.tmpl view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="stylesheet" type="text/css" href="[% cdn_host %]/css/zendesk.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="[% cdn_host %]/css/triple_a.css" />
<!--[if IE 6]><link rel="stylesheet" type="text/css" href="[% cdn_host %]">/css/triple_a_ie6.css" /><![endif]-->
<title>Choose a WiFi Option to connect to the Internet - Silver Lining Networks Captive Portal</title>
</head>
<div id="section_all" style="display: block;">
htdocs/splash_ads.tmpl view on Meta::CPAN
<!--/* OpenX Javascript Tag v2.6.4 */-->
<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://ads.slwifi.com/www/delivery/ajs.php':'http://ads.slwifi.com/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=40&block=1");
document.write ('&cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
document.write ("&loc=" + escape(window.location));
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://ads.slwifi.com/www/delivery/ck.php?n=a71febe5&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.slwifi.com/www/delivery/avw.php?zoneid=40&n=a71febe5' border='0' alt='' /></a></noscri...
<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://ads.slwifi.com/www/delivery/ajs.php':'http://ads.slwifi.com/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=40&block=1");
document.write ('&cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
document.write ("&loc=" + escape(window.location));
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://ads.slwifi.com/www/delivery/ck.php?n=a71febe5&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.slwifi.com/www/delivery/avw.php?zoneid=40&n=a71febe5' border='0' alt='' /></a></noscri...
</div>
<div class="clear"></div>
lib/App/SilverSplash/Apache2.pm view on Meta::CPAN
my %tmpl = (
perlbal => 'http://' . $class->lan_ip . ':' . $Config->sl_perlbal_port,
cdn_host => $Config->sl_cdn_host,
mac => URI::Escape::uri_escape($mac),
url => URI::Escape::uri_escape($dest_url),
cp_mac => URI::Escape::uri_escape( $class->wan_mac ),
provider_href => $Config->sl_account_website,
provider_logo => $Config->sl_account_logo,
);
$r->content_type('text/html; charset=UTF-8');
$r->no_cache(1);
$r->rflush;
my $output;
$Template->process( 'splash.tmpl', \%tmpl, \$output )
|| die $Template->error;
$r->print($output);
return Apache2::Const::OK;
}
lib/App/SilverSplash/Apache2.pm view on Meta::CPAN
mac => URI::Escape::uri_escape($mac),
url => $url, #URI::Escape::uri_escape($url),
cp_mac => URI::Escape::uri_escape( $class->wan_mac ),
provider_href => $Config->sl_account_website,
provider_logo => $Config->sl_account_logo,
);
my $output;
$Template->process( 'free.tmpl', \%tmpl, \$output )
|| die $Template->error;
$r->content_type('text/html; charset=UTF-8');
$r->no_cache(1);
$r->rflush;
$r->print($output);
return Apache2::Const::OK;
}
elsif ( $r->method_number == Apache2::Const::M_POST ) {
my $terms = $req->param('terms');
lib/App/SilverSplash/Apache2.pm view on Meta::CPAN
url => $url, #URI::Escape::uri_escape($url),
cp_mac => URI::Escape::uri_escape( $class->wan_mac ),
provider_href => $Config->sl_account_website,
provider_logo => $Config->sl_account_logo,
button => $b,
);
my $output;
$Template->process( 'paid.tmpl', \%tmpl, \$output )
|| die $Template->error;
$r->content_type('text/html; charset=UTF-8');
$r->no_cache(1);
$r->rflush;
$r->print($output);
return Apache2::Const::OK;
}
elsif ( $r->method_number == Apache2::Const::M_POST ) {
my $terms = $req->param('terms');
( run in 0.698 second using v1.01-cache-2.11-cpan-4d50c553e7e )