Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 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. if (!function_exists( 'cb_multiserver' )) {
  15. $cb_multiserver = basename( dirname( __FILE__ ) );
  16. define( 'CB_MULTISERVER', $cb_multiserver );
  17. include( PLUG_DIR . '/' . $cb_multiserver . '/classes/cb_multiserver.class.php' );
  18. include( PLUG_DIR . '/' . $cb_multiserver . '/classes/ftp.class.php' );
  19. define( 'CB_MS_URL', PLUG_URL . '/' . $cb_multiserver );
  20. define( 'CB_MS_DIR', PLUG_DIR . '/' . $cb_multiserver );
  21. assign( 'cb_multiserver_url', PLUG_URL . '/' . $cb_multiserver );
  22. assign( 'cb_multiserver_dir', PLUG_DIR . '/' . $cb_multiserver );
  23. $multi_server = new cb_multiserver( );
  24.  
  25. function getUploadifySwf() {
  26. global $multi_server;
  27.  
  28. $server_api = false;
  29. $server_api = $multi_server->get_server_api( false, 'upload' );
  30.  
  31. if ($server_api) {
  32. $uploaderDetails = array( 'uploadSwfPath' => JS_URL . '/uploadify/uploadify.swf', 'uploadScriptPath' => $server_api['server_api_path'] . '/actions/file_uploader.php', 'uploadRemoteResult' => $server_api['server_api_path'] . '/actions/file_results.php', 'uploadServerPath' => $server_api['server_api_path'] );
  33. assign( 'uploaderDetails', $uploaderDetails );
  34. }
  35.  
  36. $server_api = false;
  37. $server_api = $multi_server->get_server_api( false, 'photo_upload' );
  38.  
  39. if ($server_api) {
  40. $photoUploaderDetails = array( 'uploadSwfPath' => JS_URL . '/uploadify/uploadify.swf', 'uploadScriptPath' => $server_api['server_api_path'] . '/actions/photo_uploader.php', 'uploadServerPath' => $server_api['server_api_path'] );
  41. assign( 'photoUploaderDetails', $photoUploaderDetails );
  42. }
  43.  
  44. }
  45. .................................................................
  46. ...............................
  47. ...........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement