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 | |
| if( !function_exists('get_thumb_url') ) | |
| { | |
| function get_thumb_url($size='thumbnail',$id=null) | |
| { | |
| $id = ( $id ?: get_post()->ID ); | |
| $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($id), $size ); | |
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
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8"/> | |
| <script type="text/javascript"> | |
| var PAYMILL_PUBLIC_KEY = '<DEIN_PAYMILL_PUBLIC_KEY>'; // live | |
| </script> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> | |
| <script type="text/javascript" src="https://bridge paymill de/"></script> | |
| <script type="text/javascript"> |
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
| public function get_attachments($id,$limit=FALSE,$type='prod') | |
| { | |
| if(!is_numeric($id)): | |
| $this->error = 'We need a valid numeric ID number to get the attachments. provided: '.$id; | |
| return false; | |
| endif; | |
| if( $limit && is_numeric($limit) ) $this->db->limit($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
| function validateStep() | |
| { | |
| var validated = true | |
| $('[id*="step"]:visible .error').removeClass('error'); | |
| $('[id*="step"]:visible .required :input').each(function(){ | |
| if( $(this).val().length <= 0 || !$(this).is(':checked') ) | |
| { | |
| $(this).parent().addClass('error'); |
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_once('quickpay.php'); | |
| $params = array( | |
| 'msgtype' => 'recurring', | |
| 'merchant' => 89898978, | |
| 'ordernumber' => '00002377010419105206', | |
| 'amount' => 400, | |
| 'currency' => 'DKK', |
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 | |
| $params = array( | |
| 'msgtype' => 'recurring', | |
| 'merchant' => 89898978, | |
| 'ordernumber' => 00002376630418111216, | |
| 'amount' => 400, | |
| 'currency' => 'DKK', | |
| 'autocapture' => 1, | |
| 'transaction' => 42309147, |
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_once('xml.php'); | |
| $url = "https://secure.quickpay.dk/api"; | |
| $protocol = 4; | |
| $msgtype = 'recurring'; | |
| $merchant = '89898978'; | |
| $ordernumber = 1334227428; |
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
| * { | |
| margin:0;padding:0; | |
| -moz-animation-duration: 3s; | |
| -webkit-animation-duration: 3s; | |
| animation-duration: 3s; | |
| -webkit-animation-delay: 3s; | |
| -moz-animation-delay: 3s; | |
| animation-delay: 3s; |
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($){ | |
| app = { | |
| init: function(config) { | |
| this.config = config; | |
| $(config.wrapper).hide(); |
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
| <section class="wrap"> | |
| <article> | |
| <div class="inner"> | |
| </div> | |
| </article> | |
| <article> | |
| <div class="inner"> |