pastebin v0.1.7
Smokin
Nov 20 2008 11:23 PM
hits: 7
owned.
Nov 14 2008 4:21 PM
hits: 19
strcmp
Nov 14 2008 8:48 AM
hits: 11
strcmp
Nov 14 2008 8:47 AM
hits: 8
sick email
Oct 19 2008 11:19 PM
hits: 35
Clock Clantag
Oct 19 2008 12:50 AM
hits: 29
pspdev
Oct 11 2008 11:09 PM
hits: 33
ScriptResource.axd
Oct 7 2008 9:37 AM
hits: 39
ScriptResource.axd
Oct 7 2008 9:34 AM
hits: 24
Anonymous
Oct 5 2008 6:26 PM
hits: 37
Anonymous
Oct 1 2008 10:57 PM
hits: 41
q47407
Sep 6 2008 9:32 AM
hits: 87

Valid HTML 4.01 Strict

Valid CSS!


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<html>
	<head>
		<style type="text/css">
			body{font-family:verdana;}
		</style>
	<head>
	<body>
		<?php
			$handle = fopen("/tmp/file.csv", "r");
			$row = 0;
			$body = "";
			$titles = "";
			while(($data = fgetcsv($handle, 2000, ",")) !== FALSE)
			{
				$row++;
				
				if($row < 4)
					continue;
				$n = $row -3;
				$data[0] = trim($data[0]);
				$data[1] = trim($data[1]);
				$data[2] = trim($data[2]);
				$data[3] = trim($data[3]);
				$data[4] = trim($data[4]);
				$data[5] = trim($data[5]);
				$data[6] = trim($data[6]);
				$data[7] = trim($data[7]);
				$data[8] = trim($data[8]);
				$data[9] = trim($data[9]);
				
				$titles = "$titles<a href='#$data[4]'>$data[4]</a> <br />";
				
				$body = "$body<a name='$data[4]'></a>$n";
				$body =  "$body<ul>";
				$body =  "$body<li><strong>Name:</strong> $data[3]</li>";
				$body =  "$body<li><strong>Title:</strong> $data[4]</li>";
				$body =  "$body<li><strong>SID:</strong> $data[2]</li>";
				$body =  "$body<li><strong>Level:</strong> $data[8]</li>";
				$body =  "$body<li><strong>Summary:</strong> <p>$data[6]</p></li>";
				$body =  "$body<li><strong>Bio:</strong> <p>$data[9]</p></li>";
				$body =  "$body</ul>";
				$body =  "$body<hr />";
				
			}
			
			echo "<div style='width:100%; border:solid 1px black; height:300px; overflow:auto;'>$titles</div>";
			echo $body;
		?>
	</body>
</html>
paste below
title
description/question
action