Skip to content

Instantly share code, notes, and snippets.

View aguimaraes's full-sized avatar

Alvaro Guimaraes aguimaraes

  • The Modern Milkman
  • Manchester, UK
  • 22:10 (UTC)
View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<mdfeCabecMsg xmlns="http://www.portalfiscal.inf.br/mdfe/wsdl/MDFeRetRecepcao">
<cUF>35</cUF>
<versaoDados>1.00</versaoDados>
</mdfeCabecMsg>
</soap12:Header>
<soap12:Body>
<mdfeDadosMsg xmlns="http://www.portalfiscal.inf.br/mdfe/wsdl/MDFeRetRecepcao">
Ext.define('LG.controller.Main', {
extend: 'Ext.app.Controller',
config: {
refs: {
pag: 'pag',
categories: 'categories',
//companylist: 'companylist',
//search: 'search',
},
function GetController(controller)
{
Ext.Ajax.request({
url: BASE+'common/conf',
params: {
controller: controller
},
success: function(response){
var json = Ext.decode( response.responseText );
<?php
$args=array(
'category__not_in' => array('9', '10', '12', '13')
);
$the_query = new WP_Query($args);
?>
<?php if ( $the_query->max_num_pages > 1 ) : ?>