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
<?xml version="1.0" encoding="utf-8"?> | |
<modification> | |
<name>Add Custom field invoice</name> | |
<code>valdeir_custom_field_invoice</code> | |
<version>1.5</version> | |
<author>Valdeir Santana</author> | |
<link>http://www.valdeirsantana.com.br</link> | |
<file path="catalog/view/theme/*/template/checkout/payment_address.tpl,catalog/view/theme/*/template/checkout/shipping_address.tpl"> | |
<operation error="skip"> |
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 ControllerExtensionInstaller extends Controller { | |
private $error = array(); | |
public function index() { | |
$this->load->language('extension/installer'); | |
$this->document->setTitle($this->language->get('heading_title')); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<modification> | |
<name>API Permission</name> | |
<code>valdeir_api_permission</code> | |
<version>1.1</version> | |
<author>Valdeir Santana</author> | |
<link>http://www.valdeirsantana.com.br</link> | |
<file path="admin/controller/sale/order.php"> | |
<operation> | |
<search> |
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
DROP TABLE `Database`.`oc_address`; | |
DROP TABLE `Database`.`oc_affiliate`; | |
DROP TABLE `Database`.`oc_affiliate_activity`; | |
DROP TABLE `Database`.`oc_affiliate_login`; | |
DROP TABLE `Database`.`oc_affiliate_transaction`; | |
DROP TABLE `Database`.`oc_ajax_product_option`; | |
DROP TABLE `Database`.`oc_api`; | |
DROP TABLE `Database`.`oc_api_ip`; | |
DROP TABLE `Database`.`oc_api_session`; | |
DROP TABLE `Database`.`oc_attribute`; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<modification> | |
<name>Categories Page Product</name> | |
<code>valdeir_categories</code> | |
<version>1.0</version> | |
<author>Valdeir Santana</author> | |
<link>https://www.valdeirsantana.com.br</link> | |
<file path="admin/controller/catalog/product.php"> | |
<operation> | |
<search> |
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 ControllerLocalisationCurrency extends Controller | |
{ | |
public function index() | |
{ | |
$data = array(); | |
$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "currency WHERE code != '" . $this->db->escape($this->config->get('config_currency')) . "'"); |
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
<!DOCTYPE hml> | |
<html> | |
<head> | |
<title>Title of the document</title> | |
<style> | |
* {margin:0;padding:0} | |
#img {margin:0 auto;height:auto;overflow:hidden;position:relative;width:350px;} | |
#img #main {left:0;position:relative;top:0;width:350px;} | |
#img #arrow {left:0;position:absolute;top:0;} | |
#area {background:red;height:50px;width:50px;left:0;position:relative;top:0;z-index:1} |
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
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous"> | |
<?php | |
$content = file_get_contents("https://www.infomoney.com.br/mercados/cambio"); | |
$dom = new domDocument(); | |
@$dom->loadHTML($content); | |
$xpath = new DOMXpath($dom); |
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
{ | |
"info": { | |
"name": "StackOverflow #278574", | |
"_postman_id": "9d080934-2035-0e69-6145-b0b679eb03a4", | |
"description": "", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "\"Pede\" Autorização", |
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 | |
/** | |
* Código responsável pela validação de CPF e data de nascimento para o GUMP (https://github.com/Wixel/GUMP) | |
* @author: Valdeir Psr | |
*/ | |
require_once "vendor/autoload.php"; | |
class ValidatorPsr extends GUMP { |
OlderNewer