-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprimary.php
235 lines (215 loc) · 9.4 KB
/
primary.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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<?php
$username = "root";
$password = "";
$host = "localhost";
$connector = mysqli_connect($host, $username, $password)
or die("Unable to connect");
$selected = mysqli_select_db($connector, "melcentre")
or die("Unable to connect2");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="assets/images/favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900&display=swap"
rel="stylesheet">
<title></title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Additional CSS Files -->
<link rel="stylesheet" href="assets/css/fontawesome.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/owl.css">
</head>
<body>
<header class="">
<nav class="navbar navbar-expand-lg">
<div class="container">
<a class="navbar-brand" href="index.html">
<h2>MelCentre</em></h2>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive"
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"></button>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home
<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item"><a class="nav-link" href="biomaps.php">MMMP Biomaps</a></li>
<li class="nav-item"><a class="nav-link" href="geneset.php">MelanomaDB Gene Sets</a></li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true"
aria-expanded="false">Cluster Data</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="primary.php">Primary</a>
<a class="dropdown-item" href="uveal.php">Uveal Samples</a>
<a class="dropdown-item" href="nonclustered.php">Non Clustered</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true"
aria-expanded="false">MMMP TTD</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="TTDSens.php">TTD: Sensitivity</a>
<a class="dropdown-item" href="TTDSyn.php">TTD: Synergism</a>
<a class="dropdown-item" href="TTDTox.php">TTD: Toxicity</a>
</div>
</li>
<li class="nav-item"><a class="nav-link" href="geo.html">Geographical Analysis</a></li>
<li class="nav-item"><a class="nav-link" href="contact.html">Contact Us</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="page-heading about-heading header-text" style="background-image: url(assets/images/heading-1-1920x500.jpg);">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="text-content">
<br><br>
</div>
</div>
</div>
</div>
</div>
<div class="best-features about-features">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="section-heading" style="text-align: center;">
<h2>Melanoma Cases by Primary Cluster Designation</h2>
</div>
</div>
<div class="col-md-6">
</div>
</div>
<div >
<div style="text-align: center;" >
<div style="text-align: center;">
<br>
<h5>Introduction</h5>
<p>This page refers references to the data collected by Bittner et. al in their work regarding samples of
Melanoma cases by cluster designation. Their work includes the molecular classification of cutaneous malignant
melanoma by gene expression profiling.
<br>
A refined version of the table with option for relevant queries for primary
cluster designations of Melanoma cases is given below
</p>
</div>
<form method="POST" action="primary1.php">
<label for="cip_id">CIP ID</label>
<input type="text" id="cip_id" name="cip_id">
<input type="submit" name="Submit1" value="Submit">
</form>
<form method="POST" action="primary1.php">
<label for="case_no">Case No.</label>
<input type="text" id="case_no" name="case_no">
<input type="submit" name="Submit2" value="Submit">
</form>
<form method="POST" action="primary1.php">
<label for="sex">Sex:</label>
<input type="text" id="sex" name="sex">
<input type="submit" name="Submit3" value="Submit">
</form>
<form method="POST" action="primary1.php">
<label for="age">Age:</label>
<input type="text" id="age" name="age">
<input type="submit" name="Submit4" value="Submit">
</form>
<form method="POST" action="primary1.php">
<label for="biopsy">Biopsy Site:</label>
<input type="text" id="biopsy" name="biopsy">
<input type="submit" name="Submit5" value="Submit">
</form>
<form method="POST" action="primary1.php">
<label for="p16">p16 Mutation Status</label>
<input type="text" id="p16" name="p16">
<input type="submit" name="Submit6" value="Submit">
</form>
<form method="POST" action="primary1.php">
<label for="vas">Vasulogenic Mimicry:</label>
<input type="text" id="vas" name="vas">
<input type="submit" name="Submit7" value="Submit">
</form>
<form method="POST" action="primary1.php">
<label for="gel">Gel Contraction:</label>
<input type="text" id="gel" name="gel">
<input type="submit" name="Submit8" value="Submit">
</form>
<form method="POST" action="primary1.php">
<label for="cell">Cell Motility:</label>
<input type="text" id="cell" name="cell">
<input type="submit" name="Submit9" value="Submit">
</form>
<form method="POST" action="primary1.php">
<label for="scratch">Scratch Wound:</label>
<input type="text" id="scratch" name="scratch">
<input type="submit" name="Submit10" value="Submit">
</form>
</div>
</div>
<?php
//execute the SQL query and return records
$result = mysqli_query( $connector, "SELECT * FROM melanoma_primary");
?>
<table>
<thead>
<tr>
<th>CIP_ID</th>
<th>Case_No</th>
<th>Sex</th>
<th>Age</th>
<th>Biopsy Site</th>
<th>p16 mutation status</th>
<th>Vasulogenic mimicry</th>
<th>Gel contraction</th>
<th>Cell motility</th>
<th>Scratch Wound</th>
</tr>
</thead>
<tbody>
<?php
while ($row = mysqli_fetch_array($result)) {
echo
"<tr>
<td>{$row['cip_id']}</td>
<td>{$row['case_no']}</td>
<td>{$row['sex']}</td>
<td>{$row['age']}</td>
<td>{$row['biopsy']}</td>
<td>{$row['p16']}</td>
<td>{$row['vas']}</td>
<td>{$row['gel']}</td>
<td>{$row['cell']}</td>
<td>{$row['scratch']}</td>
</tr>";
}
?>
</tbody>
</table>
<p>Refrence to Source:
<br>
Bittner, M., Meltzer, P., Chen, Y., Jiang, Y., Seftor, E., Hendrix, M., Radmacher, M., Simon, R., Yakhini, Z., Ben-Dor, A., Sampas, N., Dougherty, E., Wang, E., Marincola, F., Gooden, C., Lueders, J., Glatfelter, A., Pollock, P., Carpten, J., Gillanders, E., … Sondak, V. (2000). Molecular classification of cutaneous malignant melanoma by gene expression profiling. Nature, 406(6795), 536–540.
<br>
https://doi.org/10.1038/35020115</p>
</div>
</div>
</div>
<br><br><br>
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Additional Scripts -->
<script src="assets/js/custom.js"></script>
<script src="assets/js/owl.js"></script>
</body>
</html>
<?php mysqli_close($connector); ?>