Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- function paraBirimleri($return = false, $options = ['icon' => true])
- {
- global $ayarPara;
- global $parBirimleri;
- if ($return) {
- return json_decode($ayarPara['extraparabirimi'], true) ?? [];
- }
- foreach (json_decode($ayarPara['extraparabirimi'], true) ?? [] as $k => $extraPara) {
- if ($icon = $parBirimleri[$k]) {
- if ($options['icon']) {
- $icon = explode(')', explode('(', $icon)[1])[0];
- }
- else {
- $icon = '';
- }
- echo '<a href="' . $_SERVER['REQUEST_URI'] . (strstr($_SERVER['REQUEST_URI'], '?') ? '¶=' : '?para=') . $k . '" ' . ($_SESSION['k_para'] == $k ? 'class="activelangcur"' : '') . ' rel="nofollow"><strong>' . $icon . '</strong> ' . mb_strtoupper($k, 'UTF-8') . '</a>';
- }
- }
- }
- function doviz($data, $sembol = false, $ayarpara = false, $select = ['fiyat', 'ifiyat', 'tutar', 'toplam_tutar', 'indirim'])
- {
- global $ayarPara;
- if (is_array($data)) {
- foreach ($select as $se) {
- if ($ayarpara && $ayarPara['ilan_para_birimi']) {
- if ($sembol) {
- $data[$se . '_full'] = para_format($data[$se]) . ' ' . $data['pbirim'];
- }
- }
- else {
- $data[$se] = dovizCevir($data[$se]);
- if ($sembol) {
- $data[$se . '_full'] = dovizCevirSembol(para_format($data[$se]));
- }
- }
- }
- }
- else if ($ayarpara && $ayarPara['para_birimi']) {
- if ($sembol) {
- $data = para_format($data) . ' ' . $ayarPara['pbirim'];
- }
- }
- else if ($sembol) {
- $data = dovizCevirSembol(para_format($data));
- }
- else {
- $data = dovizCevir(para_format($data));
- .........................................................
- ....................................
- .................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement