Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 1.1.6.0
- * @ Author : DeZender
- * @ Release on : 02.06.2013
- * @ Official site : http://DeZender.Net
- *
- */
- function uyeKontrol() {
- if (!$_SESSION['userID']) {
- @header( 'location:page.php?act=login&backto=' . @urlencode( $_SERVER['QUERY_STRING'] ) );
- exit( '<script>window.location = \'page.php?act=login&backto=' . urlencode( $_SERVER['QUERY_STRING'] ) . '\';</script>' );
- }
- }
- function slink($act, $op = '') {
- global $siteConfig;
- return ($siteConfig['seoURL'] ? $act . '_sp' . ($op ? '__op-' . $op : '') . '.html' : 'page.php?act=' . $act . ($op ? '&op=' . $op : ''));
- }
- function sepetGoster() {
- $sepet = str_replace( '<a ', '<xa ', showBasket( false ) );
- $sepet = str_replace( '</a>', '</xa> ', $sepet );
- $out = '<div id="sepetGoster">' . generateTableBox( '', $sepet, 'SepetBlock' ) . '</div>';
- return $out;
- }
- function alisverisSirasi() {
- global $tamamlandi;
- if ($_GET['act'] == 'sepet') {
- $out = 536;
- }
- if ($_GET['act'] == 'satinal') {
- if ($_GET['op'] == 'adres') {
- $out = 537;
- }
- if (( $_GET['op'] == 'adres' && $_POST['data_address'] )) {
- $out = 538;
- }
- if ($_GET['paytype']) {
- $out = 539;
- }
- if ($tamamlandi) {
- $out = 540;
- }
- }
- return $out;
- }
- function checkLogin() {
- if (function_exists( myCheckLogin )) {
- return myCheckLogin( );
- }
- global $siteConfig;
- if (basename( $_SERVER['PHP_SELF'] ) == 'update.php') {
- return null;
- }
- if (basename( $_SERVER['PHP_SELF'] ) == 'ajaxLib.php') {
- return null;
- }
- if (basename( $_SERVER['PHP_SELF'] ) == 'eposta.php') {
- return null;
- }
- if (( basename( $_SERVER['PHP_SELF'] ) == 'page.php' && $_GET['act'] == 'register' )) {
- return null;
- }
- if (basename( $_SERVER['PHP_SELF'] ) == 'login.php') {
- if (( $_SESSION['loginStatus'] || !$siteConfig['sadeceUye'] )) {
- header( 'location:index.php' );
- exit( '<script>window.location = \'index.php\';</script>' );
- }
- return null;
- }
- if (( !$_SESSION['loginStatus'] && $siteConfig['sadeceUye'] )) {
- header( 'location:login.php' );
- exit( '<script>window.location = \'login.php\';</script>' );
- }
- }
- .................................................................
- .......................................
- ...............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement