added googlemaps

some Layout fixes
This commit is contained in:
messerbill 2013-04-24 13:16:52 +02:00
parent 64a6e79b15
commit c45cef41d2
21 changed files with 101 additions and 7 deletions

View File

@ -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();
}
}

View File

@ -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">&lsaquo;</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">&rsaquo;</a>
<a class="right carousel-control" href="?action=googlemaps" data-slide="next">&rsaquo;</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>

View 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);
}
}

View 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&amp;height=300&amp;hl=de&amp;q=Heidelbergerstra%C3%9Fe%2017%2064673%20Zwingenberg+(Blue%20Danube%20Massage)&amp;ie=UTF8&amp;t=&amp;z=14&amp;iwloc=A&amp;output=embed"
frameborder="0" scrolling="no" marginheight="0" marginwidth="auto">
</iframe>
</div>
<a class="left carousel-control" href="index.php" data-slide="prev">&lsaquo;</a>
<a class="right carousel-control" href="index.php" data-slide="next">&rsaquo;</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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View File

@ -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','');