fucking js trys and some small changes
This commit is contained in:
parent
222c4b2495
commit
5980882711
@ -5,9 +5,7 @@
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<script type="text/javascript"
|
||||
src="http://openstreetmap.org/openlayers/OpenStreetMap.js">
|
||||
</script>
|
||||
${js}
|
||||
</head>
|
||||
<!--<body style="background: #3366CC;"> -->
|
||||
<body style="background: #6699FF;">
|
||||
@ -29,24 +27,13 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="brand" href="#">News</a>
|
||||
<a class="brand" href="#">${menu_home}</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>
|
||||
<li class="active"><a href="#">${menu_prices}</a></li>
|
||||
<li><a href="#" onclick="javascript:loadcontent()" url="?action=googlemaps">${menu_contact}</a></li>
|
||||
<li><a href="#">${menu_gallery}</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div><!--/.nav-collapse -->
|
||||
@ -77,18 +64,14 @@
|
||||
|
||||
<!-- Three columns of text below the carousel -->
|
||||
<div id="space" style="height:10px; background: gold; margin-left: 9px; margin-right: 9px;"></div>
|
||||
<div class="hero-unit" style="line-height: 180%; fonz-size: 80%; border-top-left-radius: 0; border-top-right-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: 45px; padding-right: 150px; background: url(danube/page/default_page/pics/css/flower2.png) bottom no-repeat beige;">
|
||||
|
||||
|
||||
<h3 style="color: navy;">Heading</h3>
|
||||
Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
|
||||
Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
|
||||
Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod.
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="hero-unit" id="text" style="line-height: 180%; fonz-size: 80%; border-top-left-radius: 0; border-top-right-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: 45px; padding-right: 150px; background: url(danube/page/default_page/pics/css/flower2.png) bottom no-repeat beige;">
|
||||
|
||||
<div id="site-content-wrapper">
|
||||
<div id="site-content">${content}</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@ -2,8 +2,20 @@
|
||||
|
||||
class default_page extends SYSTEM\PAGE\Page {
|
||||
public function html(){
|
||||
$vars = array();
|
||||
$vars['content'] = "";
|
||||
$vars = array();
|
||||
$vars['menu_home'] = "Home";
|
||||
$vars['menu_contact'] = "Kontakt";
|
||||
$vars['menu_prices'] = "Preise";
|
||||
$vars['menu_gallery'] = "Einblicke";
|
||||
$vars['js'] = ' <script type="text/javascript" language="JavaScript" src="http://mojotrollz.eu/web/danube/danube/page/js/loadtexts.js">
|
||||
|
||||
</script>';
|
||||
$vars['content'] = '
|
||||
<h3 style="color: navy;">Heading</h3>
|
||||
Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
|
||||
Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
|
||||
Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod.';
|
||||
|
||||
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_page/danube.tpl'), $vars);
|
||||
}
|
||||
}
|
||||
1
danube/page/googlemaps/googlemaps.html
Normal file
1
danube/page/googlemaps/googlemaps.html
Normal file
@ -0,0 +1 @@
|
||||
<div>${content};</div>
|
||||
@ -3,7 +3,12 @@
|
||||
class googlemaps extends SYSTEM\PAGE\Page {
|
||||
public function html(){
|
||||
$vars = array();
|
||||
$vars['content'] = "test";
|
||||
$vars['content'] = '<div style="width: 900px; padding: 0; margin: 0; border: 1px solid red; height: 500px;">
|
||||
<iframe style="padding: 0; margin: 0; display: block; width: 100%; height: 500px;"
|
||||
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" marginwidth="auto">
|
||||
</iframe>
|
||||
</div>';
|
||||
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'googlemaps/googlemaps.tpl'), $vars);
|
||||
}
|
||||
}
|
||||
@ -1,83 +1,3 @@
|
||||
<!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; border: 1px solid red; height: 500px;">
|
||||
<iframe style="padding: 0; margin: 0; display: block; width: 100%; height: 500px;" 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" 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>
|
||||
<div id="site-content"></div>
|
||||
hallo ${content};
|
||||
</div>
|
||||
@ -1,6 +1,22 @@
|
||||
function loadContent()
|
||||
function loadcontent()
|
||||
{
|
||||
alert("huhuhuh");
|
||||
//alert("test");
|
||||
$("#site-content").load("http://mojotrollz.eu/web/danube/danube/page/googlemaps/googlemaps.tpl");
|
||||
}
|
||||
|
||||
$('.').on('click', loadContent);
|
||||
/*
|
||||
function loadAjaxContent(url) {
|
||||
var dataTmp;
|
||||
$.get(url, function (data) {
|
||||
dataTmp = data;
|
||||
bodyelem = $("html,body");
|
||||
bodyelem.animate({scrollTop: 0});
|
||||
}).complete(function() {
|
||||
$('#site-content-wrapper').slideUp({duration: 'slow',
|
||||
complete: function(){
|
||||
$('#site-content').html(dataTmp);
|
||||
$('#site-content-wrapper').slideDown('slow');
|
||||
site_content_is_visible = true;
|
||||
}});
|
||||
});
|
||||
}
|
||||
*/
|
||||
@ -6,7 +6,7 @@ require_once '../system/log/register_exception_shortcut.php';
|
||||
require_once '../system/log/register_errorhandler_jsonoutput.php'; //print errors as json to caller
|
||||
|
||||
SYSTEM\system::start(array( array(SYSTEM\CONFIG\config_ids::SYS_CONFIG_ERRORREPORTING, E_ALL | E_STRICT),
|
||||
array(SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL, 'www.mojotrollz.eu/web/danube/'),
|
||||
array(SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL, 'http://www.mojotrollz.eu/web/danube/'),
|
||||
array(SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEPATH, '/home/web/webdir/danube/'),
|
||||
array(SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_TYPE, SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_TYPE_MYS),
|
||||
array(SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_HOST, '127.0.0.1'),
|
||||
|
||||
Reference in New Issue
Block a user