View Rotas de envio de Email
This file contains 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: |
View Exemplo_para_o_Medium_imprimir_com_js.js
This file contains 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); |
View Exemplo_para_o_Medium.php
This file contains 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>"; |
View ImageDimensionValidation .php
This file contains 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; |
View Image_dimensions.php
This file contains 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; |
View Controller_Exemplo.php
This file contains 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) |
View Login_facebook.php
This file contains 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 |
View ExportToTxt.php
This file contains 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 <valdiney.2@hotmail.com> | |
* @version 0.1 | |
* With this class you can pass data into the text file of simple way. | |
*/ | |
class ExportToTxt |
View Login_Controller.php
This file contains 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; |
View Filtragem_em_lista.js
This file contains 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(); |