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 | |
include_once 'lib/httpHeader.php'; | |
// HTTP Header ausgeben | |
header(httpHeader::STATUS_200); | |
header(httpHeader::ENCODING_UTF8); | |
header(httpHeader::CONTENT_TYPE_HTML); | |
function echoValue($name) { | |
global $tplData; |
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
$query = $dbObject->prepare("INSERT INTO `promo_actimel-ch_data` | |
( | |
`locale`, | |
`code`, | |
`price`, | |
`check_price`, | |
`place`, | |
`gender`, | |
`surname`, | |
`lastname`, |
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 | |
include 'lib/promoCashback.php'; | |
$data = array(); | |
$data['locale'] = "ch_de"; | |
$data['code'] = "22277AWR7"; | |
$data['check_price'] = "0"; | |
$data['place'] = "Test"; | |
$data['gender'] = "m"; |
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 | |
error_reporting(0); | |
ini_set('display_errors', 0); | |
set_time_limit(0); | |
ignore_user_abort(true); | |
require_once '../lib/dbObject.php'; | |
$sql = "SELECT |
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 s = window.location.search.substring(1).split('&'); | |
if(!s.length) return; | |
window.$_GET = {}; | |
for(var i = 0; i < s.length; i++) { | |
var parts = s[i].split('='); | |
window.$_GET[unescape(parts[0])] = unescape(parts[1]); | |
} | |
}()) |
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
# Colortheme for 'ls' | |
export CLICOLOR=1 | |
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
# Tab Auto Completion | |
bind 'TAB:menu-complete' | |
function parse_git_dirty { | |
[[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" | |
} |
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
/** | |
* Shopify Checkout Hack | |
* | |
* This scipt helps to modify the Shopify Checkout Pages. To run this script, add your | |
* code for each checkout step, compress your code with a tool of your choice and paste | |
* it to: | |
* | |
* Admin > General > Google Analytics > Additional Google Analytics Javascript | |
* | |
* @author Christoph Vieth <[email protected]> |