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
| $(function () { | |
| var contadorCamposAdicionar = 1; | |
| removeCampo('box-pedido-produto-1'); | |
| function removeCampo(idNovoCampo) { | |
| var novoCampo = $('#'+idNovoCampo+' a.removerCampo'); | |
| novoCampo.unbind("click"); | |
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
| <div id="box-pedido-produto-1" class="linhas"> | |
| <span> | |
| Produto | |
| <a href="#" class="removerCampo" data-id="box-pedido-produto-1"><img src="ico/no.png" class=" pedido-no" /></a> | |
| </span> | |
| <input type="text" class="produto_autocomplete produto" name="produto[]" data-count="1" /> | |
| <div id="produto_qv-1"></div> | |
| </div> |
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 | |
| require('../../dts/dbaSis.php'); | |
| require('../../dts/getSis.php'); | |
| require('../../dts/setSis.php'); | |
| require('../../dts/outSis.php'); | |
| $acao = ($_POST['acao'] ? $_POST['acao'] : $_GET['acao']); | |
| $acao = mysql_real_escape_string($acao); |
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 CORE_Plugin_PagSeguro extends Zend_Controller_Plugin_Abstract | |
| { | |
| public function preDispatch(Zend_Controller_Request_Abstract $request) | |
| { | |
| require_once 'PagSeguroLibrary/PagSeguroLibrary.php'; | |
| return $request; | |
| } |
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
| controller: | |
| public function buscaItensAction() | |
| { | |
| $query = $this->getRequest()->getParam('q'); | |
| $limit = $this->getRequest()->getParam('limit'); | |
| $reg = $this->model->buscaSelect( | |
| $query, | |
| $limit, |
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
| /* | |
| Exemplo: | |
| - Cria o cookie 'CookieTeste' com o valor 'HellowWorld!' que irá expirar quando o browser for fechado. | |
| GerarCookie('CookieTeste', 'HellowWorld!', 0); | |
| - Lê o conteúdo armazenado no cookie. | |
| LerCookie('CookieTeste'); | |
| - Exclúi o cookie. | |
| ExcluirCookie('CookieTeste'); | |
| */ | |
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
| SELECT col1, col2, @pv:=col3 AS 'col3' FROM table1 JOIN (SELECT @pv:=1)tmp WHERE col1=@pv |
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 | |
| /** | |
| * Zend Framework | |
| * | |
| * LICENSE | |
| * | |
| * This source file is subject to the new BSD license that is bundled | |
| * with this package in the file LICENSE.txt. | |
| * It is also available through the world-wide-web at this URL: | |
| * http://framework.zend.com/license/new-bsd |
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
Show hidden characters
| { | |
| "auto_complete_commit_on_tab ": false, | |
| "bold_folder_labels": true, | |
| "caret_style": "phase", | |
| "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
| "default_line_ending": "unix", | |
| "font_face": "Source Code Pro", | |
| "font_size": 12.0, | |
| "highlight_line": true, | |
| "ignored_packages": |