~danielholm/bevismaskinen/trunk

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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Detta kommer att bli den nya Bevismaskinen!</title>

		<script type="text/javascript" src="jquery-1.2.6.js"></script>          
		<link rel="stylesheet" href="themes/flora/flora.all.css" type="text/css" media="screen" title="Flora (Default)">
		<script type="text/javascript" src="ui/ui.core.js"></script>
		<script type="text/javascript" src="ui/ui.tabs.js"></script>		
		<script>
		$(document).ready(function(){
		  $("#tabs > ul").tabs();
		});
		</script>
  

	</head>

	<body>

<div id="tabs"> 
         
        <br><br> 
     
    <ul style="height: 30px;"> 
        <li><a href="#torrent"><span>Torrent</span></a></li> 
        <li><a href="#dc"><span>Direct Connect</span></a></li> 
        <li><a href="#wire"><span>LimeWire?</span></a></li> 
        <li><a href="#fun"><span>Skojj (enda som funkar)</span></a></li> 
    </ul> 

	<div id="torrent"> 
<?php
	if(!isset($_POST)) {
		echo 'Här ska bilden visas';
	}

else {
	echo '
		<form id="torrent" name="torrent" method="post" action="torrent.php">

			<label for="name">Namn:</label> <br />
			<input type="text" name="name" id="name" /> <br />

			<label for="file">Fil:</label> <br />
			<input type="text" name="file" id="fil" /> <br />

			<label for="ip">IP:</label> <br />
			<input type="text" name="ip" id="ip" /> <br />

			<label for="uspeed">Hastighet Upp:</label> <br />
			<input type="text" name="uspeed" id="uspeed" /> <br />

			<label for="dspeed">Hastighet Ner:</label> <br />
			<input type="text" name="dspeed" id="dspeed" /> <br />

			<label for="select"><br />
			Välj operativsystem:</label><br />

			<select name="os" id="os">
			<option> OS </option>
			<option value="fedora"> Fedora </option>
			<option value="ubuntu"> Ubuntu </option>
			<option value="freebsd"> FreeBSD </option>
			<option value="vista"> Windows Vista </option>
			<option value="macosx"> Mac OS X </option>
			</select><br>

			<input type="submit" name="create" id="create" value="Skapa Bevis!" />
		</form>';
		}
?>
    </div> 

	<div id="dc"> 
	<p>
<?php
	if(!isset($_POST)) {
		echo 'Här ska bilden visas';
	}

else {
	echo '
		<form id="dc" name="dc" method="post" action="dc.php">

			<label for="name">Namn:</label> <br />
			<input type="text" name="name" id="name" /> <br />

			<label for="file">Fil:</label> <br />
			<input type="text" name="file" id="fil" /> <br />

			<label for="ip">IP:</label> <br />
			<input type="text" name="ip" id="ip" /> <br />


			<label for="speed">Hastighet:</label> <br />
			<input type="text" name="speed" id="speed" /> <br />

			<label for="select"><br />
			Välj operativsystem:</label><br />

			<select name="os" id="os">
			<option> OS </option>
			<option value="fedora"> Fedora </option>
			<option value="ubuntu"> Ubuntu </option>
			<option value="freebsd"> FreeBSD </option>
			<option value="vista"> Windows Vista </option>
			<option value="macosx"> Mac OS X </option>
			</select><br>

			<input type="submit" name="create" id="create" value="Skapa Bevis!" />
		</form>';
		}
?>
	</p>
	</div> 

	<div id="wire"> 
	<p>Ska vi ha något sådant?</p>
	</div> 

	<div id="fun">
<?php
	echo '

		<img src="http://www.icemelon.com/images/tutorials/bannerboy.png">	

		<form id="fun" name="fun" method="post" action="fun.php">

			<label for="funsaid">Säg något kul:</label>
			<br><input type="text" class="textfield" name="funsaid" /></p>

			<input type="submit" name="create" id="create" value="Skapa Bevis!" />
		</form>';
?>
	</div> 

</div>

	</body>
</html>