maj.world

maj.world

Git

This blob has been accessed 386 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.</td></tr>
  323. <tr><td><input autocomplete="off" type="text" name="caption" class="input" style="width: 300px;"> Enter optional album image caption.</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" style="width: 300px;" 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" style="width: 300px;" 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.   if (($maj_logged_in_username == $maj_admin_username) or file_exists("$maj_data_directory/members/active/$maj_logged_in_username/bb-adm.txt")) {
  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.   <tr><td><input type="checkbox" name="xdate" <?php
  433.       $lastmod_sem = "$maj_data_directory/items/$maj_req_entry/xdate.txt";
  434.       if (file_exists($lastmod_sem)) {
  435.           echo checked;
  436.       }
  437. ?>>Do not display the entry date.</td></tr>
  438.  
  439. <?php
  440.  
  441. if (!file_exists("$maj_data_directory/avatar.txt")) {
  442.  
  443.         echo "<tr><td><input type=\"checkbox\" name=\"xauthor\"";
  444.  
  445.         if (file_exists("$maj_data_directory/items/$maj_req_entry/xauthor.txt")) {
  446.                 echo checked;
  447.         }
  448.        
  449.         echo ">Do not display the entry author.</td></tr>";
  450. }
  451. else {
  452.         echo "<tr><td><input type=\"checkbox\" name=\"xavatar\"";
  453.  
  454.         if (file_exists("$maj_data_directory/items/$maj_req_entry/xavatar.txt")) {
  455.                 echo checked;
  456.         }
  457.        
  458.         echo ">Do not display the entry avatar.</td></tr>";
  459. }
  460.  
  461. ?>
  462.  
  463.  
  464.   <tr><td><input type="checkbox" name="lastmod" <?php
  465.       $lastmod_sem = "$maj_data_directory/items/$maj_req_entry/lastmod.txt";
  466.       if (file_exists($lastmod_sem)) {
  467.           echo checked;
  468.       }
  469. ?>>Display last modification date and time.</td></tr>
  470.  
  471. <?php
  472.  
  473. if (file_exists("$maj_data_directory/gl.txt")) {
  474.  
  475.         echo "<tr><td><input type=\"checkbox\" name=\"gl\"";
  476.  
  477.         if (file_exists("$maj_data_directory/items/$maj_req_entry/gl.txt")) {
  478.                 echo checked;
  479.         }
  480.        
  481.         echo ">Enable Google support.</td></tr>";
  482. }
  483.  
  484. if (file_exists("$maj_data_directory/fb.txt")) {
  485.  
  486.         echo "<tr><td><input type=\"checkbox\" name=\"fb\"";
  487.  
  488.         if (file_exists("$maj_data_directory/items/$maj_req_entry/fb.txt")) {
  489.                 echo checked;
  490.         }
  491.        
  492.         echo ">Enable Facebook support.</td></tr>";
  493. }
  494.  
  495. if (file_exists("images/$maj_req_entry/album")) {
  496.  
  497.         $count_album_images = count(glob("images/$maj_req_entry/album/*"));
  498.        
  499.         if ($count_album_images < 1) {
  500.                 rmdirr("images/$maj_req_entry/album");
  501.         }
  502.         else {
  503.                 if (file_exists("$maj_data_directory/items/$maj_req_entry/auto-album.txt")) {
  504.                         echo "<tr><td><input type=\"checkbox\" name=\"auto_album\" checked>";
  505.                 }
  506.                 else {
  507.                         echo "<tr><td><input type=\"checkbox\" name=\"auto_album\">";
  508.                 }
  509.        
  510.                 if ($count_album_images > 1) {
  511.                         echo "Automatically display album (<a href=\"index.php?entry=$maj_req_entry&show=album\">$count_album_images images</a>).</td></tr>";
  512.                 }
  513.                 else {
  514.                         echo "Automatically display album (<a href=\"index.php?entry=$maj_req_entry&show=album\">$count_album_images image</a>).</td></tr>";
  515.                 }
  516.         }
  517. }
  518.  
  519. }
  520.  
  521. ?>
  522.  
  523. </table></p>
  524.  
  525. <input type="hidden" name="entry" value="<?php echo $maj_req_entry; ?>">
  526.  
  527. <table border="0" cellspacing="0" cellpadding="0"><tr><td>
  528.  
  529. <table border="0" cellspacing="2" cellpadding="0">
  530. <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>
  531. <tr><td><textarea class="input" style="font-size: <?php echo $maj_font_Mpx; ?>;" name="body_input" rows="15" required>
  532. <?php
  533.   $open_body_file = fopen($body_file, "r");
  534.   $read_body_file = fread($open_body_file, filesize($body_file));
  535.   fclose($open_body_file);
  536.  
  537.   $body_read_content = str_replace('<br />', "\n", $read_body_file);
  538.   $body_read_content = str_replace('<img src="images/smileys/crying.png" border="0">', ':((', $body_read_content);
  539.   $body_read_content = str_replace('<img src="images/smileys/frown.png" border="0">', ':(', $body_read_content);
  540.   $body_read_content = str_replace('<img src="images/smileys/indifferent.png" border="0">', ':|', $body_read_content);
  541.   $body_read_content = str_replace('<img src="images/smileys/laughing.png" border="0">', ':D', $body_read_content);
  542.   $body_read_content = str_replace('<img src="images/smileys/lick.png" border="0">', ':P', $body_read_content);
  543.   $body_read_content = str_replace('<img src="images/smileys/ohno.png" border="0">', ':O', $body_read_content);
  544.   $body_read_content = str_replace('<img src="images/smileys/smile.png" border="0">', ':)', $body_read_content);
  545.   $body_read_content = str_replace('<img src="images/smileys/surprised.png" border="0">', '=)', $body_read_content);
  546.   $body_read_content = str_replace('<img src="images/smileys/undecided.png" border="0">', ':\\', $body_read_content);
  547.   $body_read_content = str_replace('<img src="images/smileys/wink.png" border="0">', ';)', $body_read_content);
  548.   $body_read_content = str_replace('<!-- html -->', '<html>', $body_read_content);
  549.   $body_read_content = str_replace('<!-- /html -->', '</html>', $body_read_content);
  550.   $body_read_content = str_replace('<span style="background-color: #ffff00;">', '<highlight>', $body_read_content);
  551.   $body_read_content = str_replace('</span>', '</highlight>', $body_read_content);
  552.  
  553.   echo $body_read_content;
  554. ?>
  555. </textarea></td></tr>
  556. <tr><td><input class="click" type="submit" value="click here to update this entry"></td></tr>
  557. </form>
  558.  
  559. <form enctype="multipart/form-data" action="index.php?entry=<?php echo $maj_req_entry; ?>" method="post">
  560. <tr><td><input class="click" type="submit" value="click here to view posted entry"></td></tr>
  561. </form>
  562.  
  563. <form enctype="multipart/form-data" action="index.php" method="post">
  564. <tr><td><input class="click" type="submit" value="click here to go to the index page"></td></tr>
  565. </form>
  566.  
  567. </table>
  568.  
  569. </td><td width="10"></td><td>
  570.  
  571. <table border="0" cellspacing="1" cellpadding="2">
  572. <tr><td><img src="images/smileys/crying.png" border="0"></td><td>:((</td><td >crying</td></tr>
  573. <tr><td><img src="images/smileys/frown.png" border="0"></td><td>:(</td><td>frown</td></tr>
  574. <tr><td><img src="images/smileys/indifferent.png" border="0"></td><td>:|</td><td>indifferent</td></tr>
  575. <tr><td><img src="images/smileys/laughing.png" border="0"></td><td>:D</td><td>laughing</td></tr>
  576. <tr><td><img src="images/smileys/lick.png" border="0"></td><td>:P</td><td>lick</td></tr>
  577. <tr><td><img src="images/smileys/ohno.png" border="0"></td><td>:O</td><td>oh no!</td></tr>
  578. <tr><td><img src="images/smileys/smile.png" border="0"></td><td>:)</td><td>smile</td></tr>
  579. <tr><td><img src="images/smileys/surprised.png" border="0"></td><td>=)</td><td>surprised</td></tr>
  580. <tr><td><img src="images/smileys/undecided.png" border="0"></td><td>:\</td><td>undecided</td></tr>
  581. <tr><td><img src="images/smileys/wink.png" border="0"></td><td>;)</td><td>wink</td></tr>
  582. </table>
  583.  
  584. </td></tr></table>
  585.  
  586. </td><td width="25"></td><td valign="top">
  587.  
  588. <?php
  589.   // improve category handling (20100221) - start
  590.  
  591.   if (file_exists("$maj_data_directory/categories")) {
  592.       echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\"><tr><td valign=\"top\" width=\"150\">";
  593.      
  594.       if ($dh_cat = opendir("$maj_data_directory/categories")) {
  595.           while (($entry_cat = readdir($dh_cat)) !== false) {
  596.               if ($entry_cat != "." && $entry_cat != "..") {
  597.                   if (file_exists("$maj_data_directory/categories/$entry_cat/private.txt") and ($maj_admin_username != $maj_logged_in_username)) {
  598.                       continue;
  599.                   }
  600.                  
  601.                   if (($maj_admin_username != $maj_logged_in_username) and !file_exists("$maj_data_directory/members/active/$maj_logged_in_username/bb-adm.txt")) {
  602.                         continue;
  603.                   }
  604.                  
  605.                   if (file_exists("$maj_data_directory/items/$maj_req_entry/categories/$entry_cat")) {
  606.                       $filed_cat[] = $entry_cat;
  607.                   }
  608.                  
  609.                   if (!file_exists("$maj_data_directory/items/$maj_req_entry/categories/$entry_cat")) {
  610.                       $unfiled_cat[] = $entry_cat;
  611.                   }
  612.               }
  613.           }
  614.           closedir($dh_cat);
  615.          
  616.           sort($filed_cat);
  617.           sort($unfiled_cat);
  618.          
  619.           $count_filed_cat = count($filed_cat);
  620.           $count_unfiled_cat = count($unfiled_cat);
  621.       }
  622.      
  623.       if ($count_filed_cat > 0) {
  624.           echo "<p><b>Filed Under</b></p>";
  625.          
  626.           echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"150\">";
  627.          
  628.           foreach ($filed_cat as $filed_category) {
  629.               echo "<form enctype=\"multipart/form-data\" action=\"edit.php\" method=\"post\">";
  630.               echo "<input type=\"hidden\" name=\"entry\" value=\"$maj_req_entry\">";
  631.               echo "<input type=\"hidden\" name=\"category\" value=\"$filed_category\">";
  632.               echo "<input type=\"hidden\" name=\"do\" value=\"unfile\">";
  633.               echo "<tr bgcolor=\"#ffffff\"><td><a href=\"index.php?category=$filed_category\">$filed_category</a></td>";
  634.               echo "<td width=\"14\"><input type=\"image\" src=\"images/widget.x.png\"></td></tr>";
  635.               echo "</form>";
  636.           }
  637.          
  638.           echo "</table>";
  639.       }
  640.      
  641.       echo "</td><td width=\"25\"></td><td valign=\"top\" width=\"150\">";
  642.      
  643.       if ($count_unfiled_cat > 0) {
  644.           echo "<p><b>Available Categories</b></p>";
  645.          
  646.           echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"150\">";
  647.          
  648.           foreach ($unfiled_cat as $unfiled_category) {
  649.               echo "<form enctype=\"multipart/form-data\" action=\"edit.php\" method=\"post\">";
  650.               echo "<input type=\"hidden\" name=\"entry\" value=\"$maj_req_entry\">";
  651.               echo "<input type=\"hidden\" name=\"category\" value=\"$unfiled_category\">";
  652.               echo "<input type=\"hidden\" name=\"do\" value=\"file\">";
  653.               echo "<tr bgcolor=\"#ffffff\"><td width=\"14\"><input type=\"image\" src=\"images/widget.ok.png\"></td>";
  654.               echo "<td align=\"right\"><a href=\"index.php?category=$unfiled_category\">$unfiled_category</a></td></tr>";
  655.               echo "</form>";
  656.           }
  657.          
  658.           echo "</table>";
  659.       }
  660.      
  661.       echo "</td></tr></table><br>";
  662.   }
  663.  
  664.   // improve category handling (20100221) - end
  665.  
  666.   // add member authorization (20100221) - start
  667.  
  668.   if (file_exists("$maj_data_directory/members/active") and (($maj_admin_username == $maj_logged_in_username) or (($maj_admin_username != $maj_logged_in_username) and file_exists("$maj_data_directory/members/active/$maj_logged_in_username/bb-adm.txt")))) {
  669.       echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\"><tr><td valign=\"top\" width=\"150\">";
  670.      
  671.       if ($dh_ack_members = opendir("$maj_data_directory/items/$maj_req_entry/members")) {
  672.           while (($ack_member = readdir($dh_ack_members)) !== false) {
  673.               if ($ack_member != "." && $ack_member != "..") {
  674.                   if (file_exists("$maj_data_directory/members/active/$ack_member")) {
  675.                       $ack_members[] = $ack_member;
  676.                   } else {
  677.                       rmdirr("$maj_data_directory/items/$maj_req_entry/members/$ack_member");
  678.                   }
  679.               }
  680.           }
  681.           closedir($dh_ack_members);
  682.           sort($ack_members);
  683.           $count_ack_members = count($ack_members);
  684.       }
  685.      
  686.       if ($dh_nak_members = opendir("$maj_data_directory/members/active")) {
  687.           while (($nak_member = readdir($dh_nak_members)) !== false) {
  688.               if ($nak_member != "." && $nak_member != "..") {
  689.                   if (file_exists("$maj_data_directory/items/$maj_req_entry/members/$nak_member")) {
  690.                       continue;
  691.                   }
  692.                  
  693.                   if (!file_exists("$maj_data_directory/items/$maj_req_entry/members/$nak_member")) {
  694.                       $nak_members[] = $nak_member;
  695.                   }
  696.               }
  697.           }
  698.           closedir($dh_nak_members);
  699.           sort($nak_members);
  700.           $count_nak_members = count($nak_members);
  701.       }
  702.      
  703.       if ($count_ack_members > 0) {
  704.           echo "<p><b>Authorized Members</b></p>";
  705.          
  706.           echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"150\">";
  707.          
  708.           foreach ($ack_members as $ack_member) {
  709.  
  710.                 if ($maj_logged_in_username == $nak_member) {
  711.                         continue;
  712.                 }
  713.                          
  714.               echo "<form enctype=\"multipart/form-data\" action=\"edit.php\" method=\"post\">";
  715.               echo "<input type=\"hidden\" name=\"entry\" value=\"$maj_req_entry\">";
  716.               echo "<input type=\"hidden\" name=\"auth_member\" value=\"$ack_member\">";
  717.               echo "<input type=\"hidden\" name=\"auth_toggle\" value=\"nak\">";
  718.               echo "<tr bgcolor=\"#ffffff\"><td><a href=\"member.php?id=$ack_member\">$ack_member</a></td>";
  719.               echo "<td width=\"14\"><input type=\"image\" src=\"images/widget.x.png\"></td></tr>";
  720.               echo "</form>";
  721.           }
  722.           echo "</table>";
  723.       }
  724.      
  725.       echo "</td><td width=\"25\"></td><td valign=\"top\" width=\"150\">";
  726.      
  727.       if ($count_nak_members > 0) {
  728.           echo "<p><b>Registered Members</b></p>";
  729.          
  730.           echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"150\">";
  731.          
  732.           foreach ($nak_members as $nak_member) {
  733.          
  734.                 if ($maj_logged_in_username == $nak_member) {
  735.                         continue;
  736.                 }
  737.          
  738.               echo "<form enctype=\"multipart/form-data\" action=\"edit.php\" method=\"post\">";
  739.               echo "<input type=\"hidden\" name=\"entry\" value=\"$maj_req_entry\">";
  740.               echo "<input type=\"hidden\" name=\"auth_member\" value=\"$nak_member\">";
  741.               echo "<input type=\"hidden\" name=\"auth_toggle\" value=\"ack\">";
  742.               echo "<tr bgcolor=\"#ffffff\"><td width=\"14\"><input type=\"image\" src=\"images/widget.ok.png\"></td>";
  743.               echo "<td align=\"right\"><a href=\"member.php?id=$nak_member\">$nak_member</a></td></tr>";
  744.               echo "</form>";
  745.           }
  746.           echo "</table>";
  747.       }
  748.      
  749.       echo "</td></tr></table><br>";
  750.   }
  751.  
  752.   // add member authorization (20100221) - end
  753. ?>
  754.  
  755. </td></tr></table>
  756.  
  757. <?php
  758.   if (!isset($_POST['title_input']) or !isset($_POST['body_input']) or empty($_POST['title_input']) or empty($_POST['body_input'])) {
  759.       exit();
  760.   }
  761.  
  762.   if (file_exists("$maj_data_directory/items/$maj_req_entry/title.old")) {
  763.       unlink("$maj_data_directory/items/$maj_req_entry/title.old");
  764.   }
  765.  
  766.   if (file_exists("$maj_data_directory/items/$maj_req_entry/body.old")) {
  767.       unlink("$maj_data_directory/items/$maj_req_entry/body.old");
  768.   }
  769.  
  770.   copy("$maj_data_directory/items/$maj_req_entry/title.txt", "$maj_data_directory/items/$maj_req_entry/title.old");
  771.   copy("$maj_data_directory/items/$maj_req_entry/body.txt", "$maj_data_directory/items/$maj_req_entry/body.old");
  772.  
  773.   $title_write_content = format_title_put($_POST['title_input']);
  774.   $body_write_content = format_body_put($_POST['body_input']);
  775.  
  776.   $fp_revisions_file = fopen($revisions_file, "r");
  777.   $revisions_count = fread($fp_revisions_file, filesize($revisions_file));
  778.   fclose($fp_revisions_file);
  779.  
  780.   $revisions_count = $revisions_count + 1;
  781.  
  782.   $fp_revisions_file = fopen($revisions_file, "w");
  783.   fwrite($fp_revisions_file, $revisions_count);
  784.   fclose($fp_revisions_file);
  785.  
  786.   if (isset($_FILES['album_image_input']) and !empty($_FILES['album_image_input'])) {
  787.       if (is_uploaded_file($_FILES['album_image_input']['tmp_name'])) {
  788.           if ($_FILES['album_image_input']['size'] <= $max_file_size) {
  789.               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")) {
  790.                   $album_image_input_name = str_replace(" ", "_", $_FILES['album_image_input']['name']);
  791.                  
  792.                   if (!file_exists("images/$maj_req_entry/album/$album_image_input_name")) {
  793.                       if (!file_exists("images/$maj_req_entry")) {
  794.                           mkdir("images/$maj_req_entry");
  795.                       }
  796.                      
  797.                       if (!file_exists("images/$maj_req_entry/album")) {
  798.                           mkdir("images/$maj_req_entry/album");
  799.                       }
  800.                      
  801.                       if (!file_exists("$maj_data_directory/albums")) {
  802.                           mkdir("$maj_data_directory/albums");
  803.                       }
  804.                      
  805.                       if (!file_exists("$maj_data_directory/albums/$maj_req_entry")) {
  806.                           mkdir("$maj_data_directory/albums/$maj_req_entry");
  807.                       }
  808.                      
  809.                       if (isset($_POST['caption']) and !empty($_POST['caption'])) {
  810.                           if (!file_exists("$maj_data_directory/items/$maj_req_entry/album")) {
  811.                               mkdir("$maj_data_directory/items/$maj_req_entry/album");
  812.                           }
  813.                          
  814.                           if (!file_exists("$maj_data_directory/items/$maj_req_entry/album/captions")) {
  815.                               mkdir("$maj_data_directory/items/$maj_req_entry/album/captions");
  816.                           }
  817.                          
  818.                           if (!file_exists("$maj_data_directory/items/$maj_req_entry/album/captions/{$album_image_input_name}.txt")) {
  819.                               $caption_txt = ucfirst($_POST['caption']);
  820.                               $caption_txt = str_replace(':((', '<img src="images/smileys/crying.png" border="0">', $caption_txt);
  821.                               $caption_txt = str_replace(':(', '<img src="images/smileys/frown.png" border="0">', $caption_txt);
  822.                               $caption_txt = str_replace(':|', '<img src="images/smileys/indifferent.png" border="0">', $caption_txt);
  823.                               $caption_txt = str_replace(':D', '<img src="images/smileys/laughing.png" border="0">', $caption_txt);
  824.                               $caption_txt = str_replace(':P', '<img src="images/smileys/lick.png" border="0">', $caption_txt);
  825.                               $caption_txt = str_replace(':O', '<img src="images/smileys/ohno.png" border="0">', $caption_txt);
  826.                               $caption_txt = str_replace(':)', '<img src="images/smileys/smile.png" border="0">', $caption_txt);
  827.                               $caption_txt = str_replace('=)', '<img src="images/smileys/surprised.png" border="0">', $caption_txt);
  828.                               $caption_txt = str_replace(':\\', '<img src="images/smileys/undecided.png" border="0">', $caption_txt);
  829.                               $caption_txt = str_replace(';)', '<img src="images/smileys/wink.png" border="0">', $caption_txt);
  830.                               $caption_txt = str_replace('[code]', '<code>', $caption_txt);
  831.                               $caption_txt = str_replace('[/code]', '</code>', $caption_txt);
  832.                               $caption_txt = str_replace("\n", '<br />', $caption_txt);
  833.                               $caption_txt = str_replace('[b]', '<b>', $caption_txt);
  834.                               $caption_txt = str_replace('[/b]', '</b>', $caption_txt);
  835.                               $caption_txt = str_replace('[i]', '<i>', $caption_txt);
  836.                               $caption_txt = str_replace('[/i]', '</i>', $caption_txt);
  837.                               $caption_txt = str_replace('[u]', '<u>', $caption_txt);
  838.                               $caption_txt = str_replace('[/u]', '</u>', $caption_txt);
  839.                               $caption_txt = str_replace('[strike]', '<strike>', $caption_txt);
  840.                               $caption_txt = str_replace('[/strike]', '</strike>', $caption_txt);
  841.                               $caption_txt = str_replace('[sup]', '<sup>', $caption_txt);
  842.                               $caption_txt = str_replace('[/sup]', '</sup>', $caption_txt);
  843.                               $caption_txt = str_replace('[sub]', '<sub>', $caption_txt);
  844.                               $caption_txt = str_replace('[/sub]', '</sub>', $caption_txt);
  845.                               $caption_txt = str_replace('[highlight]', '<highlight>', $caption_txt);
  846.                               $caption_txt = str_replace('[/highlight]', '</highlight>', $caption_txt);
  847.                               $caption_txt = str_replace('<highlight>', '<span style="background-color: #ffff00;">', $caption_txt);
  848.                               $caption_txt = str_replace('</highlight>', '</span>', $caption_txt);
  849.                              
  850.                               $fp_caption_txt = fopen("$maj_data_directory/items/$maj_req_entry/album/captions/{$album_image_input_name}.txt", "w");
  851.                               fwrite($fp_caption_txt, $caption_txt);
  852.                               fclose($fp_caption_txt);
  853.                           }
  854.                       }
  855.                      
  856.                      
  857.                       $res = copy($_FILES['album_image_input']['tmp_name'], "images/$maj_req_entry/album/$album_image_input_name");
  858.                       unlink($_FILES['album_image_input']['tmp_name']);
  859.                   } else {
  860.                       unlink($_FILES['album_image_input']['tmp_name']);
  861.                   }
  862.               } else {
  863.                   unlink($_FILES['album_image_input']['tmp_name']);
  864.               }
  865.           } else {
  866.               unlink($_FILES['album_image_input']['tmp_name']);
  867.           }
  868.       } else {
  869.           unlink($_FILES['album_image_input']['tmp_name']);
  870.       }
  871.   }
  872.  
  873.   if (isset($_FILES['entry_image_input']) and !empty($_FILES['entry_image_input'])) {
  874.       if (is_uploaded_file($_FILES['entry_image_input']['tmp_name'])) {
  875.           if ($_FILES['entry_image_input']['size'] <= $max_file_size) {
  876.               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")) {
  877.                   $entry_image_input_name = str_replace(" ", "_", $_FILES['entry_image_input']['name']);
  878.                  
  879.                  
  880.                   if (!file_exists("images/$maj_req_entry/$entry_image_input_name")) {
  881.                       if (!file_exists("images/$maj_req_entry")) {
  882.                           mkdir("images/$maj_req_entry");
  883.                       }
  884.                      
  885.                      
  886.                       $res = copy($_FILES['entry_image_input']['tmp_name'], "images/$maj_req_entry/$entry_image_input_name");
  887.                       unlink($_FILES['entry_image_input']['tmp_name']);
  888.                      
  889.                       $entry_image_size = getimagesize("images/$maj_req_entry/$entry_image_input_name");
  890.                       $entry_image_width = $entry_image_size[0];
  891.                       $entry_image_height = $entry_image_size[1];
  892.                      
  893.                       $max_entry_image_width = 510;
  894.                      
  895.                       if ($entry_image_width > $max_entry_image_width) {
  896.                           $sizefactor = (double)($max_entry_image_width / $entry_image_width);
  897.                           $entry_image_width = (int)($entry_image_width * $sizefactor);
  898.                           $entry_image_height = (int)($entry_image_height * $sizefactor);
  899.                       }
  900.                      
  901.                       $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";
  902.                   } else {
  903.                       unlink($_FILES['entry_image_input']['tmp_name']);
  904.                   }
  905.               } else {
  906.                   unlink($_FILES['entry_image_input']['tmp_name']);
  907.               }
  908.           } else {
  909.               unlink($_FILES['entry_image_input']['tmp_name']);
  910.           }
  911.       } else {
  912.           unlink($_FILES['entry_image_input']['tmp_name']);
  913.       }
  914.   }
  915.  
  916.   if (isset($_FILES['file_input']) and !empty($_FILES['file_input'])) {
  917.       if (is_uploaded_file($_FILES['file_input']['tmp_name'])) {
  918.           if ($_FILES['file_input']['size'] <= $max_file_size) {
  919.               if (!file_exists("$maj_data_directory/items/$maj_req_entry/filedrop")) {
  920.                   mkdir("$maj_data_directory/items/$maj_req_entry/filedrop");
  921.               }
  922.              
  923.               if (!file_exists("$maj_data_directory/items/$maj_req_entry/filedrop/files")) {
  924.                   mkdir("$maj_data_directory/items/$maj_req_entry/filedrop/files");
  925.               }
  926.              
  927.               $file_input_name = str_replace(" ", "_", $_FILES['file_input']['name']);
  928.              
  929.               if (!file_exists("$maj_data_directory/items/$maj_req_entry/filedrop/files/$file_input_name")) {
  930.                   $res = copy($_FILES['file_input']['tmp_name'], "$maj_data_directory/items/$maj_req_entry/filedrop/files/$file_input_name");
  931.                   unlink($_FILES['file_input']['tmp_name']);
  932.                  
  933.                  
  934.                   $fp_file_txt = fopen("$maj_data_directory/items/$maj_req_entry/filedrop/{$file_input_name}.txt", "w");
  935.                   fwrite($fp_file_txt, "$maj_data_directory/items/$maj_req_entry/filedrop/files/$file_input_name");
  936.                   fclose($fp_file_txt);
  937.               } else {
  938.                   unlink($_FILES['file_input']['tmp_name']);
  939.               }
  940.           } else {
  941.               unlink($_FILES['file_input']['tmp_name']);
  942.           }
  943.       } else {
  944.           unlink($_FILES['file_input']['tmp_name']);
  945.       }
  946.   }
  947.  
  948.   if (file_exists("$maj_data_directory/wiki.txt")) {
  949.       $old_title = file_get_contents("$maj_data_directory/items/$maj_req_entry/title.old");
  950.       $old_body = file_get_contents("$maj_data_directory/items/$maj_req_entry/body.old");
  951.      
  952.       if (($old_title != $title_write_content) or ($old_body != $body_write_content)) {
  953.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/wiki")) {
  954.               mkdir("$maj_data_directory/items/$maj_req_entry/wiki");
  955.           }
  956.          
  957.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/wiki/delta")) {
  958.               mkdir("$maj_data_directory/items/$maj_req_entry/wiki/delta");
  959.           }
  960.          
  961.           $ddate = date("YmdHis", time() + $maj_offset);
  962.          
  963.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate")) {
  964.               mkdir("$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate");
  965.           }
  966.          
  967.           $new_body = fopen("$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/body.txt", "w");
  968.           fwrite($new_body, $body_write_content);
  969.           fclose($new_body);
  970.          
  971.           $new_title = fopen("$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/title.txt", "w");
  972.           fwrite($new_title, $title_write_content);
  973.           fclose($new_title);
  974.          
  975.           copy("$maj_data_directory/items/$maj_req_entry/title.txt", "$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/ptitle.txt");
  976.           copy("$maj_data_directory/items/$maj_req_entry/body.txt", "$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/prev.txt");
  977.           copy("$maj_data_directory/items/$maj_req_entry/date.txt", "$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/date.txt");
  978.          
  979.           if (file_exists("$maj_data_directory/items/$maj_req_entry/contrib.txt")) {
  980.               copy("$maj_data_directory/items/$maj_req_entry/contrib.txt", "$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/contrib.txt");
  981.           }
  982.          
  983.           $open_editor_file = fopen("$maj_data_directory/items/$maj_req_entry/wiki/delta/$ddate/editor.txt", "w");
  984.           fwrite($open_editor_file, $maj_logged_in_username);
  985.           fclose($open_editor_file);
  986.       }
  987.   }
  988.  
  989.   $open_title_file = fopen($title_file, "w");
  990.   fwrite($open_title_file, $title_write_content);
  991.   fclose($open_title_file);
  992.  
  993.   $open_body_file = fopen($body_file, "w");
  994.   fwrite($open_body_file, $body_write_content);
  995.   fclose($open_body_file);
  996.  
  997.   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))) {
  998.       $open_contrib_file = fopen("$maj_data_directory/items/$maj_req_entry/contrib.txt", "w");
  999.       fwrite($open_contrib_file, $maj_logged_in_username);
  1000.       fclose($open_contrib_file);
  1001.   }
  1002.  
  1003.   if ($maj_logged_in_username == $maj_admin_username) {
  1004.       $sticky_sem = 'data/sticky/' . $maj_req_entry;
  1005.      
  1006.       if (isset($_POST['sticky']) and !empty($_POST['sticky']) and ($_POST['sticky'] == "on")) {
  1007.           if (!file_exists("$maj_data_directory/sticky")) {
  1008.               mkdir("$maj_data_directory/sticky");
  1009.           }
  1010.           if (!file_exists($sticky_sem)) {
  1011.               touch($sticky_sem);
  1012.           }
  1013.       }
  1014.       if (!isset($_POST['sticky']) or empty($_POST['sticky'])) {
  1015.           if (file_exists($sticky_sem)) {
  1016.               unlink($sticky_sem);
  1017.           }
  1018.       }
  1019.      
  1020.       $display_sem = "$maj_data_directory/items/$maj_req_entry/cat.txt";
  1021.      
  1022.       if (isset($_POST['display']) and !empty($_POST['display']) and ($_POST['display'] == "on")) {
  1023.           if (!file_exists($display_sem)) {
  1024.               touch($display_sem);
  1025.           }
  1026.       }
  1027.       if (!isset($_POST['display']) or empty($_POST['display'])) {
  1028.           if (file_exists($display_sem)) {
  1029.               unlink($display_sem);
  1030.           }
  1031.       }
  1032.      
  1033.       $private_sem = "$maj_data_directory/items/$maj_req_entry/private.txt";
  1034.      
  1035.       if (isset($_POST['private']) and !empty($_POST['private']) and ($_POST['private'] == "on")) {
  1036.           if (!file_exists($private_sem)) {
  1037.               touch($private_sem);
  1038.           }
  1039.       }
  1040.       if (!isset($_POST['private']) or empty($_POST['private'])) {
  1041.           if (file_exists($private_sem)) {
  1042.               unlink($private_sem);
  1043.           }
  1044.       }
  1045.      
  1046.       $member_sem = "$maj_data_directory/items/$maj_req_entry/member.txt";
  1047.      
  1048.       if (isset($_POST['member']) and !empty($_POST['member']) and ($_POST['member'] == "on")) {
  1049.           if (!file_exists($member_sem)) {
  1050.               touch($member_sem);
  1051.           }
  1052.       }
  1053.       if (!isset($_POST['member']) or empty($_POST['member'])) {
  1054.           if (file_exists($member_sem)) {
  1055.               unlink($member_sem);
  1056.           }
  1057.       }
  1058.      
  1059.       $edit_sem = "$maj_data_directory/items/$maj_req_entry/edit.txt";
  1060.      
  1061.       if (isset($_POST['edit']) and !empty($_POST['edit']) and ($_POST['edit'] == "on")) {
  1062.           if (!file_exists($edit_sem)) {
  1063.               touch($edit_sem);
  1064.           }
  1065.       }
  1066.      
  1067.       if (!isset($_POST['edit']) or empty($_POST['edit'])) {
  1068.           if (file_exists($edit_sem)) {
  1069.               unlink($edit_sem);
  1070.           }
  1071.       }
  1072.      
  1073.       if (isset($_POST['lock']) and !empty($_POST['lock']) and ($_POST['lock'] == "on")) {
  1074.           if (file_exists("$maj_data_directory/items/$maj_req_entry/edit.txt")) {
  1075.               unlink("$maj_data_directory/items/$maj_req_entry/edit.txt");
  1076.           }
  1077.          
  1078.           if (!file_exists("$maj_data_directory/items/$maj_req_entry/lock.txt")) {
  1079.               touch("$maj_data_directory/items/$maj_req_entry/lock.txt");
  1080.           }
  1081.       }
  1082.       if (!isset($_POST['lock']) or empty($_POST['lock'])) {
  1083.           if (file_exists("$maj_data_directory/items/$maj_req_entry/lock.txt")) {
  1084.               unlink("$maj_data_directory/items/$maj_req_entry/lock.txt");
  1085.           }
  1086.       }
  1087.  
  1088.       $xauthor_sem = "$maj_data_directory/items/$maj_req_entry/xauthor.txt";
  1089.      
  1090.       if (isset($_POST['xauthor']) and !empty($_POST['xauthor']) and ($_POST['xauthor'] == "on")) {
  1091.           if (!file_exists($xauthor_sem)) {
  1092.               touch($xauthor_sem);
  1093.           }
  1094.       }
  1095.      
  1096.       if (!isset($_POST['xauthor']) or empty($_POST['xauthor'])) {
  1097.           if (file_exists($xauthor_sem)) {
  1098.               unlink($xauthor_sem);
  1099.           }
  1100.       }
  1101.      
  1102.       $passwd_file = "$maj_data_directory/items/$maj_req_entry/passwd.txt";
  1103.      
  1104.       if (isset($_POST['passwd']) and !empty($_POST['passwd'])) {
  1105.           $fp_passwd_txt = fopen("$passwd_file", "w");
  1106.           $passwd_crypt = sha1($_POST['passwd']);
  1107.           $passwd_crypt = md5($passwd_crypt);
  1108.           $passwd_crypt = crypt($passwd_crypt, $passwd_crypt);
  1109.           fwrite($fp_passwd_txt, $passwd_crypt);
  1110.           fclose($fp_passwd_txt);
  1111.       }
  1112.      
  1113.       if (!isset($_POST['passwd']) or empty($_POST['passwd'])) {
  1114.           if (file_exists($passwd_file)) {
  1115.               unlink($passwd_file);
  1116.           }
  1117.       }
  1118.      
  1119.       if (isset($_POST['maxlines']) and !empty($_POST['maxlines']) and is_numeric($_POST['maxlines'])) {
  1120.           $fp_maxlines_txt = fopen("$maj_data_directory/items/$maj_req_entry/maxlines.txt", "w");
  1121.           fwrite($fp_maxlines_txt, $_POST['maxlines']);
  1122.           fclose($fp_maxlines_txt);
  1123.       }
  1124.      
  1125.       if (!isset($_POST['maxlines']) or empty($_POST['maxlines'])) {
  1126.           if (file_exists("$maj_data_directory/items/$maj_req_entry/maxlines.txt")) {
  1127.               unlink("$maj_data_directory/items/$maj_req_entry/maxlines.txt");
  1128.           }
  1129.       }
  1130.   }
  1131.  
  1132.   if (($maj_logged_in_username == $maj_admin_username) or file_exists("$maj_data_directory/members/active/$maj_logged_in_username/bb-adm.txt")) {
  1133.       $xtitle_sem = "$maj_data_directory/items/$maj_req_entry/xtitle.txt";
  1134.      
  1135.       if (isset($_POST['xtitle']) and !empty($_POST['xtitle']) and ($_POST['xtitle'] == "on")) {
  1136.           if (!file_exists($xtitle_sem)) {
  1137.               touch($xtitle_sem);
  1138.           }
  1139.       }
  1140.      
  1141.       if (!isset($_POST['xtitle']) or empty($_POST['xtitle'])) {
  1142.           if (file_exists($xtitle_sem)) {
  1143.               unlink($xtitle_sem);
  1144.           }
  1145.       }
  1146.  
  1147.       $xdate_sem = "$maj_data_directory/items/$maj_req_entry/xdate.txt";
  1148.      
  1149.       if (isset($_POST['xdate']) and !empty($_POST['xdate']) and ($_POST['xdate'] == "on")) {
  1150.           if (!file_exists($xdate_sem)) {
  1151.               touch($xdate_sem);
  1152.           }
  1153.       }
  1154.      
  1155.       if (!isset($_POST['xdate']) or empty($_POST['xdate'])) {
  1156.           if (file_exists($xdate_sem)) {
  1157.               unlink($xdate_sem);
  1158.           }
  1159.       }
  1160.  
  1161.  
  1162.       $xavatar_sem = "$maj_data_directory/items/$maj_req_entry/xavatar.txt";
  1163.      
  1164.       if (isset($_POST['xavatar']) and !empty($_POST['xavatar']) and ($_POST['xavatar'] == "on")) {
  1165.           if (!file_exists($xavatar_sem)) {
  1166.               touch($xavatar_sem);
  1167.           }
  1168.       }
  1169.      
  1170.       if (!isset($_POST['xavatar']) or empty($_POST['xavatar'])) {
  1171.           if (file_exists($xavatar_sem)) {
  1172.               unlink($xavatar_sem);
  1173.           }
  1174.       }
  1175.      
  1176.       $lastmod_sem = "$maj_data_directory/items/$maj_req_entry/lastmod.txt";
  1177.      
  1178.       if (isset($_POST['lastmod']) and !empty($_POST['lastmod']) and ($_POST['lastmod'] == "on")) {
  1179.           if (!file_exists($lastmod_sem)) {
  1180.               touch($lastmod_sem);
  1181.           }
  1182.       }
  1183.      
  1184.       if (!isset($_POST['lastmod']) or empty($_POST['lastmod'])) {
  1185.           if (file_exists($lastmod_sem)) {
  1186.               unlink($lastmod_sem);
  1187.           }
  1188.       }
  1189.  
  1190.  
  1191.       $gl_sem = "$maj_data_directory/items/$maj_req_entry/gl.txt";
  1192.      
  1193.       if (isset($_POST['gl']) and !empty($_POST['gl']) and ($_POST['gl'] == "on")) {
  1194.           if (!file_exists($gl_sem)) {
  1195.               touch($gl_sem);
  1196.           }
  1197.       }
  1198.      
  1199.       if (!isset($_POST['gl']) or empty($_POST['gl'])) {
  1200.           if (file_exists($gl_sem)) {
  1201.               unlink($gl_sem);
  1202.           }
  1203.       }
  1204.  
  1205.       $fb_sem = "$maj_data_directory/items/$maj_req_entry/fb.txt";
  1206.      
  1207.       if (isset($_POST['fb']) and !empty($_POST['fb']) and ($_POST['fb'] == "on")) {
  1208.           if (!file_exists($fb_sem)) {
  1209.               touch($fb_sem);
  1210.           }
  1211.       }
  1212.      
  1213.       if (!isset($_POST['fb']) or empty($_POST['fb'])) {
  1214.           if (file_exists($fb_sem)) {
  1215.               unlink($fb_sem);
  1216.           }
  1217.       }
  1218.  
  1219.         if (isset($_POST['auto_album']) and !empty($_POST['auto_album']) and ($_POST['auto_album'] == "on")) {
  1220.        
  1221.                 if (!file_exists("$maj_data_directory/items/$maj_req_entry/auto-album.txt")) {
  1222.                         touch("$maj_data_directory/items/$maj_req_entry/auto-album.txt");
  1223.                 }
  1224.         }
  1225.        
  1226.         if (!isset($_POST['auto_album']) or empty($_POST['auto_album'])) {
  1227.        
  1228.                 if (file_exists("$maj_data_directory/items/$maj_req_entry/auto-album.txt")) {
  1229.                         unlink("$maj_data_directory/items/$maj_req_entry/auto-album.txt");
  1230.                 }
  1231.         }
  1232.   }  
  1233.  
  1234.   if (file_exists("$maj_data_directory/items/$maj_req_entry/title.old")) {
  1235.       unlink("$maj_data_directory/items/$maj_req_entry/title.old");
  1236.   }
  1237.  
  1238.   if (file_exists("$maj_data_directory/items/$maj_req_entry/body.old")) {
  1239.       unlink("$maj_data_directory/items/$maj_req_entry/body.old");
  1240.   }
  1241.  
  1242.   if (file_exists("$maj_data_directory/ping.txt")) {
  1243.       $ping_urls = explode("|", file_get_contents("$maj_data_directory/ping.txt"));
  1244.      
  1245.       foreach ($ping_urls as $ping_url) {
  1246.           $ping = file_get_contents($ping_url);
  1247.           unset($ping);
  1248.       }
  1249.   }
  1250. ?>
  1251.  
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
56 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
68 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