<?php /** * @author Pierre-Henry Soria <*****@*****.**> * @copyright (c) 2012-2015, Pierre-Henry Soria. All Rights Reserved. * @license GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. * @package PH7 / App / System / Global / View / Base / Other */ namespace PH7; defined('PH7') or exit('Restricted access'); use PH7\Framework\Layout\Html\Design; $oDesign = new Design(); $oDesign->htmlHeader(); $aMeta = ['title' => t('Free Dating Social Community - Your IP is banned') . ' - ' . Core::SOFTWARE_NAME . ' | ' . Core::SOFTWARE_COMPANY, 'description' => t('Free Dating Social Community - Your IP is banned') . ' ' . Core::SOFTWARE_DESCRIPTION, 'keywords' => t('banned,ban,dating site,free online dating social,social network,dating')]; ?> <!-- Begin Header --> <?php $oDesign->usefulHtmlHeader($aMeta, true); ?> <!-- End Header --> <!-- Begin Content --> <div id="content" class="s_padd"> <br /> <h1 class="err_msg"><?php echo t('Sorry, your IP or your location is banned!'); ?> </h1> <p> <?php
public function __destruct() { parent::__destruct(); unset($this->_oCache); }
<?php /** * @author Pierre-Henry Soria <*****@*****.**> * @copyright (c) 2012-2015, Pierre-Henry Soria. All Rights Reserved. * @license GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. * @package PH7 / App / System / Global / View / Base / Error */ namespace PH7; defined('PH7') or exit('Restricted access'); use PH7\Framework\Layout\Html\Design; $oDesign = new Design(); $oDesign->htmlHeader(); echo '<html><head><meta charset="utf-8" /><title>Fatal Error: Exception</title><meta name="author" content="pH7CMS, Pierre-Henry Soria" /><meta name="copyright" content="(c) 2012-2015, Pierre-Henry Soria. All Rights Reserved" /><meta name="creator" content="pH7CMS, Pierre-Henry Soria" /><meta name="designer" content="pH7CMS, Pierre-Henry Soria" /><meta name="generator" content="pH7CMS" /><style>.debug_cont{font-family:Arial,Verdana,Helvetica,sans-serif;font-size:14px;color:#333;padding:15px 0;width:100%;margin:0 auto}.debug_body{background:#fff;border:4px double;padding:5px}.debug_cap{font:bold 13px "Trebuchet MS",Verdana,Helvetica,Arial,serif;color:#fff;padding:5px;border:1px solid #000;width:250px;margin-top:-20px;margin-bottom:10px}.debug_body .notice{background:#fdf403;color:#555}.debug_body .warning{background:#f8b423;color:#555}.debug_body .error{background:#c10505;color:#fff}.debug_body .exception{background:#093dd3;color:#fff}.debug_body .vardump{background:#333;color:#fff}.vardumper .string{color:green}.vardumper .null,.vardumper .array,.vardumper .bool{color:blue}.vardumper .property{color:brown}.vardumper .number{color:red}.vardumper .class{color:black}.vardumper .class_prop{color:brown}pre{font-size:12px;border:1px solid #36c;background-color:#e5ecf9;padding:.5em}</style></head><body><div class="debug_cont"><div class="debug_body"><div class="debug_cap exception">' . Core::SOFTWARE_NAME . ' Debug - Exception</div><table><tr><td>Message:</td><td>' . $oExcept->getMessage() . '</td></tr><tr><td>File:</td><td>' . $oExcept->getFile() . '</td></tr><tr><td>Line:</td><td>' . $oExcept->getLine() . '</td></tr><tr><td>Trace:</td><td><pre>' . $oExcept->getTraceAsString() . '</pre></td></tr></table></div></div>'; $oDesign->htmlFooter();
<?php /** * @author Pierre-Henry Soria <*****@*****.**> * @copyright (c) 2012-2016, Pierre-Henry Soria. All Rights Reserved. * @license GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. * @package PH7 / App / System / Core / Asset / Ajax / Popup */ namespace PH7; defined('PH7') or exit('Restricted access'); use PH7\Framework\Mvc\Request\Http, PH7\Framework\Layout\Html\Design, PH7\Framework\Url\Url, PH7\Framework\Mvc\Router\Uri, PH7\Framework\Url\Header; if (AdminCore::auth() || UserCore::auth() || AffiliateCore::auth()) { $oHttpRequest = new Http(); $oDesign = new Design(); $oDesign->htmlHeader(); $oDesign->usefulHtmlHeader(); echo '<div class="center">'; if ($oHttpRequest->getExists(array('mod', 'ctrl', 'act', 'id'))) { $sLabel = $oHttpRequest->get('label'); $sMod = $oHttpRequest->get('mod'); $sCtrl = $oHttpRequest->get('ctrl'); $sAct = $oHttpRequest->get('act'); $mId = $oHttpRequest->get('id'); ConfirmCoreForm::display(array('label' => Url::decode($sLabel), 'module' => $sMod, 'controller' => $sCtrl, 'action' => $sAct, 'id' => $mId)); } else { echo '<p>' . t('Bad parameters in the URL!') . '</p>'; } echo '</div>'; $oDesign->htmlFooter(); unset($oHttpRequest, $oDesign);
<?php /** * @author Pierre-Henry Soria <*****@*****.**> * @copyright (c) 2012-2015, Pierre-Henry Soria. All Rights Reserved. * @license GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. * @package PH7 / App / System / Module / User / Asset / Ajax / Popup */ namespace PH7; defined('PH7') or exit('Restricted access'); use PH7\Framework\Layout\Html\Design; // Show the form only if nobody is logged! if (!User::auth()) { // Ok nobody no one is connected, it displays the login form box! $oDesign = new Design(); $oDesign->htmlHeader(); $oDesign->usefulHtmlHeader(); JoinForm::step1(); $oDesign->htmlFooter(); }