maj.world

maj.world

Git

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