maj.world

maj.world

Git

This blob has been accessed 276 times via Git panel.

  1. <?php
  2.  
  3. session_start();
  4.  
  5. header("Cache-control: private");
  6.  
  7. error_reporting(E_ERROR);
  8.  
  9. if (isset($_SESSION['logged_in']) and ($_SESSION['user_agent'] != $_SERVER['HTTP_USER_AGENT'])) {
  10.         header("Location: login.php");
  11. }
  12.  
  13. if (get_magic_quotes_gpc()) {
  14.         function stripslashes_array($data) {
  15.                 if (is_array($data)) {
  16.                         foreach ($data as $key => $value) {
  17.                                 $data[$key] = stripslashes_array($value);
  18.                         }
  19.                         return $data;
  20.                 }
  21.                 else {
  22.                         return stripslashes($data);
  23.                 }
  24.         }
  25.         $_REQUEST = stripslashes_array($_REQUEST);
  26. }
  27.  
  28. $login_username = file_get_contents("data/username.txt");
  29.  
  30. if (isset($_POST['title_input']) and isset($_POST['body_input'])) {
  31.         header("Location: edit.php?entry={$_REQUEST['entry']}");
  32. }
  33.  
  34. if (!isset($_REQUEST['entry'])) {
  35.         exit();
  36. }
  37.  
  38. if (!file_exists("data/items/{$_REQUEST['entry']}")) {
  39.         exit();
  40. }
  41.  
  42. if (!isset($_SESSION['logged_in'])) {
  43.         exit();
  44. }
  45.  
  46. $do = 0;
  47.  
  48. if ($_SESSION['logged_in'] == $login_username) {
  49.         $do = 1;
  50. }
  51.  
  52.  
  53. if (file_exists("data/members/active/{$_SESSION['logged_in']}/rw.txt") and file_exists("data/wiki.txt") and (file_exists("data/items/{$_REQUEST['entry']}/edit.txt") or (file_get_contents("data/items/{$_REQUEST['entry']}/author.txt") == $_SESSION['logged_in']))) {
  54.         $do = 1;
  55. }
  56.  
  57. if ($do == 0) {
  58.         exit();
  59. }
  60.  
  61. function rmdirr($recurse_dirname) {
  62.  
  63.     if (!file_exists($recurse_dirname)) {
  64.         return false;
  65.     }
  66.  
  67.     if (is_file($recurse_dirname)) {
  68.         return unlink($recurse_dirname);
  69.     }
  70.  
  71.     $recurse_dir = dir($recurse_dirname);
  72.     while (false !== $recurse_entry = $recurse_dir->read()) {
  73.  
  74.         if ($recurse_entry == '.' || $recurse_entry == '..') {
  75.             continue;
  76.         }
  77.  
  78.         rmdirr("$recurse_dirname/$recurse_entry");
  79.     }
  80.  
  81.     $recurse_dir->close();
  82.     return rmdir($recurse_dirname);
  83. }
  84.  
  85. $title_file = 'data/items/' . $_REQUEST['entry'] . '/title.txt';
  86. $body_file = 'data/items/' . $_REQUEST['entry'] . '/body.txt';
  87. $date_file = 'data/items/' . $_REQUEST['entry'] . '/date.txt';
  88. $img_file = 'data/items/' . $_REQUEST['entry'] . '/image.txt';
  89. $revisions_file = 'data/items/' . $_REQUEST['entry'] . '/revisions.txt';
  90.  
  91. $max_image_size = 8000000;
  92. $max_file_size = 8000000;
  93.  
  94. ?>
  95.  
  96. <title>Edit</title>
  97.  
  98. <style>
  99.  
  100. body {
  101.         color: #666666;
  102.         margin: 10px;
  103.         padding: 0px;
  104.         text-align: left;
  105.         font-family: <?php
  106.                                 if (file_exists("data/fonts/body.txt")) {
  107.                                         $font_body = file_get_contents("data/fonts/body.txt");
  108.                                         echo "{$font_body},";
  109.                                 }
  110.         ?> arial, helvetica, sans-serif;
  111.         background-color: #ffffff;
  112. }
  113.  
  114. p, td {
  115.         font-size: 11px;
  116. }
  117.  
  118. a {
  119.         font-weight: bold;
  120.         text-decoration: none;
  121. }
  122.  
  123. a:link, a:visited {
  124.         color: #666666;
  125. }
  126.  
  127. a:hover {
  128.         color: #336699;
  129. }
  130.  
  131. a:active {
  132.         color: #336699;
  133. }
  134.  
  135. .input_title {  
  136.         color: #666666;
  137.         background: #ffffff;
  138.         border: #999999 solid 1px;
  139.         width: 525px;
  140.         font-family: <?php
  141.                                 if (file_exists("data/fonts/panel-title.txt")) {
  142.                                         $font_panel_title = file_get_contents("data/fonts/panel-title.txt");
  143.                                         echo "{$font_panel_title},";
  144.                                 }
  145.         ?> arial, helvetica, sans-serif;
  146.         font-size: 11px;
  147.         font-weight: bold
  148. }
  149.  
  150. .input_body {  
  151.         color: #666666;
  152.         background: #ffffff;
  153.         border: #999999 solid 1px;
  154.         width: 525px;
  155.         font-family: <?php
  156.                                 if (file_exists("data/fonts/panel-body.txt")) {
  157.                                         $font_panel_body = file_get_contents("data/fonts/panel-body.txt");
  158.                                         echo "{$font_panel_body},";
  159.                                 }
  160.         ?> arial, helvetica, sans-serif;
  161.         font-size: 11px
  162. }
  163.  
  164. #panel_title {
  165.         font-family: <?php
  166.                                 if (file_exists("data/fonts/panel-title.txt")) {
  167.                                         $font_panel_title = file_get_contents("data/fonts/panel-title.txt");
  168.                                         echo "{$font_panel_title},";
  169.                                 }
  170.         ?> arial, helvetica, sans-serif;
  171.         font-size: 12px;
  172.         font-weight: bold;
  173.         color: #666666;
  174.         padding: 5px 5px 5px 5px;
  175.         background-color: #ffffff;
  176.         margin: 0px;
  177.         border-color: #cccccc;
  178.         border-width: 1px 1px 0px 1px;
  179.         border-style: solid solid none solid;
  180. }
  181.  
  182. #panel_body {
  183.         font-family: <?php
  184.                                 if (file_exists("data/fonts/panel-body.txt")) {
  185.                                         $font_panel_body = file_get_contents("data/fonts/panel-body.txt");
  186.                                         echo "{$font_panel_body},";
  187.                                 }
  188.         ?> arial, helvetica, sans-serif;
  189.         font-size: 11px;
  190.         color: #666666;
  191.         padding: 5px 5px 5px 5px;
  192.         background-color: #ffffff;
  193.         margin: 0px;
  194.         border-color: #cccccc;
  195.         border-width: 1px 1px 1px 1px;
  196.         border-style: solid solid solid solid;
  197. }
  198.  
  199. #panel_footer {
  200.         font-family: <?php
  201.                                 if (file_exists("data/fonts/panel-footer.txt")) {
  202.                                         $font_panel_footer = file_get_contents("data/fonts/panel-footer.txt");
  203.                                         echo "{$font_panel_footer},";
  204.                                 }
  205.         ?> arial, helvetica, sans-serif;
  206.         font-size: 11px;
  207.         color: #666666;
  208.         padding: 5px 5px 5px 5px;
  209.         background-color: #ffffff;
  210.         margin: 0px;
  211.         border-color: #cccccc;
  212.         border-width: 0px 1px 1px 1px;
  213.         border-style: none solid solid solid;
  214. }
  215.  
  216. .input_cat {    
  217.         color: #666666;
  218.         background: #ffffff;
  219.         border: #999999 solid 1px;
  220.         width: 40px;
  221.         font-family: <?php
  222.                                 if (file_exists("data/fonts/panel-body.txt")) {
  223.                                         $font_panel_body = file_get_contents("data/fonts/panel-body.txt");
  224.                                         echo "{$font_panel_body},";
  225.                                 }
  226.         ?> arial, helvetica, sans-serif;
  227.         font-size: 11px
  228. }
  229.  
  230. <?php if (file_exists("data/css.txt")) { readfile("data/css.txt"); } ?>
  231.  
  232. </style>
  233.  
  234. <?php
  235.  
  236. if (isset($_POST['category']) and !empty($_POST['category'])) {
  237.  
  238.         if (!file_exists("data/items/{$_REQUEST['entry']}/categories")) {
  239.                 mkdir("data/items/{$_REQUEST['entry']}/categories");
  240.         }
  241.  
  242.         if (($_POST['do'] == "unfile") and file_exists("data/items/{$_REQUEST['entry']}/categories/{$_REQUEST['category']}")) {
  243.                 rmdirr("data/items/{$_REQUEST['entry']}/categories/{$_REQUEST['category']}");
  244.         }
  245.  
  246.         if (($_POST['do'] == "file") and !file_exists("data/items/{$_REQUEST['entry']}/categories/{$_REQUEST['category']}")) {
  247.                 mkdir("data/items/{$_REQUEST['entry']}/categories/{$_REQUEST['category']}");
  248.         }
  249. }
  250.  
  251. if (isset($_REQUEST['comment']) and !empty($_REQUEST['comment']) and isset($_POST['comment_txt']) and !empty($_POST['comment_txt']) and isset($_REQUEST['type']) and !empty($_REQUEST['type']) and (($_REQUEST['type'] == "live") or ($_REQUEST['type'] == "pending"))) {
  252.         $comment_txt = ucfirst($_POST['comment_txt']);
  253.         $comment_txt = str_replace("\n", '<br />', $comment_txt);
  254.         $comment_txt = str_replace(':((', '<img src="images/smileys/crying.png" border="0">', $comment_txt);
  255.         $comment_txt = str_replace(':(', '<img src="images/smileys/frown.png" border="0">', $comment_txt);
  256.         $comment_txt = str_replace(':|', '<img src="images/smileys/indifferent.png" border="0">', $comment_txt);
  257.         $comment_txt = str_replace(':D', '<img src="images/smileys/laughing.png" border="0">', $comment_txt);
  258.         $comment_txt = str_replace(':P', '<img src="images/smileys/lick.png" border="0">', $comment_txt);
  259.         $comment_txt = str_replace(':O', '<img src="images/smileys/ohno.png" border="0">', $comment_txt);
  260.         $comment_txt = str_replace(':)', '<img src="images/smileys/smile.png" border="0">', $comment_txt);
  261.         $comment_txt = str_replace('=)', '<img src="images/smileys/surprised.png" border="0">', $comment_txt);
  262.         $comment_txt = str_replace(':\\', '<img src="images/smileys/undecided.png" border="0">', $comment_txt);
  263.         $comment_txt = str_replace(';)', '<img src="images/smileys/wink.png" border="0">', $comment_txt);
  264.         $comment_txt_file = "data/items/{$_REQUEST['entry']}/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/comment.txt";
  265.         $open_comment_txt_file = fopen($comment_txt_file,"w");
  266.         fwrite($open_comment_txt_file,$comment_txt);
  267.         fclose($open_comment_txt_file);
  268.  
  269.         $comment_revisions_file = "data/items/{$_REQUEST['entry']}/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/revisions.txt";
  270.         $fp_comment_revisions_file = fopen($comment_revisions_file, "r");
  271.         $comment_revisions_count = fread($fp_comment_revisions_file, filesize($comment_revisions_file));
  272.         fclose($fp_comment_revisions_file);
  273.         $comment_revisions_count = $comment_revisions_count + 1;
  274.         $fp_comment_revisions_file = fopen($comment_revisions_file, "w");
  275.         fwrite($fp_comment_revisions_file, $comment_revisions_count);
  276.         fclose($fp_comment_revisions_file);
  277. }
  278.  
  279. if (isset($_REQUEST['comment']) and !empty($_REQUEST['comment']) and isset($_REQUEST['type']) and !empty($_REQUEST['type']) and (($_REQUEST['type'] == "live") or ($_REQUEST['type'] == "pending"))) {
  280.  
  281.         if (!file_exists("data/items/{$_REQUEST['entry']}/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}")) {
  282.                 exit();
  283.         }
  284.  
  285. ?>
  286.         <table border="0" cellspacing="0" cellpadding="0" bgcolor="#cccccc"><tr><td width="525">
  287.         <div id="panel_title"><?php readfile("data/items/{$_REQUEST['entry']}/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/firstname.txt"); ?>&nbsp;<?php readfile("data/items/{$_REQUEST['entry']}/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/lastname.txt"); ?>&nbsp;&lt;<?php readfile("data/items/{$_REQUEST['entry']}/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/email.txt"); ?>&gt;</div>
  288.         <div id="panel_body"><?php readfile("data/items/{$_REQUEST['entry']}/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/comment.txt"); ?></div>
  289.         <div id="panel_footer"><font style="font-size: 10px; color: #999999;">
  290.         <?php
  291.                 readfile("data/items/{$_REQUEST['entry']}/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/timestamp.txt");
  292.                 if (file_exists("data/items/{$_REQUEST['entry']}/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/revisions.txt")) {
  293.                         echo " (Revision ";
  294.                         readfile("data/items/{$_REQUEST['entry']}/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/revisions.txt");
  295.                         echo ")";
  296.                 }
  297.         ?>
  298.         </font></div>
  299.         </td></tr></table>
  300.  
  301.         <table border="0" cellspacing="2" cellpadding="0">
  302.         <form enctype="multipart/form-data" action="edit.php" method="post">
  303.         <tr><td><textarea class="input_body" name="comment_txt" rows="10"><?php
  304.  
  305.         $comment_txt_file = "data/items/{$_REQUEST['entry']}/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/comment.txt";
  306.         $open_comment_txt_file = fopen($comment_txt_file,"r");
  307.         $read_comment_txt_file = fread($open_comment_txt_file,filesize($comment_txt_file));
  308.         fclose($open_comment_txt_file);
  309.  
  310.         $comment_smiley2emoticon = str_replace('<br />', "\n", $read_comment_txt_file);
  311.         $comment_smiley2emoticon = str_replace('<img src="images/smileys/crying.png" border="0">', ':((', $comment_smiley2emoticon);
  312.         $comment_smiley2emoticon = str_replace('<img src="images/smileys/frown.png" border="0">', ':(', $comment_smiley2emoticon);
  313.         $comment_smiley2emoticon = str_replace('<img src="images/smileys/indifferent.png" border="0">', ':|', $comment_smiley2emoticon);
  314.         $comment_smiley2emoticon = str_replace('<img src="images/smileys/laughing.png" border="0">', ':D', $comment_smiley2emoticon);
  315.         $comment_smiley2emoticon = str_replace('<img src="images/smileys/lick.png" border="0">', ':P', $comment_smiley2emoticon);
  316.         $comment_smiley2emoticon = str_replace('<img src="images/smileys/ohno.png" border="0">', ':O', $comment_smiley2emoticon);
  317.         $comment_smiley2emoticon = str_replace('<img src="images/smileys/smile.png" border="0">', ':)', $comment_smiley2emoticon);
  318.         $comment_smiley2emoticon = str_replace('<img src="images/smileys/surprised.png" border="0">', '=)', $comment_smiley2emoticon);
  319.         $comment_smiley2emoticon = str_replace('<img src="images/smileys/undecided.png" border="0">', ':\\', $comment_smiley2emoticon);
  320.         $comment_smiley2emoticon = str_replace('<img src="images/smileys/wink.png" border="0">', ';)', $comment_smiley2emoticon);
  321.  
  322.         echo $comment_smiley2emoticon;
  323.  
  324.         ?></textarea></td></tr>
  325.         <tr><td><input type="hidden" name="entry" value="<?php echo $_REQUEST['entry']; ?>"></td></tr>
  326.         <tr><td><input type="hidden" name="comment" value="<?php echo $_REQUEST['comment']; ?>"></td></tr>
  327.         <tr><td><input type="hidden" name="type" value="<?php echo $_REQUEST['type']; ?>"></td></tr>
  328.         <tr><td><input class="input_body" type="submit" value="click here to update this comment"></td></tr>
  329.         </form>
  330.  
  331.         <form enctype="multipart/form-data" action="index.php?entry=<?php echo $_REQUEST['entry']; ?>&show=comments" method="post">
  332.         <tr><td><input class="input_body" type="submit" value="click here to view posted entry"></td></tr>
  333.         </form>
  334.  
  335.         <form enctype="multipart/form-data" action="index.php" method="post">
  336.         <tr><td><input class="input_body" type="submit" value="click here to go to the index page"></td></tr>
  337.         </form>
  338.         </table>
  339.  
  340. <?php
  341.         exit();
  342. }
  343.  
  344. ?>
  345.  
  346. <table border="0" cellspacing="0" cellpadding="0"><tr><td>
  347.  
  348. <table border="0" cellspacing="0" cellpadding="0" bgcolor="#cccccc"><tr><td width="525">
  349.  
  350. <div id="panel_title"><?php readfile($title_file); ?></div>
  351. <div id="panel_body"><table border="0" cellspacing="0" cellpadding="0"><tr><td><?php readfile($body_file); ?></td></tr></table></div>
  352. <div id="panel_footer"><font style="font-size: 10px; color: #999999;"><?php
  353.  
  354. if (file_exists("data/items/{$_REQUEST['entry']}/author.txt")) {
  355.         readfile("data/items/{$_REQUEST['entry']}/author.txt");
  356.         echo " - ";
  357. }
  358.  
  359. readfile($date_file);
  360.  
  361. if (file_exists($revisions_file)) {
  362.                 echo ' (Revision ';
  363.                 readfile($revisions_file);
  364.                 echo " - ";
  365.                 echo date("l, M j, Y, g:i A", filemtime("data/items/{$_REQUEST['entry']}/body.txt"));
  366.                 echo ')';
  367. }
  368.  
  369. ?>
  370.  
  371. </font></div>
  372. </td></tr></table>
  373.  
  374. <form enctype="multipart/form-data" action="edit.php" method="post">
  375.  
  376. <?php if (($_SESSION['logged_in'] == $login_username) or (file_exists("data/members/active/{$_SESSION['logged_in']}/ul.txt") and file_exists("data/members/active/{$_SESSION['logged_in']}/rw.txt"))) { ?>
  377.  
  378. <input type="hidden" name="max_file_size" value="<?php echo $max_image_size; ?>">
  379.  
  380. <p><table border="0" cellspacing="2" cellpadding="0" bgcolor="#ffffff">
  381.  
  382. <tr><td><input autocomplete="off" type="file" name="album_image_input"> Upload optional album image. Enter optional caption below.</td></tr>
  383. <tr><td><input autocomplete="off" type="text" name="caption" class="input_body"></td></tr>
  384. <tr><td><input type="hidden" name="max_file_size" value="<?php echo $max_file_size; ?>"></td></tr>
  385. <tr><td><input autocomplete="off" type="file" name="entry_image_input"> Upload optional entry image.</td></tr>
  386. <tr><td><input type="hidden" name="max_file_size" value="<?php echo $max_file_size; ?>"></td></tr>
  387. <tr><td><input autocomplete="off" type="file" name="file_input"> Upload optional file.</td></tr>
  388.  
  389. <?php
  390.  
  391. }
  392.  
  393. if ($_SESSION['logged_in'] == $login_username) {
  394.  
  395. ?>
  396.  
  397.         <tr><td><input autocomplete="off" type="password" name="passwd" <?php
  398.  
  399.         if (file_exists("data/items/{$_REQUEST['entry']}/passwd.txt")) {
  400.                 echo "value=\"password\"";
  401.         }
  402.         ?>
  403.  
  404.         > <?php
  405.  
  406.         if (file_exists("data/items/{$_REQUEST['entry']}/passwd.txt")) {
  407.                 echo "Enter new password or clear field to disable password protection.";
  408.         }
  409.         else {
  410.                 echo "Enter optional password.";
  411.         }
  412.         ?></td></tr>
  413.  
  414.         <tr><td><input type="checkbox" name="sticky" <?php $sticky_sem = 'data/sticky/' . $_REQUEST['entry']; if (file_exists($sticky_sem)) { echo checked; } ?>>Put entry title in Quick Links box.</td></tr>
  415.         <tr><td><input type="checkbox" name="pdf" <?php if (file_exists("data/items/{$_REQUEST['entry']}/pdf/file")) { echo checked; } ?>>Allow PDF generation for this entry.</td></tr>
  416.         <tr><td><input type="checkbox" name="display" <?php $display_sem = "data/items/{$_REQUEST['entry']}/cat.txt"; if (file_exists($display_sem)) { echo checked; } ?>>Always display. If this is not a private entry, it will be displayed even if its category is hidden or isolated.</td></tr>
  417.         <tr><td><input type="checkbox" name="private" <?php $private_sem = "data/items/{$_REQUEST['entry']}/private.txt"; if (file_exists($private_sem)) { echo checked; } ?>>Private entry. This entry will unconditionally be invisible to visitors<?php if (file_exists("data/ml.txt")) { echo " and to the mailing list"; } ?>, even if always display is set.</td></tr>
  418.  
  419.         <?php if (file_exists("data/bb.txt")) { ?>
  420.  
  421.         <tr><td><input type="checkbox" name="member" <?php $member_sem = "data/items/{$_REQUEST['entry']}/member.txt"; if (file_exists($member_sem)) { echo checked; } ?>>Only registered members can view this entry.</td></tr>
  422.  
  423.         <?php } ?>
  424.  
  425.         <?php
  426.  
  427.         if (file_exists("data/bb.txt") and file_exists("data/wiki.txt")) { ?>
  428.  
  429.         <tr><td><input type="checkbox" name="edit" <?php $edit_sem = "data/items/{$_REQUEST['entry']}/edit.txt"; if (file_exists($edit_sem)) { echo checked; } ?>>Registered members can edit this entry.</td></tr>
  430.  
  431.         <?php
  432.  
  433.         }
  434.  
  435.         ?>
  436.  
  437.         <tr><td><input type="checkbox" name="lastmod" <?php $lastmod_sem = "data/items/{$_REQUEST['entry']}/lastmod.txt"; if (file_exists($lastmod_sem)) { echo checked; } ?>>Display last modification date and time.</td></tr>
  438.  
  439. <?php } ?>
  440.  
  441. </table></p>
  442.  
  443. <input type="hidden" name="entry" value="<?php echo $_REQUEST['entry']; ?>">
  444.  
  445. <table border="0" cellspacing="0" cellpadding="0"><tr><td>
  446.  
  447. <table border="0" cellspacing="2" cellpadding="0">
  448. <tr><td><input autocomplete="off" class="input_title" type="text" name="title_input" value="<?php readfile($title_file); ?>"></td></tr>
  449. <tr><td><textarea class="input_body" name="body_input" rows="15">
  450. <?php
  451.  
  452. $open_body_file = fopen($body_file,"r");
  453. $read_body_file = fread($open_body_file,filesize($body_file));
  454. fclose($open_body_file);
  455.  
  456. $body_read_content = str_replace('<br />', "\n", $read_body_file);
  457. $body_read_content = str_replace('<img src="images/smileys/crying.png" border="0">', ':((', $body_read_content);
  458. $body_read_content = str_replace('<img src="images/smileys/frown.png" border="0">', ':(', $body_read_content);
  459. $body_read_content = str_replace('<img src="images/smileys/indifferent.png" border="0">', ':|', $body_read_content);
  460. $body_read_content = str_replace('<img src="images/smileys/laughing.png" border="0">', ':D', $body_read_content);
  461. $body_read_content = str_replace('<img src="images/smileys/lick.png" border="0">', ':P', $body_read_content);
  462. $body_read_content = str_replace('<img src="images/smileys/ohno.png" border="0">', ':O', $body_read_content);
  463. $body_read_content = str_replace('<img src="images/smileys/smile.png" border="0">', ':)', $body_read_content);
  464. $body_read_content = str_replace('<img src="images/smileys/surprised.png" border="0">', '=)', $body_read_content);
  465. $body_read_content = str_replace('<img src="images/smileys/undecided.png" border="0">', ':\\', $body_read_content);
  466. $body_read_content = str_replace('<img src="images/smileys/wink.png" border="0">', ';)', $body_read_content);
  467. $body_read_content = str_replace('<!-- html -->', '<html>', $body_read_content);
  468. $body_read_content = str_replace('<!-- /html -->', '</html>', $body_read_content);
  469. $body_read_content = str_replace('<span style="background-color: #ffff00;">', '<highlight>', $body_read_content);
  470. $body_read_content = str_replace('</span>', '</highlight>', $body_read_content);
  471.  
  472. echo $body_read_content;
  473.  
  474. ?>
  475. </textarea></td></tr>
  476. <tr><td><input class="input_body" type="submit" value="click here to update this entry"></td></tr>
  477. </form>
  478.  
  479. <form enctype="multipart/form-data" action="index.php?entry=<?php echo $_REQUEST['entry']; ?>" method="post">
  480. <tr><td><input class=input_body type=submit value="click here to view posted entry"></td></tr>
  481. </form>
  482.  
  483. <form enctype="multipart/form-data" action="index.php" method="post">
  484. <tr><td><input class="input_body" type="submit" value="click here to go to the index page"></td></tr>
  485. </form>
  486.  
  487. </table>
  488.  
  489. </td><td width="10"></td><td>
  490.  
  491. <table border="0" cellspacing="1" cellpadding="2">
  492. <tr><td><img src="images/smileys/crying.png" border="0"></td><td>:((</td><td >crying</td></tr>
  493. <tr><td><img src="images/smileys/frown.png" border="0"></td><td>:(</td><td>frown</td></tr>
  494. <tr><td><img src="images/smileys/indifferent.png" border="0"></td><td>:|</td><td>indifferent</td></tr>
  495. <tr><td><img src="images/smileys/laughing.png" border="0"></td><td>:D</td><td>laughing</td></tr>
  496. <tr><td><img src="images/smileys/lick.png" border="0"></td><td>:P</td><td>lick</td></tr>
  497. <tr><td><img src="images/smileys/ohno.png" border="0"></td><td>:O</td><td>oh no!</td></tr>
  498. <tr><td><img src="images/smileys/smile.png" border="0"></td><td>:)</td><td>smile</td></tr>
  499. <tr><td><img src="images/smileys/surprised.png" border="0"></td><td>=)</td><td>surprised</td></tr>
  500. <tr><td><img src="images/smileys/undecided.png" border="0"></td><td>:\</td><td>undecided</td></tr>
  501. <tr><td><img src="images/smileys/wink.png" border="0"></td><td>;)</td><td>wink</td></tr>
  502. </table>
  503.  
  504. </td></tr></table>
  505.  
  506. </td><td width="25"></td><td valign="top" width="150">
  507.  
  508. <?php
  509.         if (file_exists("data/categories")) {
  510.  
  511.                 if ($dh_cat = opendir("data/categories")) {
  512.  
  513.                         while (($entry_cat = readdir($dh_cat)) !== false) {
  514.        
  515.                                 if ($entry_cat != "." && $entry_cat != ".." && fnmatch("*", $entry_cat)) {
  516.  
  517.                                         if (file_exists("data/items/{$_REQUEST['entry']}/categories/$entry_cat")) {
  518.                                                 $filed_cat[] = $entry_cat;
  519.                                         }
  520.  
  521.                                         if (!file_exists("data/items/{$_REQUEST['entry']}/categories/$entry_cat")) {
  522.                                                 $unfiled_cat[] = $entry_cat;
  523.                                         }
  524.                                 }
  525.                         }
  526.                         closedir($dh_cat);
  527.                 }
  528.        
  529.                 sort($filed_cat);
  530.                 sort($unfiled_cat);
  531.  
  532.                 reset($filed_cat);
  533.                 reset($unfiled_cat);
  534.  
  535.                 $count_filed_cat = count($filed_cat);
  536.                 $count_unfiled_cat = count($unfiled_cat);
  537.        
  538.                 if ($count_filed_cat > 0) {
  539.  
  540.                         echo "<p><b>Filed Under</b></p>";
  541.  
  542.                         echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"150\">";
  543.  
  544.                         foreach ($filed_cat as $filed_category) {
  545.                                 echo "<form enctype=\"multipart/form-data\" action=\"edit.php\" method=\"post\">";
  546.                                 echo "<input type=\"hidden\" name=\"entry\" value=\"{$_REQUEST['entry']}\">";
  547.                                 echo "<input type=\"hidden\" name=\"category\" value=\"$filed_category\">";
  548.                                 echo "<input type=\"hidden\" name=\"do\" value=\"unfile\">";
  549.                                 echo "<tr bgcolor=\"#ffffff\"><td>$filed_category</td>";
  550.                                 echo "<td width=\"14\"><input type=\"image\" src=\"images/widget.x.png\"></td></tr>";
  551.                                 echo "</form>";
  552.                         }
  553.  
  554.                         echo "</table>";
  555.                 }
  556.         }
  557. ?>     
  558.  
  559. </td><td width="25"></td><td valign="top" width="150">
  560.  
  561. <?php
  562.  
  563. if ($count_unfiled_cat > 0) {
  564.  
  565.         echo "<p><b>Available Categories</b></p>";
  566.  
  567.         echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"150\">";
  568.  
  569.         foreach ($unfiled_cat as $unfiled_category) {
  570.  
  571.                 echo "<form enctype=\"multipart/form-data\" action=\"edit.php\" method=\"post\">";
  572.                 echo "<input type=\"hidden\" name=\"entry\" value=\"{$_REQUEST['entry']}\">";
  573.                 echo "<input type=\"hidden\" name=\"category\" value=\"$unfiled_category\">";
  574.                                 echo "<input type=\"hidden\" name=\"do\" value=\"file\">";
  575.                 echo "<tr bgcolor=\"#ffffff\"><td width=\"14\"><input type=\"image\" src=\"images/widget.ok.png\"></td>";
  576.                 echo "<td align=\"right\">$unfiled_category</td></tr>";
  577.                 echo "</form>";
  578.         }
  579.  
  580.         echo "</table>";
  581. }
  582.  
  583. ?>
  584.  
  585. </td></tr></table>
  586.  
  587. <?php
  588. if (!isset($_POST['title_input']) or !isset($_POST['body_input']) or empty($_POST['title_input']) or empty($_POST['body_input'])) {
  589.         exit();
  590. }
  591.  
  592. $title_write_content = ucfirst($_POST['title_input']);
  593. $title_write_content = str_replace('<','&lt;',$title_write_content);
  594. $title_write_content = str_replace('>','&gt;',$title_write_content);
  595. $open_title_file = fopen($title_file,"w");
  596. fwrite($open_title_file,$title_write_content);
  597. fclose($open_title_file);
  598.  
  599. function reformat_html($defang_html) {
  600.         $store_html=split("<html>",$defang_html);
  601.         $defang_html="";
  602.         $defang_html.=$store_html[0];
  603.         foreach($store_html as $itm_html=>$refh_html) {
  604.                 if(eregi("</html>",$refh_html)) {
  605.                         $store_html1=split("</html>",$refh_html);
  606.                         $store_html1[0]=eregi_replace("\n","",$store_html1[0]);
  607.                         foreach($store_html1 as $itm_html1=>$refh_html1) {
  608.                                 if($itm_html1==0)
  609.                                         $refh_html1="<!-- html -->$refh_html1<!-- /html -->";
  610.                                         $defang_html.=$refh_html1;
  611.                                 }
  612.                         }
  613.                 }
  614.         return $defang_html;
  615. }
  616.  
  617. function reformat_code($defang_code) {
  618.         $store_code=split("<code>",$defang_code);
  619.         $defang_code="";
  620.         $defang_code.=$store_code[0];
  621.         foreach($store_code as $itm_code=>$refh_code) {
  622.                 if(eregi("</code>",$refh_code)) {
  623.                         $store_code1=split("</code>",$refh_code);
  624.                         $store_code1[0] = eregi_replace('<img src="images/smileys/crying.png" border="0">',':((',$store_code1[0]);
  625.                         $store_code1[0] = eregi_replace('<img src="images/smileys/frown.png" border="0">',':(',$store_code1[0]);
  626.                         $store_code1[0] = eregi_replace('<img src="images/smileys/indifferent.png" border="0">',':|',$store_code1[0]);
  627.                         $store_code1[0] = eregi_replace('<img src="images/smileys/laughing.png" border="0">',':D',$store_code1[0]);
  628.                         $store_code1[0] = eregi_replace('<img src="images/smileys/lick.png" border="0">',':P',$store_code1[0]);
  629.                         $store_code1[0] = eregi_replace('<img src="images/smileys/ohno.png" border="0">',':O',$store_code1[0]);
  630.                         $store_code1[0] = eregi_replace('<img src="images/smileys/smile.png" border="0">',':)',$store_code1[0]);
  631.                         $store_code1[0] = eregi_replace('<img src="images/smileys/surprised.png" border="0">','=)',$store_code1[0]);
  632.                         $store_code1[0] = eregi_replace('<img src="images/smileys/undecided.png" border="0">',':\\',$store_code1[0]);
  633.                         $store_code1[0] = eregi_replace('<img src="images/smileys/wink.png" border="0">',';)',$store_code1[0]);
  634.                         $store_code1[0]=htmlentities($store_code1[0],ENT_NOQUOTES);
  635.                         foreach($store_code1 as $itm_code1=>$refh_code1) {
  636.                                 if($itm_code1==0)
  637.                                         $refh_code1="<code>$refh_code1</code>";
  638.                                         $defang_code.=$refh_code1;
  639.                                 }
  640.                         }
  641.                 }
  642.         return $defang_code;
  643. }
  644.  
  645. $body_write_content = ucfirst($_POST['body_input']);
  646. $body_write_content = str_replace("[html]", '<html>', $body_write_content);
  647. $body_write_content = str_replace("[/html]", '</html>', $body_write_content);
  648. $body_write_content = reformat_html($body_write_content);
  649. $body_write_content = str_replace(':((', '<img src="images/smileys/crying.png" border="0">', $body_write_content);
  650. $body_write_content = str_replace(':(', '<img src="images/smileys/frown.png" border="0">', $body_write_content);
  651. $body_write_content = str_replace(':|', '<img src="images/smileys/indifferent.png" border="0">', $body_write_content);
  652. $body_write_content = str_replace(':D', '<img src="images/smileys/laughing.png" border="0">', $body_write_content);
  653. $body_write_content = str_replace(':P', '<img src="images/smileys/lick.png" border="0">', $body_write_content);
  654. $body_write_content = str_replace(':O', '<img src="images/smileys/ohno.png" border="0">', $body_write_content);
  655. $body_write_content = str_replace(':)', '<img src="images/smileys/smile.png" border="0">', $body_write_content);
  656. $body_write_content = str_replace('=)', '<img src="images/smileys/surprised.png" border="0">', $body_write_content);
  657. $body_write_content = str_replace(':\\', '<img src="images/smileys/undecided.png" border="0">', $body_write_content);
  658. $body_write_content = str_replace(';)', '<img src="images/smileys/wink.png" border="0">', $body_write_content);
  659. $body_write_content = str_replace('[code]', '<code>', $body_write_content);
  660. $body_write_content = str_replace('[/code]', '</code>', $body_write_content);
  661. $body_write_content = reformat_code($body_write_content);
  662. $body_write_content = str_replace("\n", '<br />', $body_write_content);
  663. $body_write_content = str_replace('[b]', '<b>', $body_write_content);
  664. $body_write_content = str_replace('[/b]', '</b>', $body_write_content);
  665. $body_write_content = str_replace('[i]', '<i>', $body_write_content);
  666. $body_write_content = str_replace('[/i]', '</i>', $body_write_content);
  667. $body_write_content = str_replace('[u]', '<u>', $body_write_content);
  668. $body_write_content = str_replace('[/u]', '</u>', $body_write_content);
  669. $body_write_content = str_replace('[strike]', '<strike>', $body_write_content);
  670. $body_write_content = str_replace('[/strike]', '</strike>', $body_write_content);
  671. $body_write_content = str_replace('[sup]', '<sup>', $body_write_content);
  672. $body_write_content = str_replace('[/sup]', '</sup>', $body_write_content);
  673. $body_write_content = str_replace('[sub]', '<sub>', $body_write_content);
  674. $body_write_content = str_replace('[/sub]', '</sub>', $body_write_content);
  675. $body_write_content = str_replace('[highlight]', '<highlight>', $body_write_content);
  676. $body_write_content = str_replace('[/highlight]', '</highlight>', $body_write_content);
  677. $body_write_content = str_replace('<highlight>', '<span style="background-color: #ffff00;">', $body_write_content);
  678. $body_write_content = str_replace('</highlight>', '</span>', $body_write_content);
  679. $body_write_content =  preg_replace("/<([_\.0-9a-z-]+)@([0-9a-z][0-9a-z-]+)\.([_\.0-9a-z-]+)>/", '&lt;$1@$2.$3&gt;',$body_write_content);
  680.  
  681. $fp_revisions_file = fopen($revisions_file, "r");
  682. $revisions_count = fread($fp_revisions_file, filesize($revisions_file));
  683. fclose($fp_revisions_file);
  684. $revisions_count = $revisions_count + 1;
  685. $fp_revisions_file = fopen($revisions_file, "w");
  686. fwrite($fp_revisions_file, $revisions_count);
  687. fclose($fp_revisions_file);
  688.  
  689. if (isset($_FILES['album_image_input']) and !empty($_FILES['album_image_input'])) {
  690.  
  691.         if (is_uploaded_file($_FILES['album_image_input']['tmp_name'])) {
  692.  
  693.                 if ($_FILES['album_image_input']['size']<=$max_image_size) {
  694.  
  695.                         if (($_FILES['album_image_input']['type']=="image/gif") || ($_FILES['album_image_input']['type']=="image/pjpeg") || ($_FILES['album_image_input']['type']=="image/jpeg") || ($_FILES['album_image_input']['type']=="image/png")) {
  696.  
  697.                                 $album_image_input_name = str_replace(" ","_",$_FILES['album_image_input']['name']);
  698.  
  699.                                 if (!file_exists("images/{$_REQUEST['entry']}/album/$album_image_input_name")) {
  700.  
  701.                                         if (!file_exists("images/{$_REQUEST['entry']}")) {
  702.                                                 mkdir("images/{$_REQUEST['entry']}");
  703.                                         }
  704.  
  705.                                         if (!file_exists("images/{$_REQUEST['entry']}/album")) {
  706.                                                 mkdir("images/{$_REQUEST['entry']}/album");
  707.                                         }
  708.  
  709.                                         if (!file_exists("data/albums")) {
  710.                                                 mkdir("data/albums");
  711.                                         }
  712.  
  713.                                         if (!file_exists("data/albums/{$_REQUEST['entry']}")) {
  714.                                                 mkdir("data/albums/{$_REQUEST['entry']}");
  715.                                         }
  716.  
  717.                                         if (isset($_POST['caption']) and !empty($_POST['caption'])) {
  718.  
  719.                                                 if (!file_exists("data/items/{$_REQUEST['entry']}/album")) {
  720.                                                         mkdir("data/items/{$_REQUEST['entry']}/album");
  721.                                                 }
  722.  
  723.                                                 if (!file_exists("data/items/{$_REQUEST['entry']}/album/captions")) {
  724.                                                         mkdir("data/items/{$_REQUEST['entry']}/album/captions");
  725.                                                 }
  726.  
  727.                                                 if (!file_exists("data/items/{$_REQUEST['entry']}/album/captions/{$album_image_input_name}.txt")) {
  728.                                                         $caption_txt = ucfirst($_POST['caption']);
  729.                                                         $caption_txt = str_replace(':((', '<img src="images/smileys/crying.png" border="0">', $caption_txt);
  730.                                                         $caption_txt = str_replace(':(', '<img src="images/smileys/frown.png" border="0">', $caption_txt);
  731.                                                         $caption_txt = str_replace(':|', '<img src="images/smileys/indifferent.png" border="0">', $caption_txt);
  732.                                                         $caption_txt = str_replace(':D', '<img src="images/smileys/laughing.png" border="0">', $caption_txt);
  733.                                                         $caption_txt = str_replace(':P', '<img src="images/smileys/lick.png" border="0">', $caption_txt);
  734.                                                         $caption_txt = str_replace(':O', '<img src="images/smileys/ohno.png" border="0">', $caption_txt);
  735.                                                         $caption_txt = str_replace(':)', '<img src="images/smileys/smile.png" border="0">', $caption_txt);
  736.                                                         $caption_txt = str_replace('=)', '<img src="images/smileys/surprised.png" border="0">', $caption_txt);
  737.                                                         $caption_txt = str_replace(':\\', '<img src="images/smileys/undecided.png" border="0">', $caption_txt);
  738.                                                         $caption_txt = str_replace(';)', '<img src="images/smileys/wink.png" border="0">', $caption_txt);
  739.                                                         $caption_txt = str_replace('[code]', '<code>', $caption_txt);
  740.                                                         $caption_txt = str_replace('[/code]', '</code>', $caption_txt);
  741.                                                         $caption_txt = str_replace("\n", '<br />', $caption_txt);
  742.                                                         $caption_txt = str_replace('[b]', '<b>', $caption_txt);
  743.                                                         $caption_txt = str_replace('[/b]', '</b>', $caption_txt);
  744.                                                         $caption_txt = str_replace('[i]', '<i>', $caption_txt);
  745.                                                         $caption_txt = str_replace('[/i]', '</i>', $caption_txt);
  746.                                                         $caption_txt = str_replace('[u]', '<u>', $caption_txt);
  747.                                                         $caption_txt = str_replace('[/u]', '</u>', $caption_txt);
  748.                                                         $caption_txt = str_replace('[strike]', '<strike>', $caption_txt);
  749.                                                         $caption_txt = str_replace('[/strike]', '</strike>', $caption_txt);
  750.                                                         $caption_txt = str_replace('[sup]', '<sup>', $caption_txt);
  751.                                                         $caption_txt = str_replace('[/sup]', '</sup>', $caption_txt);
  752.                                                         $caption_txt = str_replace('[sub]', '<sub>', $caption_txt);
  753.                                                         $caption_txt = str_replace('[/sub]', '</sub>', $caption_txt);
  754.                                                         $caption_txt = str_replace('[highlight]', '<highlight>', $caption_txt);
  755.                                                         $caption_txt = str_replace('[/highlight]', '</highlight>', $caption_txt);
  756.                                                         $caption_txt = str_replace('<highlight>', '<span style="background-color: #ffff00;">', $caption_txt);
  757.                                                         $caption_txt = str_replace('</highlight>', '</span>', $caption_txt);
  758.  
  759.                                                         $fp_caption_txt = fopen("data/items/{$_REQUEST['entry']}/album/captions/{$album_image_input_name}.txt","w");
  760.                                                         fwrite($fp_caption_txt,$caption_txt);
  761.                                                         fclose($fp_caption_txt);
  762.                                                 }
  763.                                         }
  764.  
  765.                                         $res = copy($_FILES['album_image_input']['tmp_name'],"images/{$_REQUEST['entry']}/album/$album_image_input_name");
  766.                                         unlink($_FILES['album_image_input']['tmp_name']);
  767.                                 }
  768.                                 else {
  769.                                         unlink($_FILES['album_image_input']['tmp_name']);
  770.                                 }
  771.                         }
  772.                         else {
  773.                                 unlink($_FILES['album_image_input']['tmp_name']);
  774.                         }
  775.                 }
  776.                 else {
  777.                         unlink($_FILES['album_image_input']['tmp_name']);
  778.                 }
  779.         }
  780.         else {
  781.                 unlink($_FILES['album_image_input']['tmp_name']);
  782.         }
  783. }
  784.  
  785. if (isset($_FILES['entry_image_input']) and !empty($_FILES['entry_image_input'])) {
  786.  
  787.         if (is_uploaded_file($_FILES['entry_image_input']['tmp_name'])) {
  788.  
  789.                 if ($_FILES['entry_image_input']['size']<=$max_image_size) {
  790.  
  791.                         if (($_FILES['entry_image_input']['type']=="image/gif") || ($_FILES['entry_image_input']['type']=="image/pjpeg") || ($_FILES['entry_image_input']['type']=="image/jpeg") || ($_FILES['entry_image_input']['type']=="image/png")) {
  792.  
  793.                                 $entry_image_input_name = str_replace(" ","_",$_FILES['entry_image_input']['name']);
  794.  
  795.                                 if (!file_exists("images/{$_REQUEST['entry']}/$entry_image_input_name")) {
  796.  
  797.                                         if (!file_exists("images/{$_REQUEST['entry']}")) {
  798.                                                 mkdir("images/{$_REQUEST['entry']}");
  799.                                         }
  800.  
  801.                                         $res = copy($_FILES['entry_image_input']['tmp_name'], "images/{$_REQUEST['entry']}/$entry_image_input_name");
  802.                                         unlink($_FILES['entry_image_input']['tmp_name']);
  803.  
  804.                                         $entry_image_size = getimagesize("images/{$_REQUEST['entry']}/$entry_image_input_name");
  805.                                         $entry_image_width = $entry_image_size[0];
  806.                                         $entry_image_height = $entry_image_size[1];
  807.  
  808.                                         $max_entry_image_width = 513;
  809.  
  810.                                         if ($entry_image_width > $max_entry_image_width) {  
  811.                                                 $sizefactor = (double) ($max_entry_image_width / $entry_image_width) ;
  812.                                                 $entry_image_width = (int) ($entry_image_width * $sizefactor);
  813.                                                 $entry_image_height = (int) ($entry_image_height * $sizefactor);
  814.                                         }
  815.  
  816.                                         $body_write_content = "<img src=\"images/{$_REQUEST['entry']}/$entry_image_input_name\" border=\"0\" width=\"$entry_image_width\" height=\"$entry_image_height\">\n\r$body_write_content";
  817.                                 }
  818.                                 else {
  819.                                         unlink($_FILES['entry_image_input']['tmp_name']);
  820.                                 }
  821.                         }
  822.                         else {
  823.                                 unlink($_FILES['entry_image_input']['tmp_name']);
  824.                         }
  825.                 }
  826.                 else {
  827.                         unlink($_FILES['entry_image_input']['tmp_name']);
  828.                 }
  829.         }
  830.         else {
  831.                 unlink($_FILES['entry_image_input']['tmp_name']);
  832.         }
  833. }
  834.  
  835. if (isset($_FILES['file_input']) and !empty($_FILES['file_input'])) {
  836.  
  837.         if (is_uploaded_file($_FILES['file_input']['tmp_name'])) {
  838.  
  839.                 if ($_FILES['file_input']['size']<=$max_file_size) {
  840.  
  841.                         if (!file_exists("data/items/{$_REQUEST['entry']}/filedrop")) {
  842.                                 mkdir("data/items/{$_REQUEST['entry']}/filedrop");
  843.                         }
  844.  
  845.                         if (!file_exists("data/items/{$_REQUEST['entry']}/filedrop/files")) {
  846.                                 mkdir("data/items/{$_REQUEST['entry']}/filedrop/files");
  847.                         }
  848.  
  849.                         $file_input_name = str_replace(" ","_",$_FILES['file_input']['name']);
  850.  
  851.                         if (!file_exists("data/items/{$_REQUEST['entry']}/filedrop/files/$file_input_name")) {
  852.                                 $res = copy($_FILES['file_input']['tmp_name'], "data/items/{$_REQUEST['entry']}/filedrop/files/$file_input_name");
  853.                                 unlink($_FILES['file_input']['tmp_name']);
  854.  
  855.                                 $fp_file_txt = fopen("data/items/{$_REQUEST['entry']}/filedrop/{$file_input_name}.txt","w");
  856.                                 fwrite($fp_file_txt,"data/items/{$_REQUEST['entry']}/filedrop/files/$file_input_name");
  857.                                 fclose($fp_file_txt);
  858.                         }
  859.                         else {
  860.                                 unlink($_FILES['file_input']['tmp_name']);
  861.                         }
  862.                 }
  863.                 else {
  864.                         unlink($_FILES['file_input']['tmp_name']);
  865.                 }
  866.         }
  867.         else {
  868.                 unlink($_FILES['file_input']['tmp_name']);
  869.         }
  870. }
  871.  
  872. $title_get_content = ucfirst($_POST['title_input']);
  873. $title_get_content = str_replace('<','&lt;',$title_get_content);
  874. $title_get_content = str_replace('>','&gt;',$title_get_content);
  875.  
  876. if (file_exists("data/wiki.txt") and (($title_get_content != file_get_contents("data/items/{$_REQUEST['entry']}/title.txt")) or ($body_write_content != file_get_contents("data/items/{$_REQUEST['entry']}/body.txt")))) {
  877.  
  878.         if (!file_exists("data/items/{$_REQUEST['entry']}/wiki")) {
  879.                 mkdir("data/items/{$_REQUEST['entry']}/wiki");
  880.         }
  881.  
  882.         if (!file_exists("data/items/{$_REQUEST['entry']}/wiki/delta")) {
  883.                 mkdir("data/items/{$_REQUEST['entry']}/wiki/delta");
  884.         }
  885.  
  886.         if (file_exists("data/offset.txt")) {
  887.                 $offset = file_get_contents("data/offset.txt");
  888.         }
  889.         else {
  890.                 $offset = 0;
  891.         }
  892.  
  893.         $ddate = date("YmdHis", time() + $offset);
  894.  
  895.         if (!file_exists("data/items/{$_REQUEST['entry']}/wiki/delta/$ddate")) {
  896.                 mkdir("data/items/{$_REQUEST['entry']}/wiki/delta/$ddate");
  897.         }
  898.  
  899.  
  900.         $new = fopen("data/items/{$_REQUEST['entry']}/wiki/delta/$ddate/body.txt","w");
  901.         fwrite($new,$body_write_content);
  902.         fclose($new);
  903.  
  904.         copy("data/items/{$_REQUEST['entry']}/body.txt","data/items/{$_REQUEST['entry']}/wiki/delta/$ddate/prev.txt");
  905.         copy("data/items/{$_REQUEST['entry']}/date.txt","data/items/{$_REQUEST['entry']}/wiki/delta/$ddate/date.txt");
  906.         copy("data/items/{$_REQUEST['entry']}/title.txt","data/items/{$_REQUEST['entry']}/wiki/delta/$ddate/title.txt");
  907.  
  908.         if (file_exists("data/items/{$_REQUEST['entry']}/contrib.txt")) {
  909.                 copy("data/items/{$_REQUEST['entry']}/contrib.txt","data/items/{$_REQUEST['entry']}/wiki/delta/$ddate/contrib.txt");
  910.         }
  911.  
  912.         $open_editor_file = fopen("data/items/{$_REQUEST['entry']}/wiki/delta/$ddate/editor.txt","w");
  913.         fwrite($open_editor_file,$_SESSION['logged_in']);
  914.         fclose($open_editor_file);
  915.  
  916. }
  917.  
  918. $open_body_file = fopen($body_file,"w");
  919. fwrite($open_body_file,$body_write_content);
  920. fclose($open_body_file);
  921.  
  922. if (file_exists("data/wiki.txt") and (file_exists("data/items/{$_REQUEST['entry']}/edit.txt") or (file_get_contents("data/items/{$_REQUEST['entry']}/author.txt") == $_SESSION['logged_in']))) {
  923.         $open_contrib_file = fopen("data/items/{$_REQUEST['entry']}/contrib.txt","w");
  924.         fwrite($open_contrib_file,$_SESSION['logged_in']);
  925.         fclose($open_contrib_file);
  926. }
  927.  
  928. if ($_SESSION['logged_in'] == $login_username) {
  929.  
  930.         $sticky_sem = 'data/sticky/' . $_REQUEST['entry'];
  931.         if (isset($_POST['sticky']) and !empty($_POST['sticky']) and ($_POST['sticky'] == "on")) {
  932.                 if (!file_exists("data/sticky")) {
  933.                         mkdir("data/sticky");
  934.                 }
  935.                 if (!file_exists($sticky_sem)) {
  936.                         touch($sticky_sem);
  937.                 }
  938.         }
  939.         if (!isset($_POST['sticky']) or empty($_POST['sticky'])) {
  940.                 if (file_exists($sticky_sem)) {
  941.                         unlink($sticky_sem);
  942.                 }
  943.         }
  944.  
  945.         $display_sem = "data/items/{$_REQUEST['entry']}/cat.txt";
  946.  
  947.         if (isset($_POST['display']) and !empty($_POST['display']) and ($_POST['display'] == "on")) {
  948.                 if (!file_exists($display_sem)) {
  949.                         touch($display_sem);
  950.                 }
  951.         }
  952.         if (!isset($_POST['display']) or empty($_POST['display'])) {
  953.                 if (file_exists($display_sem)) {
  954.                         unlink($display_sem);
  955.                 }
  956.         }
  957.  
  958.         $private_sem = "data/items/{$_REQUEST['entry']}/private.txt";
  959.         if (isset($_POST['private']) and !empty($_POST['private']) and ($_POST['private'] == "on")) {
  960.                 if (!file_exists($private_sem)) {
  961.                         touch($private_sem);
  962.                 }
  963.         }
  964.         if (!isset($_POST['private']) or empty($_POST['private'])) {
  965.                 if (file_exists($private_sem)) {
  966.                         unlink($private_sem);
  967.                 }
  968.         }
  969.  
  970.         $member_sem = "data/items/{$_REQUEST['entry']}/member.txt";
  971.         if (isset($_POST['member']) and !empty($_POST['member']) and ($_POST['member'] == "on")) {
  972.                 if (!file_exists($member_sem)) {
  973.                         touch($member_sem);
  974.                 }
  975.         }
  976.         if (!isset($_POST['member']) or empty($_POST['member'])) {
  977.                 if (file_exists($member_sem)) {
  978.                         unlink($member_sem);
  979.                 }
  980.         }
  981.        
  982.         $edit_sem = "data/items/{$_REQUEST['entry']}/edit.txt";
  983.         if (isset($_POST['edit']) and !empty($_POST['edit']) and ($_POST['edit'] == "on")) {
  984.                 if (!file_exists($edit_sem)) {
  985.                         touch($edit_sem);
  986.                 }
  987.         }
  988.         if (!isset($_POST['edit']) or empty($_POST['edit'])) {
  989.                 if (file_exists($edit_sem)) {
  990.                         unlink($edit_sem);
  991.                 }
  992.         }
  993.        
  994.         $lastmod_sem = "data/items/{$_REQUEST['entry']}/lastmod.txt";
  995.         if (isset($_POST['lastmod']) and !empty($_POST['lastmod']) and ($_POST['lastmod'] == "on")) {
  996.                 if (!file_exists($lastmod_sem)) {
  997.                         touch($lastmod_sem);
  998.                 }
  999.         }
  1000.         if (!isset($_POST['lastmod']) or empty($_POST['lastmod'])) {
  1001.                 if (file_exists($lastmod_sem)) {
  1002.                         unlink($lastmod_sem);
  1003.                 }
  1004.         }
  1005.        
  1006.         if (isset($_POST['pdf']) and !empty($_POST['pdf']) and ($_POST['pdf'] == "on")) {
  1007.                 if (!file_exists("data/items/{$_REQUEST['entry']}/pdf")) {
  1008.                         mkdir("data/items/{$_REQUEST['entry']}/pdf");
  1009.                 }
  1010.                 if (!file_exists("data/items/{$_REQUEST['entry']}/pdf/file")) {
  1011.                         mkdir("data/items/{$_REQUEST['entry']}/pdf/file");
  1012.                 }
  1013.                 if (!file_exists("data/items/{$_REQUEST['entry']}/pdf/count")) {
  1014.                         mkdir("data/items/{$_REQUEST['entry']}/pdf/count");
  1015.                 }
  1016.        
  1017.                 $entry = $_REQUEST['entry'];
  1018.                 $author_file = "data/author.txt";
  1019.                 $title_file = "data/items/$entry/title.txt";
  1020.                 $date_file = "data/items/$entry/date.txt";
  1021.                 $body_file = "data/items/$entry/body.txt";
  1022.        
  1023.                 $author = file_get_contents($author_file);
  1024.                 $title = file_get_contents($title_file);
  1025.                 $date = file_get_contents($date_file);
  1026.        
  1027.                 $link = "<a href=\"http://{$_SERVER['SERVER_NAME']}{$_SERVER['PHP_SELF']}?entry=$entry\">http://{$_SERVER['SERVER_NAME']}{$_SERVER['PHP_SELF']}?entry=$entry</a>";
  1028.                 $link = str_replace("pdf.php?entry=","index.php?entry=",$link);
  1029.                 $link = str_replace("edit.php?entry=","index.php?entry=",$link);
  1030.        
  1031.                 $body = file_get_contents($body_file);
  1032.                 $body = str_replace("\n","<br>",$body);
  1033.        
  1034.                 $html = "<br><i>by $author</i><br><br>$date<br><br>Canonical Source<br>$link<br><br><br>$body";
  1035.        
  1036.                 $filename = strtolower($title);
  1037.                 $filename = strtolower($_SERVER['SERVER_NAME']) . "-" . $entry . "-" . $filename . ".pdf";
  1038.                 $filename = str_replace(" ","-",$filename);
  1039.                 $filename = "data/items/$entry/pdf/file/$filename";
  1040.        
  1041.                 require('fpdf.php');
  1042.        
  1043.                 class PDF extends FPDF
  1044.                 {
  1045.                         var $B;
  1046.                         var $I;
  1047.                         var $U;
  1048.                         var $HREF;
  1049.                        
  1050.                         function PDF($orientation='P',$unit='mm',$format='letter')
  1051.                         {
  1052.                             $this->FPDF($orientation,$unit,$format);
  1053.                             $this->B=0;
  1054.                             $this->I=0;
  1055.                             $this->U=0;
  1056.                             $this->HREF='';
  1057.                         }
  1058.                
  1059.                         function WriteHTML($html)
  1060.                         {
  1061.                             $html=str_replace("\n",' ',$html);
  1062.                             $a=preg_split('/<(.*)>/U',$html,-1,PREG_SPLIT_DELIM_CAPTURE);
  1063.                             foreach($a as $i=>$e)
  1064.                             {
  1065.                                 if($i%2==0)
  1066.                                 {
  1067.                                     if($this->HREF)
  1068.                                         $this->PutLink($this->HREF,$e);
  1069.                                     else
  1070.                                         $this->Write(5,$e);
  1071.                                 }
  1072.                                 else
  1073.                                 {
  1074.                                     if($e{0}=='/')
  1075.                                         $this->CloseTag(strtoupper(substr($e,1)));
  1076.                                     else
  1077.                                     {
  1078.                                         $a2=explode(' ',$e);
  1079.                                         $tag=strtoupper(array_shift($a2));
  1080.                                         $attr=array();
  1081.                                         foreach($a2 as $v)
  1082.                                             if(ereg('^([^=]*)=["\']?([^"\']*)["\']?$',$v,$a3))
  1083.                                                 $attr[strtoupper($a3[1])]=$a3[2];
  1084.                                         $this->OpenTag($tag,$attr);
  1085.                                     }
  1086.                                 }
  1087.                             }
  1088.                         }
  1089.                        
  1090.                         function OpenTag($tag,$attr)
  1091.                         {
  1092.                             if($tag=='B' or $tag=='I' or $tag=='U')
  1093.                                 $this->SetStyle($tag,true);
  1094.                             if($tag=='A')
  1095.                                 $this->HREF=$attr['HREF'];
  1096.                             if($tag=='BR')
  1097.                                 $this->Ln(5);
  1098.                         }
  1099.                        
  1100.                         function CloseTag($tag)
  1101.                         {
  1102.                             if($tag=='B' or $tag=='I' or $tag=='U')
  1103.                                 $this->SetStyle($tag,false);
  1104.                             if($tag=='A')
  1105.                                 $this->HREF='';
  1106.                         }
  1107.                        
  1108.                         function SetStyle($tag,$enable)
  1109.                         {
  1110.                             $this->$tag+=($enable ? 1 : -1);
  1111.                             $style='';
  1112.                             foreach(array('B','I','U') as $s)
  1113.                                 if($this->$s>0)
  1114.                                     $style.=$s;
  1115.                             $this->SetFont('',$style);
  1116.                         }
  1117.                        
  1118.                         function PutLink($URL,$txt)
  1119.                         {
  1120.                             $this->SetTextColor(0,0,255);
  1121.                             $this->SetStyle('U',true);
  1122.                             $this->Write(5,$txt,$URL);
  1123.                             $this->SetStyle('U',false);
  1124.                             $this->SetTextColor(0);
  1125.                         }
  1126.                 }
  1127.        
  1128.                 $pdf=new PDF();
  1129.                 $pdf->AddPage();
  1130.                 $pdf->SetTitle($title);
  1131.                 $pdf->SetAuthor($author);
  1132.                 $pdf->SetFont('Helvetica','B',14);
  1133.                 $pdf->WriteHTML($title);
  1134.                 $pdf->SetFont('Helvetica','',10);
  1135.                 $pdf->WriteHTML($html);
  1136.                 $pdf->Output($filename);
  1137.         }
  1138.        
  1139.         if (!isset($_POST['pdf']) or empty($_POST['pdf'])) {
  1140.                 if (file_exists("data/items/{$_REQUEST['entry']}/pdf/file")) {
  1141.                         rmdirr("data/items/{$_REQUEST['entry']}/pdf/file");
  1142.                 }
  1143.         }
  1144.  
  1145.         $passwd_file = "data/items/{$_REQUEST['entry']}/passwd.txt";
  1146.  
  1147.         if (isset($_POST['passwd']) and !empty($_POST['passwd']) and ($_POST['passwd'] != "password")) {
  1148.                 $fp_passwd_txt = fopen("$passwd_file","w");
  1149.                 $passwd_crypt = sha1($_POST['passwd']);
  1150.                 $passwd_crypt = md5($passwd_crypt);
  1151.                 $passwd_crypt = crypt($passwd_crypt, $passwd_crypt);
  1152.                 fwrite($fp_passwd_txt, $passwd_crypt);
  1153.                 fclose($fp_passwd_txt);
  1154.         }
  1155.  
  1156.         if (!isset($_POST['passwd']) or empty($_POST['passwd'])) {
  1157.                 if (file_exists($passwd_file)) {
  1158.                         unlink($passwd_file);
  1159.                 }
  1160.         }
  1161. }
  1162.  
  1163. $default_ping_urls = "http://technorati.com/ping/http://" . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']);
  1164. $ping_urls_file = "data/ping.txt";
  1165.  
  1166. if (!file_exists($ping_urls_file)) {
  1167.         $fp_default_ping_txt = fopen($ping_urls_file,"w");
  1168.         fwrite($fp_default_ping_txt, $default_ping_urls);
  1169.         fclose($fp_default_ping_txt);
  1170. }
  1171.  
  1172. $fp_ping_urls = fopen($ping_urls_file, "r");
  1173. $ping_urls = fread($fp_ping_urls, filesize($ping_urls_file));
  1174. fclose($fp_ping_urls);
  1175.  
  1176. $get_ping_urls = explode("|", $ping_urls);
  1177.  
  1178. foreach ($get_ping_urls as $ping_url) {
  1179.         $ping = file_get_contents($ping_url);
  1180.         unset($ping);
  1181. }
  1182.  
  1183. ?>
  1184.  
