pastebin

About this pastebin

Welcome to the bulix.org / pastebin. Please don't use this pastebin for illegal purposes, defamation or kitten-squashing.

This pastebin is written using PHP and MySQL and relies on Alex Gorbatchev's syntax hhighlighter (JavaScript based). To avoid spam, you will be required to complete a small mathematical challenge when adding a new paste.

Private paste #15094: Untitled paste by 203.177.250.193

<html>
 <head>

  <title>
   Quiz me pls
  </title>
   <style>

    body{overflow-y:hidden;
		background:#bb9fd6;
		}
    #layout{position:absolute;
	        width:894px;
			height:599px;
			left:126px;
			right:0px;
			top:0px;
			bottom:0px;
			border:0px solid #000000;
			overflow:hidden;}
	#mybody{position:absolute;
		   width:894px;
		   height:524px;
		   top:70px;
		   left:0px;
		   right:0px;
		   bottom:0px;
		   background:bb9fd6;
		   border:0px;
		   overflow-x:hidden;
		   overflow-y:auto;}
	#header{position:absolute;
	        width:894px;
			height:71px;
			left:0px;
			right:0px;
			top:0px;
			bottom:0px;
			border:0px solid #000000;
			background:url(file:\\Server3\users\0321048\win\try.gif);
			background-repeat:no-repeat;}


	a.nav1, a.nav1:link, a.nav1:visited{text-decoration:none;
									 text-align:center;
									 height:30px;
									 width:114px;
									 border:0px cornflowerblue;
									 font-family:verdana;
									 font-size:12px;
									 color:black;
									 margin-top:0px;
									 margin-left:0px;
									 margin-bottom:0px;
									 background:corflowerblue;
									 line-height:25px;
									 line-width:25px}
	a.nav1:hover{background:black;
				color:white;}
	h1{font-family:verdana;
	   font-size:100%;
	   text-align:center;}

	div.sidebar {position: absolute;
			 		background-color: cornflowerblue;
			 		top: 0;
			 		left: 0;
			 		width: 125px;
			 		height: 100%;
			 		padding-left: 6px;
			 		padding-right: 4px;
			 		padding-top: 6px;
			 		font-size: 16pt;
					overflow:hidden;}
			p.green {font-size:16pt;
			         color:green;}
   </style>
 </head>
 <body>
 <div class="sidebar">
	<marquee>Nav links</marquee>
	<a class="nav1" href="mainpage.html">Main Page</a>
	<a class="nav1" href="unfinishedInstructionpage.html">Instructions</a>
	<a class="nav1" href="Quizpage.html">Quiz</a>
 </div>

  <div id="layout">
   <div id ="header">
   </div>

 <div id="mybody">
    <br>
     <h1>Main Page</h1>
	 <script type="text/javascript">
			window.onload = function() {
				
				var r;
				var row;
				var cell;
				var dup = new Boolean();
				
				var stack = new Array();
				var answer = new Array();
				var answera = new Array();
				var random = new Array();
				var stackRandom = new Array();
				var answerRandom = new Array();
				var answerRandoma = new Array();

   stack[0]="Which vegetable is used if a dish is described as 'a la Bretonne'?";
   stack[1]="Time ____ when your having fun?";
   stack[2]="TV/ Movies: Born July 3, 1962, He starred in this movie: The Firm - 1993?";
   stack[3]="What operating system in used on an ibm as400?";
   stack[4]="The Who's rock musical stars Elton John. It's called ________.";
   stack[5]="A promiscuous woman?";
   stack[6]="'Dephlogisticated air' was the name given by Joseph Priestley to which gas?";
   stack[7]="A ships officer in charge of equipment and crew?";
   stack[8]="In 1977 Cheryl ---------- replaces Farrah Fawcett on Charlie's Angels.";
   stack[9]="TV/ Movies: What is radar o'reilly's favorite drink?";
   stack[10]="In 1978 ---------- Ali beats WBA heavyweight champion Leon Spinks.";
   stack[11]="Baby Names Beginning With W: Meaning: Shield?";
   stack[12]="best ACTRESS in a Supporting Role in 1960 33rd Academy Awards ELMER GANTRY?";
   stack[13]="Born Aug 8, 1937, He starred in this movie: Dick Tracy - 1990?";
   stack[14]="He starred in this movie: The Eyes of Laura Mars - 1978?";
   stack[15]="Baby Names Beginning With B: Meaning: Strong, Virtuous, Honorable?";
   stack[16]="Baby Names Beginning With L: Meaning: Land?";
   stack[17]="80s Films: For Your ___ Only?";
   stack[18]="Money is made of woven---------- , not paper.";
   stack[19]="UnScramble this Word: d a m y d o r r e?";
   stack[20]="Fife the only member of the band zz top without a beard has what last name?";
   stack[21]="In 1066 William the ---------- crowned William I of England?";
   stack[22]="TV Movies: Indiana Jones: Name the first challenge?";
   stack[23]="Name The Year: Sultan of Turkey Abdul Hamid II is overthrown.";
   stack[24]="UnScramble this Word: i s p s r e u r?";

   answer[0]="haricot beans";
   answer[1]="flies";
   answer[2]="tom cruise";
   answer[3]="os400";
   answer[4]="tommy";
   answer[5]="slapper";
   answer[6]="oxygen";
   answer[7]="boatswain";
   answer[8]="ladd";
   answer[9]="grape nehi";
   answer[10]="muhammad";
   answer[11]="walta";
   answer[12]="shirley jones";
   answer[13]="dustin hoffman";
   answer[14]="tommy lee jones";
   answer[15]="breanna";
   answer[16]="lancelot";
   answer[17]="eyes";
   answer[18]="linen";
   answer[19]="dromedary";
   answer[20]="beard";
   answer[21]="conqueror";
   answer[22]="breath of god";
   answer[23]="1909";
   answer[24]="surprise";


   answera[0]="haricot vertes";
   answera[1]="swims";
   answera[2]="richard gere";
   answera[3]="unix a";
   answera[4]="towls";
   answera[5]="slacker";
   answera[6]="hydrogen";
   answera[7]="captain";
   answera[8]="lady";
   answera[9]="grape whine";
   answera[10]="frazier";
   answera[11]="waldo";
   answera[12]="brigitte bardot";
   answera[13]="anthony hopkins";
   answera[14]="robin williams";
   answera[15]="breanen";
   answera[16]="lando";
   answera[17]="ears";
   answera[18]="cotton";
   answera[19]="dramedory";
   answera[20]="kelsey";
   answera[21]="destroyer";
   answera[22]="breath of god";
   answera[23]="1910";
   answera[24]="pirsuer";
	
				var container = document.getElementById('results');

				for (var i = 0; i < 10	; i++) {				
					do{
					  dup = false;
					  r = Math.round((Math.random() * 24));
				    
					for (var m = 0; m <= random.length; m++) {						
					  	if (r == random[m]) {						
							dup = true;	
							break;
						}
					}
				}	
					while (dup == true){
					random.push(r);
					stackRandom[i] = stack[r];
					answerRandom[i] = answer[r];
					answerRandoma[i] = answera[r];
					row = document.createElement('tr');
					cell = document.createElement('td');
					cell.appendChild(document.createTextNode(i));
					row.appendChild(cell);
					cell = document.createElement('td');					
					cell.appendChild(document.createTextNode(stackRandom[i]));
					row.appendChild(cell);
					var z = Math.round((Math.random() * 1));
					if (z==0){
					
					cell = document.createElement('td');	
					var radioBtn = document.createElement('INPUT'); 
					radioBtn.type='radio';
					radioBtn.Name = 'radioanswer';
					radioBtn.setAttribute('radioanswer', 'answer');
					cell.appendChild(radioBtn);
					
					cell.appendChild(document.createTextNode(answerRandom[i]));
					row.appendChild(cell);
					cell = document.createElement('td');					
					var radioBtn = document.createElement('INPUT'); 
					radioBtn.type='radio';radioBtn.Name = 'radioanswer'; 
					radioBtn.Name = 'radioanswer';
					radioBtn.setAttribute('radioanswer', 'answera');
					cell.appendChild(radioBtn);
					
					cell.appendChild(document.createTextNode(answerRandoma[i]));
					row.appendChild(cell);
					container.appendChild(row);
					}else if(z==1){
					
					cell = document.createElement('td');					
					var radioBtn = document.createElement('INPUT'); 
					radioBtn.type='radio';
					radioBtn.Name = 'radioanswer';
					radioBtn.setAttribute('radioanswer', 'answerb'); 
					cell.appendChild(radioBtn);
					
					cell.appendChild(document.createTextNode(answerRandoma[i]));
					row.appendChild(cell);
					cell = document.createElement('td');					
					var radioBtn = document.createElement('INPUT'); 
					radioBtn.type='radio';
					radioBtn.Name = 'radioanswer';
					radioBtn.setAttribute('radioanswer', 'answerc'); 
					cell.appendChild(radioBtn);
					
					cell.appendChild(document.createTextNode(answerRandom[i]));
					row.appendChild(cell);
					container.appendChild(row);
					
					
					}
				}
			}
		}
		</script>
	</head>

	<body>
		<table>
			<thead>
				<tr>
					<td>Item no.</td>
					<td>Question</td>
				</tr>
			</thead>

			<tbody id="results">
			</tbody>
		</table>
   </div>

  </div>
 </body>
</html>

New paste

  Language:
Private   — Wrap long lines  —  2 + 4 =   —  

30 more recent public pastes


# Title Type Date
1 Untitled ASCII paste by 84.190.218.1 ASCII 04 Jul 2009, 07:25
2 Untitled XML/HTML paste by 71.235.178.72 XML/HTML 04 Jul 2009, 03:13
3 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 17:40
4 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 15:09
5 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 15:08
6 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 14:19
7 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 14:13
8 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 02:35
9 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 02:22
10 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 02:20
11 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 02:17
12 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 00:40
13 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 00:23
14 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 23:20
15 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 23:19
16 Untitled Perl paste by 212.117.187.46 Perl 02 Jul 2009, 21:27
17 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 20:42
18 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 19:12
19 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 19:10
20 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 19:08
21 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 19:01
22 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 18:51
23 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 11:19
24 Untitled ASCII paste by 82.247.183.72 ASCII 02 Jul 2009, 11:16
25 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 11:12
26 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 11:01
27 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 10:56
28 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 10:54
29 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 10:36
30 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 03:23

Powered by the Bulix.org Code Pastebin, by Maxime Petazzoni. View pastebin statistics.