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 ayar($bilgi)
- {
- global $db;
- $sor = $db->table('dbo_siteayar')->select($bilgi)->limit(1)->getRow();
- return $sor->{$bilgi};
- }
- function sosyal($bilgi)
- {
- global $db;
- $sor = $db->table('dbo_sosyalmedya')->select($bilgi)->limit(1)->getRow();
- return $sor->{$bilgi};
- }
- function sec_session_start()
- {
- $domain = $site;
- $session_name = 'sec_session_id';
- $secure = false;
- $httponly = true;
- $cookieParams = session_get_cookie_params();
- session_set_cookie_params($cookieParams['lifetime'], $cookieParams['path'], $domain, $secure, $httponly);
- session_name($session_name);
- session_start();
- }
- function yuzde($a, $b)
- {
- $sonuc = (($a / $b) * 100) - 100;
- return ceil($sonuc);
- }
- function kazanc($a, $b)
- {
- $sonuc = $a - $b;
- $temizle = str_replace('-', '', $sonuc);
- return $temizle;
- }
- function karistir($arr)
- {
- $keys = [];
- foreach ($arr as $key => $value) {
- $keys[] = $key;
- }
- for ($i = count($keys) - 1; 1 <= $i; --$i) {
- $r = mt_rand(0, $i);
- if ($r != $i) {
- $tmp = $keys[$i];
- $keys[$i] = $keys[$r];
- $keys[$r] = $tmp;
- }
- }
- $result = [];
- foreach ($keys as $key) {
- $result[$key] = $arr[$key];
- }
- return $result;
- }
- function ilanislem($command, $page)
- {
- global $db;
- $explode = explode('**', $command);
- for ($i = 0; $i <= count($explode) - 1; $i++) {
- $sql_query[$i] = $db->customQuery($explode[$i]);
- if ($sql_query[$i]) {
- $sql_response[$i] = 1;
- continue;
- }
- $sql_response[$i] = 0;
- }
- }
- function esc_url($url)
- {
- if ('' == $url) {
- return $url;
- }
- $url = preg_replace('|[^a-z0-9-~+_.?#=!&;,/:%@$\\|*\'()\\x80-\\xff]|i', '', $url);
- $strip = ['%0d', '%0a', '%0D', '%0A'];
- ................................................................
- ......................................
- ..............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement