added googlemaps
some Layout fixes
@ -10,8 +10,8 @@ class PageApi extends \SYSTEM\PAGE\PageClass {
|
||||
throw new ERROR("test");
|
||||
}
|
||||
|
||||
public static function action_abc(){
|
||||
throw new ERROR("test2");
|
||||
public static function action_googlemaps(){
|
||||
return new googlemaps();
|
||||
}
|
||||
|
||||
}
|
||||
@ -9,10 +9,11 @@
|
||||
src="http://openstreetmap.org/openlayers/OpenStreetMap.js">
|
||||
</script>
|
||||
</head>
|
||||
<body style="background: beige;">
|
||||
<!--<body style="background: #3366CC;"> -->
|
||||
<body style="background: #6699FF;">
|
||||
|
||||
<div style="width: 900px; margin-right: auto; margin-left: auto;"><img src="danube/page/default_page/pics/css/font.png" /></div>
|
||||
<div class="hero-unit" style=" border: 1px solid black; box-shadow: 5px 5px 3px; background: black; width: 934px; padding: 0px; margin: 0; margin-bottom: 15px; padding-bottom: -10px; margin-left: auto; margin-right: auto; margin-top: -2px;">
|
||||
<div class="hero-unit" style=" border: 1px solid black; border-top: 1px solid black; box-shadow: 5px 5px 3px; background: black; width: 934px; padding: 0px; margin: 0; margin-bottom: 15px; padding-bottom: -10px; margin-left: auto; margin-right: auto; margin-top: -2px;">
|
||||
<div class="hero-unit" style="background: black; margin: 0; padding: 0; border-top-left-radius: 5px; border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 0; -webkit-border-bottom-left-radius: 0; -moz-border-bottom-left-radius: 0; -moz-border-bottom-right-radius: 0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;">
|
||||
|
||||
<!-- <div class="hero-unit" style=" height: 700px; margin-top: 0px; padding: 0;">
|
||||
@ -69,13 +70,13 @@
|
||||
|
||||
</div>
|
||||
<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
|
||||
<a class="right carousel-control" href="#myCarousel" data-slide="next">›</a>
|
||||
<a class="right carousel-control" href="?action=googlemaps" data-slide="next">›</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Three columns of text below the carousel -->
|
||||
<div class="hero-unit" style="line-height: 180%; fonz-size: 80%; border-radius: 0; border-right: 1px solid black; border-left: 1px solid black; padding: 0; padding-top: 15px; padding-bottom: 40px; margin: 0; margin-bottom: 3px; margin-left: 8px; margin-right: 8px; padding-left: 150px; padding-right: 150px; background: url(danube/page/default_page/pics/css/flower2.png) bottom no-repeat #fff8ca;">
|
||||
<div class="hero-unit" style="line-height: 180%; fonz-size: 80%; border-radius: 0; border-right: 1px solid black; border-left: 1px solid black; padding: 0; padding-top: 15px; padding-bottom: 40px; margin: 0; margin-bottom: 3px; margin-left: 8px; margin-right: 8px; padding-left: 150px; padding-right: 150px; background: url(danube/page/default_page/pics/css/flower2.png) bottom no-repeat beige;">
|
||||
|
||||
|
||||
<h3 style="color: navy;">Heading</h3>
|
||||
|
||||
9
danube/page/googlemaps/googlemaps.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
class googlemaps extends SYSTEM\PAGE\Page {
|
||||
public function html(){
|
||||
$vars = array();
|
||||
$vars['content'] = "test";
|
||||
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'googlemaps/googlemaps.tpl'), $vars);
|
||||
}
|
||||
}
|
||||
83
danube/page/googlemaps/googlemaps.tpl
Normal file
@ -0,0 +1,83 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>blue-danube-massage</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<script type="text/javascript"
|
||||
src="http://openstreetmap.org/openlayers/OpenStreetMap.js">
|
||||
</script>
|
||||
</head>
|
||||
<!--<body style="background: #3366CC;"> -->
|
||||
<body style="background: #6699FF;">
|
||||
|
||||
<div style="width: 900px; margin-right: auto; margin-left: auto;"><img src="danube/page/default_page/pics/css/font.png" /></div>
|
||||
<div class="hero-unit" style=" border: 1px solid black; border-top: 1px solid black; box-shadow: 5px 5px 3px; background: black; width: 934px; padding: 0px; margin: 0; margin-bottom: 15px; padding-bottom: -10px; margin-left: auto; margin-right: auto; margin-top: -2px;">
|
||||
<div class="hero-unit" style="background: black; margin: 0; padding: 0; border-top-left-radius: 5px; border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 0; -webkit-border-bottom-left-radius: 0; -moz-border-bottom-left-radius: 0; -moz-border-bottom-right-radius: 0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;">
|
||||
|
||||
<!-- <div class="hero-unit" style=" height: 700px; margin-top: 0px; padding: 0;">
|
||||
<div class="hero-unit" style=" margin-top: 0px; padding:7px; height: 200;">
|
||||
<img src="banner2.png" style="">
|
||||
</div>-->
|
||||
|
||||
<div class="navbar navbar-inverse" style="height: 32px; ">
|
||||
<div class="navbar-inner" style="border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; background: url(danube/page/default_page/pics/css/verlauf_header.png); ">
|
||||
<div class="1container">
|
||||
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="brand" href="#">News</a>
|
||||
<div class="nav-collapse collapse">
|
||||
<ul class="nav">
|
||||
<li class="active"><a href="#">Artists</a></li>
|
||||
<li><a href="#about">Community</a></li>
|
||||
<li><a href="#contact">Download</a></li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Contact <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">Action</a></li>
|
||||
<li><a href="#">Another action</a></li>
|
||||
<li><a href="#">Something else here</a></li>
|
||||
<li class="divider"></li>
|
||||
<li class="nav-header">Nav header</li>
|
||||
<li><a href="#">Separated link</a></li>
|
||||
<li><a href="#">One more separated link</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Carousel -->
|
||||
<div id="myCarousel" class="carousel slide" style="background: black; width: 916px; padding: 0; margin: 0; margin-left: auto; margin-right: auto; border-bottom: 1px solid black;">
|
||||
<div class="carousel-inner">
|
||||
<div style="width: 900px; padding: 0; margin: 0;">
|
||||
<iframe style="margin: 0 auto; display: block; width: 100%; height: 400px;" src="http://regiohelden.de/google-maps/map.php?width=600&height=300&hl=de&q=Heidelbergerstra%C3%9Fe%2017%2064673%20Zwingenberg+(Blue%20Danube%20Massage)&ie=UTF8&t=&z=14&iwloc=A&output=embed"
|
||||
frameborder="0" scrolling="no" marginheight="0" marginwidth="auto">
|
||||
</iframe>
|
||||
|
||||
</div>
|
||||
<a class="left carousel-control" href="index.php" data-slide="prev">‹</a>
|
||||
<a class="right carousel-control" href="index.php" data-slide="next">›</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Three columns of text below the carousel -->
|
||||
|
||||
|
||||
|
||||
<div class="hero-unit" style="background: url(danube/page/default_page/pics/css/verlauf_footer.png)no-repeat; text-align: right; font-size: 75%; color: grey; height: 25px; padding: 0; margin: 0; border-top-left-radius: 0; border-top-right-radius: 0; padding-bottom: 3px; padding-right: 3px;">
|
||||
WebCraft Media
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
BIN
danube/page/googlemaps/pics/css/balken.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
danube/page/googlemaps/pics/css/banner2.jpg
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
danube/page/googlemaps/pics/css/banner2.png
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
danube/page/googlemaps/pics/css/bottom_banner.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
danube/page/googlemaps/pics/css/flower.png
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
danube/page/googlemaps/pics/css/font.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
danube/page/googlemaps/pics/css/verlauf_footer.png
Normal file
|
After Width: | Height: | Size: 180 KiB |
BIN
danube/page/googlemaps/pics/css/verlauf_header.png
Normal file
|
After Width: | Height: | Size: 182 KiB |
BIN
danube/page/googlemaps/pics/photos/Masseur.jpg
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
danube/page/googlemaps/pics/photos/aussen.jpg
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
danube/page/googlemaps/pics/photos/bar_front.jpg
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
danube/page/googlemaps/pics/photos/hotstone_topf.jpg
Normal file
|
After Width: | Height: | Size: 146 KiB |
BIN
danube/page/googlemaps/pics/photos/liege.jpg
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
danube/page/googlemaps/pics/photos/portrait.jpg
Normal file
|
After Width: | Height: | Size: 110 KiB |
BIN
danube/page/googlemaps/pics/photos/redlight.jpg
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
danube/page/googlemaps/pics/photos/sideboard.jpg
Normal file
|
After Width: | Height: | Size: 85 KiB |
@ -3,4 +3,5 @@
|
||||
$autoload = SYSTEM\autoload::getInstance();
|
||||
|
||||
$autoload->registerFolder(dirname(__FILE__),'');
|
||||
$autoload->registerFolder(dirname(__FILE__).'/default_page','');
|
||||
$autoload->registerFolder(dirname(__FILE__).'/default_page','');
|
||||
$autoload->registerFolder(dirname(__FILE__).'/googlemaps','');
|
||||