Advertisement
Guest User

Untitled

a guest
Jun 13th, 2013
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for SourceGuardian & phpSHIELD)
  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. class clsTbsLocator {
  15. public $PosBeg = false;
  16. public $PosEnd = false;
  17. public $Enlarged = false;
  18. public $FullName = false;
  19. public $SubName = '';
  20. public $SubOk = false;
  21. public $SubLst = array( );
  22. public $SubNbr = 0;
  23. public $PrmLst = array( );
  24. public $PrmIfNbr = false;
  25. public $MagnetId = false;
  26. public $BlockFound = false;
  27. public $FirstMerge = true;
  28. public $ConvProtect = true;
  29. public $ConvHtml = true;
  30. public $ConvMode = 1;
  31. public $ConvBr = true;
  32. }
  33.  
  34. class clsTbsDataSource {
  35. public $Type = false;
  36. public $SubType = 0;
  37. public $SrcId = false;
  38. public $Query = '';
  39. public $RecSet = false;
  40. public $RecKey = '';
  41. public $RecNum = 0;
  42. public $RecNumInit = 0;
  43. public $RecSaving = false;
  44. public $RecSaved = false;
  45. public $RecBuffer = false;
  46. public $CurrRec = false;
  47. public $TBS = false;
  48. public $OnDataOk = false;
  49. public $OnDataPrm = false;
  50. public $OnDataPrmDone = array( );
  51. public $OnDataPi = false;
  52.  
  53. public function DataAlert($Msg) {
  54. return $this->TBS->meth_Misc_Alert( 'when merging block ' . $this->TBS->_ChrOpen . $this->TBS->_CurrBlock . $this->TBS->_ChrClose, $Msg );
  55. }
  56.  
  57. public function DataPrepare(&$SrcId, $TBS) {
  58. $this->SrcId = &$SrcId;
  59. $this->TBS = &$TBS;
  60.  
  61. $FctInfo = false;
  62. $FctObj = false;
  63.  
  64. if (is_array( $SrcId )) {
  65. $this->Type = 0;
  66. } else {
  67. if (is_resource( $SrcId )) {
  68. $Key = get_resource_type( $SrcId );
  69. switch ($Key) {
  70. case 'mysql link': {
  71. $this->Type = 6;
  72. break;
  73. }
  74.  
  75. case 'mysql link persistent': {
  76. $this->Type = 6;
  77. break;
  78. }
  79.  
  80. case 'mysql result': {
  81. $this->Type = 6;
  82. $this->SubType = 1;
  83. break;
  84. }
  85.  
  86. case 'pgsql link': {
  87. $this->Type = 7;
  88. break;
  89. }
  90.  
  91. case 'pgsql link persistent': {
  92. $this->Type = 7;
  93. break;
  94. }
  95.  
  96. case 'pgsql result': {
  97. $this->Type = 7;
  98. $this->SubType = 1;
  99. break;
  100. }
  101.  
  102. case 'sqlite database': {
  103. $this->Type = 8;
  104. break;
  105. }
  106.  
  107. case 'sqlite database (persistent)': {
  108. $this->Type = 8;
  109. break;
  110. }
  111.  
  112. case 'sqlite result': {
  113. $this->Type = 8;
  114. $this->SubType = 1;
  115. break;
  116. }
  117.  
  118. default: {
  119. $FctInfo = $Key;
  120. $FctCat = 'r';
  121. break;
  122. }
  123. }
  124. } else {
  125. if (is_string( $SrcId )) {
  126. switch (strtolower( $SrcId )) {
  127. case 'array': {
  128. $this->Type = 0;
  129. $this->SubType = 1;
  130. break;
  131. }
  132.  
  133. case 'clear': {
  134. $this->Type = 0;
  135. $this->SubType = 3;
  136. break;
  137. }
  138.  
  139. case 'mysql': {
  140. $this->Type = 6;
  141. $this->SubType = 2;
  142. break;
  143. }
  144.  
  145. case 'text': {
  146. $this->Type = 2;
  147. break;
  148. }
  149. ............................................................
  150. ................................
  151. ..........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement