I see, I see... Try this?
PHP Code:
<?php
class IndexView extends View{
public function index(){
$mysidia = Registry::get("mysidia");
$document = $this->document;
$document->setTitle(" Welcome to Auratus Ghoti - Opening late 2015 ");
if(!$mysidia->user->isloggedin){
$document->add(new Comment("
<div style='min-height: 100%; background-color: white; position: fixed;width: 100%;top: 0px;left: 0px;z-index: 9999;'>
<div style='position: relative; top: 50%; background-color: white; padding: 20px; border-radius:7px;'>
<center><a href='http://auratusghoti.com/forum' target='_blank'><img src='http://i134.photobucket.com/albums/q93/flippin_k_moon/splashpage2.png'/></a></center>
<center> Auratus Ghoti is an in development Goldfish Breeding Sim where the player controls a school of goldfish as they build their school and please the creatures that they believe are gods. For a <center>limited time, the alpha forums are open for new members who are interested in joining the alpha test of this game. Alpha testing is scheduled to start in late 2015.</center>
<a href='http://auratusghoti.com/forum' target='_blank'>Join the forum here!</a> <a href='http://auratusghoti.tumblr.com' target='_blank'>Follow us on Tumblr!</a> <a href='http://auratusghoti.wikia.com/' target='_blank'>View the official wiki!</a></center>
<script async src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
<!-- Ad space -->
<ins class='adsbygoogle'
style='display:block'
data-ad-client='ca-pub-1249390240201341'
data-ad-slot='2925505659'
data-ad-format='auto'></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div> ", FALSE));
}
}
}
?>
I changed the embedded css a bit (setting these elements positions to 'fixed' breaks them out of their 'real' location). It's also unnecessary to have an extra set of doctype/body/html elements so I removed them. They already exist.
I also somehow spaced on the whole usergroup thing from earlier... and I wrote in a check to simply see if the user is logged in or not. If they're not, they'll see this. To still access the page '/login' and not automatically be redirected to the index, make sure you don't have my mod for that installed because then you'd never be able to log in.