<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:fade__out</id>
  <title>Fade~Out</title>
  <subtitle>Fade~Out</subtitle>
  <author>
    <name>Fade~Out</name>
  </author>
  <link rel="alternate" type="text/html" href="http://fade--out.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://fade--out.livejournal.com/data/atom"/>
  <updated>2005-03-05T18:40:06Z</updated>
  <lj:journal userid="987207" username="fade__out" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://fade--out.livejournal.com/data/atom" title="Fade~Out"/>
  <link rel="hub" href="http://pubsubhubbub.appspot.com/"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:fade__out:1620</id>
    <link rel="alternate" type="text/html" href="http://fade--out.livejournal.com/1620.html"/>
    <link rel="self" type="text/xml" href="http://fade--out.livejournal.com/data/atom/?itemid=1620"/>
    <title>yo!</title>
    <published>2005-03-05T18:40:06Z</published>
    <updated>2005-03-05T18:40:06Z</updated>
    <content type="html">I'm still here, believe it or not. I don't write in here ever. If you'd like to read my bloop, then just comment here and i will send you a link to it. I just keep this one hangin around so i an read people's diaries that are on friends only....but yeah...my real life and drama is in my bloop.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:fade__out:1524</id>
    <link rel="alternate" type="text/html" href="http://fade--out.livejournal.com/1524.html"/>
    <link rel="self" type="text/xml" href="http://fade--out.livejournal.com/data/atom/?itemid=1524"/>
    <title>shoutbox test</title>
    <published>2003-10-31T04:31:49Z</published>
    <updated>2003-10-31T04:36:00Z</updated>
    <content type="html">whyyyyyyy&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:fade__out:1111</id>
    <link rel="alternate" type="text/html" href="http://fade--out.livejournal.com/1111.html"/>
    <link rel="self" type="text/xml" href="http://fade--out.livejournal.com/data/atom/?itemid=1111"/>
    <title>test</title>
    <published>2003-10-31T01:56:26Z</published>
    <updated>2003-10-31T01:56:26Z</updated>
    <content type="html">&lt;?

    /**
     * minichat 2
     * Copyright Paul Mutton, 15th August 2002.
     * http://www.jibble.org/
     * 
     * Include this file on a PHP web page to add a mini chat box.
     *
     * Features:-
     *   Totally rewritten from scratch.
     *   Much much more efficient than the previous version.
     *   HTML tags are filtered out.
     *   Imposes a max word size to avoid wrapping issues.
     *   Max nick and message lengths are enforced on the server side.
     *   Accidental "refresh" reposting is avoided.
     *   Appends all messages chronologically to the archive file.
     *   Displays latest 20 messages with the most recent at the top.
     *   Now logs I.P. addresses within comments (do what you want with them).
     *   Displays posting time in correct local time.
     *   
     */

    $latest = $DOCUMENT_ROOT . "/temp/minichat2.latest";
    $archive = $DOCUMENT_ROOT . "/temp/minichat2.archive";
    $size = 20;
    $nick_size = 20;
    $message_size = 256;
    $max_word_size = 20;
    
