Example #1
0
 /**
  * Show login form
  */
 protected function loginAction()
 {
     $template = new Template();
     $template->set('wwwRoot', $this->_configMain->get('wwwroot'));
     $template->resource = Resource::getInstance();
     Response::put($template->render('./templates/public/backoffice_login.php'));
     Application::close();
 }
<?php

/*
 ** Domain Multiplier v1.0
 ** Utilizado para multiplicar lista de domínios.
 ** Coded by Constantine - 07/2015 - https://github.com/jessesilva
 ** P0cL4bs Team: https://github.com/P0cL4bs
 ** Shadow Network: https://github.com/Shadow-Network
 */
error_reporting(0);
/* 
 ** Inicializa aplicação. 
 */
if (($application = new Application()) != null && $application->status() === true) {
    $application->startup();
    $application->close();
} else {
    die("Error to create class Application.\n");
}
/*
 ** Classe de controle da aplicação.
 */
class Application
{
    private $flag;
    private $domainList;
    private $outputFullURLFile;
    private $outputDomainFile;
    private $counter;
    private $step;
    /* Inicializa classe. */
Example #3
0
 /**
  * Show login form
  */
 protected function loginAction()
 {
     $template = new Template();
     $template->set('wwwRoot', $this->_configMain->get('wwwroot'));
     Response::put($template->render('./templates/system/' . $this->_configBackend->get('theme') . '/login.php'));
     Application::close();
 }