maj.world

maj.world

Git

This blob has been accessed 350 times via Git panel.

  1. <?php
  2.  
  3. ini_set("session.use_trans_sid", 0);
  4.  
  5. session_start();
  6. header("Cache-control: private");
  7.  
  8. $dir = "data/items";
  9.  
  10. $default_title = file_get_contents("data/title.txt");
  11.  
  12.  
  13. if (file_exists("data/offset.txt")) {
  14.         $offset = file_get_contents("data/offset.txt");
  15. }
  16. else {
  17.         $offset = 0;
  18. }
  19.  
  20. if (file_exists("data/increase.txt")) {
  21.         $increase = file_get_contents("data/increase.txt");
  22. }
  23. else {
  24.         $increase = 5;
  25. }
  26.  
  27. $default_blog_title = "My Activity Journal";
  28. $default_username = "maj";
  29. $default_password = "php";
  30. $default_blog_profile = "This cool site is powered by <a href=http://engels.mortega.net/index.php?entry=20050521000019 target=_blank>My Activity Journal</a>, a dead-simple, <a href=http://php.net/ target=_blank>PHP</a>-based, <a href=http://www.opensource.org/licenses/gpl-license.php target=_blank>GPL</a>'ed blog written from scratch as a spare time family project by <a href=http://engels.mortega.net/ target=_blank>Engels</a>, <a href=http://gaffud.com/ target=_blank>Magie</a>, and <a href=http://psylocke.org/ target=_blank>Psylocke</a> Antonio.";
  31. $default_blog_author = "My Activity Journal";
  32.  
  33. if (!file_exists("data")) {
  34.         mkdir("data");
  35. }
  36.  
  37. if (!file_exists("data/.htaccess")) {
  38.         $htaccess = "Order deny,allow\nDeny from all";
  39.         $fp_htaccess_txt = fopen("data/.htaccess","w");
  40.         fwrite($fp_htaccess_txt, $htaccess);
  41.         fclose($fp_htaccess_txt);
  42. }
  43.  
  44. if (!file_exists("data/title.txt")) {
  45.         $fp_default_title_txt = fopen("data/title.txt","w");
  46.         fwrite($fp_default_title_txt, $default_blog_title);
  47.         fclose($fp_default_title_txt);
  48. }
  49.  
  50. if (!file_exists("data/username.txt")) {
  51.         $fp_htaccess_txt = fopen("data/username.txt","w");
  52.         fwrite($fp_htaccess_txt, $default_username);
  53.         fclose($fp_htaccess_txt);
  54. }
  55.  
  56. if (!file_exists("data/password.txt")) {
  57.         $default_password = sha1($default_password);
  58.         $default_password = md5($default_password);
  59.         $default_password = crypt($default_password, $default_password);
  60.         $fp_htaccess_txt = fopen("data/password.txt","w");
  61.         fwrite($fp_htaccess_txt, $default_password);
  62.         fclose($fp_htaccess_txt);
  63. }
  64.  
  65. if (!file_exists("data/profile.php")) {
  66.         $fp_default_profile_txt = fopen("data/profile.php","w");
  67.         fwrite($fp_default_profile_txt, $default_blog_profile);
  68.         fclose($fp_default_profile_txt);
  69. }
  70.  
  71. if (!file_exists("data/author.txt")) {
  72.         $fp_default_author_txt = fopen("data/author.txt","w");
  73.         fwrite($fp_default_author_txt, $default_blog_author);
  74.         fclose($fp_default_author_txt);
  75. }
  76.  
  77. $login_username = file_get_contents("data/username.txt");
  78.  
  79. if ((!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  80.         $global_hits_file = fopen("data/hits.txt", "r");
  81.         $global_hits_count = fread($global_hits_file, filesize("data/hits.txt"));
  82.         fclose($global_hits_file);
  83.         $global_hits_count = $global_hits_count + 1;
  84.         $global_hits_file = fopen("data/hits.txt", "w");
  85.         fwrite($global_hits_file, $global_hits_count);
  86.         fclose($global_hits_file);
  87. }
  88.  
  89. $agent = $_SERVER['HTTP_USER_AGENT'];
  90.  
  91. if (@ereg("Google", $agent)) {
  92.         $google_hits_file = fopen("data/google.txt", "r");
  93.         $google_hits_count = fread($google_hits_file, filesize("data/google.txt"));
  94.         fclose($google_hits_file);
  95.         $google_hits_count = $google_hits_count + 1;
  96.         $google_hits_file = fopen("data/google.txt", "w");
  97.         fwrite($google_hits_file, $google_hits_count);
  98.         fclose($google_hits_file);
  99. }
  100.  
  101. function str_rand($length = 8, $seeds = 'abcdefghijklmnopqrstuvwxyz0123456789')
  102. {
  103.     $str = '';
  104.     $seeds_count = strlen($seeds);
  105.  
  106.     list($usec, $sec) = explode(' ', microtime());
  107.     $seed = (float) $sec + ((float) $usec * 100000);
  108.     mt_srand($seed);
  109.  
  110.     for ($i = 0; $length > $i; $i++) {
  111.         $str .= $seeds{mt_rand(0, $seeds_count - 1)};
  112.     }
  113.  
  114.     return $str;
  115. }
  116.  
  117. function rmdirr($recurse_dirname)
  118. {
  119.  
  120.     if (!file_exists($recurse_dirname)) {
  121.         return false;
  122.     }
  123.  
  124.     if (is_file($recurse_dirname)) {
  125.         return unlink($recurse_dirname);
  126.     }
  127.  
  128.     $recurse_dir = dir($recurse_dirname);
  129.     while (false !== $recurse_entry = $recurse_dir->read()) {
  130.  
  131.         if ($recurse_entry == '.' || $recurse_entry == '..') {
  132.             continue;
  133.         }
  134.  
  135.         rmdirr("$recurse_dirname/$recurse_entry");
  136.     }
  137.  
  138.     $recurse_dir->close();
  139.     return rmdir($recurse_dirname);
  140. }
  141.  
  142. if (isset($_REQUEST['download']) and !empty($_REQUEST['download'])) {
  143.         ini_set('zlib.output_compression','off');
  144.         $file = str_replace('../','', @$_REQUEST['download']);
  145.         go_download($file);
  146.         die();
  147. }
  148.  
  149. function go_download($dl_file) {
  150.         $d = $_REQUEST['entry'];
  151.  
  152.         if (isset($_REQUEST['type']) and !empty($_REQUEST['type']) and ($_REQUEST['type'] == pdf)) {
  153.                 $dl_path = "data/items/$d/pdf/file";
  154.                 $count_path = "data/items/$d/pdf/count";
  155.                 $count_file = "dl.txt";
  156.         }
  157.         if (isset($_REQUEST['type']) and !empty($_REQUEST['type']) and ($_REQUEST['type'] == filedrop)) {
  158.                 $dl_path = "data/items/$d/filedrop/files";
  159.                 $count_path = "data/items/$d/filedrop/count";
  160.                 $count_file = "{$dl_file}.txt";
  161.         }      
  162.  
  163.         header("Cache-Control: ");
  164.         header("Pragma: ");
  165.         header("Content-type: application/octet-stream");
  166.         header("Content-Disposition: attachment; filename=\"" . $dl_file . "\"");
  167.         header("Content-length: " . filesize("$dl_path/$dl_file"));
  168.         $get_it = fopen("$dl_path/$dl_file", 'rb');
  169.  
  170.         while (!feof($get_it)) {
  171.                 $buf = fread($get_it, 4096);
  172.                 echo $buf;
  173.                 $bytes_sent+=strlen($buf);
  174.         }
  175.  
  176.         if ($bytes_sent==filesize("$dl_path/$dl_file")) {
  177.  
  178.                 if (!file_exists($count_path)) {
  179.                         mkdir($count_path);
  180.                 }
  181.  
  182.                 $unique_downloads = "$count_path/$count_file";
  183.                 $fp_unique_downloads = fopen($unique_downloads, "r");
  184.                 $count_unique_downloads = fread($fp_unique_downloads, filesize($unique_downloads));
  185.                 fclose($fp_unique_downloads);
  186.                 $count_unique_downloads = $count_unique_downloads + 1;
  187.                 $fp_unique_downloads = fopen($unique_downloads, "w");
  188.                 fwrite($fp_unique_downloads, $count_unique_downloads);
  189.                 fclose($fp_unique_downloads);
  190.         }
  191. }
  192.  
  193. if (isset($_REQUEST['entry']) and !empty($_REQUEST['entry']) and isset($_REQUEST['comment']) and !empty($_REQUEST['comment']) and isset($_REQUEST['key']) and !empty($_REQUEST['key']) and isset($_REQUEST['action']) and !empty($_REQUEST['action'])) {
  194.                 $comment_dir = 'data/items/' . $_REQUEST['entry'] .'/comments/pending/' . $_REQUEST['comment'];
  195.                 $key_file = $comment_dir . '/key.txt';
  196.                 $open_key_file = fopen($key_file,"r");
  197.                 $login_key = fread($open_key_file,filesize($key_file));
  198.                 fclose($open_key_file);
  199.  
  200.                 if ($_REQUEST['key'] == $login_key) {
  201.                         if ($_REQUEST['action'] == "approve") {
  202.                                 $live_dir = 'data/items/' . $_REQUEST['entry'] .'/comments/live/' . $_REQUEST['comment'];
  203.                                 rename($comment_dir, $live_dir);
  204.                                 unlink("$live_dir/key.txt");
  205.                         }
  206.                         if ($_REQUEST['action'] == "delete") {
  207.                                 rmdirr($comment_dir);
  208.                         }
  209.                         $pending_comment_flag_dir = $_REQUEST['entry'];
  210.                         $fp_comment_count_txt = fopen("data/comments/pending/$pending_comment_flag_dir/count.txt","r");
  211.                         $comment_count_value = fread($fp_comment_count_txt,filesize("data/comments/pending/$pending_comment_flag_dir/count.txt"));
  212.                         fclose($fp_comment_count_txt);
  213.                         if ($comment_count_value <= 1) {
  214.                                 rmdirr("data/comments/pending/$pending_comment_flag_dir");
  215.                         }
  216.                         else {
  217.                                 $fp_comment_count_txt = fopen("data/comments/pending/$pending_comment_flag_dir/count.txt","r");
  218.                                 $comment_count_value = fread($fp_comment_count_txt,filesize("data/comments/pending/$pending_comment_flag_dir/count.txt"));
  219.                                 fclose($fp_comment_count_txt);
  220.                                 $comment_count_value = $comment_count_value - 1;
  221.                                 $fp_comment_count_txt = fopen("data/comments/pending/$pending_comment_flag_dir/count.txt","w");
  222.                                 fwrite($fp_comment_count_txt, $comment_count_value);
  223.                                 fclose($fp_comment_count_txt);
  224.                         }
  225.  
  226.                         header("Location: http://" . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '?entry=' . $_REQUEST['entry'] . '&show=comments');
  227.                 }
  228. }
  229.  
  230. if (isset($_REQUEST['entry']) and !empty($_REQUEST['entry'])) {
  231.         $check = $dir . '/' . $_REQUEST['entry'];
  232.  
  233.         if (file_exists("$check")) {
  234.                 $filter = $_REQUEST['entry'];
  235.                 echo '<title>';
  236.                 $title = $check . '/title.txt';
  237.                 readfile($title);
  238.                 echo '</title>';
  239.                 $views = $check . '/views.txt';
  240.                 if ((!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  241.                         $fp_views = fopen($views, "r");
  242.                         $count_views = fread($fp_views, filesize($views));
  243.                         fclose($fp_views);
  244.                         $count_views = $count_views + 1;
  245.                         $fp_views = fopen($views, "w");
  246.                         fwrite($fp_views, $count_views);
  247.                         fclose($fp_views);
  248.                 }
  249.                
  250.                 if (isset($_REQUEST['show']) and !empty($_REQUEST['show']) and isset($_REQUEST['capcha_put']) and !empty($_REQUEST['capcha_get']) and isset($_REQUEST['firstname']) and !empty($_REQUEST['firstname']) and isset($_REQUEST['lastname']) and !empty($_REQUEST['lastname']) and isset($_REQUEST['email']) and !empty($_REQUEST['email']) and isset($_REQUEST['new_comment']) and !empty($_REQUEST['new_comment']) and isset($_REQUEST['capcha_put']) and !empty($_REQUEST['capcha_put']) and ($_REQUEST['capcha_get'] == $_REQUEST['capcha_put']) and (ereg("@", $_REQUEST['email'])) and (ereg("\.", $_REQUEST['email']))) {
  251.                
  252.                 if (!file_exists("$check/comments")) {
  253.                         mkdir("$check/comments");
  254.                 }
  255.                 if (!file_exists("$check/comments/pending")) {
  256.                         mkdir("$check/comments/pending");
  257.                 }
  258.  
  259.                 if (!file_exists("$check/comments/live")) {
  260.                         mkdir("$check/comments/live");
  261.                 }
  262.  
  263.                 // GNU date format
  264.                 //$timestamp = date("D M j H:i:s \P\H\T Y", time() + $offset);
  265.  
  266.                 // Simple PHP Blog format
  267.                 $timestamp = date("l, M j, Y, g:i A", time() + $offset);
  268.  
  269.                 $comment_entry_dir = date("YmdHis", time() + $offset);
  270.  
  271.                 mkdir("$check/comments/pending/$comment_entry_dir");
  272.  
  273.                 $body_content = ucfirst($_REQUEST['new_comment']);
  274.                 $body_content = htmlentities($body_content, ENT_NOQUOTES);
  275.                 // $body_content = str_replace('href=', 'rel=nofollow target=_blank href=', $body_content);
  276.                 $body_content = str_replace("\n", '<br />', $body_content);
  277.                 $body_content = trim($body_content);
  278.  
  279.                 $body_content = str_replace(':((', '<img src=images/smileys/crying.png border=0>', $body_content);
  280.  
  281.                 $body_content = str_replace(':(', '<img src=images/smileys/frown.png border=0>', $body_content);
  282.  
  283.                 $body_content = str_replace(':|', '<img src=images/smileys/indifferent.png border=0>', $body_content);
  284.  
  285.                 $body_content = str_replace(':D', '<img src=images/smileys/laughing.png border=0>', $body_content);
  286.  
  287.                 $body_content = str_replace(':P', '<img src=images/smileys/lick.png border=0>', $body_content);
  288.  
  289.                 $body_content = str_replace(':O', '<img src=images/smileys/ohno.png border=0>', $body_content);
  290.  
  291.                 $body_content = str_replace(':)', '<img src=images/smileys/smile.png border=0>', $body_content);
  292.  
  293.                 $body_content = str_replace('=)', '<img src=images/smileys/surprised.png border=0>', $body_content);
  294.  
  295.                 $body_content = str_replace(':\\', '<img src=images/smileys/undecided.png border=0>', $body_content);
  296.  
  297.                 $body_content = str_replace(';)', '<img src=images/smileys/wink.png border=0>', $body_content);
  298.  
  299.                 $fp_body_txt = fopen("$check/comments/pending/$comment_entry_dir/comment.txt","w");
  300.                 fwrite($fp_body_txt,$body_content);
  301.                 fclose($fp_body_txt);
  302.  
  303.                 $fp_timestamp_txt = fopen("$check/comments/pending/$comment_entry_dir/timestamp.txt","w");
  304.                 fwrite($fp_timestamp_txt,$timestamp);
  305.                 fclose($fp_timestamp_txt);
  306.  
  307.                 $fp_firstname_txt = fopen("$check/comments/pending/$comment_entry_dir/firstname.txt","w");
  308.                 $firstname = ucwords($_REQUEST['firstname']);
  309.                 $firstname = trim($firstname);
  310.                 $firstname = htmlentities($firstname, ENT_NOQUOTES);
  311.                 fwrite($fp_firstname_txt,$firstname);
  312.                 fclose($fp_firstname_txt);
  313.  
  314.                 $fp_lastname_txt = fopen("$check/comments/pending/$comment_entry_dir/lastname.txt","w");
  315.                 $lastname = ucwords($_REQUEST['lastname']);
  316.                 $lastname = trim($lastname);
  317.                 $lastname = htmlentities($lastname, ENT_NOQUOTES);
  318.                 fwrite($fp_lastname_txt,$lastname);
  319.                 fclose($fp_lastname_txt);
  320.  
  321.                 $fp_email_txt = fopen("$check/comments/pending/$comment_entry_dir/email.txt","w");
  322.                 $email = str_replace('@', ' at ', $_REQUEST['email']);
  323.                 $email = strtolower($email);
  324.                 $email = trim($email);
  325.                 $email = htmlentities($email, ENT_NOQUOTES);
  326.                 fwrite($fp_email_txt,$email);
  327.                 fclose($fp_email_txt);
  328.  
  329.                 if (isset($_REQUEST['url']) and !empty($_REQUEST['url']) and (ereg("\.", $_REQUEST['url']))) {
  330.                         $fp_url_txt = fopen("$check/comments/pending/$comment_entry_dir/url.txt","w");
  331.                         $url = str_replace('http://', '', $_REQUEST['url']);
  332.                         $url = strtolower($url);
  333.                         $url = trim($url);
  334.                         $url = 'http://' . $url;
  335.                         $url = htmlentities($url, ENT_NOQUOTES);
  336.                         fwrite($fp_url_txt,$url);
  337.                         fclose($fp_url_txt);
  338.                 }
  339.  
  340.                 $key_rand = str_rand(14);
  341.                 $fp_key_txt = fopen("$check/comments/pending/$comment_entry_dir/key.txt","w");
  342.                 fwrite($fp_key_txt,$key_rand);
  343.                 fclose($fp_key_txt);
  344.  
  345.                 $comment_quote = ucfirst($_REQUEST['new_comment']);
  346.                 $comment_quote = htmlentities($comment_quote, ENT_NOQUOTES);
  347.  
  348.                 $sig_author_file = "data/author.txt";
  349.                 $fp_sig_author = fopen($sig_author_file, "r");
  350.                 $sig_author = fread($fp_sig_author, filesize($sig_author_file));
  351.                 fclose($fp_sig_author);
  352.  
  353.                 $sig_url = $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/";
  354.                 $sig_url = str_replace('//', '/', $sig_url);
  355.                 $sig_url = "http://" . $sig_url;
  356.  
  357.                 $email_to = strtolower($_REQUEST['email']);
  358.                 $email_to = $firstname . " " . $lastname . ' <' . $email_to . '>';
  359.  
  360.                 if (file_exists("data/email.txt")) {
  361.                         $from_email_file = "data/email.txt";
  362.                         $fp_from_email = fopen($from_email_file, "r");
  363.                         $from_email = fread($fp_from_email, filesize($from_email_file));
  364.                         fclose($fp_from_email);
  365.                 }
  366.  
  367.                 $mailer = 'MAJ/0.14 (PHP/' . phpversion() . ')';
  368.  
  369.                 $commented_entry_title_file = "data/items/{$_REQUEST['entry']}/title.txt";
  370.                 $fp_commented_entry_title = fopen($commented_entry_title_file, "r");
  371.                 $commented_entry_title = fread($fp_commented_entry_title, filesize($commented_entry_title_file));
  372.                 fclose($fp_commented_entry_title);
  373.  
  374.                 if (!file_exists("data/nak.txt") and file_exists("data/email.txt")) {
  375.                         $comment_thanks = "Hi $firstname,\n\nThanks for submitting the following comment last $timestamp:\n\n\"$comment_quote\"\n\nIt will be e-mailed to me first for approval. Please visit the following URL to see if it has been posted:\n\n{$sig_url}index.php?entry={$_REQUEST['entry']}&show=comments\n\nThanks again! =)\n\n--\n$sig_author\n$sig_url\n";
  376.  
  377.                         $comment_thanks = wordwrap($comment_thanks);
  378.  
  379.                         mail($email_to, "Thanks for posting a comment on my blog!", $comment_thanks,
  380.                                 "From: $from_email\r\n" .
  381.                                 "Reply-To: $from_email\r\n" .
  382.                                 "X-Mailer: $mailer");
  383.                 }
  384.  
  385.                 if (file_exists("data/email.txt")) {
  386.                         $comment_notice = "The following comment was submitted by $email_to last $timestamp for the entry \"$commented_entry_title\":\n\n\"$comment_quote\"\n\nVisit the link below to approve and post this pending comment:\n\n{$sig_url}index.php?entry={$_REQUEST['entry']}&comment={$comment_entry_dir}&key={$key_rand}&action=approve\n\nVisit the link below to disapprove and delete this pending comment:\n\n{$sig_url}index.php?entry={$_REQUEST['entry']}&comment={$comment_entry_dir}&key={$key_rand}&action=delete\n\nYou can also approve or disapprove pending comments at a later time by logging on to your blog.";
  387.  
  388.                         $comment_notice = wordwrap($comment_notice);
  389.  
  390.                         mail($from_email, "Pending Blog Comment", $comment_notice,
  391.                                 "From: $from_email\r\n" .
  392.                                 "Reply-To: $from_email\r\n" .
  393.                                 "X-Mailer: $mailer");
  394.                 }
  395.  
  396.                 if (!file_exists("data/comments")) {
  397.                         mkdir("data/comments");
  398.                 }
  399.  
  400.                 if (!file_exists("data/comments/pending")) {
  401.                         mkdir("data/comments/pending");
  402.                 }
  403.  
  404.                 $pending_comment_flag = $_REQUEST['entry'];
  405.  
  406.                 if (!file_exists("data/comments/pending/$pending_comment_flag")) {
  407.                         mkdir("data/comments/pending/$pending_comment_flag");
  408.                 }
  409.  
  410.                 $fp_comment_count_txt = fopen("data/comments/pending/$pending_comment_flag/count.txt","r");
  411.                 $comment_count_value = fread($fp_comment_count_txt,filesize("data/comments/pending/$pending_comment_flag/count.txt"));
  412.                 fclose($fp_comment_count_txt);
  413.                 $comment_count_value = $comment_count_value + 1;
  414.                 $fp_comment_count_txt = fopen("data/comments/pending/$pending_comment_flag/count.txt","w");
  415.                 fwrite($fp_comment_count_txt, $comment_count_value);
  416.                 fclose($fp_comment_count_txt);
  417.  
  418.                 }
  419.  
  420.         }
  421.         else {
  422.                 echo '<title>' . $default_title . '</title>';
  423.                 if (isset($_REQUEST['archive']) and !empty($_REQUEST['archive'])) {
  424.                         $filter = $_REQUEST['archive'] . "*";
  425.                 }
  426.                 else {
  427.                         $filter = "*";
  428.                 }
  429.         }
  430. }
  431. else {
  432.         echo '<title>' . $default_title . '</title>';
  433.         if (isset($_REQUEST['archive']) and !empty($_REQUEST['archive'])) {
  434.                 $filter = $_REQUEST['archive'] . "*";
  435.         }
  436.         else {
  437.                 $filter = "*";
  438.         }
  439. }
  440.  
  441. ?>
  442.  
  443. <style>
  444.  
  445. body
  446. {
  447.         color: <?php
  448. if (file_exists("data/colors/font.txt")) {
  449.         $font_color = file_get_contents("data/colors/font.txt");
  450.         echo $font_color;
  451. }
  452. else {
  453.         echo "#666666";
  454. }
  455. ?>;
  456.         margin: 0px 0px 10px 10px;
  457.         padding: 0px;
  458.         text-align: left;
  459.         font-family: verdana, helvetica, sans-serif;
  460.         background-color: <?php
  461. if (file_exists("data/colors/bg.txt")) {
  462.         $background_color = file_get_contents("data/colors/bg.txt");
  463.         echo $background_color;
  464. }
  465. else {
  466.         echo "#FFFFFF";
  467. }
  468. ?>;
  469.         <?php
  470.         if (file_exists("images/background.gif") and !file_exists("images/background.jpg") and !file_exists("images/background.png")) { ?>
  471.         background-image: url('images/background.gif');
  472.         background-attachment: <?php if (file_exists("data/bg-scroll.txt")) { echo scroll; } else { echo fixed; } ?>;
  473.         background-repeat: <?php if (file_exists("data/bg-repeat.txt")) { readfile("data/bg-repeat.txt"); } else { echo repeat; } ?>;
  474.         background-position: <?php if (file_exists("data/bg-position.txt")) { readfile("data/bg-position.txt"); } else { echo "top left"; } ?>;
  475.         <?php
  476.         }
  477.         if (!file_exists("images/background.gif") and file_exists("images/background.jpg") and !file_exists("images/background.png")) { ?>
  478.         background-image: url('images/background.jpg');
  479.         background-attachment: <?php if (file_exists("data/bg-scroll.txt")) { echo scroll; } else { echo fixed; } ?>;
  480.         background-repeat: <?php if (file_exists("data/bg-repeat.txt")) { readfile("data/bg-repeat.txt"); } else { echo repeat; } ?>;
  481.         background-position: <?php if (file_exists("data/bg-position.txt")) { readfile("data/bg-position.txt"); } else { echo "top left"; } ?>;
  482.         <?php
  483.         }
  484.         if (!file_exists("images/background.gif") and !file_exists("images/background.jpg") and file_exists("images/background.png")) { ?>
  485.         background-image: url('images/background.png');
  486.         background-attachment: <?php if (file_exists("data/bg-scroll.txt")) { echo scroll; } else { echo fixed; } ?>;
  487.         background-repeat: <?php if (file_exists("data/bg-repeat.txt")) { readfile("data/bg-repeat.txt"); } else { echo repeat; } ?>;
  488.         background-position: <?php if (file_exists("data/bg-position.txt")) { readfile("data/bg-position.txt"); } else { echo "top left"; } ?>;
  489.         <?php
  490.         }
  491.         ?>
  492. }
  493.  
  494. p, td
  495. {
  496.         font-size: 11px;
  497. }
  498.  
  499. a
  500. {
  501.         font-weight: bold;
  502.         text-decoration: none;
  503. }
  504.  
  505. a:link
  506. {
  507.         color: <?php
  508. if (file_exists("data/colors/link.txt")) {
  509.         $a_link_color = file_get_contents("data/colors/link.txt");
  510.         echo $a_link_color;
  511. }
  512. else {
  513.         echo "#666666";
  514. }
  515. ?>;
  516. }
  517.  
  518. a:visited
  519. {
  520.         color: <?php
  521. if (file_exists("data/colors/vlink.txt")) {
  522.         $a_visited_color = file_get_contents("data/colors/vlink.txt");
  523.         echo $a_visited_color;
  524. }
  525. else {
  526.         echo "#666666";
  527. }
  528. ?>;
  529. }
  530.  
  531. a:hover
  532. {
  533.         color: <?php
  534. if (file_exists("data/colors/hover.txt")) {
  535.         $a_hover_color = file_get_contents("data/colors/hover.txt");
  536.         echo $a_hover_color;
  537. }
  538. else {
  539.         echo "#336699";
  540. }
  541. ?>;
  542. }
  543.  
  544. a:active {
  545.         color: <?php
  546. if (file_exists("data/colors/hover.txt")) {
  547.         $a_active_color = file_get_contents("data/colors/hover.txt");
  548.         echo $a_active_color;
  549. }
  550. else {
  551.         echo "#336699";
  552. }
  553. ?>;
  554. }
  555. #panel_title
  556. {
  557.         font-family: verdana, helvetica, sans-serif;
  558.         font-size: 12px;
  559.         font-weight: bold;
  560.         color: <?php
  561. if (file_exists("data/colors/pt-font.txt")) {
  562.         $panel_title_font_color = file_get_contents("data/colors/pt-font.txt");
  563.         echo $panel_title_font_color;
  564. }
  565. else {
  566.         echo "#666666";
  567. }
  568. ?>;
  569.         padding: 5px 5px 5px 5px;
  570.         background-color: <?php
  571. if (file_exists("data/colors/pt-bg.txt")) {
  572.         $panel_title_background_color = file_get_contents("data/colors/pt-bg.txt");
  573.         echo $panel_title_background_color;
  574. }
  575. else {
  576.         echo "transparent";
  577. }
  578. ?>;
  579.         margin: 10px 0px 0px 0px;
  580.         border-color: <?php
  581. if (file_exists("data/colors/border.txt")) {
  582.         $panel_title_border_color = file_get_contents("data/colors/border.txt");
  583.         echo $panel_title_border_color;
  584. }
  585. else {
  586.         echo "#CCCCCC";
  587. }
  588. ?>;
  589.         border-width: 1px 1px 0px 1px;
  590.         border-style: solid solid none solid;
  591. }
  592. #panel_body
  593. {
  594.         font-family: verdana, helvetica, sans-serif;
  595.         font-size: 11px;
  596.         color: <?php
  597. if (file_exists("data/colors/pb-font.txt")) {
  598.         $panel_body_font_color = file_get_contents("data/colors/pb-font.txt");
  599.         echo $panel_body_font_color;
  600. }
  601. else {
  602.         echo "#666666";
  603. }
  604. ?>;
  605.         padding: 5px 5px 5px 5px;
  606.         background-color: <?php
  607. if (file_exists("data/colors/pb-bg.txt")) {
  608.         $panel_body_background_color = file_get_contents("data/colors/pb-bg.txt");
  609.         echo $panel_body_background_color;
  610. }
  611. else {
  612.         echo "transparent";
  613. }
  614. ?>;
  615.         margin: 0px;
  616.         border-color: <?php
  617. if (file_exists("data/colors/border.txt")) {
  618.         $panel_body_border_color = file_get_contents("data/colors/border.txt");
  619.         echo $panel_body_border_color;
  620. }
  621. else {
  622.         echo "#CCCCCC";
  623. }
  624. ?>;
  625.         border-width: 1px 1px 1px 1px;
  626.         border-style: solid solid solid solid;
  627. }
  628. #panel_footer
  629. {
  630.         font-family: verdana, helvetica, sans-serif;
  631.         font-size: 11px;
  632.         color: <?php
  633. if (file_exists("data/colors/pf-font.txt")) {
  634.         $panel_footer_font_color = file_get_contents("data/colors/pf-font.txt");
  635.         echo $panel_footer_font_color;
  636. }
  637. else {
  638.         echo "#666666";
  639. }
  640. ?>;
  641.         padding: 5px 5px 5px 5px;
  642.         background-color: <?php
  643. if (file_exists("data/colors/pf-bg.txt")) {
  644.         $panel_footer_background_color = file_get_contents("data/colors/pf-bg.txt");
  645.         echo $panel_footer_background_color;
  646. }
  647. else {
  648.         echo "transparent";
  649. }
  650. ?>;
  651.         margin: 0px;
  652.         border-color: <?php
  653. if (file_exists("data/colors/border.txt")) {
  654.         $panel_footer_border_color = file_get_contents("data/colors/border.txt");
  655.         echo $panel_footer_border_color;
  656. }
  657. else {
  658.         echo "#CCCCCC";
  659. }
  660. ?>;
  661.         border-width: 0px 1px 1px 1px;
  662.         border-style: none solid solid solid;
  663.         text-align: right;
  664. }
  665. .input {        
  666.         color: <?php
  667. if (file_exists("data/colors/border.txt")) {
  668.         $input_color = file_get_contents("data/colors/border.txt");
  669.         echo $input_color;
  670. }
  671. else {
  672.         echo "#666666";
  673. }
  674. ?>;
  675.         background: #FFFFFF;
  676.         border: <?php
  677. if (file_exists("data/colors/border.txt")) {
  678.         $panel_footer_border_color = file_get_contents("data/colors/border.txt");
  679.         echo $panel_footer_border_color;
  680. }
  681. else {
  682.         echo "#999999";
  683. }
  684. ?> solid 1px;
  685.         width: 300px;
  686.         font-family: verdana,helvetica,sans-serif;
  687.         font-size: 11px;
  688. }
  689. .search {      
  690.         color: #666666;
  691.         background: #FFFFFF;
  692.         width: 100%;
  693.         font-family: verdana,helvetica,sans-serif;
  694.         font-size: 11px;
  695. }
  696. </style>
  697.  
  698. <link rel="alternate" type="application/rss+xml" title="RSS 0.91" href="rss.php?ver=0.91">
  699. <link rel="alternate" type="application/rss+xml" title="RSS 1.0" href="rss.php?ver=1.0">
  700. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss.php?ver=2.0">
  701.  
  702. <?php
  703. if (file_exists("header.php")) {
  704.         include("header.php");
  705.         echo '<p></p>';
  706. }
  707. ?>
  708.  
  709. <table border=0 cellspacing=0 cellpadding=0 width=905>
  710. <tr><td width=175 valign=top>
  711.  
  712. <div id=panel_title>Profile</div>
  713. <div id=panel_body>
  714. <?php
  715. if (file_exists("images/profile.gif")) {
  716.         $profile_gif_image_size = getimagesize("images/profile.gif");
  717.         $profile_gif_image_width = $profile_gif_image_size[0];
  718.         $profile_gif_image_height = $profile_gif_image_size[1];
  719.  
  720.         $max_profile_gif_image_width = 163;
  721.  
  722.         if ($profile_gif_image_width > $max_profile_gif_image_width) {  
  723.                 $sizefactor = (double) ($max_profile_gif_image_width / $profile_gif_image_width) ;
  724.                 $profile_gif_image_width = (int) ($profile_gif_image_width * $sizefactor);
  725.                 $profile_gif_image_height = (int) ($profile_gif_image_height * $sizefactor);
  726.         }
  727.  
  728.         echo "<img src=images/profile.gif border=0 width=";
  729.         echo $profile_gif_image_width;
  730.         echo " height=";
  731.         echo $profile_gif_image_height;
  732.         echo " align=left>";
  733. }
  734. if (file_exists("images/profile.jpg")) {
  735.         $profile_jpg_image_size = getimagesize("images/profile.jpg");
  736.         $profile_jpg_image_width = $profile_jpg_image_size[0];
  737.         $profile_jpg_image_height = $profile_jpg_image_size[1];
  738.  
  739.         $max_profile_jpg_image_width = 163;
  740.  
  741.         if ($profile_jpg_image_width > $max_profile_jpg_image_width) {  
  742.                 $sizefactor = (double) ($max_profile_jpg_image_width / $profile_jpg_image_width) ;
  743.                 $profile_jpg_image_width = (int) ($profile_jpg_image_width * $sizefactor);
  744.                 $profile_jpg_image_height = (int) ($profile_jpg_image_height * $sizefactor);
  745.         }
  746.  
  747.         echo "<img src=images/profile.jpg border=0 width=";
  748.         echo $profile_jpg_image_width;
  749.         echo " height=";
  750.         echo $profile_jpg_image_height;
  751.         echo " align=left>";
  752. }
  753. if (file_exists("images/profile.png")) {
  754.         $profile_png_image_size = getimagesize("images/profile.png");
  755.         $profile_png_image_width = $profile_png_image_size[0];
  756.         $profile_png_image_height = $profile_png_image_size[1];
  757.  
  758.         $max_profile_png_image_width = 163;
  759.  
  760.         if ($profile_png_image_width > $max_profile_png_image_width) {  
  761.                 $sizefactor = (double) ($max_profile_png_image_width / $profile_png_image_width) ;
  762.                 $profile_png_image_width = (int) ($profile_png_image_width * $sizefactor);
  763.                 $profile_png_image_height = (int) ($profile_png_image_height * $sizefactor);
  764.         }
  765.  
  766.         echo "<img src=images/profile.png border=0 width=";
  767.         echo $profile_png_image_width;
  768.         echo " height=";
  769.         echo $profile_png_image_height;
  770.         echo " align=left>";
  771. }
  772. include("data/profile.php");
  773. ?>
  774. </div>
  775.  
  776. <div id=panel_title>Navigation</div>
  777. <div id=panel_body>
  778. <a href="<?php echo $_SERVER['PHP_SELF']; ?>">Home</a><br>
  779.  
  780. <?php
  781. if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
  782.         echo '<a href=add.php>Add Entry</a><br>';
  783.         echo '<a href=settings.php>Settings</a><br>';
  784.         echo '<a href=panels.php>Panels</a><br>';
  785.         echo '<a href=cat.php>Categories</a><br>';
  786.         echo '<a href=colors.php>Colors</a><br>';
  787.         echo '<a href=login.php>Logout</a>';
  788. }
  789. else {
  790.         echo '<a href=login.php>Login</a>';
  791. }
  792. ?>
  793.  
  794. </div>
  795.  
  796. <?php
  797. if (file_exists("data/sticky")) {
  798.         if ($dh_sticky_list = opendir("data/sticky")) {
  799.                 while (($entry_sticky_list = readdir($dh_sticky_list)) !== false) {
  800.  
  801.                         if (file_exists("data/items/$entry_sticky_list/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  802.                                 continue;
  803.                         }
  804.  
  805.                         $get_cat_dir = file_get_contents("data/items/$entry_sticky_list/category.txt");
  806.  
  807.                         if (file_exists("data/categories/$get_cat_dir/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and !file_exists("data/items/$entry_sticky_list/cat.txt")) {
  808.                                 continue;
  809.                         }
  810.  
  811.                         if ($entry_sticky_list != "." && $entry_sticky_list != ".." && fnmatch("*", $entry_sticky_list)) {
  812.                                 $show_sticky_list[] = $entry_sticky_list;
  813.                         }
  814.                 }
  815.                 closedir($dh_sticky_list);
  816.         }
  817.  
  818.         sort($show_sticky_list);
  819.         reset($show_sticky_list);
  820.         $count_sticky_list = count($show_sticky_list);
  821.        
  822.         if ($count_sticky_list > 0) {
  823.                 echo '<div id=panel_title>Quick Links</div>';
  824.                 echo '<div id=panel_body>';
  825.                 foreach ($show_sticky_list as $sticky_list_entry) {
  826.                         echo '<a href=' . $_SERVER['PHP_SELF'] . '?entry=';
  827.                         echo $sticky_list_entry;
  828.                         echo '>';
  829.                         readfile("data/items/$sticky_list_entry/title.txt");
  830.                         echo '</a><br>';
  831.                 }
  832.                 echo '</div>';
  833.         }
  834. }
  835. ?>
  836.  
  837.  
  838.  
  839. <?php
  840. if (file_exists("data/panels")) {
  841.         if ($dh_panel_list = opendir("data/panels")) {
  842.                 while (($entry_panel_list = readdir($dh_panel_list)) !== false) {
  843.  
  844.                         if (file_exists("data/panels/$entry_panel_list/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  845.                                 continue;
  846.                         }
  847.  
  848.                         if ($entry_panel_list != "." && $entry_panel_list != ".." && fnmatch("*", $entry_panel_list)) {
  849.                                 $show_panel_list[] = $entry_panel_list;
  850.                         }
  851.                 }
  852.                 closedir($dh_panel_list);
  853.         }
  854.  
  855.         sort($show_panel_list);
  856.         reset($show_panel_list);
  857.         $count_panel_list = count($show_panel_list);
  858.        
  859.         if ($count_panel_list > 0) {
  860.                 foreach ($show_panel_list as $panel_list_entry) {
  861.                         echo '<div id=panel_title>';
  862.                         readfile("data/panels/$panel_list_entry/title.txt");
  863.                         echo '</div><div id=panel_body>';
  864.                         include("data/panels/$panel_list_entry/panel.php");
  865.                         echo '</div>';
  866.                 }
  867.         }
  868. }
  869. ?>
  870.  
  871. </td><td width=15>&nbsp;</td><td valign=top width=525>
  872.  
  873. <?php
  874.  
  875. if (is_dir($dir)) {
  876.         if ($dh = opendir($dir)) {
  877.                 while (($entry_main = readdir($dh)) !== false) {
  878.  
  879.                         if (file_exists("data/items/$entry_main/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  880.                                 continue;
  881.                         }
  882.  
  883.                         $cat_dir = file_get_contents("data/items/$entry_main/category.txt");
  884.  
  885.                         if (file_exists("data/categories/$cat_dir/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and !file_exists("data/items/$entry_main/cat.txt")) {
  886.                                 continue;
  887.                         }
  888.  
  889.                         if (file_exists("data/nocat.txt") and file_exists("data/items/$entry_main/category.txt") and !file_exists("data/items/$entry_main/cat.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['category']) or empty($_REQUEST['category'])) and (!isset($_REQUEST['entry']) or empty($_REQUEST['entry']))) {
  890.                                 continue;
  891.                         }
  892.  
  893.                         if ($entry_main != "." && $entry_main != ".." && fnmatch($filter, $entry_main)) {
  894.                                 if (isset($_REQUEST['category']) and !empty($_REQUEST['category']) and file_exists(strip_tags(strtolower(str_replace(" ", "-", "data/categories/{$_REQUEST['category']}"))))) {
  895.                                         $category = str_replace(" ", "-", $_REQUEST['category']);
  896.                                         $category = strtolower($category);
  897.                                         $category = strip_tags($category);
  898.                                         if (file_exists("data/items/$entry_main/category.txt") and (file_get_contents("data/items/$entry_main/category.txt") == "$category")) {
  899.                                                 $items[] = $entry_main;
  900.                                         }
  901.                                 }
  902.                                 else {
  903.                                         $items[] = $entry_main;
  904.                                 }
  905.                         }
  906.                 }
  907.                 closedir($dh);
  908.         }
  909. }
  910.  
  911. if (!file_exists("data/old.txt")) {
  912.         rsort($items);
  913. }
  914.  
  915. if (file_exists("data/old.txt")) {
  916.         sort($items);
  917. }
  918.  
  919. if (isset($_REQUEST['category']) and !empty($_REQUEST['category'])) {
  920.  
  921.         $category = str_replace(" ", "-", $_REQUEST['category']);
  922.         $category = strtolower($category);
  923.         $category = strip_tags($category);
  924.  
  925.         if (file_exists("data/categories/$category/book.txt")) {
  926.                 sort($items);
  927.         }
  928. }
  929.  
  930. reset($items);
  931.  
  932. $start = $_REQUEST['start'];
  933.  
  934. if (!isset($_REQUEST['start']) or empty($_REQUEST['start'])) {
  935.         $start = 0;
  936. }
  937.  
  938. $end=$start+$increase;
  939.    
  940. $disp=array_slice($items,$start,$increase);
  941.  
  942. foreach ($disp as $d) {
  943.  
  944.         if (file_exists("$dir/$d/category.txt")) {
  945.                 $category_check = 'data/categories/' . file_get_contents("$dir/$d/category.txt");
  946.                 if (!file_exists($category_check)) {
  947.                         unlink("$dir/$d/category.txt");
  948.                 }
  949.         }
  950.  
  951.         if (file_exists("$dir/$d/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  952.                 continue;
  953.         }
  954.  
  955.         echo '<table border=0 cellspacing=0 cellpadding=0 bgcolor=#CCCCCC style="background-color: transparent;"><tr><td width=525><div id=panel_title>';
  956.         readfile("$dir/$d/title.txt");
  957.        
  958.         if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
  959.                 echo '<a href=del.php?entry=';
  960.                 echo $d;
  961.                 echo '><img src=images/widget.del.png border=0 width=11 height=11 align=right alt="delete entry"></a>';
  962.                 echo '<a href=edit.php?entry=';
  963.                 echo $d;
  964.                 echo '><img src=images/widget.edit.png border=0 width=11 height=11 align=right alt="edit entry"></a>';
  965.                 if (file_exists("$dir/$d/passwd.txt")) {
  966.                         echo '<img src=images/widget.protected.png border=0 width=11 height=11 align=right alt="protected entry">';
  967.                 }
  968.  
  969.                 if (file_exists("$dir/$d/private.txt")) {
  970.                         echo '<img src=images/widget.private.png border=0 width=11 height=11 align=right alt="private entry">';
  971.                 }
  972.                 if (file_exists("$dir/$d/cat.txt")) {
  973.                         echo '<img src=images/widget.cat.png border=0 width=11 height=11 align=right alt="always display">';
  974.                 }
  975.                 if (file_exists("$dir/$d/category.txt")) {
  976.  
  977.                         $read_cat_dir = file_get_contents("$dir/$d/category.txt");
  978.  
  979.                         if (file_exists("data/categories/$read_cat_dir/private.txt")) {
  980.                                 echo '<img src=images/widget.hidden.png border=0 width=11 height=11 align=right alt="category hidden">';
  981.                         }
  982.  
  983.                         if (file_exists("data/nocat.txt")) {
  984.                                 echo '<img src=images/widget.isolated.png border=0 width=11 height=11 align=right alt="category isolated">';
  985.                         }
  986.  
  987.                         if (file_exists("data/categories/$read_cat_dir/book.txt")) {
  988.                                 echo '<img src=images/widget.booked.png border=0 width=11 height=11 align=right alt="category booked">';
  989.                         }
  990.  
  991.                         echo '<img src=images/widget.filed.png border=0 width=11 height=11 align=right alt="filed under ';
  992.                         readfile("$dir/$d/category.txt");
  993.                         echo '">';
  994.                 }
  995.  
  996.         }
  997.  
  998.         echo '</div><div id=panel_body>';
  999.  
  1000.         if (file_exists("$dir/$d/passwd.txt")) {
  1001.                 $passwd = file_get_contents("$dir/$d/passwd.txt");
  1002.         }
  1003.  
  1004.         if (isset($_REQUEST['passwd']) and !empty($_REQUEST['passwd'])) {
  1005.                 $crypt_passwd = sha1($_REQUEST['passwd']);
  1006.                 $crypt_passwd = md5($crypt_passwd);
  1007.                 $crypt_passwd = crypt($crypt_passwd, $crypt_passwd);
  1008.         }
  1009.  
  1010.         echo '<font style="font-size: 10px; color: #999999;">';
  1011.         readfile("$dir/$d/date.txt");
  1012.         if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
  1013.                 if (file_exists("$dir/$d/revisions.txt")) {
  1014.                         echo ' (Revision ';
  1015.                         readfile("$dir/$d/revisions.txt");
  1016.                         echo ')';
  1017.                 }
  1018.                 if (file_exists("$dir/$d/category.txt")) {
  1019.                         echo ' Filed under ';
  1020.                         $category_key = file_get_contents("$dir/$d/category.txt");
  1021.                         $category_key = strtolower($category_key);
  1022.                         if (file_exists("data/categories/{$category_key}/title.txt")) {
  1023.                                 $category_dsp = file_get_contents("data/categories/{$category_key}/title.txt");
  1024.                                 echo "$category_key ($category_dsp)";
  1025.                         }
  1026.                         else {
  1027.                                 echo "$category_key";
  1028.                         }
  1029.                 }
  1030.         }
  1031.         echo '</font><font style="font-size: 5px;"><br><br></font>';
  1032.  
  1033.         if (file_exists("$dir/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
  1034.                 echo "This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$d>here</a> to enter it.";
  1035.         }
  1036.         else {
  1037.                 readfile("$dir/$d/body.txt");
  1038.         }
  1039.  
  1040.         echo '</div><div id=panel_footer>';
  1041.         echo '<font style="font-size: 10px; color: ';
  1042.         if (file_exists("data/colors/pf-font.txt")) {
  1043.                 readfile("data/colors/pf-font.txt");
  1044.         }
  1045.         else {
  1046.                 echo "#999999";
  1047.         }
  1048.         echo ';">';
  1049.  
  1050. if (!file_exists("data/nocomment.txt")) {
  1051.  
  1052.         if (!file_exists("$dir/$d/comments/live")) {
  1053.                 echo '<a href=' . $_SERVER['PHP_SELF'] . '?entry=' . $d . '&show=comments>add comment</a>';
  1054.         }
  1055.         else {
  1056.                 if ($dh_comments = opendir("$dir/$d/comments/live")) {
  1057.                         while (($entry_comments = readdir($dh_comments)) !== false) {
  1058.                                 if ($entry_comments != "." && $entry_comments != ".." && fnmatch("*", $entry_comments)) {
  1059.                                         $items_comments[] = $entry_comments;
  1060.                                 }
  1061.                         }
  1062.                 closedir($dh_comments);
  1063.                 }
  1064.                 $comments = count($items_comments);
  1065.                 echo '<a href=' . $_SERVER['PHP_SELF'] . '?entry=' . $d . '&show=comments>';
  1066.                 if ($comments == 1) {
  1067.                         echo $comments . ' comment';
  1068.                 }
  1069.                 elseif ($comments < 1) {
  1070.                         echo 'add comment';
  1071.                 }
  1072.                 else {
  1073.                         echo $comments . ' comments';
  1074.                 }
  1075.                 echo '</a>';
  1076.                 unset($items_comments);
  1077.         }
  1078.  
  1079. }
  1080. else {
  1081.         echo '<a href=' . $_SERVER['PHP_SELF'] . '?entry=' . $d . '>permalink</a>';
  1082. }
  1083.  
  1084.         if (file_exists("$dir/$d/views.txt")) {
  1085.                 $fp_views_txt = fopen("$dir/$d/views.txt","r");
  1086.                 $views_value = fread($fp_views_txt,filesize("$dir/$d/views.txt"));
  1087.                 fclose($fp_views_txt);
  1088.                 if ($views_value == 1) {
  1089.                         echo ' ( ' . $views_value . ' view ) ';
  1090.                 }
  1091.                 elseif ($views_value > 1) {
  1092.                         echo ' ( ' . $views_value . ' views ) ';
  1093.                 }
  1094.                 else {
  1095.                         echo ' ';
  1096.                 }
  1097.         }
  1098.  
  1099.         if (!file_exists("images/$d/album")) {
  1100.                 echo ' ';
  1101.         }
  1102.         else {
  1103.                 if ($dh_album = opendir("images/$d/album")) {
  1104.                         while (($entry_album = readdir($dh_album)) !== false) {
  1105.                                 if ($entry_album != "." && $entry_album != ".." && fnmatch("*", $entry_album)) {
  1106.                                         $items_album[] = $entry_album;
  1107.                                 }
  1108.                         }
  1109.                 closedir($dh_album);
  1110.                 }
  1111.                 $album = count($items_album);
  1112.                 echo ' | <a href=' . $_SERVER['PHP_SELF'] . '?entry=' . $d . '&show=album>';
  1113.                 if ($album == 1) {
  1114.                         echo $album . ' image';
  1115.                 }
  1116.                 elseif ($album < 1) {
  1117.                         echo 'album';
  1118.                 }
  1119.                 else {
  1120.                         echo $album . ' images';
  1121.                 }
  1122.                 echo '</a>';
  1123.                 unset($items_album);
  1124.         }
  1125.  
  1126.         if (file_exists("images/$d/album") and isset($_REQUEST['entry']) and !empty($_REQUEST['entry']) and isset($_REQUEST['show']) and !empty($_REQUEST['show']) and ($_REQUEST['show'] == album)) {
  1127.                 if (!file_exists("$dir/$d/album")) {
  1128.                         mkdir("$dir/$d/album");
  1129.                 }
  1130.                 if ((!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  1131.                         $fp_album_views_txt = fopen("$dir/$d/album/views.txt","r");
  1132.                         $album_views_value = fread($fp_album_views_txt,filesize("$dir/$d/album/views.txt"));
  1133.                         fclose($fp_album_views_txt);
  1134.                         $album_views_value = $album_views_value + 1;
  1135.                         $fp_album_views_txt = fopen("$dir/$d/album/views.txt","w");
  1136.                         fwrite($fp_album_views_txt, $album_views_value);
  1137.                         fclose($fp_album_views_txt);
  1138.                 }
  1139.         }
  1140.  
  1141.         $fp_album_views_txt = fopen("$dir/$d/album/views.txt","r");
  1142.         $album_views_value = fread($fp_album_views_txt,filesize("$dir/$d/album/views.txt"));
  1143.         fclose($fp_album_views_txt);
  1144.         if ($album_views_value == 1) {
  1145.                 echo ' ( ' . $album_views_value . ' view ) ';
  1146.         }
  1147.         elseif ($album_views_value > 1) {
  1148.                 echo ' ( ' . $album_views_value . ' views ) ';
  1149.         }
  1150.         else {
  1151.                 echo ' ';
  1152.         }
  1153.  
  1154.         if (!file_exists("data/items/$d/filedrop/files")) {
  1155.                 echo ' ';
  1156.         }
  1157.         else {
  1158.                 if ($dh_filedrop = opendir("data/items/$d/filedrop/files")) {
  1159.                         while (($dl_file = readdir($dh_filedrop)) !== false) {
  1160.                                 if ($dl_file != "." && $dl_file != ".." && fnmatch("*", $dl_file)) {
  1161.                                         $items_filedrop[] = $dl_file;
  1162.                                 }
  1163.                         }
  1164.                 closedir($dh_filedrop);
  1165.                 }
  1166.                 $filedrop = count($items_filedrop);
  1167.                 echo ' | <a href=' . $_SERVER['PHP_SELF'] . '?entry=' . $d . '&show=filedrop>';
  1168.                 if ($filedrop == 1) {
  1169.                         echo $filedrop . ' file';
  1170.                 }
  1171.                 elseif ($filedrop < 1) {
  1172.                         echo 'filedrop';
  1173.                 }
  1174.                 else {
  1175.                         echo $filedrop . ' files';
  1176.                 }
  1177.                 echo '</a> ';
  1178.                 unset($items_filedrop);
  1179.         }
  1180.  
  1181.         if (isset($_REQUEST['entry']) and !empty($_REQUEST['entry']) and isset($_REQUEST['show']) and !empty($_REQUEST['show']) and ($_REQUEST['show'] == filedrop)) {
  1182.                 if (!file_exists("$dir/$d/filedrop")) {
  1183.                         mkdir("$dir/$d/filedrop");
  1184.                 }
  1185.                 if (file_exists("data/items/$d/filedrop/files") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  1186.                         $fp_filedrop_views_txt = fopen("$dir/$d/filedrop/views.txt","r");
  1187.                         $filedrop_views_value = fread($fp_filedrop_views_txt,filesize("$dir/$d/filedrop/views.txt"));
  1188.                         fclose($fp_filedrop_views_txt);
  1189.                         $filedrop_views_value = $filedrop_views_value + 1;
  1190.                         $fp_filedrop_views_txt = fopen("$dir/$d/filedrop/views.txt","w");
  1191.                         fwrite($fp_filedrop_views_txt, $filedrop_views_value);
  1192.                         fclose($fp_filedrop_views_txt);
  1193.                 }
  1194.         }
  1195.  
  1196.         $fp_filedrop_views_txt = fopen("$dir/$d/filedrop/views.txt","r");
  1197.         $filedrop_views_value = fread($fp_filedrop_views_txt,filesize("$dir/$d/filedrop/views.txt"));
  1198.         fclose($fp_filedrop_views_txt);
  1199.         if ($filedrop_views_value == 1) {
  1200.                 echo ' ( ' . $filedrop_views_value . ' view ) ';
  1201.         }
  1202.         elseif ($filedrop_views_value > 1) {
  1203.                 echo ' ( ' . $filedrop_views_value . ' views ) ';
  1204.         }
  1205.         else {
  1206.                 echo ' ';
  1207.         }
  1208.  
  1209.         if (!file_exists("data/nopdf.txt") and file_exists("$dir/$d/pdf/file")) {
  1210.  
  1211.                 echo "| <a href={$_SERVER['PHP_SELF']}?entry=$d&show=pdf>pdf</a> ";
  1212.  
  1213.                 if (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) {
  1214.                         $pdf_views_value = file_get_contents("$dir/$d/pdf/count/views.txt");
  1215.                         $pdf_views_value = $pdf_views_value + 1;
  1216.                         $fp_pdf_views_txt = fopen("$dir/$d/pdf/count/views.txt","w");
  1217.                         fwrite($fp_pdf_views_txt, $pdf_views_value);
  1218.                         fclose($fp_pdf_views_txt);
  1219.                 }
  1220.  
  1221.                 $pdf_views_value = file_get_contents("$dir/$d/pdf/count/views.txt");
  1222.                 if ($pdf_views_value == 1) {
  1223.                         echo ' ( ' . $pdf_views_value . ' view ) ';
  1224.                 }
  1225.                 elseif ($pdf_views_value > 1) {
  1226.                         echo ' ( ' . $pdf_views_value . ' views ) ';
  1227.                 }
  1228.                 else {
  1229.                         echo ' ';
  1230.                 }
  1231.         }
  1232.  
  1233.         if (!file_exists("data/nocomment.txt")) {
  1234.                 echo '| <a href=' . $_SERVER['PHP_SELF'] . '?entry=' . $d . '>permalink</a></font>';
  1235.         }
  1236.  
  1237.         echo '</div></td></tr></table>';
  1238.  
  1239.         if (isset($_REQUEST['entry']) and !empty($_REQUEST['entry']) and isset($_REQUEST['show']) and !empty($_REQUEST['show']) and ($_REQUEST['show'] == album) and file_exists("images/$d/album")) {
  1240.                 echo '<table border=0 cellspacing=0 cellpadding=0 width=525><tr><td>';
  1241.                 echo '<div id=panel_title>Album';
  1242.                 if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
  1243.                         echo '<a href=del.php?entry=';
  1244.                         echo $d;
  1245.                         echo '&target=album><img src=images/widget.del.png border=0 width=11 height=11 align=right alt="delete album"></a>';
  1246.                 }
  1247.                 echo '</div><div id=panel_body>';
  1248.  
  1249.                 if (file_exists("$dir/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
  1250.                         echo "This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$d&show=album>here</a> to enter it.";
  1251.                 }
  1252.                 else {
  1253.        
  1254.                         /* thumbnail auto-clean-up (20060409) - This should delete thumbnails of non-existent album images. */
  1255.        
  1256.                         if (file_exists("images/$d/thumbnails")) {
  1257.                                 if ($dh_album = opendir("images/$d/thumbnails")) {
  1258.                                         while (($thumbnail_album = readdir($dh_album)) !== false) {
  1259.                                                 if ($thumbnail_album != "." && $thumbnail_album != ".." && fnmatch("*", $thumbnail_album)) {
  1260.                                                         $current_thumbnail = "images/$d/thumbnails/$thumbnail_album";
  1261.                                                         $parent_image = str_replace("-thumbnail.jpg","",$thumbnail_album);
  1262.                                                         $parent_image = "images/$d/album/$parent_image";
  1263.                                                         if (file_exists($current_thumbnail) and !file_exists($parent_image)) {
  1264.                                                                 unlink($current_thumbnail);
  1265.                                                         }
  1266.                                                 }
  1267.                                         }
  1268.                                 }
  1269.                         }
  1270.        
  1271.                         /* auto-sort entries (20060409) - MAJ previously relied on readdir() alone, causing entries to be displayed in the order in which they are stored by the filesystem. */
  1272.        
  1273.                         if (file_exists("images/$d/album")) {
  1274.                                 if ($dh_album = opendir("images/$d/album")) {
  1275.                                         while (($entry_album = readdir($dh_album)) !== false) {
  1276.                                                 if ($entry_album != "." && $entry_album != ".." && fnmatch("*", $entry_album)) {
  1277.                                                         $sort_album[] = $entry_album;
  1278.                                                 }
  1279.                                         }
  1280.                                 closedir($dh_album);
  1281.                                 }
  1282.        
  1283.                                 sort($sort_album);
  1284.                                 reset($sort_album);
  1285.                                 $count_album_entry = count($sort_album);
  1286.                                
  1287.                                 if ($count_album_entry < 1) {
  1288.                                         rmdirr("images/$d/album");
  1289.                                         rmdirr("images/$d/thumbnails");                        
  1290.                                 }
  1291.                                 else {
  1292.                                         foreach($sort_album as $album_entry) {
  1293.                                                 $current_image = "images/$d/album/$album_entry";
  1294.                                                 $current_image_size = getimagesize($current_image);
  1295.                                                 $current_width = $current_image_size[0];
  1296.                                                 $current_height = $current_image_size[1];
  1297.                                                 $max_width = 98;
  1298.                                                 $max_height = 73;
  1299.        
  1300.                                                 if (($current_width > $max_width) || ($current_height > $max_height)) {  
  1301.                                                         if ($current_height > $current_width) {
  1302.                                                                 $sizefactor = (double) ($max_height / $current_height);
  1303.                                                         }
  1304.                                                         else {
  1305.                                                                 $sizefactor = (double) ($max_width / $current_width) ;
  1306.                                                         }
  1307.                                                 }
  1308.        
  1309.                                                 $new_width = (int) ($current_width * $sizefactor);
  1310.                                                 $new_height = (int) ($current_height * $sizefactor);
  1311.        
  1312.                                                 /* auto-thumbnails (20060213) - In maj-0.14-20060131, album thumbnails were simply the original images displayed with smaller "width=" and "height=" values. Album index loading was painfully slow since the browser had to download the original images from the server. This should speed things up. We placed the "function" here instead of edit.php or add.php to make auto-thumbnail generation available for maj-0.14-20060131 users who may already have existing albums. */
  1313.        
  1314.                                                 if (!file_exists("images/$d/thumbnails/{$album_entry}-thumbnail.jpg")) {
  1315.        
  1316.                                                         $work_thumb = imagecreatetruecolor($new_width,$new_height);
  1317.                                                         $get_mimetype = image_type_to_mime_type(exif_imagetype($current_image));
  1318.                                                         switch($get_mimetype) {
  1319.                                                                 case "image/jpg":
  1320.                                                                 case "image/jpeg":
  1321.                                                                         $work_image = imagecreatefromjpeg($current_image);
  1322.                                                                         break;
  1323.                                                                 case "image/gif":
  1324.                                                                         $work_image = imagecreatefromgif($current_image);
  1325.                                                                         break;
  1326.                                                                 case "image/png":
  1327.                                                                         $work_image = imagecreatefrompng($current_image);
  1328.                                                                         break;
  1329.                                                         }
  1330.        
  1331.                                                         imagecopyresampled($work_thumb, $work_image ,0, 0, 0, 0, $new_width, $new_height, $current_width, $current_height);
  1332.        
  1333.                                                         if (!file_exists("images/$d/thumbnails")) {
  1334.                                                                 mkdir("images/$d/thumbnails");
  1335.                                                         }
  1336.        
  1337.                                                         imagejpeg($work_thumb, "images/$d/thumbnails/{$album_entry}-thumbnail.jpg", 80);
  1338.        
  1339.                                                 }
  1340.                                                 echo "<a href=images/$d/album/$album_entry>";
  1341.  
  1342.                                                 /* auto-thumbnails (20060519) - Just in case php-gd does not exist, do it the old way. */
  1343.  
  1344.                                                 if (!file_exists("images/$d/thumbnails/{$album_entry}-thumbnail.jpg")) {
  1345.                                                         echo "<img src=images/$d/album/$album_entry width=$new_width height=$new_height border=0 hspace=2 vspace=2";
  1346.                                                 }
  1347.                                                 else {
  1348.                                                         echo "<img src=images/$d/thumbnails/{$album_entry}-thumbnail.jpg width=$new_width height=$new_height border=0 hspace=2 vspace=2";
  1349.                                                 }
  1350.  
  1351.                                                 if (file_exists("data/items/$d/album/captions/{$album_entry}.txt")) {
  1352.                                                         echo ' alt="';
  1353.                                                         readfile("data/items/$d/album/captions/{$album_entry}.txt");
  1354.                                                         echo '"';
  1355.                                                 }
  1356.                                                 echo "></a>";
  1357.                                         }
  1358.                                 }
  1359.                         }
  1360.                 }
  1361.                 echo '</div></td></tr></table>';
  1362.  
  1363.         }
  1364.  
  1365.         if (isset($_REQUEST['entry']) and !empty($_REQUEST['entry']) and isset($_REQUEST['show']) and !empty($_REQUEST['show']) and ($_REQUEST['show'] == filedrop) and file_exists("$dir/$d/filedrop/files")) {
  1366.                 echo '<table border=0 cellspacing=0 cellpadding=0 width=525><tr><td>';
  1367.                 echo '<div id=panel_title>Filedrop';
  1368.                 if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
  1369.                         echo '<a href=del.php?entry=';
  1370.                         echo $d;
  1371.                         echo '&target=filedrop><img src=images/widget.del.png border=0 width=11 height=11 align=right alt="delete filedrop"></a>';
  1372.                 }
  1373.                 echo '</div><div id=panel_body>';
  1374.  
  1375.                 if (file_exists("$dir/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
  1376.                         echo "This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$d&show=filedrop>here</a> to enter it.";
  1377.                 }
  1378.                 else {
  1379.  
  1380.                         if ($dh_filedrop = opendir("data/items/$d/filedrop/files")) {
  1381.                                 while (($dl_file = readdir($dh_filedrop)) !== false) {
  1382.                                         if ($dl_file != "." && $dl_file != ".." && fnmatch("*", $dl_file)) {
  1383.                                                 echo '<table border=0 cellspacing=0 cellpadding=4><tr><td>';
  1384.                                                 echo '<a href=' . $_SERVER['PHP_SELF'] . '?entry=' . $d . '&download=' . $dl_file. '&type=filedrop>';
  1385.                                                 echo '<img src=images/filedrop.png width=36 height=36 border=0 alt="download file"></a></td>';
  1386.                                                 echo '<td><p><b>';
  1387.                                                 echo $dl_file;
  1388.                                                 echo'</b><br>';
  1389.                                                 $size = filesize("data/items/$d/filedrop/files/$dl_file");
  1390.                                                 $size_string = ($size > 512)?(  ($size/1024 > 512)  ?sprintf("%.02f MB",($size/1024)/1024)  :sprintf("%.02f KB",$size/1024))  :sprintf("%d B",$size);
  1391.                                                 echo $size_string;
  1392.                                                 $filedrop_count_file = "data/items/$d/filedrop/count/$dl_file" . '.txt';
  1393.                                                 if (file_exists($filedrop_count_file)) {
  1394.                                                         $fp_filedrop_count = fopen($filedrop_count_file, "r");
  1395.                                                         $filedrop_count = fread($fp_filedrop_count, filesize($filedrop_count_file));
  1396.                                                         fclose($fp_filedrop_count);
  1397.                                                         echo '<br>';
  1398.                                                         echo $filedrop_count;
  1399.                                                         if ($filedrop_count == 1) {
  1400.                                                                 echo ' download';
  1401.                                                         }
  1402.                                                         if ($filedrop_count > 1) {
  1403.                                                                 echo ' downloads';
  1404.                                                         }
  1405.                                                 }
  1406.                                                 echo '</p></td></tr></table>';
  1407.                                         }
  1408.                                 }
  1409.                         closedir($dh_filedrop);
  1410.                         }
  1411.                 }
  1412.                 echo '</div></td></tr></table>';
  1413.         }
  1414.  
  1415.         if (isset($_REQUEST['entry']) and !empty($_REQUEST['entry']) and isset($_REQUEST['show']) and !empty($_REQUEST['show']) and ($_REQUEST['show'] == pdf) and file_exists("data/items/$d/pdf/file")) {
  1416.                 echo '<table border=0 cellspacing=0 cellpadding=0 width=525><tr><td>';
  1417.                 echo '<div id=panel_title>PDF';
  1418.                 if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
  1419.                         echo '<a href=del.php?entry=';
  1420.                         echo $d;
  1421.                         echo '&target=pdf><img src=images/widget.del.png border=0 width=11 height=11 align=right alt="delete pdf"></a>';
  1422.                 }
  1423.                 echo '</div><div id=panel_body>';
  1424.  
  1425.                 if (file_exists("$dir/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
  1426.                         echo "This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$d&show=pdf>here</a> to enter it.";
  1427.                 }
  1428.                 else {
  1429.  
  1430.                         if ($dh_pdf = opendir("data/items/$d/pdf/file")) {
  1431.                                 while (($dl_file = readdir($dh_pdf)) !== false) {
  1432.                                         if ($dl_file != "." && $dl_file != ".." && fnmatch("*", $dl_file)) {
  1433.                                                 echo '<table border=0 cellspacing=0 cellpadding=4><tr><td>';
  1434.                                                 echo '<a href=' . $_SERVER['PHP_SELF'] . '?entry=' . $d . '&download=' . $dl_file. '&type=pdf>';
  1435.                                                 echo '<img src=images/pdf.png width=48 height=48 border=0 alt="download file"></a></td>';
  1436.                                                 echo '<td><p><b>';
  1437.                                                 echo $dl_file;
  1438.                                                 echo'</b><br>';
  1439.                                                 $size = filesize("data/items/$d/pdf/file/$dl_file");
  1440.                                                 $size_string = ($size > 512)?(  ($size/1024 > 512)  ?sprintf("%.02f MB",($size/1024)/1024)  :sprintf("%.02f KB",$size/1024))  :sprintf("%d B",$size);
  1441.                                                 echo $size_string;
  1442.                                                 $pdf_count_file = "data/items/$d/pdf/count/dl.txt";
  1443.                                                 if (file_exists($pdf_count_file)) {
  1444.                                                         $fp_pdf_count = fopen($pdf_count_file, "r");
  1445.                                                         $pdf_count = fread($fp_pdf_count, filesize($pdf_count_file));
  1446.                                                         fclose($fp_pdf_count);
  1447.                                                         echo '<br>';
  1448.                                                         echo $pdf_count;
  1449.                                                         if ($pdf_count == 1) {
  1450.                                                                 echo ' download';
  1451.                                                         }
  1452.                                                         if ($pdf_count > 1) {
  1453.                                                                 echo ' downloads';
  1454.                                                         }
  1455.                                                 }
  1456.                                                 echo '</p></td></tr></table>';
  1457.                                         }
  1458.                                 }
  1459.                         closedir($dh_pdf);
  1460.                         }
  1461.                 }
  1462.                 echo '</div></td></tr></table>';
  1463.         }
  1464.  
  1465.         if (isset($_REQUEST['entry']) and !empty($_REQUEST['entry']) and isset($_REQUEST['show']) and !empty($_REQUEST['show']) and ($_REQUEST['show'] == comments) and !file_exists("data/nocomment.txt")) {
  1466.  
  1467.                 if (file_exists("$dir/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
  1468.                 }
  1469.                 else {
  1470.                         echo '<table border=0 cellspacing=0 cellpadding=0 width=525><tr><td>';
  1471.                         if ($dh_comments = opendir("$dir/$d/comments/live")) {
  1472.                                 while (($entry_comments = readdir($dh_comments)) !== false) {
  1473.                                         if ($entry_comments != "." && $entry_comments != ".." && fnmatch("*", $entry_comments)) {                                       $show_comments[] = $entry_comments;
  1474.                                         }
  1475.                                 }
  1476.                         closedir($dh_comments);
  1477.                         }
  1478.        
  1479.                         asort($show_comments);
  1480.                         reset($show_comments);
  1481.                         foreach ($show_comments as $comment) {
  1482.                                 echo '<div id=panel_title>';
  1483.        
  1484.                                 if (file_exists("$dir/$d/comments/live/$comment/url.txt")) {
  1485.                                         echo '<a rel=nofollow target=_blank href=';
  1486.                                         readfile("$dir/$d/comments/live/$comment/url.txt");
  1487.                                         echo '>';
  1488.                                 }
  1489.        
  1490.                                 readfile("$dir/$d/comments/live/$comment/firstname.txt");
  1491.                                 echo ' ';
  1492.                                 readfile("$dir/$d/comments/live/$comment/lastname.txt");
  1493.        
  1494.                                 if (file_exists("$dir/$d/comments/live/$comment/url.txt")) {
  1495.                                         echo '</a>';
  1496.                                 }
  1497.        
  1498.                                 if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
  1499.                                         echo '  &lt;';
  1500.                                         readfile("$dir/$d/comments/live/$comment/email.txt");
  1501.                                         echo '&gt;';
  1502.                                 }
  1503.        
  1504.                                 if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
  1505.                                         echo '<a href=del.php?entry=' . $d . '&comment=' . $comment . '&type=live><img src=images/widget.del.png width=10 height=10 border=0 align=right alt="delete comment"></a>';
  1506.                                         echo '<a href=edit.php?entry=' . $d . '&comment=' . $comment . '><img src=images/widget.edit.png width=11 height=11 border=0 align=right alt="edit comment"></a>';
  1507.                                 }
  1508.                                 echo '</div>';
  1509.                                 echo '<div id=panel_body>';
  1510.                                 echo '<font style="font-size: 10px; color: #999999;">';
  1511.                                 readfile("$dir/$d/comments/live/$comment/timestamp.txt");
  1512.                                 if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
  1513.                                         if (file_exists("$dir/$d/comments/live/$comment/revisions.txt")) {
  1514.                                                 echo '  (Revision ';
  1515.                                                 readfile("$dir/$d/comments/live/$comment/revisions.txt");
  1516.                                                 echo ')';
  1517.                                         }
  1518.                                 }
  1519.                                 echo '</font><font style="font-size: 5px;"><br><br></font>';
  1520.                                 readfile("$dir/$d/comments/live/$comment/comment.txt");
  1521.                                 echo '</div>';
  1522.                         }
  1523.                         unset($show_comments);
  1524.                         echo '</td></tr></table>';
  1525.                 }
  1526.  
  1527. if (!file_exists("data/nocomment.txt")) {
  1528.  
  1529.                 echo '<p><table border=0 cellspacing=0 cellpadding=0 width=525><tr><td>';
  1530.                 echo '<p><font style="font-size: 12px;"><b>Add Comment</b></font></p>';
  1531.  
  1532.                 if (file_exists("$dir/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
  1533.                         echo "<p>This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$d&show=comments>here</a> to enter it.</p>";
  1534.                 }
  1535.                 else {
  1536.        
  1537.                         $capcha_rand = str_rand(7);
  1538.        
  1539.                         echo '<p>Fill out the form below and enter <b>' . $capcha_rand . '</b> in the anti-spam field to add your comment. Note that it will not be posted immediately, but will be ';
  1540.                        
  1541.                         if (file_exists("data/email.txt")) {
  1542.                                 echo "e-mailed";
  1543.                         }
  1544.                         else {
  1545.                                 echo "sent";
  1546.                         }
  1547.  
  1548.                         echo ' to me first.</p>';
  1549.        
  1550.                         ?>
  1551.                        
  1552.                         <table border=0 cellspacing=2 cellpadding=0 width=500>
  1553.                         <form enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF']; ?>?entry=<?php echo $d; ?>&show=comments" method="post">
  1554.                         <input type=hidden name=capcha_get value="<?php echo $capcha_rand; ?>">
  1555.                         <tr><td width=75><p>First Name*</p></td><td width=300><input class=input type=text autocomplete=off name=firstname maxlength=30></td><td rowspan=7 valign=top width=75 align=right>
  1556.                         <table border=0 cellspacing=1 cellpadding=2>
  1557.                         <tr><td><img src=images/smileys/crying.png border=0></td><td><p>:((</p></td><td ><p>crying</p></td></tr>
  1558.                         <tr><td><img src=images/smileys/frown.png border=0></td><td><p>:(</p></td><td><p>frown</p></td></tr>
  1559.                         <tr><td><img src=images/smileys/indifferent.png border=0></td><td><p>:|</p></td><td><p>indifferent</p></td></tr>
  1560.                         <tr><td><img src=images/smileys/laughing.png border=0></td><td><p>:D</p></td><td><p>laughing</p></td></tr>
  1561.                         <tr><td><img src=images/smileys/lick.png border=0></td><td><p>:P</p></td><td><p>lick</p></td></tr>
  1562.                         <tr><td><img src=images/smileys/ohno.png border=0></td><td><p>:O</p></td><td><p>oh no!</p></td></tr>
  1563.                         <tr><td><img src=images/smileys/smile.png border=0></td><td><p>:)</p></td><td><p>smile</p></td></tr>
  1564.                         <tr><td><img src=images/smileys/surprised.png border=0></td><td><p>=)</p></td><td><p>surprised</p></td></tr>
  1565.                         <tr><td><img src=images/smileys/undecided.png border=0></td><td><p>:\</p></td><td><p>undecided</p></td></tr>
  1566.                         <tr><td><img src=images/smileys/wink.png border=0></td><td><p>;)</p></td><td><p>wink</p></td></tr>
  1567.                         </td></tr>
  1568.                         </table>
  1569.                         <tr><td><p>Last Name*</p></td><td><input class=input type=text autocomplete=off name=lastname maxlength=30></td></tr>
  1570.                         <tr><td><p>E-mail*</p></td><td colspan=2><input class=input type=text autocomplete=off name=email maxlength=60></td></tr>
  1571.                         <tr><td><p>Website</p></td><td colspan=2><input class=input type=text autocomplete=off name=url maxlength=300></td></tr>
  1572.                         <tr><td ><p>Comment*</p></td><td ><textarea class=input name=new_comment rows=10></textarea></td></tr>
  1573.                         <tr><td><p>Anti-Spam*</p></td><td><input class=input type=text autocomplete=off name=capcha_put maxlength=7></td></tr>
  1574.                         <tr><td><p></p></td><td><input class=input type=submit value="click here to submit your comment"></td></tr>
  1575.                         </form>
  1576.                         </table>
  1577.                 <?php } ?>
  1578.                 </td></tr></table></p>
  1579.  
  1580. <?php
  1581. }
  1582.  
  1583. if (!isset($_SESSION['logged_in'])) {
  1584.         if (isset($_REQUEST['show']) and !empty($_REQUEST['show']) and isset($_REQUEST['capcha_put']) and !empty($_REQUEST['capcha_get']) and isset($_REQUEST['firstname']) and !empty($_REQUEST['firstname']) and isset($_REQUEST['lastname']) and !empty($_REQUEST['lastname']) and isset($_REQUEST['email']) and !empty($_REQUEST['email']) and isset($_REQUEST['new_comment']) and !empty($_REQUEST['new_comment']) and isset($_REQUEST['capcha_put']) and !empty($_REQUEST['capcha_put']) and ($_REQUEST['capcha_get'] == $_REQUEST['capcha_put']) and (ereg("@", $_REQUEST['email'])) and (ereg("\.", $_REQUEST['email']))) {
  1585.                 echo '<p><table border=0 cellspacing=0 cellpadding=0><tr><td><p><font style="font-size: 12px;"><b>Thanks!</b></font></p><p>Your comment has been submitted for approval.<br>Please check back soon to see if it has been posted.</p></td></tr></table></p>';
  1586.         }
  1587. }
  1588.  ?>
  1589.        
  1590.  
  1591.  
  1592.                 <?php
  1593.         }
  1594. }
  1595. ?>
  1596.  
  1597. <?php
  1598. if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username) and isset($_REQUEST['entry']) and !empty($_REQUEST['entry'])) {
  1599.         if ($dh_pending_comments = opendir("$dir/$d/comments/pending")) {
  1600.                 while (($entry_pending_comments = readdir($dh_pending_comments)) !== false) {
  1601.                         if ($entry_pending_comments != "." && $entry_pending_comments != ".." && fnmatch("*", $entry_pending_comments)) {
  1602.                                 $show_pending_comments[] = $entry_pending_comments;
  1603.                         }
  1604.                 }
  1605.                 closedir($dh_pending_comments);
  1606.         }
  1607.  
  1608.         asort($show_pending_comments);
  1609.         reset($show_pending_comments);
  1610.         $count_pending_comments = count($show_pending_comments);
  1611.  
  1612.         if ($count_pending_comments > 0) {
  1613.                 if ($count_pending_comments == 1) {
  1614.                         echo '<p><b>Pending Comment</b></p>';
  1615.                 }
  1616.                 else {
  1617.                         echo '<p><b>Pending Comments</b></p>';
  1618.                 }
  1619.                 foreach ($show_pending_comments as $pending_comment) {
  1620.                         echo '<p><table border=0 cellspacing=0 cellpadding=0 width=525><tr><td>';
  1621.                         echo '<div id=panel_title>';
  1622.  
  1623.                         if (file_exists("$dir/$d/comments/pending/$pending_comment/url.txt")) {
  1624.                                 echo '<a rel=nofollow target=_blank href=';
  1625.                                 readfile("$dir/$d/comments/pending/$pending_comment/url.txt");
  1626.                                 echo '>';
  1627.                         }
  1628.        
  1629.                         readfile("$dir/$d/comments/pending/$pending_comment/firstname.txt");
  1630.                         echo ' ';
  1631.                         readfile("$dir/$d/comments/pending/$pending_comment/lastname.txt");
  1632.        
  1633.                         if (file_exists("$dir/$d/comments/pending/$pending_comment/url.txt")) {
  1634.                                 echo '</a>';
  1635.                         }
  1636.        
  1637.                         echo ' &lt;';
  1638.                         readfile("$dir/$d/comments/pending/$pending_comment/email.txt");
  1639.                         echo '&gt;';
  1640.                         echo '<a href=del.php?entry=' . $d . '&comment=' . $pending_comment . '&type=pending><img src=images/widget.del.png width=10 height=10 border=0 align=right alt="delete comment"></a>';
  1641.  
  1642.                         $pending_comment_key_file = "$dir/$d/comments/pending/$pending_comment/key.txt";
  1643.                         $open_pending_comment_key_file = fopen($pending_comment_key_file,"r");
  1644.                         $pending_comment_login_key = fread($open_pending_comment_key_file,filesize($pending_comment_key_file));
  1645.                         fclose($open_pending_comment_key_file);
  1646.  
  1647.                         echo '<a href=' . $_SERVER['PHP_SELF'] . '?entry=' . $d . '&comment=' . $pending_comment . '&key=' . $pending_comment_login_key . '&action=approve><img src=images/widget.cat.png width=11 height=11 border=0 align=right alt="post comment"></a>';
  1648.                         echo '</div>';
  1649.                         echo '<div id=panel_body>';
  1650.                         echo '<font style="font-size: 10px; color: #999999;">';
  1651.                         readfile("$dir/$d/comments/pending/$pending_comment/timestamp.txt");
  1652.                         echo '</font><font style="font-size: 5px;"><br><br></font>';
  1653.                         readfile("$dir/$d/comments/pending/$pending_comment/comment.txt");
  1654.                         echo '</div>';
  1655.                         unset($show_pending_comments);
  1656.                         echo '</td></tr></table></p>';
  1657.                 }
  1658.         }
  1659. }
  1660. ?>
  1661.  
  1662. <p><table border=0 cellspacing=0 cellpadding=0 width=100%><tr>
  1663.  
  1664. <?php
  1665. if (($start >= $increase) and ($start != 0)) {
  1666.         echo "<td align=left><p><a href=\"" . $_SERVER['PHP_SELF'] . "?";
  1667.         if (isset($_REQUEST['category']) and !empty($_REQUEST['category']) and !file_exists("data/xcat.txt") and file_exists(strip_tags(strtolower(str_replace(" ", "_", "data/categories/{$_REQUEST['category']}"))))) {
  1668.                 echo "category={$_REQUEST['category']}&";
  1669.         }
  1670.         if (isset($_REQUEST['archive']) and !empty($_REQUEST['archive']) and !file_exists("data/xarc.txt")) {
  1671.                 echo "archive={$_REQUEST['archive']}&";
  1672.         }
  1673.         echo "start=" . ($start-$increase) . "\">previous</a></p></td>";
  1674. }
  1675.  
  1676. if ($end < sizeof($items)) {
  1677.         echo "<td align=right><p><a href=\"" . $_SERVER['PHP_SELF'] . "?";
  1678.         if (isset($_REQUEST['category']) and !empty($_REQUEST['category']) and !file_exists("data/xcat.txt") and file_exists(strip_tags(strtolower(str_replace(" ", "_", "data/categories/{$_REQUEST['category']}"))))) {
  1679.                 echo "category={$_REQUEST['category']}&";
  1680.         }
  1681.         if (isset($_REQUEST['archive']) and !empty($_REQUEST['archive']) and !file_exists("data/xarc.txt")) {
  1682.                 echo "archive={$_REQUEST['archive']}&";
  1683.         }
  1684.         echo "start=" . ($start+$increase) . "\">next</a></p></td>";
  1685. }
  1686. ?>
  1687.  
  1688. </tr></table></p>
  1689.  
  1690. </td>
  1691.  
  1692. <td width=15>&nbsp;</td>
  1693. <td width=175 valign=top>
  1694.  
  1695. <?php
  1696. if ($dh_latest_items = opendir($dir)) {
  1697.         while (($entry_latest_items = readdir($dh_latest_items)) !== false) {
  1698.  
  1699.                 if (file_exists("data/items/$entry_latest_items/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  1700.                         continue;
  1701.                 }
  1702.  
  1703.                 $cat_dir = file_get_contents("data/items/$entry_latest_items/category.txt");
  1704.  
  1705.                 if (file_exists("data/categories/$cat_dir/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and !file_exists("data/items/$entry_latest_items/cat.txt")) {
  1706.                         continue;
  1707.                 }
  1708.  
  1709.                 if (file_exists("data/nocat.txt") and file_exists("data/items/$entry_latest_items/category.txt") and !file_exists("data/items/$entry_latest_items/cat.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  1710.                         continue;
  1711.                 }
  1712.  
  1713.                 if ($entry_latest_items != "." && $entry_latest_items != ".." && fnmatch("*", $entry_latest_items)) {
  1714.                         $show_latest_items[] = $entry_latest_items;
  1715.                 }
  1716.         }
  1717.         closedir($dh_latest_items);
  1718. }
  1719.  
  1720. rsort($show_latest_items);
  1721. reset($show_latest_items);
  1722. $count_latest_items = count($show_latest_items);
  1723.  
  1724. if ($count_latest_items > 0) {
  1725.  
  1726.         echo '<div id=panel_title>Recent Entries</div><div id=panel_body>';
  1727.  
  1728.         $increment_recent_entries = 0;
  1729.  
  1730.         if (($count_latest_items <= $increase) or ($count_latest_items <= $increase * 2)) {
  1731.                 $increase = $count_latest_items;
  1732.                 $show_recent_entries = $increase - 1;
  1733.         }
  1734.         else {
  1735.                 $show_recent_entries = $increase * 2 - 1;
  1736.         }
  1737.  
  1738.         while ($increment_recent_entries <= $show_recent_entries) {
  1739.                 echo '<a href=' . $_SERVER['PHP_SELF'] . '?entry=' . $show_latest_items[$increment_recent_entries] . '>';
  1740.                 readfile("$dir/$show_latest_items[$increment_recent_entries]/title.txt");
  1741.                 echo '</a><br>';
  1742.                 $increment_recent_entries = $increment_recent_entries + 1;
  1743.         }
  1744. }
  1745.  
  1746. if ($count_latest_items > 0) {
  1747.         echo '</div>';
  1748. ?>
  1749.  
  1750. <form enctype="multipart/form-data" action="dig.php" method="post">
  1751. <div id=panel_title>Search</div>
  1752. <div id=panel_body>
  1753. <input type=text class=search name=search autocomplete=off maxlength=55>
  1754. </div>
  1755. </form>
  1756.  
  1757. <?php
  1758.         if (file_exists("data/categories")) {
  1759.                 if ($dh_categories = opendir("data/categories")) {
  1760.                         while (($entry_categories = readdir($dh_categories)) !== false) {
  1761.  
  1762.                                 if (file_exists("data/xcat.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  1763.                                         continue;
  1764.                                 }
  1765.  
  1766.                                 if (file_exists("data/categories/$entry_categories/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  1767.                                         continue;
  1768.                                 }
  1769.  
  1770.  
  1771.                                 if ($entry_categories != "." && $entry_categories != ".." && fnmatch("*", $entry_categories)) {
  1772.                                         $show_categories[] = $entry_categories;
  1773.                                 }
  1774.                         }
  1775.                         closedir($dh_categories);
  1776.                 }
  1777.  
  1778.                 sort($show_categories);
  1779.                 reset($show_categories);
  1780.                 $count_categories = count($show_categories);
  1781.  
  1782.                 if ($count_categories > 0) {
  1783.                         echo '<div id=panel_title>Categories</div><div id=panel_body>';
  1784.                         foreach ($show_categories as $category) {
  1785.                                 echo "<a href=\"" . $_SERVER['PHP_SELF'] . "?category=" . $category . "\">";
  1786.                                 if (file_exists("data/categories/$category/title.txt")) {
  1787.                                         $category_title = file_get_contents("data/categories/$category/title.txt");
  1788.                                 }
  1789.                                 else {
  1790.                                         $category_title = ucfirst($category);
  1791.                                 }
  1792.                                 echo $category_title;
  1793.                                 echo "</a><br />";
  1794.                         }
  1795.                         echo '</div>';
  1796.                 }
  1797.         }
  1798.  
  1799.         if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
  1800.                 echo '<div id=panel_title>Statistics</div><div id=panel_body>';
  1801.                 echo "Total Entries: $count_latest_items";
  1802.                 if (file_exists("data/hits.txt")) {
  1803.                         echo '<br>Site Hits: ';
  1804.                         readfile("data/hits.txt");
  1805.                 }
  1806.                 if (file_exists("data/google.txt")) {
  1807.                         echo '<br>Google Visits: ';
  1808.                         readfile("data/google.txt");
  1809.                 }
  1810.                 if (file_exists("data/rss-0.91.txt")) {
  1811.                         echo '<br>RSS 0.91 Hits: ';
  1812.                         readfile("data/rss-0.91.txt");
  1813.                 }
  1814.                 if (file_exists("data/rss-1.0.txt")) {
  1815.                         echo '<br>RSS 1.0 Hits: ';
  1816.                         readfile("data/rss-1.0.txt");
  1817.                 }
  1818.                 if (file_exists("data/rss-2.0.txt")) {
  1819.                         echo '<br>RSS 2.0 Hits: ';
  1820.                         readfile("data/rss-2.0.txt");
  1821.                 }
  1822.                 if (file_exists("data/sitemap.txt")) {
  1823.                         echo '<br>Sitemap Requests: ';
  1824.                         readfile("data/sitemap.txt");
  1825.                 }
  1826.                 echo '</div>';
  1827.         }
  1828. }
  1829.  
  1830. ?>
  1831.  
  1832.  
  1833.  
  1834. <?php
  1835. if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
  1836.         if ($dh_pending_comment_flags = opendir("data/comments/pending")) {
  1837.                 while (($entry_pending_comment_flags = readdir($dh_pending_comment_flags)) !== false) {
  1838.                         if ($entry_pending_comment_flags != "." && $entry_pending_comment_flags != ".." && fnmatch("*", $entry_pending_comment_flags)) {
  1839.                                 $show_pending_comment_flags[] = $entry_pending_comment_flags;
  1840.                         }
  1841.                 }
  1842.                 closedir($dh_pending_comment_flags);
  1843.         }
  1844.  
  1845.         rsort($show_pending_comment_flags);
  1846.         reset($show_pending_comment_flags);
  1847.         $count_pending_comment_flags = count($show_pending_comment_flags);
  1848.  
  1849.         if (($count_latest_items > 0) and ($count_pending_comment_flags > 0)) {
  1850.                 echo '<div id=panel_title>Pending Comments</div>';
  1851.                 echo '<div id=panel_body>';
  1852.                 if ($dh_list_pending_comment_flags = opendir("data/comments/pending")) {
  1853.                         while (($entry_list_pending_comment_flags = readdir($dh_list_pending_comment_flags)) !== false) {
  1854.                                 if ($entry_list_pending_comment_flags != "." && $entry_list_pending_comment_flags != ".." && fnmatch("*", $entry_list_pending_comment_flags)) {
  1855.                                         echo '<a href=' . $_SERVER['PHP_SELF'] . '?entry=' .$entry_list_pending_comment_flags . '&show=comments>';
  1856.                                         readfile("data/items/$entry_list_pending_comment_flags/title.txt");
  1857.                                         echo '</a><br><font style="font-size: 10px; color: #999999;">';
  1858.                                         $fp_comment_count_txt = fopen("data/comments/pending/$entry_list_pending_comment_flags/count.txt","r");
  1859.                                         $comment_count_value = fread($fp_comment_count_txt,filesize("data/comments/pending/$entry_list_pending_comment_flags/count.txt"));
  1860.                                         fclose($fp_comment_count_txt);
  1861.                                         if ($comment_count_value == 1) {
  1862.                                                 echo ' ( ' . $comment_count_value . ' comment ) ';
  1863.                                         }
  1864.                                         elseif ($comment_count_value > 1) {
  1865.                                                 echo ' ( ' . $comment_count_value . ' comments ) ';
  1866.                                         }
  1867.                                         else {
  1868.                                                 echo '';
  1869.                                         }
  1870.                                         echo '</font><br>';
  1871.                                 }
  1872.                         }
  1873.                         closedir($dh_list_pending_comment_flags);
  1874.                 }
  1875.                 echo '</div>';
  1876.         }
  1877. }
  1878. ?>
  1879.  
  1880.  
  1881.  
  1882. <?php
  1883. if (file_exists("data/albums")) {
  1884.         if ($dh_album_list = opendir("data/albums")) {
  1885.                 while (($entry_album_list = readdir($dh_album_list)) !== false) {
  1886.  
  1887.                         if (file_exists("data/items/$entry_album_list/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  1888.                                 continue;
  1889.                         }
  1890.  
  1891.                         $pull_cat_dir = file_get_contents("data/items/$entry_album_list/category.txt");
  1892.  
  1893.                         if (file_exists("data/categories/$pull_cat_dir/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and !file_exists("data/items/$entry_album_list/cat.txt")) {
  1894.                                 continue;
  1895.                         }
  1896.  
  1897.                         if ($entry_album_list != "." && $entry_album_list != ".." && fnmatch("*", $entry_album_list)) {
  1898.                                 $show_album_list[] = $entry_album_list;
  1899.                         }
  1900.                 }
  1901.                 closedir($dh_album_list);
  1902.         }
  1903.  
  1904.         rsort($show_album_list);
  1905.         reset($show_album_list);
  1906.         $count_album_list = count($show_album_list);
  1907.        
  1908.         if ($count_album_list > 0) {
  1909.                 echo '<div id=panel_title>Albums</div>';
  1910.                 echo '<div id=panel_body>';
  1911.                 foreach ($show_album_list as $album_list_entry) {
  1912.                         echo '<a href=' . $_SERVER['PHP_SELF'] . '?entry=';
  1913.                         echo $album_list_entry;
  1914.                         echo '&show=album>';
  1915.                         readfile("data/items/$album_list_entry/title.txt");
  1916.                         echo '</a><br>';
  1917.                 }
  1918.                 echo '</div>';
  1919.         }
  1920. }
  1921. ?>
  1922.  
  1923.  
  1924.  
  1925. <?php
  1926. if (file_exists("data/items")) {
  1927.         if ($dh_archive_list = opendir("data/items")) {
  1928.                 while (($entry_archive_list = readdir($dh_archive_list)) !== false) {
  1929.  
  1930.                         if (file_exists("data/xarc.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  1931.                                 continue;
  1932.                         }
  1933.  
  1934.                         if (file_exists("data/items/$entry_archive_list/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
  1935.                                 continue;
  1936.                         }
  1937.  
  1938.                         $get_cat_dir = file_get_contents("data/items/$entry_archive_list/category.txt");
  1939.  
  1940.                         if (file_exists("data/categories/$get_cat_dir/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and !file_exists("data/items/$entry_archive_list/cat.txt")) {
  1941.                                 continue;
  1942.                         }
  1943.  
  1944.                         if ($entry_archive_list != "." && $entry_archive_list != ".." && fnmatch("*", $entry_archive_list)) {
  1945.                                 $entry_archive_list = substr("$entry_archive_list",0,6);
  1946.                                 $show_archive_list[] = $entry_archive_list;
  1947.                         }
  1948.                 }
  1949.                 closedir($dh_archive_list);
  1950.         }
  1951.  
  1952.         rsort($show_archive_list);
  1953.         reset($show_archive_list);
  1954.         $count_archive_list = count($show_archive_list);
  1955.        
  1956.         if ($count_archive_list > 0) {
  1957.  
  1958.                 $archive_entries = implode(" ",$show_archive_list);
  1959.                 $unique_archive_list = array_unique($show_archive_list);
  1960.                 echo "<div id=panel_title>Archives ($count_archive_list)</div>";
  1961.                 echo "<div id=panel_body>";
  1962.                 foreach ($unique_archive_list as $archive_list_entry) {
  1963.                         $archive_list_value = substr($archive_list_entry,0,6);
  1964.                         $archive_list_year = substr($archive_list_entry,0,4);
  1965.                         $archive_list_month = substr($archive_list_entry,4,2);
  1966.                         $archive_list_month = date("F",mktime(0,0,0,$archive_list_month));
  1967.                         echo "<a href=\"index.php?archive=$archive_list_value\">$archive_list_month $archive_list_year</a> (";
  1968.                         echo substr_count($archive_entries,$archive_list_entry);
  1969.                         echo ")<br>";
  1970.                 }
  1971.                 echo "</select></div></form>";
  1972.         }
  1973. }
  1974.  
  1975. ?>
  1976.  
  1977.  
  1978.  
  1979. <?php
  1980.  
  1981. if (file_exists("data/clustrmaps.php")) {
  1982.         echo '<div id=panel_title>ClustrMaps</div>';
  1983.         echo '<div id=panel_body><center>';
  1984.         include("data/clustrmaps.php");
  1985.         echo '</center></div>';
  1986. }
  1987. ?>
  1988.  
  1989. <?php
  1990.  
  1991. if (file_exists("data/adsense.php")) {
  1992.         echo '<div id=panel_title>AdSense</div>';
  1993.         echo '<div id=panel_body><center>';
  1994.         include("data/adsense.php");   
  1995.         echo '</center></div>';
  1996. }
  1997. ?>
  1998.  
  1999. <?php
  2000.  
  2001. if ($count_latest_items > 0) {
  2002.         echo '<p><table border=0 cellspacing=2 cellpadding=0 width=100%>';
  2003.         echo '<tr><td align=center><a target="_button" href="http://engels.mortega.net/index.php?entry=20050521000019"><img src=images/button.maj.png border=0 width=80 height=15></a></td></tr>';
  2004.         echo '<tr><td align=center><a target="_button" rel="nofollow" href="http://php.net/"><img src=images/button.php.png border=0 width=80 height=15></a></td></tr>';
  2005.         $validate_uri = $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/";
  2006.         $validate_uri = str_replace('//', '/', $validate_uri);
  2007.         $validate_uri = "http://" . $validate_uri;
  2008.         echo '<tr><td align=center><a target="_button" rel="nofollow" href="http://jigsaw.w3.org/css-validator/validator?uri=' . $validate_uri . '"><img src=images/button.w3c.css.png border=0 width=80 height=15></a></td></tr>';
  2009.         echo '<tr><td align=center><a target="_button" href="rss.php?ver=0.91"><img src=images/button.rss-0.91.png border=0 width=80 height=15></a></td></tr>';
  2010.         echo '<tr><td align=center><a target="_button" href="rss.php?ver=1.0"><img src=images/button.rss-1.0.png border=0 width=80 height=15></a></td></tr>';
  2011.         echo '<tr><td align=center><a target="_button" href="rss.php?ver=2.0"><img src=images/button.rss-2.0.png border=0 width=80 height=15></a></td></tr>';
  2012.         echo '<tr><td align=center><a target="_button" href="sitemap.php"><img src=images/button.sitemap.png border=0 width=80 height=15></a></td></tr>';
  2013.         if (file_exists("data/sfx.txt")) {
  2014.                 $fp_sfx = fopen("data/sfx.txt", "r");
  2015.                 $sfx = fread($fp_sfx, filesize("data/sfx.txt"));
  2016.                 fclose($fp_sfx);
  2017.                 echo '<tr><td align=center><a target="_button" rel="nofollow" href="http://www.spreadfirefox.com/?q=affiliates&amp;id=' . $sfx . '&amp;t=85"><img src=images/button.firefox.png border=0 width=80 height=15></a></td></tr>';
  2018.         }
  2019.         echo '</table></p>';
  2020.  
  2021. }
  2022.  
  2023. ?>
  2024.  
  2025. <p></p>
  2026.  
  2027. </td></tr>
  2028. </table>
  2029.  
  2030. <?php
  2031. if (file_exists("footer.php")) {
  2032.         echo '<p></p>';
  2033.         include("footer.php");
  2034. }
  2035. ?>
  2036.  
filedropmaj.git-01822e4.tar.bz2
147.95 KB
63 downloads
filedropmaj.git-01822e4.zip
201.96 KB
20 downloads
filedropmaj.git-0291349.tar.bz2
152.85 KB
61 downloads
filedropmaj.git-0291349.zip
211.90 KB
20 downloads
filedropmaj.git-02cb3b7.tar.bz2
151.48 KB
64 downloads
filedropmaj.git-02cb3b7.zip
209.82 KB
20 downloads
filedropmaj.git-0811dd5.tar.bz2
152.90 KB
60 downloads
filedropmaj.git-0811dd5.zip
211.90 KB
18 downloads
filedropmaj.git-083625f.tar.bz2
132.92 KB
59 downloads
filedropmaj.git-083625f.zip
179.59 KB
20 downloads
filedropmaj.git-0885d7b.tar.bz2
92.63 KB
60 downloads
filedropmaj.git-0885d7b.zip
132.34 KB
17 downloads
filedropmaj.git-09c6f33.tar.bz2
151.51 KB
59 downloads
filedropmaj.git-09c6f33.zip
202.12 KB
18 downloads
filedropmaj.git-0b26a85.tar.bz2
151.44 KB
57 downloads
filedropmaj.git-0b26a85.zip
209.75 KB
16 downloads
filedropmaj.git-0b32424.tar.bz2
151.66 KB
58 downloads
filedropmaj.git-0b32424.zip
206.72 KB
17 downloads
filedropmaj.git-0f3ac59.tar.bz2
152.14 KB
57 downloads
filedropmaj.git-0f3ac59.zip
211.45 KB
13 downloads
filedropmaj.git-11d4582.tar.bz2
143.02 KB
55 downloads
filedropmaj.git-11d4582.zip
195.12 KB
12 downloads
filedropmaj.git-17f105a.tar.bz2
137.96 KB
53 downloads
filedropmaj.git-17f105a.zip
193.02 KB
13 downloads
filedropmaj.git-183270b.tar.bz2
137.54 KB
57 downloads
filedropmaj.git-183270b.zip
187.93 KB
13 downloads
filedropmaj.git-197a49d.tar.bz2
152.03 KB
55 downloads
filedropmaj.git-197a49d.zip
211.32 KB
16 downloads
filedropmaj.git-1b9af25.tar.bz2
152.87 KB
53 downloads
filedropmaj.git-1b9af25.zip
211.96 KB
14 downloads
filedropmaj.git-1be2914.tar.bz2
149.30 KB
55 downloads
filedropmaj.git-1be2914.zip
203.09 KB
13 downloads
filedropmaj.git-1bed800.tar.bz2
138.15 KB
51 downloads
filedropmaj.git-1bed800.zip
190.15 KB
17 downloads
filedropmaj.git-1d330de.tar.bz2
151.65 KB
54 downloads
filedropmaj.git-1d330de.zip
210.80 KB
15 downloads
filedropmaj.git-1df190d.tar.bz2
151.72 KB
55 downloads
filedropmaj.git-1df190d.zip
210.85 KB
13 downloads
filedropmaj.git-1ee1167.tar.bz2
151.52 KB
56 downloads
filedropmaj.git-1ee1167.zip
202.16 KB
14 downloads
filedropmaj.git-2057838.tar.bz2
151.76 KB
52 downloads
filedropmaj.git-2057838.zip
202.36 KB
14 downloads
filedropmaj.git-2075213.tar.bz2
155.81 KB
52 downloads
filedropmaj.git-2075213.zip
208.39 KB
13 downloads
filedropmaj.git-211b7b0.tar.bz2
142.53 KB
55 downloads
filedropmaj.git-211b7b0.zip
194.64 KB
14 downloads
filedropmaj.git-2331f5a.tar.bz2
75.55 KB
55 downloads
filedropmaj.git-2331f5a.zip
100.32 KB
16 downloads
filedropmaj.git-25e3c4c.tar.bz2
147.57 KB
53 downloads
filedropmaj.git-25e3c4c.zip
201.46 KB
13 downloads
filedropmaj.git-2622313.tar.bz2
151.47 KB
50 downloads
filedropmaj.git-2622313.zip
206.44 KB
12 downloads
filedropmaj.git-273e4b2.tar.bz2
152.60 KB
52 downloads
filedropmaj.git-273e4b2.zip
203.40 KB
15 downloads
filedropmaj.git-2753e51.tar.bz2
136.37 KB
55 downloads
filedropmaj.git-2753e51.zip
184.34 KB
12 downloads
filedropmaj.git-2c1a589.tar.bz2
155.89 KB
49 downloads
filedropmaj.git-2c1a589.zip
208.69 KB
13 downloads
filedropmaj.git-2c3d544.tar.bz2
151.33 KB
51 downloads
filedropmaj.git-2c3d544.zip
206.23 KB
14 downloads
filedropmaj.git-2c85f72.tar.bz2
143.23 KB
50 downloads
filedropmaj.git-2c85f72.zip
194.84 KB
12 downloads
filedropmaj.git-2dc622c.tar.bz2
151.76 KB
48 downloads
filedropmaj.git-2dc622c.zip
202.35 KB
14 downloads
filedropmaj.git-2fabf8a.tar.bz2
151.35 KB
53 downloads
filedropmaj.git-2fabf8a.zip
206.24 KB
15 downloads
filedropmaj.git-322736b.tar.bz2
137.81 KB
45 downloads
filedropmaj.git-322736b.zip
190.18 KB
13 downloads
filedropmaj.git-374279c.tar.bz2
137.54 KB
46 downloads
filedropmaj.git-374279c.zip
189.58 KB
12 downloads
filedropmaj.git-37e852d.tar.bz2
151.32 KB
42 downloads
filedropmaj.git-37e852d.zip
206.21 KB
11 downloads
filedropmaj.git-38636de.tar.bz2
147.35 KB
42 downloads
filedropmaj.git-38636de.zip
201.16 KB
69 downloads
filedropmaj.git-3b25d71.tar.bz2
147.88 KB
35 downloads
filedropmaj.git-3b25d71.zip
201.85 KB
14 downloads
filedropmaj.git-3b6df7a.tar.bz2
153.39 KB
33 downloads
filedropmaj.git-3b6df7a.zip
204.55 KB
17 downloads
filedropmaj.git-3bf6bd2.tar.bz2
137.77 KB
38 downloads
filedropmaj.git-3bf6bd2.zip
190.16 KB
14 downloads
filedropmaj.git-3e012ff.tar.bz2
152.83 KB
34 downloads
filedropmaj.git-3e012ff.zip
211.89 KB
16 downloads
filedropmaj.git-4129ab8.tar.bz2
135.86 KB
42 downloads
filedropmaj.git-4129ab8.zip
184.30 KB
14 downloads
filedropmaj.git-414dbb4.tar.bz2
91.09 KB
40 downloads
filedropmaj.git-414dbb4.zip
130.29 KB
14 downloads
filedropmaj.git-43755d0.tar.bz2
150.25 KB
33 downloads
filedropmaj.git-43755d0.zip
204.44 KB
14 downloads
filedropmaj.git-4c20005.tar.bz2
55.59 KB
37 downloads
filedropmaj.git-4c20005.zip
74.20 KB
14 downloads
filedropmaj.git-4ccdbcd.tar.bz2
136.38 KB
38 downloads
filedropmaj.git-4ccdbcd.zip
185.22 KB
16 downloads
filedropmaj.git-4cd1a1c.tar.bz2
155.25 KB
35 downloads
filedropmaj.git-4cd1a1c.zip
207.88 KB
16 downloads
filedropmaj.git-4cf16d1.tar.bz2
76.32 KB
38 downloads
filedropmaj.git-4cf16d1.zip
101.80 KB
12 downloads
filedropmaj.git-4ec45a0.tar.bz2
131.16 KB
35 downloads
filedropmaj.git-4ec45a0.zip
172.66 KB
14 downloads
filedropmaj.git-4f73c22.tar.bz2
134.46 KB
35 downloads
filedropmaj.git-4f73c22.zip
182.45 KB
13 downloads
filedropmaj.git-5457969.tar.bz2
155.21 KB
38 downloads
filedropmaj.git-5457969.zip
207.63 KB
14 downloads
filedropmaj.git-57ee8a1.tar.bz2
145.49 KB
38 downloads
filedropmaj.git-57ee8a1.zip
198.12 KB
66 downloads
filedropmaj.git-592978d.tar.bz2
138.38 KB
36 downloads
filedropmaj.git-592978d.zip
190.58 KB
13 downloads
filedropmaj.git-5935b42.tar.bz2
135.60 KB
34 downloads
filedropmaj.git-5935b42.zip
183.28 KB
15 downloads
filedropmaj.git-5b443b6.tar.bz2
152.00 KB
36 downloads
filedropmaj.git-5b443b6.zip
211.07 KB
13 downloads
filedropmaj.git-5b4a9bf.tar.bz2
155.29 KB
34 downloads
filedropmaj.git-5b4a9bf.zip
207.93 KB
12 downloads
filedropmaj.git-5b6c01d.tar.bz2
147.13 KB
35 downloads
filedropmaj.git-5b6c01d.zip
200.86 KB
16 downloads
filedropmaj.git-5da45f7.tar.bz2
147.27 KB
36 downloads
filedropmaj.git-5da45f7.zip
201.02 KB
13 downloads
filedropmaj.git-5e53618.tar.bz2
75.57 KB
38 downloads
filedropmaj.git-5e53618.zip
100.78 KB
14 downloads
filedropmaj.git-5f8ca35.tar.bz2
136.39 KB
33 downloads
filedropmaj.git-5f8ca35.zip
185.32 KB
13 downloads
filedropmaj.git-61e3d7b.tar.bz2
153.52 KB
33 downloads
filedropmaj.git-61e3d7b.zip
204.73 KB
15 downloads
filedropmaj.git-62a635c.tar.bz2
155.90 KB
37 downloads
filedropmaj.git-62a635c.zip
208.73 KB
14 downloads
filedropmaj.git-6390d34.tar.bz2
138.39 KB
37 downloads
filedropmaj.git-6390d34.zip
190.56 KB
17 downloads
filedropmaj.git-649dfbe.tar.bz2
151.78 KB
37 downloads
filedropmaj.git-649dfbe.zip
210.91 KB
14 downloads
filedropmaj.git-65d6570.tar.bz2
151.63 KB
39 downloads
filedropmaj.git-65d6570.zip
210.80 KB
16 downloads
filedropmaj.git-660433f.tar.bz2
151.67 KB
36 downloads
filedropmaj.git-660433f.zip
206.68 KB
14 downloads
filedropmaj.git-6619ae5.tar.bz2
153.23 KB
47 downloads
filedropmaj.git-6619ae5.zip
204.28 KB
13 downloads
filedropmaj.git-68e4e3a.tar.bz2
135.13 KB
34 downloads
filedropmaj.git-68e4e3a.zip
182.91 KB
13 downloads
filedropmaj.git-6995297.tar.bz2
144.93 KB
38 downloads
filedropmaj.git-6995297.zip
197.18 KB
12 downloads
filedropmaj.git-69d6fd3.tar.bz2
143.23 KB
34 downloads
filedropmaj.git-69d6fd3.zip
194.89 KB
16 downloads
filedropmaj.git-6aa872a.tar.bz2
142.95 KB
39 downloads
filedropmaj.git-6aa872a.zip
195.11 KB
15 downloads
filedropmaj.git-6bad5c7.tar.bz2
147.04 KB
38 downloads
filedropmaj.git-6bad5c7.zip
200.79 KB
14 downloads
filedropmaj.git-6e96a2d.tar.bz2
152.13 KB
37 downloads
filedropmaj.git-6e96a2d.zip
207.21 KB
67 downloads
filedropmaj.git-73d46de.tar.bz2
138.42 KB
36 downloads
filedropmaj.git-73d46de.zip
190.59 KB
13 downloads
filedropmaj.git-75e0478.tar.bz2
144.54 KB
38 downloads
filedropmaj.git-75e0478.zip
196.70 KB
15 downloads
filedropmaj.git-784fc35.tar.bz2
143.07 KB
38 downloads
filedropmaj.git-784fc35.zip
195.01 KB
13 downloads
filedropmaj.git-7872a83.tar.bz2
138.51 KB
39 downloads
filedropmaj.git-7872a83.zip
190.69 KB
13 downloads
filedropmaj.git-788fb89.tar.bz2
138.30 KB
37 downloads
filedropmaj.git-788fb89.zip
191.26 KB
18 downloads
filedropmaj.git-796d8a3.tar.bz2
138.92 KB
35 downloads
filedropmaj.git-796d8a3.zip
191.24 KB
13 downloads
filedropmaj.git-79a5e8d.tar.bz2
132.43 KB
38 downloads
filedropmaj.git-79a5e8d.zip
176.90 KB
14 downloads
filedropmaj.git-7b3b2e0.tar.bz2
147.24 KB
36 downloads
filedropmaj.git-7b3b2e0.zip
201.05 KB
14 downloads
filedropmaj.git-7e28eed.tar.bz2
138.89 KB
33 downloads
filedropmaj.git-7e28eed.zip
191.24 KB
14 downloads
filedropmaj.git-8279296.tar.bz2
135.56 KB
38 downloads
filedropmaj.git-8279296.zip
183.25 KB
14 downloads
filedropmaj.git-84c17fe.tar.bz2
152.87 KB
38 downloads
filedropmaj.git-84c17fe.zip
211.90 KB
14 downloads
filedropmaj.git-87c5d5f.tar.bz2
135.78 KB
36 downloads
filedropmaj.git-87c5d5f.zip
183.64 KB
12 downloads
filedropmaj.git-8a48901.tar.bz2
147.27 KB
39 downloads
filedropmaj.git-8a48901.zip
201.06 KB
14 downloads
filedropmaj.git-8ad9892.tar.bz2
164.04 KB
36 downloads
filedropmaj.git-8ad9892.zip
224.42 KB
13 downloads
filedropmaj.git-8b4cf2a.tar.bz2
134.06 KB
37 downloads
filedropmaj.git-8b4cf2a.zip
180.78 KB
14 downloads
filedropmaj.git-8b7e38d.tar.bz2
138.04 KB
41 downloads
filedropmaj.git-8b7e38d.zip
190.39 KB
70 downloads
filedropmaj.git-8df6e40.tar.bz2
143.11 KB
38 downloads
filedropmaj.git-8df6e40.zip
194.66 KB
18 downloads
filedropmaj.git-8e80c84.tar.bz2
138.18 KB
36 downloads
filedropmaj.git-8e80c84.zip
190.30 KB
14 downloads
filedropmaj.git-8ec0fba.tar.bz2
138.37 KB
39 downloads
filedropmaj.git-8ec0fba.zip
191.39 KB
14 downloads
filedropmaj.git-8f7abf6.tar.bz2
153.36 KB
38 downloads
filedropmaj.git-8f7abf6.zip
211.80 KB
13 downloads
filedropmaj.git-923f11a.tar.bz2
138.14 KB
36 downloads
filedropmaj.git-923f11a.zip
191.03 KB
15 downloads
filedropmaj.git-955e82e.tar.bz2
42.71 KB
35 downloads
filedropmaj.git-955e82e.zip
59.77 KB
14 downloads
filedropmaj.git-95add4a.tar.bz2
151.23 KB
40 downloads
filedropmaj.git-95add4a.zip
205.91 KB
14 downloads
filedropmaj.git-96fe0ba.tar.bz2
137.68 KB
32 downloads
filedropmaj.git-96fe0ba.zip
190.34 KB
13 downloads
filedropmaj.git-99a90ce.tar.bz2
137.82 KB
39 downloads
filedropmaj.git-99a90ce.zip
191.20 KB
16 downloads
filedropmaj.git-9a69bb9.tar.bz2
143.19 KB
39 downloads
filedropmaj.git-9a69bb9.zip
194.70 KB
15 downloads
filedropmaj.git-9b6538e.tar.bz2
151.45 KB
36 downloads
filedropmaj.git-9b6538e.zip
202.15 KB
13 downloads
filedropmaj.git-9c4292d.tar.bz2
132.06 KB
37 downloads
filedropmaj.git-9c4292d.zip
176.93 KB
13 downloads
filedropmaj.git-9c78d40.tar.bz2
137.70 KB
37 downloads
filedropmaj.git-9c78d40.zip
190.49 KB
15 downloads
filedropmaj.git-9f1363f.tar.bz2
43.12 KB
40 downloads
filedropmaj.git-9f1363f.zip
60.31 KB
13 downloads
filedropmaj.git-a16c3eb.tar.bz2
90.22 KB
34 downloads
filedropmaj.git-a16c3eb.zip
128.62 KB
14 downloads
filedropmaj.git-a3aa72d.tar.bz2
153.00 KB
37 downloads
filedropmaj.git-a3aa72d.zip
203.86 KB
16 downloads
filedropmaj.git-a6886e4.tar.bz2
144.69 KB
37 downloads
filedropmaj.git-a6886e4.zip
196.95 KB
13 downloads
filedropmaj.git-a8669dc.tar.bz2
135.60 KB
35 downloads
filedropmaj.git-a8669dc.zip
183.34 KB
14 downloads
filedropmaj.git-a9477f1.tar.bz2
135.59 KB
37 downloads
filedropmaj.git-a9477f1.zip
183.45 KB
14 downloads
filedropmaj.git-aa285db.tar.bz2
151.73 KB
38 downloads
filedropmaj.git-aa285db.zip
210.85 KB
14 downloads
filedropmaj.git-aa6ae87.tar.bz2
135.44 KB
37 downloads
filedropmaj.git-aa6ae87.zip
183.88 KB
14 downloads
filedropmaj.git-ab6bc22.tar.bz2
151.71 KB
33 downloads
filedropmaj.git-ab6bc22.zip
210.84 KB
16 downloads
filedropmaj.git-adef726.tar.bz2
153.48 KB
36 downloads
filedropmaj.git-adef726.zip
212.32 KB
14 downloads
filedropmaj.git-afe5877.tar.bz2
144.73 KB
32 downloads
filedropmaj.git-afe5877.zip
197.01 KB
13 downloads
filedropmaj.git-b2d9f8e.tar.bz2
133.22 KB
35 downloads
filedropmaj.git-b2d9f8e.zip
179.27 KB
13 downloads
filedropmaj.git-b41f320.tar.bz2
151.56 KB
33 downloads
filedropmaj.git-b41f320.zip
209.85 KB
18 downloads
filedropmaj.git-b4432ce.tar.bz2
152.96 KB
34 downloads
filedropmaj.git-b4432ce.zip
203.86 KB
14 downloads
filedropmaj.git-b67b08f.tar.bz2
151.27 KB
36 downloads
filedropmaj.git-b67b08f.zip
206.15 KB
16 downloads
filedropmaj.git-b899831.tar.bz2
143.12 KB
35 downloads
filedropmaj.git-b899831.zip
194.60 KB
14 downloads
filedropmaj.git-b8b49c1.tar.bz2
132.59 KB
33 downloads
filedropmaj.git-b8b49c1.zip
178.90 KB
13 downloads
filedropmaj.git-b9c5bcf.tar.bz2
155.92 KB
34 downloads
filedropmaj.git-b9c5bcf.zip
208.70 KB
12 downloads
filedropmaj.git-bbddb1f.tar.bz2
151.63 KB
33 downloads
filedropmaj.git-bbddb1f.zip
209.92 KB
16 downloads
filedropmaj.git-bcaa744.tar.bz2
146.98 KB
37 downloads
filedropmaj.git-bcaa744.zip
200.79 KB
15 downloads
filedropmaj.git-c1ff9dc.tar.bz2
138.39 KB
38 downloads
filedropmaj.git-c1ff9dc.zip
191.43 KB
97 downloads
filedropmaj.git-c20c4b0.tar.bz2
151.64 KB
35 downloads
filedropmaj.git-c20c4b0.zip
210.79 KB
13 downloads
filedropmaj.git-c37f3f7.tar.bz2
145.45 KB
49 downloads
filedropmaj.git-c37f3f7.zip
198.11 KB
22 downloads
filedropmaj.git-c532394.tar.bz2
146.39 KB
37 downloads
filedropmaj.git-c532394.zip
199.91 KB
15 downloads
filedropmaj.git-c6317a4.tar.bz2
152.01 KB
36 downloads
filedropmaj.git-c6317a4.zip
207.08 KB
13 downloads
filedropmaj.git-c748176.tar.bz2
89.44 KB
34 downloads
filedropmaj.git-c748176.zip
126.35 KB
14 downloads
filedropmaj.git-c9ed81f.tar.bz2
135.56 KB
34 downloads
filedropmaj.git-c9ed81f.zip
183.28 KB
16 downloads
filedropmaj.git-c9f9b80.tar.bz2
138.50 KB
34 downloads
filedropmaj.git-c9f9b80.zip
190.66 KB
15 downloads
filedropmaj.git-ca65b73.tar.bz2
152.69 KB
35 downloads
filedropmaj.git-ca65b73.zip
207.87 KB
15 downloads
filedropmaj.git-cd80b77.tar.bz2
153.12 KB
35 downloads
filedropmaj.git-cd80b77.zip
212.01 KB
12 downloads
filedropmaj.git-cffbb2a.tar.bz2
138.22 KB
33 downloads
filedropmaj.git-cffbb2a.zip
190.28 KB
14 downloads
filedropmaj.git-d061ad7.tar.bz2
55.78 KB
47 downloads
filedropmaj.git-d061ad7.zip
74.39 KB
15 downloads
filedropmaj.git-d0af4d6.tar.bz2
57.28 KB
35 downloads
filedropmaj.git-d0af4d6.zip
78.56 KB
15 downloads
filedropmaj.git-d1caa0a.tar.bz2
144.57 KB
37 downloads
filedropmaj.git-d1caa0a.zip
196.63 KB
14 downloads
filedropmaj.git-d5679b5.tar.bz2
152.37 KB
34 downloads
filedropmaj.git-d5679b5.zip
207.52 KB
15 downloads
filedropmaj.git-d72f459.tar.bz2
147.90 KB
36 downloads
filedropmaj.git-d72f459.zip
201.92 KB
13 downloads
filedropmaj.git-d958c91.tar.bz2
144.67 KB
37 downloads
filedropmaj.git-d958c91.zip
196.88 KB
17 downloads
filedropmaj.git-d96784f.tar.bz2
135.58 KB
36 downloads
filedropmaj.git-d96784f.zip
183.46 KB
12 downloads
filedropmaj.git-da4b73f.tar.bz2
152.62 KB
33 downloads
filedropmaj.git-da4b73f.zip
203.48 KB
13 downloads
filedropmaj.git-dd24240.tar.bz2
138.27 KB
33 downloads
filedropmaj.git-dd24240.zip
190.45 KB
72 downloads
filedropmaj.git-e11e772.tar.bz2
152.09 KB
33 downloads
filedropmaj.git-e11e772.zip
211.33 KB
14 downloads
filedropmaj.git-e61478e.tar.bz2
135.95 KB
37 downloads
filedropmaj.git-e61478e.zip
183.91 KB
14 downloads
filedropmaj.git-e7a2547.tar.bz2
133.80 KB
33 downloads
filedropmaj.git-e7a2547.zip
180.05 KB
16 downloads
filedropmaj.git-e8a3b95.tar.bz2
138.15 KB
37 downloads
filedropmaj.git-e8a3b95.zip
191.04 KB
12 downloads
filedropmaj.git-eac86d5.tar.bz2
155.65 KB
33 downloads
filedropmaj.git-eac86d5.zip
208.28 KB
12 downloads
filedropmaj.git-ed83bf9.tar.bz2
135.16 KB
34 downloads
filedropmaj.git-ed83bf9.zip
182.91 KB
15 downloads
filedropmaj.git-ee50d40.tar.bz2
135.59 KB
36 downloads
filedropmaj.git-ee50d40.zip
183.48 KB
16 downloads
filedropmaj.git-efdb4df.tar.bz2
155.87 KB
36 downloads
filedropmaj.git-efdb4df.zip
208.72 KB
14 downloads
filedropmaj.git-f1554f8.tar.bz2
151.30 KB
37 downloads
filedropmaj.git-f1554f8.zip
206.22 KB
16 downloads
filedropmaj.git-f72a07b.tar.bz2
153.44 KB
37 downloads
filedropmaj.git-f72a07b.zip
212.11 KB
17 downloads
filedropmaj.git-f7ea5a1.tar.bz2
147.46 KB
36 downloads
filedropmaj.git-f7ea5a1.zip
201.32 KB
17 downloads
filedropmaj.git-f8a7353.tar.bz2
138.49 KB
36 downloads
filedropmaj.git-f8a7353.zip
190.66 KB
18 downloads
filedropmaj.git-fb84a8d.tar.bz2
137.61 KB
41 downloads
filedropmaj.git-fb84a8d.zip
190.70 KB
18 downloads
filedropmaj.git-fdcf5d3.tar.bz2
152.34 KB
40 downloads
filedropmaj.git-fdcf5d3.zip
207.53 KB
17 downloads
filedropmaj.git-feca42d.tar.bz2
132.90 KB
39 downloads
filedropmaj.git-feca42d.zip
179.44 KB
20 downloads