maj.world

maj.world

Git

This blob has been accessed 233 times via Git panel.

  1. <?php
  2.  
  3.   require("core.php");
  4.  
  5.   if (isset($_POST['title_input']) and isset($_POST['body_input'])) {
  6.       header("Location: edit.php?entry=$maj_req_entry");
  7.   }
  8.  
  9.   if (!isset($maj_req_entry)) {
  10.       exit();
  11.   }
  12.  
  13.   if (!file_exists("$maj_data_directory/items/$maj_req_entry")) {
  14.       exit();
  15.   }
  16.  
  17.   if (!isset($maj_logged_in_username)) {
  18.       exit();
  19.   }
  20.  
  21.   $do = 0;
  22.  
  23.   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))) {
  24.       $do = 1;
  25.   }
  26.  
  27.   if (file_exists("$maj_data_directory/items/$maj_req_entry/lock.txt")) {
  28.       $do = 0;
  29.   }
  30.  
  31.   if ($maj_logged_in_username == $maj_admin_username) {
  32.       $do = 1;
  33.   }
  34.  
  35.   if ($do == 0) {
  36.       exit();
  37.   }
  38.  
  39.   $title_file = "$maj_data_directory/items/$maj_req_entry/title.txt";
  40.   $body_file = "$maj_data_directory/items/$maj_req_entry/body.txt";
  41.   $date_file = "$maj_data_directory/items/$maj_req_entry/date.txt";
  42.   $img_file = "$maj_data_directory/items/$maj_req_entry/image.txt";
  43.   $revisions_file = "$maj_data_directory/items/$maj_req_entry/revisions.txt";
  44.  
  45.   include("css.php");
  46.  
  47.   echo "\n<style>body { margin: {$maj_wspace}px; } .input, .click { width: 520px; }</style>\n";
  48.    
  49. ?>
  50.  
  51. <title>Edit</title>
  52.  
  53. <?php
  54.   if (isset($_POST['auth_member']) and !empty($_POST['auth_member']) and isset($_POST['auth_toggle']) and !empty($_POST['auth_toggle'])) {
  55.       if (($_POST['auth_toggle'] == "ack") and file_exists("$maj_data_directory/members/active/{$_POST['auth_member']}")) {
  56.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/members")) {
  57.               mkdir("$maj_data_directory/items/$maj_req_entry/members");
  58.           }
  59.          
  60.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/members/{$_POST['auth_member']}")) {
  61.               mkdir("$maj_data_directory/items/$maj_req_entry/members/{$_POST['auth_member']}");
  62.           }
  63.          
  64.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/imembers")) {
  65.               mkdir("$maj_data_directory/items/$maj_req_entry/imembers");
  66.           }
  67.          
  68.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/imembers/{$_POST['auth_member']}")) {
  69.               mkdir("$maj_data_directory/items/$maj_req_entry/imembers/{$_POST['auth_member']}");
  70.           }
  71.       }
  72.      
  73.       if (($_POST['auth_toggle'] == "nak") and file_exists("$maj_data_directory/members/active/{$_POST['auth_member']}")) {
  74.           if (file_exists("$maj_data_directory/items/$maj_req_entry/members/{$_POST['auth_member']}")) {
  75.               rmdirr("$maj_data_directory/items/$maj_req_entry/members/{$_POST['auth_member']}");
  76.           }
  77.          
  78.           if (file_exists("$maj_data_directory/items/$maj_req_entry/imembers/{$_POST['auth_member']}")) {
  79.               rmdirr("$maj_data_directory/items/$maj_req_entry/imembers/{$_POST['auth_member']}");
  80.           }
  81.       }
  82.   }
  83.  
  84.   if (isset($maj_req_category) and !empty($maj_req_category)) {
  85.       if (file_exists("$maj_data_directory/categories/$maj_req_category/members")) {
  86.           if ($dh_cat_members = opendir("$maj_data_directory/categories/$maj_req_category/members")) {
  87.               while (($get_cat_member = readdir($dh_cat_members)) !== false) {
  88.                   if ($get_cat_member != "." && $get_cat_member != "..") {
  89.                       if (file_exists("$maj_data_directory/members/active/$get_cat_member")) {
  90.                           $get_cat_members[] = $get_cat_member;
  91.                       } else {
  92.                           rmdirr("$maj_data_directory/categories/$maj_req_category/members/$get_cat_member");
  93.                       }
  94.                   }
  95.               }
  96.               closedir($dh_cat_members);
  97.           }
  98.       }
  99.      
  100.       if (($_POST['do'] == "unfile") and file_exists("$maj_data_directory/items/$maj_req_entry/categories/$maj_req_category")) {
  101.           rmdirr("$maj_data_directory/items/$maj_req_entry/categories/$maj_req_category");
  102.          
  103.           if (count(glob("$maj_data_directory/items/$maj_req_entry/categories/*")) < 1) {
  104.               rmdirr("$maj_data_directory/items/$maj_req_entry/categories");
  105.           }
  106.          
  107.           if (file_exists("$maj_data_directory/categories")) {
  108.               if ($dh_get_categories = opendir("$maj_data_directory/categories")) {
  109.                   while (($get_category = readdir($dh_get_categories)) !== false) {
  110.                       if ($get_category != "." && $get_category != "..") {
  111.                           $get_categories[] = $get_category;
  112.                       }
  113.                   }
  114.                   closedir($dh_get_categories);
  115.               }
  116.              
  117.               foreach ($get_cat_members as $get_cat_mem) {
  118.                   $count_mem = 0;
  119.                  
  120.                   foreach ($get_categories as $get_category) {
  121.                       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")) {
  122.                           $count_mem = $count_mem + 1;
  123.                       }
  124.                   }
  125.                  
  126.                   if (($count_mem < 1) and !file_exists("$maj_data_directory/items/$maj_req_entry/imembers/$get_cat_mem")) {
  127.                       rmdirr("$maj_data_directory/items/$maj_req_entry/members/$get_cat_mem");
  128.                   }
  129.               }
  130.           }
  131.       }
  132.      
  133.       if (($_POST['do'] == "file") and !file_exists("$maj_data_directory/items/$maj_req_entry/categories/$maj_req_category")) {
  134.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/categories")) {
  135.               mkdir("$maj_data_directory/items/$maj_req_entry/categories");
  136.           }
  137.          
  138.           mkdir("$maj_data_directory/items/$maj_req_entry/categories/$maj_req_category");
  139.          
  140.           foreach ($get_cat_members as $get_cat_mem) {
  141.               if (!file_exists("$maj_data_directory/items/$maj_req_entry/members/$get_cat_mem")) {
  142.                   mkdir("$maj_data_directory/items/$maj_req_entry/members/$get_cat_mem");
  143.               }
  144.           }
  145.       }
  146.   }
  147.  
  148.   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"))) {
  149.       $comment_txt = ucfirst($_POST['comment_txt']);
  150.       $comment_txt = str_replace("\n", '<br />', $comment_txt);
  151.       $comment_txt = str_replace(':((', '<img src="images/smileys/crying.png" border="0">', $comment_txt);
  152.       $comment_txt = str_replace(':(', '<img src="images/smileys/frown.png" border="0">', $comment_txt);
  153.       $comment_txt = str_replace(':|', '<img src="images/smileys/indifferent.png" border="0">', $comment_txt);
  154.       $comment_txt = str_replace(':D', '<img src="images/smileys/laughing.png" border="0">', $comment_txt);
  155.       $comment_txt = str_replace(':P', '<img src="images/smileys/lick.png" border="0">', $comment_txt);
  156.       $comment_txt = str_replace(':O', '<img src="images/smileys/ohno.png" border="0">', $comment_txt);
  157.       $comment_txt = str_replace(':)', '<img src="images/smileys/smile.png" border="0">', $comment_txt);
  158.       $comment_txt = str_replace('=)', '<img src="images/smileys/surprised.png" border="0">', $comment_txt);
  159.       $comment_txt = str_replace(':\\', '<img src="images/smileys/undecided.png" border="0">', $comment_txt);
  160.       $comment_txt = str_replace(';)', '<img src="images/smileys/wink.png" border="0">', $comment_txt);
  161.       $comment_txt_file = "$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/comment.txt";
  162.       $open_comment_txt_file = fopen($comment_txt_file, "w");
  163.       fwrite($open_comment_txt_file, $comment_txt);
  164.       fclose($open_comment_txt_file);
  165.      
  166.       $comment_revisions_file = "$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/revisions.txt";
  167.       $fp_comment_revisions_file = fopen($comment_revisions_file, "r");
  168.       $comment_revisions_count = fread($fp_comment_revisions_file, filesize($comment_revisions_file));
  169.       fclose($fp_comment_revisions_file);
  170.      
  171.       $comment_revisions_count = $comment_revisions_count + 1;
  172.       $fp_comment_revisions_file = fopen($comment_revisions_file, "w");
  173.       fwrite($fp_comment_revisions_file, $comment_revisions_count);
  174.       fclose($fp_comment_revisions_file);
  175.   }
  176.  
  177.   if (isset($_REQUEST['comment']) and !empty($_REQUEST['comment']) and isset($_REQUEST['type']) and !empty($_REQUEST['type']) and (($_REQUEST['type'] == "live") or ($_REQUEST['type'] == "pending"))) {
  178.       if (!file_exists("$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}")) {
  179.           exit();
  180.       }
  181. ?>
  182.   <table border="0" cellspacing="0" cellpadding="0"><tr><td width="520">
  183.   <div class="panel_title"><?php
  184.       readfile("$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/firstname.txt");
  185. ?>&nbsp;<?php
  186.       readfile("$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/lastname.txt");
  187. ?>&nbsp;&lt;<?php
  188.       readfile("$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/email.txt");
  189. ?>&gt;</div>
  190.   <div class="panel_body"><?php
  191.  
  192.   echo "<font style=\"font-size: $maj_font_Spx; color: #999999;\">";
  193.  
  194.   if (file_exists("$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/author.txt")) {
  195.       readfile("$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/author.txt");
  196.       echo " - ";
  197.   }
  198.  
  199.   entry2date($_REQUEST['comment']);
  200.  
  201.   if (file_exists($revisions_file)) {
  202.       echo ' (Revision ';
  203.       readfile("$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/revisions.txt");
  204.       echo " - ";
  205.       echo date("l, M j, Y, g:i A", filemtime("$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/comment.txt"));
  206.       echo ')';
  207.   }
  208.  
  209.   echo "</font><div style=\"height: {$maj_wspace}px;\"></div>";  
  210.  
  211.       readfile("$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/comment.txt");
  212. ?></div>
  213.  
  214.   </td></tr></table>
  215.  
  216.   <table border="0" cellspacing="2" cellpadding="0">
  217.   <form enctype="multipart/form-data" action="edit.php" method="post">
  218.   <tr><td><textarea class="input" name="comment_txt" rows="10"><?php
  219.       $comment_txt_file = "$maj_data_directory/items/$maj_req_entry/comments/{$_REQUEST['type']}/{$_REQUEST['comment']}/comment.txt";
  220.       $open_comment_txt_file = fopen($comment_txt_file, "r");
  221.       $read_comment_txt_file = fread($open_comment_txt_file, filesize($comment_txt_file));
  222.       fclose($open_comment_txt_file);
  223.      
  224.       $comment_smiley2emoticon = str_replace('<br />', "\n", $read_comment_txt_file);
  225.       $comment_smiley2emoticon = str_replace('<img src="images/smileys/crying.png" border="0">', ':((', $comment_smiley2emoticon);
  226.       $comment_smiley2emoticon = str_replace('<img src="images/smileys/frown.png" border="0">', ':(', $comment_smiley2emoticon);
  227.       $comment_smiley2emoticon = str_replace('<img src="images/smileys/indifferent.png" border="0">', ':|', $comment_smiley2emoticon);
  228.       $comment_smiley2emoticon = str_replace('<img src="images/smileys/laughing.png" border="0">', ':D', $comment_smiley2emoticon);
  229.       $comment_smiley2emoticon = str_replace('<img src="images/smileys/lick.png" border="0">', ':P', $comment_smiley2emoticon);
  230.       $comment_smiley2emoticon = str_replace('<img src="images/smileys/ohno.png" border="0">', ':O', $comment_smiley2emoticon);
  231.       $comment_smiley2emoticon = str_replace('<img src="images/smileys/smile.png" border="0">', ':)', $comment_smiley2emoticon);
  232.       $comment_smiley2emoticon = str_replace('<img src="images/smileys/surprised.png" border="0">', '=)', $comment_smiley2emoticon);
  233.       $comment_smiley2emoticon = str_replace('<img src="images/smileys/undecided.png" border="0">', ':\\', $comment_smiley2emoticon);
  234.       $comment_smiley2emoticon = str_replace('<img src="images/smileys/wink.png" border="0">', ';)', $comment_smiley2emoticon);
  235.      
  236.       echo $comment_smiley2emoticon;
  237. ?></textarea></td></tr>
  238.   <tr><td><input type="hidden" name="entry" value="<?php
  239.      echo $maj_req_entry;
  240. ?>"></td></tr>
  241.   <tr><td><input type="hidden" name="comment" value="<?php
  242.      echo $_REQUEST['comment'];
  243. ?>"></td></tr>
  244.   <tr><td><input type="hidden" name="type" value="<?php
  245.      echo $_REQUEST['type'];
  246. ?>"></td></tr>
  247.   <tr><td><input class="click" type="submit" value="click here to update this comment"></td></tr>
  248.   </form>
  249.  
  250.   <form enctype="multipart/form-data" action="index.php?entry=<?php
  251.      echo $maj_req_entry;
  252. ?>&show=comments" method="post">
  253.   <tr><td><input class="click" type="submit" value="click here to view posted entry"></td></tr>
  254.   </form>
  255.  
  256.   <form enctype="multipart/form-data" action="index.php" method="post">
  257.   <tr><td><input class="click" type="submit" value="click here to go to the index page"></td></tr>
  258.   </form>
  259.   </table>
  260.  
  261. <?php
  262.       exit();
  263.   }
  264. ?>
  265.  
  266. <table border="0" cellspacing="0" cellpadding="0">
  267.  
  268. <tr><td valign="top">
  269.  
  270. <table border="0" cellspacing="0" cellpadding="0"><tr><td width="520">
  271.  
  272. <div class="panel_wrapper">
  273.  
  274. <div class="panel_title"><?php
  275.   readfile($title_file);
  276. ?></div>
  277. <div class="panel_body"><table border="0" cellspacing="0" cellpadding="0"><tr><td><?php
  278.  
  279.   echo "<font style=\"font-size: $maj_font_Spx; color: #999999;\">";
  280.  
  281.   if (file_exists("$maj_data_directory/items/$maj_req_entry/author.txt")) {
  282.       readfile("$maj_data_directory/items/$maj_req_entry/author.txt");
  283.       echo " - ";
  284.   }
  285.  
  286.   entry2date($maj_req_entry);
  287.  
  288.   if (file_exists($revisions_file)) {
  289.       echo ' (Revision ';
  290.       readfile($revisions_file);
  291.       echo " - ";
  292.       echo date("l, M j, Y, g:i A", filemtime("$maj_data_directory/items/$maj_req_entry/body.txt"));
  293.       echo ')';
  294.   }
  295.  
  296.   echo "</font><div style=\"height: {$maj_wspace}px;\"></div>";  
  297.  
  298.   readfile($body_file);
  299. ?></td></tr></table></div></div>
  300. </td></tr></table>
  301.  
  302. <form enctype="multipart/form-data" action="edit.php" method="post">
  303.  
  304. <table border="0" cellspacing="2" cellpadding="0">
  305.  
  306. <?php
  307.   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"))) {
  308. ?>
  309.  
  310. <input type="hidden" name="max_file_size" value="<?php
  311.      echo $max_file_size;
  312. ?>">
  313.  
  314. <tr><td><input autocomplete="off" type="file" name="entry_image_input"> Upload optional GIF, JPG, or PNG entry image.</td></tr>
  315. <tr><td><input type="hidden" name="max_file_size" value="<?php
  316.      echo $max_file_size;
  317. ?>"></td></tr>
  318. <tr><td><input autocomplete="off" type="file" name="file_input"> Upload optional file. Max size supported by server is <?php
  319.       echo($max_file_size / (1024 * 1024));
  320. ?>MB.</td></tr>
  321.  
  322. <tr><td><input autocomplete="off" type="file" name="album_image_input"> Upload optional album image. Enter optional caption below.</td></tr>
  323. <tr><td><input autocomplete="off" type="text" name="caption" class="input"></td></tr>
  324. <tr><td><input type="hidden" name="max_file_size" value="<?php
  325.      echo $max_file_size;
  326. ?>"></td></tr>
  327.  
  328. <?php
  329.   }
  330.  
  331.   if ($maj_logged_in_username == $maj_admin_username) {
  332. ?>
  333.  
  334.   <tr><td><input class="input" autocomplete="off" type="password" name="passwd" <?php
  335.       if (file_exists("$maj_data_directory/items/$maj_req_entry/passwd.txt")) {
  336.           echo "value=\"password\"";
  337.       }
  338. ?>
  339.  
  340.   > <?php
  341.       if (file_exists("$maj_data_directory/items/$maj_req_entry/passwd.txt")) {
  342.           echo "Enter new password or clear field to disable password protection.";
  343.       } else {
  344.           echo "Enter optional entry access password.";
  345.       }
  346. ?></td></tr>
  347.  
  348.   <tr><td><input class="input" autocomplete="off" type="text" name="maxlines" <?php
  349.       if (file_exists("$maj_data_directory/items/$maj_req_entry/maxlines.txt")) {
  350.           echo "value=\"";
  351.           readfile("$maj_data_directory/items/$maj_req_entry/maxlines.txt");
  352.           echo "\"";
  353.       }
  354. ?>
  355.  
  356.   > <?php
  357.       if (file_exists("$maj_data_directory/items/$maj_req_entry/maxlines.txt")) {
  358.           echo "Enter new maximum lines for initial display or clear field to disable.";
  359.       } else {
  360.           echo "Enter optional maximum lines for initial display.";
  361.       }
  362. ?></td></tr>
  363.  
  364.   <tr><td><input type="checkbox" name="sticky" <?php
  365.       $sticky_sem = 'data/sticky/' . $maj_req_entry;
  366.       if (file_exists($sticky_sem)) {
  367.           echo checked;
  368.       }
  369. ?>>Put entry title in Quick Links box.</td></tr>
  370.   <tr><td><input type="checkbox" name="display" <?php
  371.       $display_sem = "$maj_data_directory/items/$maj_req_entry/cat.txt";
  372.       if (file_exists($display_sem)) {
  373.           echo checked;
  374.       }
  375. ?>>Always display. If this is not a private entry, it will be displayed even if its category is hidden or isolated.</td></tr>
  376.   <tr><td><input type="checkbox" name="private" <?php
  377.       $private_sem = "$maj_data_directory/items/$maj_req_entry/private.txt";
  378.       if (file_exists($private_sem)) {
  379.           echo checked;
  380.       }
  381. ?>>Private entry. This entry will unconditionally be invisible to visitors<?php
  382.       if (file_exists("$maj_data_directory/ml.txt")) {
  383.           echo " and to the mailing list";
  384.       }
  385. ?>, even if always display is set.</td></tr>
  386.  
  387.   <?php
  388.       if (file_exists("$maj_data_directory/bb.txt")) {
  389. ?>
  390.  
  391.   <tr><td><input type="checkbox" name="member" <?php
  392.           $member_sem = "$maj_data_directory/items/$maj_req_entry/member.txt";
  393.           if (file_exists($member_sem)) {
  394.               echo checked;
  395.           }
  396. ?>>Only registered members can view this entry.</td></tr>
  397.  
  398.   <?php
  399.       }
  400. ?>
  401.  
  402.   <?php
  403.       if (file_exists("$maj_data_directory/bb.txt") and file_exists("$maj_data_directory/wiki.txt")) {
  404. ?>
  405.  
  406.   <tr><td><input type="checkbox" name="edit" <?php
  407.           $edit_sem = "$maj_data_directory/items/$maj_req_entry/edit.txt";
  408.           if (file_exists($edit_sem)) {
  409.               echo checked;
  410.           }
  411. ?>>Registered members can edit this entry.</td></tr>
  412.   <tr><td><input type="checkbox" name="lock" <?php
  413.           if (file_exists("$maj_data_directory/items/$maj_req_entry/lock.txt")) {
  414.               echo checked;
  415.           }
  416. ?>>Only the administrator can edit this entry. </td></tr>
  417.  
  418.   <?php
  419.       }
  420. ?>
  421.  
  422.   <tr><td><input type="checkbox" name="xtitle" <?php
  423.       $lastmod_sem = "$maj_data_directory/items/$maj_req_entry/xtitle.txt";
  424.       if (file_exists($lastmod_sem)) {
  425.           echo checked;
  426.       }
  427. ?>>Do not display the entry title.</td></tr>
  428.  
  429. <?php
  430.   }
  431. ?>
  432.  
  433.   <tr><td><input type="checkbox" name="xdate" <?php
  434.       $lastmod_sem = "$maj_data_directory/items/$maj_req_entry/xdate.txt";
  435.       if (file_exists($lastmod_sem)) {
  436.           echo checked;
  437.       }
  438. ?>>Do not display the entry date.</td></tr>
  439.  
  440. <?php
  441.  
  442. if (!file_exists("$maj_data_directory/avatar.txt")) {
  443.  
  444.         echo "<tr><td><input type=\"checkbox\" name=\"xauthor\"";
  445.  
  446.         if (file_exists("$maj_data_directory/items/$maj_req_entry/xauthor.txt")) {
  447.                 echo checked;
  448.         }
  449.        
  450.         echo ">Do not display the entry author.</td></tr>";
  451. }
  452. else {
  453.         echo "<tr><td><input type=\"checkbox\" name=\"xavatar\"";
  454.  
  455.         if (file_exists("$maj_data_directory/items/$maj_req_entry/xavatar.txt")) {
  456.                 echo checked;
  457.         }
  458.        
  459.         echo ">Do not display the entry avatar.</td></tr>";
  460. }
  461.  
  462. ?>
  463.  
  464.  
  465.   <tr><td><input type="checkbox" name="lastmod" <?php
  466.       $lastmod_sem = "$maj_data_directory/items/$maj_req_entry/lastmod.txt";
  467.       if (file_exists($lastmod_sem)) {
  468.           echo checked;
  469.       }
  470. ?>>Display last modification date and time.</td></tr>
  471.  
  472. <?php
  473.  
  474. if (file_exists("$maj_data_directory/fb.txt")) {
  475.  
  476.         echo "<tr><td><input type=\"checkbox\" name=\"fb\"";
  477.  
  478.         if (file_exists("$maj_data_directory/items/$maj_req_entry/fb.txt")) {
  479.                 echo checked;
  480.         }
  481.        
  482.         echo ">Enable Facebook support.</td></tr>";
  483. }
  484.  
  485. if (file_exists("images/$maj_req_entry/album")) {
  486.  
  487.         $count_album_images = count(glob("images/$maj_req_entry/album/*"));
  488.        
  489.         if ($count_album_images < 1) {
  490.                 rmdirr("images/$maj_req_entry/album");
  491.         }
  492.         else {
  493.                 if (file_exists("$maj_data_directory/items/$maj_req_entry/auto-album.txt")) {
  494.                         echo "<tr><td><input type=\"checkbox\" name=\"auto_album\" checked>";
  495.                 }
  496.                 else {
  497.                         echo "<tr><td><input type=\"checkbox\" name=\"auto_album\">";
  498.                 }
  499.        
  500.                 if ($count_album_images > 1) {
  501.                         echo "Automatically display album (<a href=\"index.php?entry=$maj_req_entry&show=album\">$count_album_images images</a>).</td></tr>";
  502.                 }
  503.                 else {
  504.                         echo "Automatically display album (<a href=\"index.php?entry=$maj_req_entry&show=album\">$count_album_images image</a>).</td></tr>";
  505.                 }
  506.         }
  507. }
  508.  
  509. ?>
  510.  
  511. </table></p>
  512.  
  513. <input type="hidden" name="entry" value="<?php echo $maj_req_entry; ?>">
  514.  
  515. <table border="0" cellspacing="0" cellpadding="0"><tr><td>
  516.  
  517. <table border="0" cellspacing="2" cellpadding="0">
  518. <tr><td><input required autocomplete="off" class="input" style="font-size: <?php echo $maj_font_Lpx; ?>; font-weight: bold;" type="text" name="title_input" value="<?php readfile($title_file); ?>"></td></tr>
  519. <tr><td><textarea class="input" style="font-size: <?php echo $maj_font_Mpx; ?>;" name="body_input" rows="15" required>
  520. <?php
  521.   $open_body_file = fopen($body_file, "r");
  522.   $read_body_file = fread($open_body_file, filesize($body_file));
  523.   fclose($open_body_file);
  524.  
  525.   $body_read_content = str_replace('<br />', "\n", $read_body_file);
  526.   $body_read_content = str_replace('<img src="images/smileys/crying.png" border="0">', ':((', $body_read_content);
  527.   $body_read_content = str_replace('<img src="images/smileys/frown.png" border="0">', ':(', $body_read_content);
  528.   $body_read_content = str_replace('<img src="images/smileys/indifferent.png" border="0">', ':|', $body_read_content);
  529.   $body_read_content = str_replace('<img src="images/smileys/laughing.png" border="0">', ':D', $body_read_content);
  530.   $body_read_content = str_replace('<img src="images/smileys/lick.png" border="0">', ':P', $body_read_content);
  531.   $body_read_content = str_replace('<img src="images/smileys/ohno.png" border="0">', ':O', $body_read_content);
  532.   $body_read_content = str_replace('<img src="images/smileys/smile.png" border="0">', ':)', $body_read_content);
  533.   $body_read_content = str_replace('<img src="images/smileys/surprised.png" border="0">', '=)', $body_read_content);
  534.   $body_read_content = str_replace('<img src="images/smileys/undecided.png" border="0">', ':\\', $body_read_content);
  535.   $body_read_content = str_replace('<img src="images/smileys/wink.png" border="0">', ';)', $body_read_content);
  536.   $body_read_content = str_replace('<!-- html -->', '<html>', $body_read_content);
  537.   $body_read_content = str_replace('<!-- /html -->', '</html>', $body_read_content);
  538.   $body_read_content = str_replace('<span style="background-color: #ffff00;">', '<highlight>', $body_read_content);
  539.   $body_read_content = str_replace('</span>', '</highlight>', $body_read_content);
  540.  
  541.   echo $body_read_content;
  542. ?>
  543. </textarea></td></tr>
  544. <tr><td><input class="click" type="submit" value="click here to update this entry"></td></tr>
  545. </form>
  546.  
  547. <form enctype="multipart/form-data" action="index.php?entry=<?php echo $maj_req_entry; ?>" method="post">
  548. <tr><td><input class="click" type="submit" value="click here to view posted entry"></td></tr>
  549. </form>
  550.  
  551. <form enctype="multipart/form-data" action="index.php" method="post">
  552. <tr><td><input class="click" type="submit" value="click here to go to the index page"></td></tr>
  553. </form>
  554.  
  555. </table>
  556.  
  557. </td><td width="10"></td><td>
  558.  
  559. <table border="0" cellspacing="1" cellpadding="2">
  560. <tr><td><img src="images/smileys/crying.png" border="0"></td><td>:((</td><td >crying</td></tr>
  561. <tr><td><img src="images/smileys/frown.png" border="0"></td><td>:(</td><td>frown</td></tr>
  562. <tr><td><img src="images/smileys/indifferent.png" border="0"></td><td>:|</td><td>indifferent</td></tr>
  563. <tr><td><img src="images/smileys/laughing.png" border="0"></td><td>:D</td><td>laughing</td></tr>
  564. <tr><td><img src="images/smileys/lick.png" border="0"></td><td>:P</td><td>lick</td></tr>
  565. <tr><td><img src="images/smileys/ohno.png" border="0"></td><td>:O</td><td>oh no!</td></tr>
  566. <tr><td><img src="images/smileys/smile.png" border="0"></td><td>:)</td><td>smile</td></tr>
  567. <tr><td><img src="images/smileys/surprised.png" border="0"></td><td>=)</td><td>surprised</td></tr>
  568. <tr><td><img src="images/smileys/undecided.png" border="0"></td><td>:\</td><td>undecided</td></tr>
  569. <tr><td><img src="images/smileys/wink.png" border="0"></td><td>;)</td><td>wink</td></tr>
  570. </table>
  571.  
  572. </td></tr></table>
  573.  
  574. </td><td width="25"></td><td valign="top">
  575.  
  576. <?php
  577.   // improve category handling (20100221) - start
  578.  
  579.   if (file_exists("$maj_data_directory/categories")) {
  580.       echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\"><tr><td valign=\"top\" width=\"150\">";
  581.      
  582.       if ($dh_cat = opendir("$maj_data_directory/categories")) {
  583.           while (($entry_cat = readdir($dh_cat)) !== false) {
  584.               if ($entry_cat != "." && $entry_cat != "..") {
  585.                   if (file_exists("$maj_data_directory/categories/$entry_cat/private.txt") and ($maj_admin_username != $maj_logged_in_username)) {
  586.                       continue;
  587.                   }
  588.                  
  589.                   if (file_exists("$maj_data_directory/items/$maj_req_entry/categories/$entry_cat")) {
  590.                       $filed_cat[] = $entry_cat;
  591.                   }
  592.                  
  593.                   if (!file_exists("$maj_data_directory/items/$maj_req_entry/categories/$entry_cat")) {
  594.                       $unfiled_cat[] = $entry_cat;
  595.                   }
  596.               }
  597.           }
  598.           closedir($dh_cat);
  599.          
  600.           sort($filed_cat);
  601.           sort($unfiled_cat);
  602.          
  603.           reset($filed_cat);
  604.           reset($unfiled_cat);
  605.          
  606.           $count_filed_cat = count($filed_cat);
  607.           $count_unfiled_cat = count($unfiled_cat);
  608.       }
  609.      
  610.       if ($count_filed_cat > 0) {
  611.           echo "<p><b>Filed Under</b></p>";
  612.          
  613.           echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"150\">";
  614.          
  615.           foreach ($filed_cat as $filed_category) {
  616.               echo "<form enctype=\"multipart/form-data\" action=\"edit.php\" method=\"post\">";
  617.               echo "<input type=\"hidden\" name=\"entry\" value=\"$maj_req_entry\">";
  618.               echo "<input type=\"hidden\" name=\"category\" value=\"$filed_category\">";
  619.               echo "<input type=\"hidden\" name=\"do\" value=\"unfile\">";
  620.               echo "<tr bgcolor=\"#ffffff\"><td><a href=\"index.php?category=$filed_category\">$filed_category</a></td>";
  621.               echo "<td width=\"14\"><input type=\"image\" src=\"images/widget.x.png\"></td></tr>";
  622.               echo "</form>";
  623.           }
  624.          
  625.           echo "</table>";
  626.       }
  627.      
  628.       echo "</td><td width=\"25\"></td><td valign=\"top\" width=\"150\">";
  629.      
  630.       if ($count_unfiled_cat > 0) {
  631.           echo "<p><b>Available Categories</b></p>";
  632.          
  633.           echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"150\">";
  634.          
  635.           foreach ($unfiled_cat as $unfiled_category) {
  636.               echo "<form enctype=\"multipart/form-data\" action=\"edit.php\" method=\"post\">";
  637.               echo "<input type=\"hidden\" name=\"entry\" value=\"$maj_req_entry\">";
  638.               echo "<input type=\"hidden\" name=\"category\" value=\"$unfiled_category\">";
  639.               echo "<input type=\"hidden\" name=\"do\" value=\"file\">";
  640.               echo "<tr bgcolor=\"#ffffff\"><td width=\"14\"><input type=\"image\" src=\"images/widget.ok.png\"></td>";
  641.               echo "<td align=\"right\"><a href=\"index.php?category=$unfiled_category\">$unfiled_category</a></td></tr>";
  642.               echo "</form>";
  643.           }
  644.          
  645.           echo "</table>";
  646.       }
  647.      
  648.       echo "</td></tr></table><br>";
  649.   }
  650.  
  651.   // improve category handling (20100221) - end
  652.  
  653.   // add member authorization (20100221) - start
  654.  
  655.   if (file_exists("$maj_data_directory/members/active")) {
  656.       echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\"><tr><td valign=\"top\" width=\"150\">";
  657.      
  658.       if ($dh_ack_members = opendir("$maj_data_directory/items/$maj_req_entry/members")) {
  659.           while (($ack_member = readdir($dh_ack_members)) !== false) {
  660.               if ($ack_member != "." && $ack_member != "..") {
  661.                   if (file_exists("$maj_data_directory/members/active/$ack_member")) {
  662.                       $ack_members[] = $ack_member;
  663.                   } else {
  664.                       rmdirr("$maj_data_directory/items/$maj_req_entry/members/$ack_member");
  665.                   }
  666.               }
  667.           }
  668.           closedir($dh_ack_members);
  669.           sort($ack_members);
  670.           reset($ack_members);
  671.           $count_ack_members = count($ack_members);
  672.       }
  673.      
  674.       if ($dh_nak_members = opendir("$maj_data_directory/members/active")) {
  675.           while (($nak_member = readdir($dh_nak_members)) !== false) {
  676.               if ($nak_member != "." && $nak_member != "..") {
  677.                   if (file_exists("$maj_data_directory/items/$maj_req_entry/members/$nak_member")) {
  678.                       continue;
  679.                   }
  680.                  
  681.                   if (!file_exists("$maj_data_directory/items/$maj_req_entry/members/$nak_member")) {
  682.                       $nak_members[] = $nak_member;
  683.                   }
  684.               }
  685.           }
  686.           closedir($dh_nak_members);
  687.           sort($nak_members);
  688.           reset($nak_members);
  689.           $count_nak_members = count($nak_members);
  690.       }
  691.      
  692.       if ($count_ack_members > 0) {
  693.           echo "<p><b>Authorized Members</b></p>";
  694.          
  695.           echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"150\">";
  696.          
  697.           foreach ($ack_members as $ack_member) {
  698.  
  699.                 if ($maj_logged_in_username == $nak_member) {
  700.                         continue;
  701.                 }
  702.                          
  703.               echo "<form enctype=\"multipart/form-data\" action=\"edit.php\" method=\"post\">";
  704.               echo "<input type=\"hidden\" name=\"entry\" value=\"$maj_req_entry\">";
  705.               echo "<input type=\"hidden\" name=\"auth_member\" value=\"$ack_member\">";
  706.               echo "<input type=\"hidden\" name=\"auth_toggle\" value=\"nak\">";
  707.               echo "<tr bgcolor=\"#ffffff\"><td><a href=\"member.php?id=$ack_member\">$ack_member</a></td>";
  708.               echo "<td width=\"14\"><input type=\"image\" src=\"images/widget.x.png\"></td></tr>";
  709.               echo "</form>";
  710.           }
  711.           echo "</table>";
  712.       }
  713.      
  714.       echo "</td><td width=\"25\"></td><td valign=\"top\" width=\"150\">";
  715.      
  716.       if ($count_nak_members > 0) {
  717.           echo "<p><b>Registered Members</b></p>";
  718.          
  719.           echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"150\">";
  720.          
  721.           foreach ($nak_members as $nak_member) {
  722.          
  723.                 if ($maj_logged_in_username == $nak_member) {
  724.                         continue;
  725.                 }
  726.          
  727.               echo "<form enctype=\"multipart/form-data\" action=\"edit.php\" method=\"post\">";
  728.               echo "<input type=\"hidden\" name=\"entry\" value=\"$maj_req_entry\">";
  729.               echo "<input type=\"hidden\" name=\"auth_member\" value=\"$nak_member\">";
  730.               echo "<input type=\"hidden\" name=\"auth_toggle\" value=\"ack\">";
  731.               echo "<tr bgcolor=\"#ffffff\"><td width=\"14\"><input type=\"image\" src=\"images/widget.ok.png\"></td>";
  732.               echo "<td align=\"right\"><a href=\"member.php?id=$nak_member\">$nak_member</a></td></tr>";
  733.               echo "</form>";
  734.           }
  735.           echo "</table>";
  736.       }
  737.      
  738.       echo "</td></tr></table><br>";
  739.   }
  740.  
  741.   // add member authorization (20100221) - end
  742. ?>
  743.  
  744. </td></tr></table>
  745.  
  746. <?php
  747.   if (!isset($_POST['title_input']) or !isset($_POST['body_input']) or empty($_POST['title_input']) or empty($_POST['body_input'])) {
  748.       exit();
  749.   }
  750.  
  751.   if (file_exists("$maj_data_directory/items/$maj_req_entry/title.old")) {
  752.       unlink("$maj_data_directory/items/$maj_req_entry/title.old");
  753.   }
  754.  
  755.   if (file_exists("$maj_data_directory/items/$maj_req_entry/body.old")) {
  756.       unlink("$maj_data_directory/items/$maj_req_entry/body.old");
  757.   }
  758.  
  759.   copy("$maj_data_directory/items/$maj_req_entry/title.txt", "$maj_data_directory/items/$maj_req_entry/title.old");
  760.   copy("$maj_data_directory/items/$maj_req_entry/body.txt", "$maj_data_directory/items/$maj_req_entry/body.old");
  761.  
  762.   $title_write_content = format_title_put($_POST['title_input']);
  763.   $body_write_content = format_body_put($_POST['body_input']);
  764.  
  765.   $fp_revisions_file = fopen($revisions_file, "r");
  766.   $revisions_count = fread($fp_revisions_file, filesize($revisions_file));
  767.   fclose($fp_revisions_file);
  768.  
  769.   $revisions_count = $revisions_count + 1;
  770.  
  771.   $fp_revisions_file = fopen($revisions_file, "w");
  772.   fwrite($fp_revisions_file, $revisions_count);
  773.   fclose($fp_revisions_file);
  774.  
  775.   if (isset($_FILES['album_image_input']) and !empty($_FILES['album_image_input'])) {
  776.       if (is_uploaded_file($_FILES['album_image_input']['tmp_name'])) {
  777.           if ($_FILES['album_image_input']['size'] <= $max_file_size) {
  778.               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")) {
  779.                   $album_image_input_name = str_replace(" ", "_", $_FILES['album_image_input']['name']);
  780.                  
  781.                   if (!file_exists("images/$maj_req_entry/album/$album_image_input_name")) {
  782.                       if (!file_exists("images/$maj_req_entry")) {
  783.                           mkdir("images/$maj_req_entry");
  784.                       }
  785.                      
  786.                       if (!file_exists("images/$maj_req_entry/album")) {
  787.                           mkdir("images/$maj_req_entry/album");
  788.                       }
  789.                      
  790.                       if (!file_exists("$maj_data_directory/albums")) {
  791.                           mkdir("$maj_data_directory/albums");
  792.                       }
  793.                      
  794.                       if (!file_exists("$maj_data_directory/albums/$maj_req_entry")) {
  795.                           mkdir("$maj_data_directory/albums/$maj_req_entry");
  796.                       }
  797.                      
  798.                       if (isset($_POST['caption']) and !empty($_POST['caption'])) {
  799.                           if (!file_exists("$maj_data_directory/items/$maj_req_entry/album")) {
  800.                               mkdir("$maj_data_directory/items/$maj_req_entry/album");
  801.                           }
  802.                          
  803.                           if (!file_exists("$maj_data_directory/items/$maj_req_entry/album/captions")) {
  804.                               mkdir("$maj_data_directory/items/$maj_req_entry/album/captions");
  805.                           }
  806.                          
  807.                           if (!file_exists("$maj_data_directory/items/$maj_req_entry/album/captions/{$album_image_input_name}.txt")) {
  808.                               $caption_txt = ucfirst($_POST['caption']);
  809.                               $caption_txt = str_replace(':((', '<img src="images/smileys/crying.png" border="0">', $caption_txt);
  810.                               $caption_txt = str_replace(':(', '<img src="images/smileys/frown.png" border="0">', $caption_txt);
  811.                               $caption_txt = str_replace(':|', '<img src="images/smileys/indifferent.png" border="0">', $caption_txt);
  812.                               $caption_txt = str_replace(':D', '<img src="images/smileys/laughing.png" border="0">', $caption_txt);
  813.                               $caption_txt = str_replace(':P', '<img src="images/smileys/lick.png" border="0">', $caption_txt);
  814.                               $caption_txt = str_replace(':O', '<img src="images/smileys/ohno.png" border="0">', $caption_txt);
  815.                               $caption_txt = str_replace(':)', '<img src="images/smileys/smile.png" border="0">', $caption_txt);
  816.                               $caption_txt = str_replace('=)', '<img src="images/smileys/surprised.png" border="0">', $caption_txt);
  817.                               $caption_txt = str_replace(':\\', '<img src="images/smileys/undecided.png" border="0">', $caption_txt);
  818.                               $caption_txt = str_replace(';)', '<img src="images/smileys/wink.png" border="0">', $caption_txt);
  819.                               $caption_txt = str_replace('[code]', '<code>', $caption_txt);
  820.                               $caption_txt = str_replace('[/code]', '</code>', $caption_txt);
  821.                               $caption_txt = str_replace("\n", '<br />', $caption_txt);
  822.                               $caption_txt = str_replace('[b]', '<b>', $caption_txt);
  823.                               $caption_txt = str_replace('[/b]', '</b>', $caption_txt);
  824.                               $caption_txt = str_replace('[i]', '<i>', $caption_txt);
  825.                               $caption_txt = str_replace('[/i]', '</i>', $caption_txt);
  826.                               $caption_txt = str_replace('[u]', '<u>', $caption_txt);
  827.                               $caption_txt = str_replace('[/u]', '</u>', $caption_txt);
  828.                               $caption_txt = str_replace('[strike]', '<strike>', $caption_txt);
  829.                               $caption_txt = str_replace('[/strike]', '</strike>', $caption_txt);
  830.                               $caption_txt = str_replace('[sup]', '<sup>', $caption_txt);
  831.                               $caption_txt = str_replace('[/sup]', '</sup>', $caption_txt);
  832.                               $caption_txt = str_replace('[sub]', '<sub>', $caption_txt);
  833.                               $caption_txt = str_replace('[/sub]', '</sub>', $caption_txt);
  834.                               $caption_txt = str_replace('[highlight]', '<highlight>', $caption_txt);
  835.                               $caption_txt = str_replace('[/highlight]', '</highlight>', $caption_txt);
  836.                               $caption_txt = str_replace('<highlight>', '<span style="background-color: #ffff00;">', $caption_txt);
  837.                               $caption_txt = str_replace('</highlight>', '</span>', $caption_txt);
  838.                              
  839.                               $fp_caption_txt = fopen("$maj_data_directory/items/$maj_req_entry/album/captions/{$album_image_input_name}.txt", "w");
  840.                               fwrite($fp_caption_txt, $caption_txt);
  841.                               fclose($fp_caption_txt);
  842.                           }
  843.                       }
  844.                      
  845.                      
  846.                       $res = copy($_FILES['album_image_input']['tmp_name'], "images/$maj_req_entry/album/$album_image_input_name");
  847.                       unlink($_FILES['album_image_input']['tmp_name']);
  848.                   } else {
  849.                       unlink($_FILES['album_image_input']['tmp_name']);
  850.                   }
  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.   }
  861.  
  862.   if (isset($_FILES['entry_image_input']) and !empty($_FILES['entry_image_input'])) {
  863.       if (is_uploaded_file($_FILES['entry_image_input']['tmp_name'])) {
  864.           if ($_FILES['entry_image_input']['size'] <= $max_file_size) {
  865.               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")) {
  866.                   $entry_image_input_name = str_replace(" ", "_", $_FILES['entry_image_input']['name']);
  867.                  
  868.                  
  869.                   if (!file_exists("images/$maj_req_entry/$entry_image_input_name")) {
  870.                       if (!file_exists("images/$maj_req_entry")) {
  871.                           mkdir("images/$maj_req_entry");
  872.                       }
  873.                      
  874.                      
  875.                       $res = copy($_FILES['entry_image_input']['tmp_name'], "images/$maj_req_entry/$entry_image_input_name");
  876.                       unlink($_FILES['entry_image_input']['tmp_name']);
  877.                      
  878.                       $entry_image_size = getimagesize("images/$maj_req_entry/$entry_image_input_name");
  879.                       $entry_image_width = $entry_image_size[0];
  880.                       $entry_image_height = $entry_image_size[1];
  881.                      
  882.                       $max_entry_image_width = 510;
  883.                      
  884.                       if ($entry_image_width > $max_entry_image_width) {
  885.                           $sizefactor = (double)($max_entry_image_width / $entry_image_width);
  886.                           $entry_image_width = (int)($entry_image_width * $sizefactor);
  887.                           $entry_image_height = (int)($entry_image_height * $sizefactor);
  888.                       }
  889.                      
  890.                       $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";
  891.                   } else {
  892.                       unlink($_FILES['entry_image_input']['tmp_name']);
  893.                   }
  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.   }
  904.  
  905.   if (isset($_FILES['file_input']) and !empty($_FILES['file_input'])) {
  906.       if (is_uploaded_file($_FILES['file_input']['tmp_name'])) {
  907.           if ($_FILES['file_input']['size'] <= $max_file_size) {
  908.               if (!file_exists("$maj_data_directory/items/$maj_req_entry/filedrop")) {
  909.                   mkdir("$maj_data_directory/items/$maj_req_entry/filedrop");
  910.               }
  911.              
  912.               if (!file_exists("$maj_data_directory/items/$maj_req_entry/filedrop/files")) {
  913.                   mkdir("$maj_data_directory/items/$maj_req_entry/filedrop/files");
  914.               }
  915.              
  916.               $file_input_name = str_replace(" ", "_", $_FILES['file_input']['name']);
  917.              
  918.               if (!file_exists("$maj_data_directory/items/$maj_req_entry/filedrop/files/$file_input_name")) {
  919.                   $res = copy($_FILES['file_input']['tmp_name'], "$maj_data_directory/items/$maj_req_entry/filedrop/files/$file_input_name");
  920.                   unlink($_FILES['file_input']['tmp_name']);
  921.                  
  922.                  
  923.                   $fp_file_txt = fopen("$maj_data_directory/items/$maj_req_entry/filedrop/{$file_input_name}.txt", "w");
  924.                   fwrite($fp_file_txt, "$maj_data_directory/items/$maj_req_entry/filedrop/files/$file_input_name");
  925.                   fclose($fp_file_txt);
  926.               } else {
  927.                   unlink($_FILES['file_input']['tmp_name']);
  928.               }
  929.           } else {
  930.               unlink($_FILES['file_input']['tmp_name']);
  931.           }
  932.       } else {
  933.           unlink($_FILES['file_input']['tmp_name']);
  934.       }
  935.   }
  936.  
  937.   if (file_exists("$maj_data_directory/wiki.txt")) {
  938.       $old_title = file_get_contents("$maj_data_directory/items/$maj_req_entry/title.old");
  939.       $old_body = file_get_contents("$maj_data_directory/items/$maj_req_entry/body.old");
  940.      
  941.       if (($old_title != $title_write_content) or ($old_body != $body_write_content)) {
  942.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/wiki")) {
  943.               mkdir("$maj_data_directory/items/$maj_req_entry/wiki");
  944.           }
  945.          
  946.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/wiki/delta")) {
  947.               mkdir("$maj_data_directory/items/$maj_req_entry/wiki/delta");
  948.           }
  949.          
  950.           $ddate = date("YmdHis", time() + $maj_offset);
  951.          
  952.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate")) {
  953.               mkdir("$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate");
  954.           }
  955.          
  956.           $new_body = fopen("$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/body.txt", "w");
  957.           fwrite($new_body, $body_write_content);
  958.           fclose($new_body);
  959.          
  960.           $new_title = fopen("$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/title.txt", "w");
  961.           fwrite($new_title, $title_write_content);
  962.           fclose($new_title);
  963.          
  964.           copy("$maj_data_directory/items/$maj_req_entry/title.txt", "$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/ptitle.txt");
  965.           copy("$maj_data_directory/items/$maj_req_entry/body.txt", "$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/prev.txt");
  966.           copy("$maj_data_directory/items/$maj_req_entry/date.txt", "$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/date.txt");
  967.          
  968.           if (file_exists("$maj_data_directory/items/$maj_req_entry/contrib.txt")) {
  969.               copy("$maj_data_directory/items/$maj_req_entry/contrib.txt", "$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/contrib.txt");
  970.           }
  971.          
  972.           $open_editor_file = fopen("$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/editor.txt", "w");
  973.           fwrite($open_editor_file, $maj_logged_in_username);
  974.           fclose($open_editor_file);
  975.       }
  976.   }
  977.  
  978.   $open_title_file = fopen($title_file, "w");
  979.   fwrite($open_title_file, $title_write_content);
  980.   fclose($open_title_file);
  981.  
  982.   $open_body_file = fopen($body_file, "w");
  983.   fwrite($open_body_file, $body_write_content);
  984.   fclose($open_body_file);
  985.  
  986.   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))) {
  987.       $open_contrib_file = fopen("$maj_data_directory/items/$maj_req_entry/contrib.txt", "w");
  988.       fwrite($open_contrib_file, $maj_logged_in_username);
  989.       fclose($open_contrib_file);
  990.   }
  991.  
  992.   if ($maj_logged_in_username == $maj_admin_username) {
  993.       $sticky_sem = 'data/sticky/' . $maj_req_entry;
  994.      
  995.       if (isset($_POST['sticky']) and !empty($_POST['sticky']) and ($_POST['sticky'] == "on")) {
  996.           if (!file_exists("$maj_data_directory/sticky")) {
  997.               mkdir("$maj_data_directory/sticky");
  998.           }
  999.           if (!file_exists($sticky_sem)) {
  1000.               touch($sticky_sem);
  1001.           }
  1002.       }
  1003.       if (!isset($_POST['sticky']) or empty($_POST['sticky'])) {
  1004.           if (file_exists($sticky_sem)) {
  1005.               unlink($sticky_sem);
  1006.           }
  1007.       }
  1008.      
  1009.       $display_sem = "$maj_data_directory/items/$maj_req_entry/cat.txt";
  1010.      
  1011.       if (isset($_POST['display']) and !empty($_POST['display']) and ($_POST['display'] == "on")) {
  1012.           if (!file_exists($display_sem)) {
  1013.               touch($display_sem);
  1014.           }
  1015.       }
  1016.       if (!isset($_POST['display']) or empty($_POST['display'])) {
  1017.           if (file_exists($display_sem)) {
  1018.               unlink($display_sem);
  1019.           }
  1020.       }
  1021.      
  1022.       $private_sem = "$maj_data_directory/items/$maj_req_entry/private.txt";
  1023.      
  1024.       if (isset($_POST['private']) and !empty($_POST['private']) and ($_POST['private'] == "on")) {
  1025.           if (!file_exists($private_sem)) {
  1026.               touch($private_sem);
  1027.           }
  1028.       }
  1029.       if (!isset($_POST['private']) or empty($_POST['private'])) {
  1030.           if (file_exists($private_sem)) {
  1031.               unlink($private_sem);
  1032.           }
  1033.       }
  1034.      
  1035.       $member_sem = "$maj_data_directory/items/$maj_req_entry/member.txt";
  1036.      
  1037.       if (isset($_POST['member']) and !empty($_POST['member']) and ($_POST['member'] == "on")) {
  1038.           if (!file_exists($member_sem)) {
  1039.               touch($member_sem);
  1040.           }
  1041.       }
  1042.       if (!isset($_POST['member']) or empty($_POST['member'])) {
  1043.           if (file_exists($member_sem)) {
  1044.               unlink($member_sem);
  1045.           }
  1046.       }
  1047.      
  1048.       $edit_sem = "$maj_data_directory/items/$maj_req_entry/edit.txt";
  1049.      
  1050.       if (isset($_POST['edit']) and !empty($_POST['edit']) and ($_POST['edit'] == "on")) {
  1051.           if (!file_exists($edit_sem)) {
  1052.               touch($edit_sem);
  1053.           }
  1054.       }
  1055.      
  1056.       if (!isset($_POST['edit']) or empty($_POST['edit'])) {
  1057.           if (file_exists($edit_sem)) {
  1058.               unlink($edit_sem);
  1059.           }
  1060.       }
  1061.      
  1062.       if (isset($_POST['lock']) and !empty($_POST['lock']) and ($_POST['lock'] == "on")) {
  1063.           if (file_exists("$maj_data_directory/items/$maj_req_entry/edit.txt")) {
  1064.               unlink("$maj_data_directory/items/$maj_req_entry/edit.txt");
  1065.           }
  1066.          
  1067.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/lock.txt")) {
  1068.               touch("$maj_data_directory/items/$maj_req_entry/lock.txt");
  1069.           }
  1070.       }
  1071.       if (!isset($_POST['lock']) or empty($_POST['lock'])) {
  1072.           if (file_exists("$maj_data_directory/items/$maj_req_entry/lock.txt")) {
  1073.               unlink("$maj_data_directory/items/$maj_req_entry/lock.txt");
  1074.           }
  1075.       }
  1076.      
  1077.       $xtitle_sem = "$maj_data_directory/items/$maj_req_entry/xtitle.txt";
  1078.      
  1079.       if (isset($_POST['xtitle']) and !empty($_POST['xtitle']) and ($_POST['xtitle'] == "on")) {
  1080.           if (!file_exists($xtitle_sem)) {
  1081.               touch($xtitle_sem);
  1082.           }
  1083.       }
  1084.      
  1085.       if (!isset($_POST['xtitle']) or empty($_POST['xtitle'])) {
  1086.           if (file_exists($xtitle_sem)) {
  1087.               unlink($xtitle_sem);
  1088.           }
  1089.       }
  1090.  
  1091.       $xdate_sem = "$maj_data_directory/items/$maj_req_entry/xdate.txt";
  1092.      
  1093.       if (isset($_POST['xdate']) and !empty($_POST['xdate']) and ($_POST['xdate'] == "on")) {
  1094.           if (!file_exists($xdate_sem)) {
  1095.               touch($xdate_sem);
  1096.           }
  1097.       }
  1098.      
  1099.       if (!isset($_POST['xdate']) or empty($_POST['xdate'])) {
  1100.           if (file_exists($xdate_sem)) {
  1101.               unlink($xdate_sem);
  1102.           }
  1103.       }
  1104.  
  1105.       $xauthor_sem = "$maj_data_directory/items/$maj_req_entry/xauthor.txt";
  1106.      
  1107.       if (isset($_POST['xauthor']) and !empty($_POST['xauthor']) and ($_POST['xauthor'] == "on")) {
  1108.           if (!file_exists($xauthor_sem)) {
  1109.               touch($xauthor_sem);
  1110.           }
  1111.       }
  1112.      
  1113.       if (!isset($_POST['xauthor']) or empty($_POST['xauthor'])) {
  1114.           if (file_exists($xauthor_sem)) {
  1115.               unlink($xauthor_sem);
  1116.           }
  1117.       }
  1118.  
  1119.       $xavatar_sem = "$maj_data_directory/items/$maj_req_entry/xavatar.txt";
  1120.      
  1121.       if (isset($_POST['xavatar']) and !empty($_POST['xavatar']) and ($_POST['xavatar'] == "on")) {
  1122.           if (!file_exists($xavatar_sem)) {
  1123.               touch($xavatar_sem);
  1124.           }
  1125.       }
  1126.      
  1127.       if (!isset($_POST['xavatar']) or empty($_POST['xavatar'])) {
  1128.           if (file_exists($xavatar_sem)) {
  1129.               unlink($xavatar_sem);
  1130.           }
  1131.       }
  1132.  
  1133.       $fb_sem = "$maj_data_directory/items/$maj_req_entry/fb.txt";
  1134.      
  1135.       if (isset($_POST['fb']) and !empty($_POST['fb']) and ($_POST['fb'] == "on")) {
  1136.           if (!file_exists($fb_sem)) {
  1137.               touch($fb_sem);
  1138.           }
  1139.       }
  1140.      
  1141.       if (!isset($_POST['fb']) or empty($_POST['fb'])) {
  1142.           if (file_exists($fb_sem)) {
  1143.               unlink($fb_sem);
  1144.           }
  1145.       }
  1146.      
  1147.      
  1148.       $lastmod_sem = "$maj_data_directory/items/$maj_req_entry/lastmod.txt";
  1149.      
  1150.       if (isset($_POST['lastmod']) and !empty($_POST['lastmod']) and ($_POST['lastmod'] == "on")) {
  1151.           if (!file_exists($lastmod_sem)) {
  1152.               touch($lastmod_sem);
  1153.           }
  1154.       }
  1155.      
  1156.       if (!isset($_POST['lastmod']) or empty($_POST['lastmod'])) {
  1157.           if (file_exists($lastmod_sem)) {
  1158.               unlink($lastmod_sem);
  1159.           }
  1160.       }
  1161.  
  1162.         if (isset($_POST['auto_album']) and !empty($_POST['auto_album']) and ($_POST['auto_album'] == "on")) {
  1163.        
  1164.                 if (!file_exists("$maj_data_directory/items/$maj_req_entry/auto-album.txt")) {
  1165.                         touch("$maj_data_directory/items/$maj_req_entry/auto-album.txt");
  1166.                 }
  1167.         }
  1168.        
  1169.         if (!isset($_POST['auto_album']) or empty($_POST['auto_album'])) {
  1170.        
  1171.                 if (file_exists("$maj_data_directory/items/$maj_req_entry/auto-album.txt")) {
  1172.                         unlink("$maj_data_directory/items/$maj_req_entry/auto-album.txt");
  1173.                 }
  1174.         }
  1175.      
  1176.       $passwd_file = "$maj_data_directory/items/$maj_req_entry/passwd.txt";
  1177.      
  1178.       if (isset($_POST['passwd']) and !empty($_POST['passwd'])) {
  1179.           $fp_passwd_txt = fopen("$passwd_file", "w");
  1180.           $passwd_crypt = sha1($_POST['passwd']);
  1181.           $passwd_crypt = md5($passwd_crypt);
  1182.           $passwd_crypt = crypt($passwd_crypt, $passwd_crypt);
  1183.           fwrite($fp_passwd_txt, $passwd_crypt);
  1184.           fclose($fp_passwd_txt);
  1185.       }
  1186.      
  1187.       if (!isset($_POST['passwd']) or empty($_POST['passwd'])) {
  1188.           if (file_exists($passwd_file)) {
  1189.               unlink($passwd_file);
  1190.           }
  1191.       }
  1192.      
  1193.       if (isset($_POST['maxlines']) and !empty($_POST['maxlines']) and is_numeric($_POST['maxlines'])) {
  1194.           $fp_maxlines_txt = fopen("$maj_data_directory/items/$maj_req_entry/maxlines.txt", "w");
  1195.           fwrite($fp_maxlines_txt, $_POST['maxlines']);
  1196.           fclose($fp_maxlines_txt);
  1197.       }
  1198.      
  1199.       if (!isset($_POST['maxlines']) or empty($_POST['maxlines'])) {
  1200.           if (file_exists("$maj_data_directory/items/$maj_req_entry/maxlines.txt")) {
  1201.               unlink("$maj_data_directory/items/$maj_req_entry/maxlines.txt");
  1202.           }
  1203.       }
  1204.   }
  1205.  
  1206.   if (file_exists("$maj_data_directory/items/$maj_req_entry/title.old")) {
  1207.       unlink("$maj_data_directory/items/$maj_req_entry/title.old");
  1208.   }
  1209.  
  1210.   if (file_exists("$maj_data_directory/items/$maj_req_entry/body.old")) {
  1211.       unlink("$maj_data_directory/items/$maj_req_entry/body.old");
  1212.   }
  1213.  
  1214.   if (file_exists("$maj_data_directory/ping.txt")) {
  1215.       $ping_urls = explode("|", file_get_contents("$maj_data_directory/ping.txt"));
  1216.      
  1217.       foreach ($ping_urls as $ping_url) {
  1218.           $ping = file_get_contents($ping_url);
  1219.           unset($ping);
  1220.       }
  1221.   }
  1222. ?>
  1223.  
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