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 | |
/** | |
* Return the PMT Value / PHP (Brazil) | |
* @author Júlio César Gonçalves de Oliveira <julio@pinguineras.com.br> | |
* @response Integer | |
* | |
**/ | |
$initialValue = 600; | |
$tax = 10; // % |
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
/*! | |
* jQuery Cycle Plugin (with Transition Definitions) | |
* Examples and documentation at: http://jquery.malsup.com/cycle/ | |
* Copyright (c) 2007-2013 M. Alsup | |
* Version: 3.0.3 (11-JUL-2013) | |
* Dual licensed under the MIT and GPL licenses. | |
* http://jquery.malsup.com/license.html | |
* Requires: jQuery v1.7.1 or later | |
*/ | |
;(function($, undefined) { |
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
/*! | |
* jQuery Cycle Plugin (with Transition Definitions) | |
* Examples and documentation at: http://jquery.malsup.com/cycle/ | |
* Copyright (c) 2007-2013 M. Alsup | |
* Version: 3.0.3 (11-JUL-2013) | |
* Dual licensed under the MIT and GPL licenses. | |
* http://jquery.malsup.com/license.html | |
* Requires: jQuery v1.7.1 or later | |
*/ | |
;(function($, undefined) { |
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
<div class="fb-like" data-href="{HREF}" data-send="false" data-width="100%" data-show-faces="false"></div> | |
<script type="text/javascript"> | |
window.fbAsyncInit = function() { | |
FB.init({appId: '{APPID}', status: true, cookie: true, xfbml: true}); | |
FB.Event.subscribe('edge.create', function(href, widget) { | |
alert('Legal, você curtiu o link: ' + href); | |
}); | |
FB.Event.subscribe('edge.remove', function(href, widget) { |
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
$(function(){ | |
$(<element>).scrollToFixed({ | |
preFixed: function() { | |
}, | |
preAbsolute: function() { | |
$(this).css({'opacity':'0'}); | |
}, | |
postFixed: function() {}, | |
postAbsolute: function(){ | |
$(this).css({'opacity':'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
<?php | |
class ControllerSaleOrder extends Controller { | |
private $error = array(); | |
public function index() { | |
$this->load->language('sale/order'); | |
$this->document->setTitle($this->language->get('heading_title')); | |
$this->load->model('sale/order'); |