public static function getPDO() { $MBConfig = MeinBlog::getConfig(); // global $MBDatabase; $MBDatabase = new MeinBlogPDO($MBConfig->property('deploy_level'), $MBConfig->property('db_username'), $MBConfig->property('db_password'), $MBConfig->property('db_host'), $MBConfig->property('db_port'), $MBConfig->property('db_scheme'), $MBConfig->property('db_charset')); return $MBDatabase; }
height: auto; min-height: 500px; float: right; } </style> </head> <body> <div id="header"> <h1> <?php echo MeinBlog::getConfig()->property('MeinBlog_Title'); ?> <br> <small> <?php echo MeinBlog::getConfig()->property('MeinBlog_Subtitle'); ?> </small> </h1> </div> <div id="middle"> <?php if (empty($user_id)) { ?> <div class="message_box"> <h3> Message: </h3> <p> You have not logined into MeinBlog, or you are not in Admin Group. Now directing to homepage in 3 seconds. </p>