Advertisement
Guest User

Untitled

a guest
Sep 25th, 2019
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP4 Decoder for eAccelerator & MMCache)
  6. *
  7. * @ Version : 1.1.3.0
  8. * @ Author : DeZender
  9. * @ Release on : 17.05.2011
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function full_copy($source, $target) {
  15. if (is_dir( $source )) {
  16. @mkdir( $target );
  17. $d = dir( $source );
  18.  
  19. while (FALSE !== $entry = $d->read( )) {
  20. while (!( $entry == '.')) {
  21. while (!( $entry == '..')) {
  22. while (is_dir( $Entry = $source . '/' . $entry )) {
  23. full_copy( $Entry, $target . '/' . $entry );
  24. break 3;
  25. }
  26.  
  27. copy( $Entry, $target . '/' . $entry );
  28. break 2;
  29. }
  30.  
  31. break;
  32. }
  33. }
  34.  
  35. $d->close( );
  36. return null;
  37. }
  38.  
  39. copy( $source, $target );
  40. }
  41.  
  42.  
  43. if (isset( $_POST['create'] )) {
  44. mkdir( '../w' . $_POST['world'], 448 );
  45. full_copy( '../w1', '../w' . $_POST['world'] );
  46. header( 'Location: install_world.php?step=3' );
  47. }
  48.  
  49. echo '<html>
  50. <head>
  51. <title>TWLan v. 1.5.1 (inoffiziell)</title>
  52. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  53. <link rel="stylesheet" type="text/css" href="../w1/game.css?1327661335"/>
  54. <link rel="stylesheet" type="text/css" href="../w1/stamm.css"/>
  55. </head>
  56. <body id="ds_body" class=" scrollableMenu">
  57.  
  58.  
  59. <div class="top_bar">
  60. <div class="bg_left"> </div>
  61. <div class="bg_right"> </div>
  62. </div>
  63. <div class="top_shadow"> </div>
  64. <div class="top_background"> </div>
  65.  
  66. <table id="main_layout" cellspacing="0" align="center">
  67. <tr style="height: 48px;">
  68. <td class="topbar left"></td>
  69. <td class="topbar center">
  70.  
  71. <div id="topContainer">
  72. <font color="white"><h1>Erstelle eine neue Welt</h1></font>
  73. </div>
  74. </td>
  75.  
  76. <td class="topbar right"> </td>
  77.  
  78. </tr>
  79. <tr class="shadedBG">
  80.  
  81. <td class="bg_left" id="SkyScraperAdCellLeft">
  82. <div id="SkyScraperAdLeft"></div> <div class="bg_left"> </div>
  83. </td>
  84.  
  85. <td class="maincell" style="width: 790px;">
  86. <div style="position:relative;">
  87.  
  88.  
  89. <hr class="oldStyleOnly" /><table id="header_info" align="center" width="100%" cellspacing="0" width="800px">
  90. <colgroup>
  91. <col width="1%" />
  92. ............................................................
  93. ...................................
  94. ..............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement