<?php

class googlemaps extends SYSTEM\PAGE\Page {
    public function html(){
        $vars = array();                        
        $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&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" marginwidth="auto">
                            </iframe>
                            </div>';
        return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'googlemaps/googlemaps.tpl'), $vars);
    }
}