?&gt;&lt;br /&gt;&lt;br /&gt;&lt;table width="120" align="center" border="0"&gt;
 &lt;tr&gt;
  &lt;td&gt;&lt;br /&gt;   &lt;p align="center"&gt;&lt;br /&gt;    &lt;font face="arial,sans-serif"&gt;&lt;b&gt;&lt;a href="http://www.jibble.org/chatbox.php"&gt;minichat 2&lt;/a&gt;&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;   &lt;/p&gt;&lt;br /&gt;   &lt;p align="center"&gt;&lt;br /&gt;    &lt;form name="minichat_form" method="POST"&gt;&lt;br /&gt;     &lt;font face="arial,sans-serif" size="2"&gt;&lt;br /&gt;      &lt;input type="hidden" name="minichat_md5" value="&amp;lt;? if (isset($minichat_message)) {echo md5($minichat_message);} ?&amp;gt;"&gt;&lt;br /&gt;      Nick:&lt;br&gt;&lt;br /&gt;      &lt;input type="text" name="minichat_nick" maxlength="&amp;lt;? echo $nick_size; ?&amp;gt;" size="15" style="font-family: Verdana, Arial, Helvetica, Sans-serif; font-size: 10px"&gt;&lt;br&gt;&lt;br /&gt;      Message:&lt;br&gt;&lt;br /&gt;      &lt;textarea name="minichat_message" cols="16" rows="3" style="font-family: Verdana, Arial, Helvetica, Sans-serif; font-size: 10px"&gt;&lt;/textarea&gt;&lt;br&gt;&lt;br /&gt;      &lt;input type="submit" name="minichat_submit" value="Submit"&gt;&lt;br /&gt;     &lt;/font&gt;&lt;br /&gt;    &lt;/form&gt;&lt;br /&gt;   &lt;/p&gt;&lt;br /&gt;   &lt;p&gt;&lt;br /&gt;    &lt;font face="arial,sans-serif" size="1"&gt;&lt;br /&gt;&lt;br /&gt;&lt;?
    
    // Check to see if the user is trying to post something.
    if (isset($minichat_md5) &amp;&amp; isset($minichat_nick) &amp;&amp; isset($minichat_message)) {
        
        // Replace any new line stuff with a space.
        $nick = strtr($nick, "\r\n", "  ");
        $message = strtr($message, "\r\n", "  ");

        // Trim leading and trailing whitespace where necessary and remove slashes.
        $nick = trim(stripslashes($minichat_nick));
        $message = trim(stripslashes($minichat_message));
        
        // Only proceed if the md5 hash of message is not repeated.
        if (md5($message) != $minichat_md5) {
        
            // Only proceed if the user actually filled in both fields.
            if (strlen($nick) &gt; 0 &amp;&amp; strlen($message) &amp;gt; 0) {&lt;br /&gt;                &lt;br /&gt;                // If the fields are too long, then chop them to the limits.&lt;br /&gt;                if (strlen($nick) &amp;gt; $nick_size) {&lt;br /&gt;                    $nick = substr($nick, 0, $nick_size);&lt;br /&gt;                }&lt;br /&gt;                if (strlen($message) &amp;gt; $message_size) {&lt;br /&gt;                    $message = substr($message, 0, $message_size);&lt;br /&gt;                }&lt;br /&gt;                &lt;br /&gt;                // Remove new line characters from the input.&lt;br /&gt;                $nick = str_replace("\n", " ", $nick);&lt;br /&gt;                $message = str_replace("\n", " ", $message);&lt;br /&gt;                &lt;br /&gt;                // Enforce the maximum word size by breaking up $message into lines.&lt;br /&gt;                $message = preg_replace("/([^\s]{20})/", "$1\n", $message);&lt;br /&gt;                &lt;br /&gt;                // Now we can encode the nick and message into HTML.&lt;br /&gt;	        $nick = htmlentities($nick);&lt;br /&gt;                $message = htmlentities($message);&lt;br /&gt;                &lt;br /&gt;                // Now replace the new line characters in $message.&lt;br /&gt;                $message = str_replace("\n", "&lt;br&gt;", $message);&lt;br /&gt;                &lt;br /&gt;                // The IP address of the poster, web cache or whatever.&lt;br /&gt;                $ip = $_SERVER['REMOTE_ADDR'];&lt;br /&gt;                $time = date("j M Y - G:i:s T");&lt;br /&gt;                &lt;br /&gt;                // Check to see if the 'latest' and 'archive' files exist and can be written to.&lt;br /&gt;                if (!is_writable($latest) || !is_writable($archive)) {&lt;br /&gt;                    // Touch both files.&lt;br /&gt;                    touch($latest);&lt;br /&gt;                    touch($archive);&lt;br /&gt;                    if (!is_writable($latest) || !is_writable($archive)) {&lt;br /&gt;                        exit("$latest or $archive is not writable. Please check your permissions and try again.");&lt;br /&gt;                    }&lt;br /&gt;                }&lt;br /&gt;                &lt;br /&gt;                // Read every line of the 'latest' file into an array.&lt;br /&gt;                $lines = file($latest);&lt;br /&gt;                $bottom_index = count($lines);&lt;br /&gt;                &lt;br /&gt;                // Note that each entry takes up 4 lines.&lt;br /&gt;                $line_ip = "\n";&lt;br /&gt;                $line_nick = "* &lt;font color="\&amp;quot;#9999ff\&amp;quot;"&gt;Posted by $nick\n";&lt;br /&gt;                $line_time = "on $time&lt;/font&gt;&lt;br&gt;\n";&lt;br /&gt;                $line_message = "$message&lt;br&gt;&lt;br&gt;\n";&lt;br /&gt;&lt;br /&gt;                $entry = $line_ip . $line_nick . $line_time. $line_message;&lt;br /&gt;&lt;br /&gt;                $already_posted = 0;&lt;br /&gt;                for ($i = 3; $i &amp;lt; $bottom_index; $i += 4) {&lt;br /&gt;                    if ($lines[$i] == $line_message) {&lt;br /&gt;                        $already_posted = 1;&lt;br /&gt;                        break;&lt;br /&gt;                    }&lt;br /&gt;                }&lt;br /&gt;                &lt;br /&gt;                if ($already_posted == 0) {&lt;br /&gt;                    // Now rebuild the 'latest' file.&lt;br /&gt;                    // Start by entering the new entry at the top.&lt;br /&gt;                    $out = fopen($latest, "w");&lt;br /&gt;                    fwrite($out, $entry);&lt;br /&gt;                    &lt;br /&gt;                    // Then write all other entries except the oldest.&lt;br /&gt;                    if ($bottom_index &amp;gt;= $size * 4) {&lt;br /&gt;                        $bottom_index = $size * 4 - 4;&lt;br /&gt;                    }&lt;br /&gt;                    for ($i = 0; $i &amp;lt; $bottom_index; $i++) {&lt;br /&gt;                        fwrite($out, $lines[$i]);&lt;br /&gt;                    }&lt;br /&gt;                    fclose($out);&lt;br /&gt;                    &lt;br /&gt;                    // Also append the entry to the archive file.&lt;br /&gt;                    $out = fopen($archive, "a");&lt;br /&gt;                    fwrite($out, $entry);&lt;br /&gt;                    fclose($out);&lt;br /&gt;                }&lt;br /&gt;                else {&lt;br /&gt;                    // This avoided a "probably accidental" repost.&lt;br /&gt;                }&lt;br /&gt;                &lt;br /&gt;            }&lt;br /&gt;            else {&lt;br /&gt;                echo "&lt;font color="\&amp;quot;red\&amp;quot;"&gt;You must fill in both fields&lt;/font&gt;&lt;br&gt;&lt;br&gt;";&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;        else {&lt;br /&gt;            // This avoided a deliberate repost, maybe we should say something?&lt;br /&gt;        }&lt;br /&gt;        &lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;    // include the latest comments on the page.&lt;br /&gt;    if (file_exists($latest)) {&lt;br /&gt;        include($latest);&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;br /&gt;    &lt;/font&gt;&lt;br /&gt;   &lt;/p&gt;&lt;br /&gt;  &lt;/td&gt;
 &lt;/tr&gt;
&lt;/table&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:fade__out:997</id>
    <link rel="alternate" type="text/html" href="http://fade--out.livejournal.com/997.html"/>
    <link rel="self" type="text/xml" href="http://fade--out.livejournal.com/data/atom/?itemid=997"/>
    <title>the whisper of my heart</title>
    <published>2003-05-08T03:52:01Z</published>
    <updated>2003-05-08T13:48:31Z</updated>
    <content type="html">I didn't write this, Nikki did, and accidentally posted it on my journal instead of her own cuz I was signed in..lol You silly girl :P But yeah, I think I'll keep it here, just because. I love you.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;hr&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;the things you'll never know;&lt;br /&gt;how much you truly mean to me.&lt;br /&gt;you love me for me, &lt;br /&gt;no acceptions. &lt;br /&gt;take one look at me, &lt;br /&gt;judge me by my essence. &lt;br /&gt;look me straight in the eye&lt;br /&gt;to see my pain. &lt;br /&gt;when all you need to do &lt;br /&gt;is hold me...&lt;br /&gt;then again i am free. &lt;br /&gt;you tought me a language&lt;br /&gt;only the heart can speak. &lt;br /&gt;never have i felt like this. &lt;br /&gt;never have i wanted everything&lt;br /&gt;when its all you given me. &lt;br /&gt;soul searching is never enough,&lt;br /&gt;but when you have someone who loves you &lt;br /&gt;by your side&lt;br /&gt;it makes all the while. &lt;br /&gt;distance may be between us, &lt;br /&gt;but it doesn't take away&lt;br /&gt;the karma of our souls.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:fade__out:659</id>
    <link rel="alternate" type="text/html" href="http://fade--out.livejournal.com/659.html"/>
    <link rel="self" type="text/xml" href="http://fade--out.livejournal.com/data/atom/?itemid=659"/>
    <title>*cries*</title>
    <published>2003-04-08T18:25:46Z</published>
    <updated>2003-04-08T18:25:46Z</updated>
    <content type="html">My head hurts so bad. I cant stand this anymore. need to make it stop, once and for all. I can't fucking do it anymore</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:fade__out:510</id>
    <link rel="alternate" type="text/html" href="http://fade--out.livejournal.com/510.html"/>
    <link rel="self" type="text/xml" href="http://fade--out.livejournal.com/data/atom/?itemid=510"/>
    <title>hmm</title>
    <published>2003-04-05T17:55:44Z</published>
    <updated>2003-04-05T17:55:44Z</updated>
    <content type="html">SO here i am. Finally have a live journal...lol I have nothing to say. I probably wont write much, and i'll probably just post what i post in my FOD here...but i wanted an accout so i can check up on some Live Journal friends *winks*&lt;br /&gt;Nothing to say....as usual</content>
  </entry>
</feed>