filedropmaj.git-01822e4.tar.bz2
147.95 KB
76 downloads
filedropmaj.git-01822e4.zip
201.96 KB
26 downloads
filedropmaj.git-0291349.tar.bz2
152.85 KB
75 downloads
filedropmaj.git-0291349.zip
211.90 KB
26 downloads
filedropmaj.git-02cb3b7.tar.bz2
151.48 KB
78 downloads
filedropmaj.git-02cb3b7.zip
209.82 KB
26 downloads
filedropmaj.git-0811dd5.tar.bz2
152.90 KB
73 downloads
filedropmaj.git-0811dd5.zip
211.90 KB
24 downloads
filedropmaj.git-083625f.tar.bz2
132.92 KB
72 downloads
filedropmaj.git-083625f.zip
179.59 KB
26 downloads
filedropmaj.git-0885d7b.tar.bz2
92.63 KB
74 downloads
filedropmaj.git-0885d7b.zip
132.34 KB
23 downloads
filedropmaj.git-09c6f33.tar.bz2
151.51 KB
73 downloads
filedropmaj.git-09c6f33.zip
202.12 KB
24 downloads
filedropmaj.git-0b26a85.tar.bz2
151.44 KB
70 downloads
filedropmaj.git-0b26a85.zip
209.75 KB
22 downloads
filedropmaj.git-0b32424.tar.bz2
151.66 KB
72 downloads
filedropmaj.git-0b32424.zip
206.72 KB
22 downloads
filedropmaj.git-0f3ac59.tar.bz2
152.14 KB
70 downloads
filedropmaj.git-0f3ac59.zip
211.45 KB
19 downloads
filedropmaj.git-11d4582.tar.bz2
143.02 KB
2 downloads
filedropmaj.git-11d4582.zip
195.12 KB
18 downloads
filedropmaj.git-17f105a.tar.bz2
137.96 KB
67 downloads
filedropmaj.git-17f105a.zip
193.02 KB
18 downloads
filedropmaj.git-183270b.tar.bz2
137.54 KB
71 downloads
filedropmaj.git-183270b.zip
187.93 KB
19 downloads
filedropmaj.git-197a49d.tar.bz2
152.03 KB
69 downloads
filedropmaj.git-197a49d.zip
211.32 KB
22 downloads
filedropmaj.git-1b9af25.tar.bz2
152.87 KB
67 downloads
filedropmaj.git-1b9af25.zip
211.96 KB
20 downloads
filedropmaj.git-1be2914.tar.bz2
149.30 KB
68 downloads
filedropmaj.git-1be2914.zip
203.09 KB
19 downloads
filedropmaj.git-1bed800.tar.bz2
138.15 KB
65 downloads
filedropmaj.git-1bed800.zip
190.15 KB
23 downloads
filedropmaj.git-1d330de.tar.bz2
151.65 KB
67 downloads
filedropmaj.git-1d330de.zip
210.80 KB
21 downloads
filedropmaj.git-1df190d.tar.bz2
151.72 KB
68 downloads
filedropmaj.git-1df190d.zip
210.85 KB
19 downloads
filedropmaj.git-1ee1167.tar.bz2
151.52 KB
69 downloads
filedropmaj.git-1ee1167.zip
202.16 KB
20 downloads
filedropmaj.git-2057838.tar.bz2
151.76 KB
65 downloads
filedropmaj.git-2057838.zip
202.36 KB
19 downloads
filedropmaj.git-2075213.tar.bz2
155.81 KB
65 downloads
filedropmaj.git-2075213.zip
208.39 KB
19 downloads
filedropmaj.git-211b7b0.tar.bz2
142.53 KB
68 downloads
filedropmaj.git-211b7b0.zip
194.64 KB
20 downloads
filedropmaj.git-2331f5a.tar.bz2
75.55 KB
69 downloads
filedropmaj.git-2331f5a.zip
100.32 KB
22 downloads
filedropmaj.git-25e3c4c.tar.bz2
147.57 KB
68 downloads
filedropmaj.git-25e3c4c.zip
201.46 KB
19 downloads
filedropmaj.git-2622313.tar.bz2
151.47 KB
64 downloads
filedropmaj.git-2622313.zip
206.44 KB
17 downloads
filedropmaj.git-273e4b2.tar.bz2
152.60 KB
64 downloads
filedropmaj.git-273e4b2.zip
203.40 KB
21 downloads
filedropmaj.git-2753e51.tar.bz2
136.37 KB
68 downloads
filedropmaj.git-2753e51.zip
184.34 KB
18 downloads
filedropmaj.git-2c1a589.tar.bz2
155.89 KB
63 downloads
filedropmaj.git-2c1a589.zip
208.69 KB
19 downloads
filedropmaj.git-2c3d544.tar.bz2
151.33 KB
6 downloads
filedropmaj.git-2c3d544.zip
206.23 KB
20 downloads
filedropmaj.git-2c85f72.tar.bz2
143.23 KB
64 downloads
filedropmaj.git-2c85f72.zip
194.84 KB
17 downloads
filedropmaj.git-2dc622c.tar.bz2
151.76 KB
63 downloads
filedropmaj.git-2dc622c.zip
202.35 KB
20 downloads
filedropmaj.git-2fabf8a.tar.bz2
151.35 KB
66 downloads
filedropmaj.git-2fabf8a.zip
206.24 KB
21 downloads
filedropmaj.git-322736b.tar.bz2
137.81 KB
59 downloads
filedropmaj.git-322736b.zip
190.18 KB
19 downloads
filedropmaj.git-374279c.tar.bz2
137.54 KB
59 downloads
filedropmaj.git-374279c.zip
189.58 KB
18 downloads
filedropmaj.git-37e852d.tar.bz2
151.32 KB
55 downloads
filedropmaj.git-37e852d.zip
206.21 KB
17 downloads
filedropmaj.git-38636de.tar.bz2
147.35 KB
57 downloads
filedropmaj.git-38636de.zip
201.16 KB
75 downloads
filedropmaj.git-3b25d71.tar.bz2
147.88 KB
49 downloads
filedropmaj.git-3b25d71.zip
201.85 KB
19 downloads
filedropmaj.git-3b6df7a.tar.bz2
153.39 KB
46 downloads
filedropmaj.git-3b6df7a.zip
204.55 KB
23 downloads
filedropmaj.git-3bf6bd2.tar.bz2
137.77 KB
51 downloads
filedropmaj.git-3bf6bd2.zip
190.16 KB
20 downloads
filedropmaj.git-3e012ff.tar.bz2
152.83 KB
48 downloads
filedropmaj.git-3e012ff.zip
211.89 KB
22 downloads
filedropmaj.git-4129ab8.tar.bz2
135.86 KB
56 downloads
filedropmaj.git-4129ab8.zip
184.30 KB
20 downloads
filedropmaj.git-414dbb4.tar.bz2
91.09 KB
54 downloads
filedropmaj.git-414dbb4.zip
130.29 KB
20 downloads
filedropmaj.git-43755d0.tar.bz2
150.25 KB
46 downloads
filedropmaj.git-43755d0.zip
204.44 KB
20 downloads
filedropmaj.git-4c20005.tar.bz2
55.59 KB
49 downloads
filedropmaj.git-4c20005.zip
74.20 KB
20 downloads
filedropmaj.git-4ccdbcd.tar.bz2
136.38 KB
52 downloads
filedropmaj.git-4ccdbcd.zip
185.22 KB
22 downloads
filedropmaj.git-4cd1a1c.tar.bz2
155.25 KB
47 downloads
filedropmaj.git-4cd1a1c.zip
207.88 KB
23 downloads
filedropmaj.git-4cf16d1.tar.bz2
76.32 KB
52 downloads
filedropmaj.git-4cf16d1.zip
101.80 KB
18 downloads
filedropmaj.git-4ec45a0.tar.bz2
131.16 KB
48 downloads
filedropmaj.git-4ec45a0.zip
172.66 KB
20 downloads
filedropmaj.git-4f73c22.tar.bz2
134.46 KB
49 downloads
filedropmaj.git-4f73c22.zip
182.45 KB
19 downloads
filedropmaj.git-5457969.tar.bz2
155.21 KB
51 downloads
filedropmaj.git-5457969.zip
207.63 KB
20 downloads
filedropmaj.git-57ee8a1.tar.bz2
145.49 KB
52 downloads
filedropmaj.git-57ee8a1.zip
198.12 KB
72 downloads
filedropmaj.git-592978d.tar.bz2
138.38 KB
50 downloads
filedropmaj.git-592978d.zip
190.58 KB
17 downloads
filedropmaj.git-5935b42.tar.bz2
135.60 KB
48 downloads
filedropmaj.git-5935b42.zip
183.28 KB
21 downloads
filedropmaj.git-5b443b6.tar.bz2
152.00 KB
50 downloads
filedropmaj.git-5b443b6.zip
211.07 KB
19 downloads
filedropmaj.git-5b4a9bf.tar.bz2
155.29 KB
47 downloads
filedropmaj.git-5b4a9bf.zip
207.93 KB
18 downloads
filedropmaj.git-5b6c01d.tar.bz2
147.13 KB
49 downloads
filedropmaj.git-5b6c01d.zip
200.86 KB
22 downloads
filedropmaj.git-5da45f7.tar.bz2
147.27 KB
49 downloads
filedropmaj.git-5da45f7.zip
201.02 KB
19 downloads
filedropmaj.git-5e53618.tar.bz2
75.57 KB
52 downloads
filedropmaj.git-5e53618.zip
100.78 KB
20 downloads
filedropmaj.git-5f8ca35.tar.bz2
136.39 KB
47 downloads
filedropmaj.git-5f8ca35.zip
185.32 KB
19 downloads
filedropmaj.git-61e3d7b.tar.bz2
153.52 KB
47 downloads
filedropmaj.git-61e3d7b.zip
204.73 KB
20 downloads
filedropmaj.git-62a635c.tar.bz2
155.90 KB
50 downloads
filedropmaj.git-62a635c.zip
208.73 KB
20 downloads
filedropmaj.git-6390d34.tar.bz2
138.39 KB
51 downloads
filedropmaj.git-6390d34.zip
190.56 KB
23 downloads
filedropmaj.git-649dfbe.tar.bz2
151.78 KB
50 downloads
filedropmaj.git-649dfbe.zip
210.91 KB
20 downloads
filedropmaj.git-65d6570.tar.bz2
151.63 KB
53 downloads
filedropmaj.git-65d6570.zip
210.80 KB
22 downloads
filedropmaj.git-660433f.tar.bz2
151.67 KB
50 downloads
filedropmaj.git-660433f.zip
206.68 KB
20 downloads
filedropmaj.git-6619ae5.tar.bz2
153.23 KB
6 downloads
filedropmaj.git-6619ae5.zip
204.28 KB
19 downloads
filedropmaj.git-68e4e3a.tar.bz2
135.13 KB
47 downloads
filedropmaj.git-68e4e3a.zip
182.91 KB
19 downloads
filedropmaj.git-6995297.tar.bz2
144.93 KB
52 downloads
filedropmaj.git-6995297.zip
197.18 KB
17 downloads
filedropmaj.git-69d6fd3.tar.bz2
143.23 KB
47 downloads
filedropmaj.git-69d6fd3.zip
194.89 KB
22 downloads
filedropmaj.git-6aa872a.tar.bz2
142.95 KB
52 downloads
filedropmaj.git-6aa872a.zip
195.11 KB
21 downloads
filedropmaj.git-6bad5c7.tar.bz2
147.04 KB
52 downloads
filedropmaj.git-6bad5c7.zip
200.79 KB
20 downloads
filedropmaj.git-6e96a2d.tar.bz2
152.13 KB
51 downloads
filedropmaj.git-6e96a2d.zip
207.21 KB
73 downloads
filedropmaj.git-73d46de.tar.bz2
138.42 KB
48 downloads
filedropmaj.git-73d46de.zip
190.59 KB
19 downloads
filedropmaj.git-75e0478.tar.bz2
144.54 KB
52 downloads
filedropmaj.git-75e0478.zip
196.70 KB
21 downloads
filedropmaj.git-784fc35.tar.bz2
143.07 KB
51 downloads
filedropmaj.git-784fc35.zip
195.01 KB
19 downloads
filedropmaj.git-7872a83.tar.bz2
138.51 KB
52 downloads
filedropmaj.git-7872a83.zip
190.69 KB
18 downloads
filedropmaj.git-788fb89.tar.bz2
138.30 KB
51 downloads
filedropmaj.git-788fb89.zip
191.26 KB
24 downloads
filedropmaj.git-796d8a3.tar.bz2
138.92 KB
49 downloads
filedropmaj.git-796d8a3.zip
191.24 KB
19 downloads
filedropmaj.git-79a5e8d.tar.bz2
132.43 KB
51 downloads
filedropmaj.git-79a5e8d.zip
176.90 KB
20 downloads
filedropmaj.git-7b3b2e0.tar.bz2
147.24 KB
50 downloads
filedropmaj.git-7b3b2e0.zip
201.05 KB
20 downloads
filedropmaj.git-7e28eed.tar.bz2
138.89 KB
46 downloads
filedropmaj.git-7e28eed.zip
191.24 KB
20 downloads
filedropmaj.git-8279296.tar.bz2
135.56 KB
52 downloads
filedropmaj.git-8279296.zip
183.25 KB
20 downloads
filedropmaj.git-84c17fe.tar.bz2
152.87 KB
51 downloads
filedropmaj.git-84c17fe.zip
211.90 KB
20 downloads
filedropmaj.git-87c5d5f.tar.bz2
135.78 KB
50 downloads
filedropmaj.git-87c5d5f.zip
183.64 KB
18 downloads
filedropmaj.git-8a48901.tar.bz2
147.27 KB
51 downloads
filedropmaj.git-8a48901.zip
201.06 KB
20 downloads
filedropmaj.git-8ad9892.tar.bz2
164.04 KB
50 downloads
filedropmaj.git-8ad9892.zip
224.42 KB
19 downloads
filedropmaj.git-8b4cf2a.tar.bz2
134.06 KB
50 downloads
filedropmaj.git-8b4cf2a.zip
180.78 KB
20 downloads
filedropmaj.git-8b7e38d.tar.bz2
138.04 KB
55 downloads
filedropmaj.git-8b7e38d.zip
190.39 KB
76 downloads
filedropmaj.git-8df6e40.tar.bz2
143.11 KB
52 downloads
filedropmaj.git-8df6e40.zip
194.66 KB
24 downloads
filedropmaj.git-8e80c84.tar.bz2
138.18 KB
6 downloads
filedropmaj.git-8e80c84.zip
190.30 KB
20 downloads
filedropmaj.git-8ec0fba.tar.bz2
138.37 KB
53 downloads
filedropmaj.git-8ec0fba.zip
191.39 KB
19 downloads
filedropmaj.git-8f7abf6.tar.bz2
153.36 KB
52 downloads
filedropmaj.git-8f7abf6.zip
211.80 KB
18 downloads
filedropmaj.git-923f11a.tar.bz2
138.14 KB
49 downloads
filedropmaj.git-923f11a.zip
191.03 KB
21 downloads
filedropmaj.git-955e82e.tar.bz2
42.71 KB
2 downloads
filedropmaj.git-955e82e.zip
59.77 KB
19 downloads
filedropmaj.git-95add4a.tar.bz2
151.23 KB
54 downloads
filedropmaj.git-95add4a.zip
205.91 KB
19 downloads
filedropmaj.git-96fe0ba.tar.bz2
137.68 KB
45 downloads
filedropmaj.git-96fe0ba.zip
190.34 KB
19 downloads
filedropmaj.git-99a90ce.tar.bz2
137.82 KB
53 downloads
filedropmaj.git-99a90ce.zip
191.20 KB
22 downloads
filedropmaj.git-9a69bb9.tar.bz2
143.19 KB
53 downloads
filedropmaj.git-9a69bb9.zip
194.70 KB
21 downloads
filedropmaj.git-9b6538e.tar.bz2
151.45 KB
50 downloads
filedropmaj.git-9b6538e.zip
202.15 KB
17 downloads
filedropmaj.git-9c4292d.tar.bz2
132.06 KB
51 downloads
filedropmaj.git-9c4292d.zip
176.93 KB
19 downloads
filedropmaj.git-9c78d40.tar.bz2
137.70 KB
51 downloads
filedropmaj.git-9c78d40.zip
190.49 KB
22 downloads
filedropmaj.git-9f1363f.tar.bz2
43.12 KB
53 downloads
filedropmaj.git-9f1363f.zip
60.31 KB
19 downloads
filedropmaj.git-a16c3eb.tar.bz2
90.22 KB
48 downloads
filedropmaj.git-a16c3eb.zip
128.62 KB
19 downloads
filedropmaj.git-a3aa72d.tar.bz2
153.00 KB
51 downloads
filedropmaj.git-a3aa72d.zip
203.86 KB
21 downloads
filedropmaj.git-a6886e4.tar.bz2
144.69 KB
52 downloads
filedropmaj.git-a6886e4.zip
196.95 KB
20 downloads
filedropmaj.git-a8669dc.tar.bz2
135.60 KB
49 downloads
filedropmaj.git-a8669dc.zip
183.34 KB
19 downloads
filedropmaj.git-a9477f1.tar.bz2
135.59 KB
51 downloads
filedropmaj.git-a9477f1.zip
183.45 KB
21 downloads
filedropmaj.git-aa285db.tar.bz2
151.73 KB
51 downloads
filedropmaj.git-aa285db.zip
210.85 KB
19 downloads
filedropmaj.git-aa6ae87.tar.bz2
135.44 KB
51 downloads
filedropmaj.git-aa6ae87.zip
183.88 KB
20 downloads
filedropmaj.git-ab6bc22.tar.bz2
151.71 KB
45 downloads
filedropmaj.git-ab6bc22.zip
210.84 KB
22 downloads
filedropmaj.git-adef726.tar.bz2
153.48 KB
49 downloads
filedropmaj.git-adef726.zip
212.32 KB
20 downloads
filedropmaj.git-afe5877.tar.bz2
144.73 KB
46 downloads
filedropmaj.git-afe5877.zip
197.01 KB
19 downloads
filedropmaj.git-b2d9f8e.tar.bz2
133.22 KB
48 downloads
filedropmaj.git-b2d9f8e.zip
179.27 KB
19 downloads
filedropmaj.git-b41f320.tar.bz2
151.56 KB
47 downloads
filedropmaj.git-b41f320.zip
209.85 KB
24 downloads
filedropmaj.git-b4432ce.tar.bz2
152.96 KB
48 downloads
filedropmaj.git-b4432ce.zip
203.86 KB
21 downloads
filedropmaj.git-b67b08f.tar.bz2
151.27 KB
49 downloads
filedropmaj.git-b67b08f.zip
206.15 KB
22 downloads
filedropmaj.git-b899831.tar.bz2
143.12 KB
49 downloads
filedropmaj.git-b899831.zip
194.60 KB
20 downloads
filedropmaj.git-b8b49c1.tar.bz2
132.59 KB
47 downloads
filedropmaj.git-b8b49c1.zip
178.90 KB
18 downloads
filedropmaj.git-b9c5bcf.tar.bz2
155.92 KB
48 downloads
filedropmaj.git-b9c5bcf.zip
208.70 KB
18 downloads
filedropmaj.git-bbddb1f.tar.bz2
151.63 KB
46 downloads
filedropmaj.git-bbddb1f.zip
209.92 KB
22 downloads
filedropmaj.git-bcaa744.tar.bz2
146.98 KB
51 downloads
filedropmaj.git-bcaa744.zip
200.79 KB
21 downloads
filedropmaj.git-c1ff9dc.tar.bz2
138.39 KB
51 downloads
filedropmaj.git-c1ff9dc.zip
191.43 KB
103 downloads
filedropmaj.git-c20c4b0.tar.bz2
151.64 KB
49 downloads
filedropmaj.git-c20c4b0.zip
210.79 KB
18 downloads
filedropmaj.git-c37f3f7.tar.bz2
145.45 KB
63 downloads
filedropmaj.git-c37f3f7.zip
198.11 KB
29 downloads
filedropmaj.git-c532394.tar.bz2
146.39 KB
51 downloads
filedropmaj.git-c532394.zip
199.91 KB
22 downloads
filedropmaj.git-c6317a4.tar.bz2
152.01 KB
49 downloads
filedropmaj.git-c6317a4.zip
207.08 KB
20 downloads
filedropmaj.git-c748176.tar.bz2
89.44 KB
48 downloads
filedropmaj.git-c748176.zip
126.35 KB
20 downloads
filedropmaj.git-c9ed81f.tar.bz2
135.56 KB
48 downloads
filedropmaj.git-c9ed81f.zip
183.28 KB
22 downloads
filedropmaj.git-c9f9b80.tar.bz2
138.50 KB
48 downloads
filedropmaj.git-c9f9b80.zip
190.66 KB
21 downloads
filedropmaj.git-ca65b73.tar.bz2
152.69 KB
49 downloads
filedropmaj.git-ca65b73.zip
207.87 KB
20 downloads
filedropmaj.git-cd80b77.tar.bz2
153.12 KB
49 downloads
filedropmaj.git-cd80b77.zip
212.01 KB
18 downloads
filedropmaj.git-cffbb2a.tar.bz2
138.22 KB
47 downloads
filedropmaj.git-cffbb2a.zip
190.28 KB
21 downloads
filedropmaj.git-d061ad7.tar.bz2
55.78 KB
62 downloads
filedropmaj.git-d061ad7.zip
74.39 KB
21 downloads
filedropmaj.git-d0af4d6.tar.bz2
57.28 KB
49 downloads
filedropmaj.git-d0af4d6.zip
78.56 KB
21 downloads
filedropmaj.git-d1caa0a.tar.bz2
144.57 KB
51 downloads
filedropmaj.git-d1caa0a.zip
196.63 KB
21 downloads
filedropmaj.git-d5679b5.tar.bz2
152.37 KB
48 downloads
filedropmaj.git-d5679b5.zip
207.52 KB
22 downloads
filedropmaj.git-d72f459.tar.bz2
147.90 KB
51 downloads
filedropmaj.git-d72f459.zip
201.92 KB
17 downloads
filedropmaj.git-d958c91.tar.bz2
144.67 KB
51 downloads
filedropmaj.git-d958c91.zip
196.88 KB
24 downloads
filedropmaj.git-d96784f.tar.bz2
135.58 KB
49 downloads
filedropmaj.git-d96784f.zip
183.46 KB
19 downloads
filedropmaj.git-da4b73f.tar.bz2
152.62 KB
46 downloads
filedropmaj.git-da4b73f.zip
203.48 KB
20 downloads
filedropmaj.git-dd24240.tar.bz2
138.27 KB
47 downloads
filedropmaj.git-dd24240.zip
190.45 KB
79 downloads
filedropmaj.git-e11e772.tar.bz2
152.09 KB
46 downloads
filedropmaj.git-e11e772.zip
211.33 KB
19 downloads
filedropmaj.git-e61478e.tar.bz2
135.95 KB
51 downloads
filedropmaj.git-e61478e.zip
183.91 KB
20 downloads
filedropmaj.git-e7a2547.tar.bz2
133.80 KB
46 downloads
filedropmaj.git-e7a2547.zip
180.05 KB
23 downloads
filedropmaj.git-e8a3b95.tar.bz2
138.15 KB
52 downloads
filedropmaj.git-e8a3b95.zip
191.04 KB
17 downloads
filedropmaj.git-eac86d5.tar.bz2
155.65 KB
47 downloads
filedropmaj.git-eac86d5.zip
208.28 KB
19 downloads
filedropmaj.git-ed83bf9.tar.bz2
135.16 KB
48 downloads
filedropmaj.git-ed83bf9.zip
182.91 KB
21 downloads
filedropmaj.git-ee50d40.tar.bz2
135.59 KB
51 downloads
filedropmaj.git-ee50d40.zip
183.48 KB
22 downloads
filedropmaj.git-efdb4df.tar.bz2
155.87 KB
52 downloads
filedropmaj.git-efdb4df.zip
208.72 KB
21 downloads
filedropmaj.git-f1554f8.tar.bz2
151.30 KB
51 downloads
filedropmaj.git-f1554f8.zip
206.22 KB
22 downloads
filedropmaj.git-f72a07b.tar.bz2
153.44 KB
51 downloads
filedropmaj.git-f72a07b.zip
212.11 KB
23 downloads
filedropmaj.git-f7ea5a1.tar.bz2
147.46 KB
50 downloads
filedropmaj.git-f7ea5a1.zip
201.32 KB
23 downloads
filedropmaj.git-f8a7353.tar.bz2
138.49 KB
50 downloads
filedropmaj.git-f8a7353.zip
190.66 KB
24 downloads
filedropmaj.git-fb84a8d.tar.bz2
137.61 KB
56 downloads
filedropmaj.git-fb84a8d.zip
190.70 KB
25 downloads
filedropmaj.git-fdcf5d3.tar.bz2
152.34 KB
54 downloads
filedropmaj.git-fdcf5d3.zip
207.53 KB
24 downloads
filedropmaj.git-feca42d.tar.bz2
132.90 KB
54 downloads
filedropmaj.git-feca42d.zip
179.44 KB
27 downloads