Public feed #889763

Untitled

public text v1 · immutable
Raw Edit
·published 2008-02-03 04:35 UTC
rendered paste body
<?php

/*

Bored... Made this :)

TheDefaced - Sean

*/

function make_bold($data)
	{
		$bold = base64_decode("Ag==");
		$end_bold = base64_decode("Dw==");
		return $bold . $data . $end_bold;
	}

function make_color($data, $back, $text)
	{
		$start = base64_decode("Aw==");
		return $start . $text . "," . $back . $data;
	}

// RANDOM TIME

$text = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
$text = preg_split("//", $text);

$final = "";

for ($x=10;$x>0;$x--)
	{
		for ($y=40;$y>0;$y--)
			{
				if (rand(0, 1))
					{
						$final .= make_bold(make_color($text[rand(0, count($text) - 1)], rand(0, 15), rand(0, 15)));
					}
				else
					{
						$final .= make_color($text[rand(0, count($text) - 1)], rand(0, 15), rand(0, 15));
					};
			}
		$final .= "\n";
	}

echo $final;

?>