maj.world

maj.world

Git

This blob has been accessed 292 times via Git panel.

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