Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.5.0.0
- * @ Author : DeZender
- * @ Release on : 22.06.2018
- * @ Official site : http://DeZender.Net
- *
- */
- $po_terms = array('00' => 'Credit Card', '30' => 'Net 30', '60' => 'Net 60');
- function card_number_fix($ccno, $numeric = true)
- {
- $ccnew = '';
- $len = strlen($ccno);
- $c = 0;
- while ($c < $len) {
- $cc = $ccno[$c];
- $chr = ord($cc);
- if (48 <= $chr && $chr <= 57) {
- $ccnew .= $cc;
- }
- if (!$numeric) {
- if ($chr == 45) {
- $ccnew .= $cc;
- }
- if (65 <= $chr && $chr <= 90) {
- $ccnew .= $cc;
- }
- if (97 <= $chr && $chr <= 122) {
- $ccnew .= strtoupper($cc);
- }
- }
- $c++;
- }
- return $ccnew;
- }
- function ccencrypt($ccno, $which = 'T')
- {
- if (empty($ccno)) {
- return '';
- }
- $first = strtoupper(substr($ccno, 0, 1));
- if ($first == 'C' || $first == 'P') {
- return card_number_fix($ccno, false);
- }
- if ($first == 'E' || $first == 'T') {
- $ccno = ccdecrypt($ccno);
- }
- $ccno = card_number_fix($ccno);
- ......................................................................
- ........................................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement