PHP Classes

File: fake-admin-panel/install/info/in_conclusion.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Fake PHP Admin Panel HoneyPot   fake-admin-panel/install/info/in_conclusion.php   Download  
File: fake-admin-panel/install/info/in_conclusion.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Fake PHP Admin Panel HoneyPot
Implements a fake admin panel for a site
Author: By
Last change:
Date: 4 years ago
Size: 1,688 bytes


Class file image Download
 * @author Pierre-Henry Soria <>
 * @copyright (c) 2012-2018, Pierre-Henry Soria. All Rights Reserved.
 * @license GNU General Public License <>
 * @package PH7 / App / Module / Fake Admin Panel / Install / Info

namespace PH7;

defined('PH7') or exit('Restricted access');

/* Install Conclusion */

// Default values variables
$sHtml = '';

$sCode = <<<'EOS'
<li class="menu-item dropdown dropdown-submenu"><a href="{{ $design->url('m/fake-admin-panel', 'admin', 'index') }}">{lang 'Fake Admin Panel'}</a>
  <ul class="dropdown-menu" role="menu">
    <li><a href="{{ $design->url('m/fake-admin-panel', 'admin', 'config') }}">{lang 'Config Fake Admin Panel'}</a></li>

$sFindCode = <<<'EOS'
'{lang 'Universal Login Config'}</a></li>'

/*** Begin Contents ***/

$sHtml .= '<p>' . t('The installation is finished.') . '</p>';
$sHtml .= '<p class="underline">' . t('Please add the module link into the menu file.') . '</p>';
$sHtml .= '<p>' . t('1) Open the "%0%" file.', '<em>~/templates/themes/base/tpl/</em>') . '</p>';
$sHtml .= '<p>' . t('2) Find this piece of code "%0%" and add the following code after it.', escape($sFindCode)) . '</p>';
$sHtml .= '<textarea cols="65" rows="7" readonly="readonly" onclick="this.focus();;">' . $sCode . '</textarea>';
$sHtml .= '<p>' . t('3) Save the file and go to your Admin Panel -> Mods -> Fake Admin Panel -> Config Fake Admin Panel') . '</p>';
$sHtml .= '<p>' . t('4) Done!') . '</p>';
$sHtml .= '<p>' . t('Thank you for using the module!') . '</p>';

/*** End Contents ***/

// Output!
return $sHtml;