This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5:Instalar o links nos servidores: | |
[Comando]: | |
aptitude install links | |
//////////////////////////////////////// | |
Rota de E-mail bem vindo ao Wifiaqui: | |
[Dominio]/?admin=email_bem_vindo | |
Rota Alerta de Publicidades Desativadas: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
window.onload = function() { | |
var imprimir = document.querySelector("#imprimir"); | |
imprimir.onclick = function() { | |
imprimir.style.display = 'none'; | |
window.print(); | |
var time = window.setTimeout(function() { | |
imprimir.style.display = 'block'; | |
}, 1000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Incluindo a biblioteca | |
require_once("mpdf/mpdf.php"); | |
# Criando a instancia do Objeto | |
$pdf = new Mpdf(); | |
$html = "<h2>Usando a biblioteca MPDF.</h2>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
[ImageDimensionValidation] | |
This class is used to verify the image dimensions after upload. | |
@author Valdiney França | |
*/ | |
class ImageDimensionValidation | |
{ | |
private $image; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
[Image_dimensions] | |
This class is used to verify the image dimensions after upload. | |
@author Valdiney França | |
*/ | |
class Image_dimensions | |
{ | |
private $image; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Campanhas_Controller extends Controller | |
{ | |
protected $user; | |
protected $view; | |
protected $layout_pricipal; | |
protected $campanhas; | |
protected $upload; | |
public function __construct(Array $models, Array $services) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); // Sessao do php deve estar ativa | |
ini_set('display_errors',1); | |
ini_set('display_startup_erros',1); | |
error_reporting(E_ALL); | |
require_once __DIR__ . '/facebook/autoload.php'; | |
// configurar APP_ID e SECRET |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License | |
* @author Valdiney França <[email protected]> | |
* @version 0.1 | |
* With this class you can pass data into the text file of simple way. | |
*/ | |
class ExportToTxt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Login_Controller extends Controller | |
{ | |
protected $view; | |
protected $browser; | |
protected $device; | |
protected $send_email; | |
protected $radcheck; | |
protected $visitante; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(document).ready(function() { | |
$('.mais_ap').click(function() { | |
$('.mais_ap_div').toggle('slow'); | |
return false; | |
}); | |
$("#txtBusca").keyup(function() { | |
var text = $(this).val(); |