-
Notifications
You must be signed in to change notification settings - Fork 2
/
export.php
158 lines (126 loc) · 3.92 KB
/
export.php
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<?php
session_start();
$id = $_SESSION['userid'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="author" content="" />
<link rel="stylesheet" type="text/css" href="style2.css" media="screen" />
<title>Tissue Culture Portal</title>
</head>
<body>
<div id="wrapper">
<?php
include('includes/header.php');
include('includes/nav1.php');
include('config1.php');
include('check.php');
?>
<div id="content">
<align = "centre"><img src=" http://localhost/tissue/images1/predict.jpg" align="centre" />
</tr>
<br>
<br>
<br>
<strong><font size="5" color="#000000">SELECT THE EXPERIMENT PARAMETERS</font></strong>
<br>
<br>
<form action="exportcheck.php" method="post" target="_blank">
<input type="hidden" name="id" value="<?php echo $id; ?>" />
<table width="450" bgcolor="#ffffff" style="background-color: #f1f1f1">
</br>
<td align="left"><strong><font size="3">
Select Treatment:
</td>
<td>
<select id="treatment" name="treatment">
<option value="">------------------ SELECT ------------------</option>
<?php
$sql=mysql_query("SELECT * FROM treatment order by treatment");
while($row=mysql_fetch_array($sql))
{
$treatment=$row['treatment'];
echo '<option value="'.$treatment.'">'.$treatment.'</option>';
}
?>
</select>
</td>
</tr>
</td>
</tr>
<tr>
<tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<td align="left"><strong><font size="3">
Select Plant Attribute:
</td>
<td>
<select id="type" name="type">
<option value="">------------------ SELECT ------------------</option>
<?php
$sql=mysql_query("SELECT * FROM type order by type");
while($row=mysql_fetch_array($sql))
{
$type=$row['type'];
echo '<option value="'.$type.'">'.$type.'</option>';
}
?>
</select>
</td>
</tr>
</td>
</tr>
<tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<tr>
<td align="left"><strong><font size="3">
Select Cytokinin Type:
</td>
<td>
<select id="kinintype" name="kinintype">
<option value="">------------------ SELECT ------------------</option>
<?php
$sql=mysql_query("SELECT * FROM kinintype order by kinintype");
while($row=mysql_fetch_array($sql))
{
$kinintype=$row['kinintype'];
echo '<option value="'.$kinintype.'">'.$kinintype.'</option>';
}
?>
</select>
</td>
</tr>
</td>
</tr>
<tr>
<tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<tr>
<tr>
</tr>
<tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>
<tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>
<tr><td bgcolor="#330033"> </td>
<td bgcolor="#330033"><input type="submit" value="Export" /></td>
</tr>
</table>
</form>
<br></br><br></br><br></br>
</div> <!-- end #content -->
<?php include('includes/footer.php'); ?>
</div> <!-- End #wrapper -->
</body>
</html>