Advertisement
Guest User

Untitled

a guest
Aug 5th, 2013
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 1.1.6.0
  8. * @ Author : DeZender
  9. * @ Release on : 02.06.2013
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function uyeKontrol() {
  15. if (!$_SESSION['userID']) {
  16. @header( 'location:page.php?act=login&backto=' . @urlencode( $_SERVER['QUERY_STRING'] ) );
  17. exit( '<script>window.location = \'page.php?act=login&backto=' . urlencode( $_SERVER['QUERY_STRING'] ) . '\';</script>' );
  18. }
  19.  
  20. }
  21.  
  22. function slink($act, $op = '') {
  23. global $siteConfig;
  24.  
  25. return ($siteConfig['seoURL'] ? $act . '_sp' . ($op ? '__op-' . $op : '') . '.html' : 'page.php?act=' . $act . ($op ? '&op=' . $op : ''));
  26. }
  27.  
  28. function sepetGoster() {
  29. $sepet = str_replace( '<a ', '<xa ', showBasket( false ) );
  30. $sepet = str_replace( '</a>', '</xa> ', $sepet );
  31. $out = '<div id="sepetGoster">' . generateTableBox( '', $sepet, 'SepetBlock' ) . '</div>';
  32. return $out;
  33. }
  34.  
  35. function alisverisSirasi() {
  36. global $tamamlandi;
  37.  
  38. if ($_GET['act'] == 'sepet') {
  39. $out = 536;
  40. }
  41.  
  42.  
  43. if ($_GET['act'] == 'satinal') {
  44. if ($_GET['op'] == 'adres') {
  45. $out = 537;
  46. }
  47.  
  48.  
  49. if (( $_GET['op'] == 'adres' && $_POST['data_address'] )) {
  50. $out = 538;
  51. }
  52.  
  53.  
  54. if ($_GET['paytype']) {
  55. $out = 539;
  56. }
  57.  
  58.  
  59. if ($tamamlandi) {
  60. $out = 540;
  61. }
  62. }
  63.  
  64. return $out;
  65. }
  66.  
  67. function checkLogin() {
  68. if (function_exists( myCheckLogin )) {
  69. return myCheckLogin( );
  70. }
  71.  
  72. global $siteConfig;
  73.  
  74. if (basename( $_SERVER['PHP_SELF'] ) == 'update.php') {
  75. return null;
  76. }
  77.  
  78.  
  79. if (basename( $_SERVER['PHP_SELF'] ) == 'ajaxLib.php') {
  80. return null;
  81. }
  82.  
  83.  
  84. if (basename( $_SERVER['PHP_SELF'] ) == 'eposta.php') {
  85. return null;
  86. }
  87.  
  88.  
  89. if (( basename( $_SERVER['PHP_SELF'] ) == 'page.php' && $_GET['act'] == 'register' )) {
  90. return null;
  91. }
  92.  
  93.  
  94. if (basename( $_SERVER['PHP_SELF'] ) == 'login.php') {
  95. if (( $_SESSION['loginStatus'] || !$siteConfig['sadeceUye'] )) {
  96. header( 'location:index.php' );
  97. exit( '<script>window.location = \'index.php\';</script>' );
  98. }
  99.  
  100. return null;
  101. }
  102.  
  103.  
  104. if (( !$_SESSION['loginStatus'] && $siteConfig['sadeceUye'] )) {
  105. header( 'location:login.php' );
  106. exit( '<script>window.location = \'login.php\';</script>' );
  107. }
  108.  
  109. }
  110. .................................................................
  111. .......................................
  112. ...............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement