This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Search_New.psp
171 lines (138 loc) · 6.6 KB
/
Search_New.psp
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
<!DOCTYPE HTML>
<!--
Dopetrope 2.5 by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Search</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,900,300italic" rel="stylesheet" />
<script src="js/jquery.min.js"></script>
<script src="js/jquery.dropotron.min.js"></script>
<script src="js/config.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/skel-panels.min.js"></script>
<noscript>
<link rel="stylesheet" href="/css/skel-noscript.css" />
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/style-desktop.css" />
</noscript>
<!--[if lte IE 8]><script src="js/html5shiv.js"></script><link rel="stylesheet" href="css/ie8.css" /><![endif]-->
</head>
<body class="no-sidebar">
<!-- Header Wrapper -->
<div id="header-wrapper">
<div class="container">
<div class="row">
<div class="12u">
<!-- Header -->
<section id="header">
<!-- Logo -->
<h1><a href="#"><img src="images\logo.jpg" alt="logo" width="196" height="176"></a></h1>
<!-- Nav -->
<nav id="nav">
<ul>
<li><a href="index.html">Home</a>
</li>
<li><a href="graphNew.psp">Visualization</a>
</li>
<li ><a href="http://cytosine.nl/~bi2_pg6/Inficio%20Raptum/visualization.psp?search=">Specific Visualization</a>
</li>
<li class="current_page_item">
<a href="http://cytosine.nl/~bi2_pg6/Inficio%20Raptum/Search_New.psp?Substance=&Organism=">Search</a>
</li>
<li><a href="get-started.html">Get started</a>
</li>
<li><a href="about-us.html">About us</a>
</li>
</ul>
</nav>
</section>
</div>
</div>
</div>
</div>
<!-- Main Wrapper -->
<div id="main-wrapper">
<div class="container">
<div class="row">
<div class="12u">
<!-- Portfolio -->
<section>
<div>
<div class="row">
<div class="12u skel-cell-important">
<!-- Content -->
<article class="box is-post">
<header>
<h2>Search for data</h2>
<span class="byline">Here you search for data for the visualisation</span>
</header>
<p>
This is the head page of the search. Here you can select the specifiactions you want and search them for the visualisation.</p>
<p>
<header>
<h3>Searchterms</h3>
</header>
</p>
<script type="text/javascript">
function toggleMe(a){
var e=document.getElementById(a);
if(!e)return true;
if(e.style.display=="none"){
e.style.display="block"
}
else{
e.style.display="none"
}
return true;
}
</script>
<form action="http://cytosine.nl/~bi2_pg6/Inficio%20Raptum/Search_New.psp?Substance">
<input type="button" class="button" onclick="return toggleMe('para4')" value="Substance"><br>
<p id="para4" style="display:none">
Substance: <input type="text" name="Substance" value=""><br>
<br>
</p>
<input type="button" class="button" onclick="return toggleMe('para1')" value=" Organism "><br>
<p id="para1" style="display:none">
Organism: <input type="text" name="Organism" value=""><br>
<br>
</p>
<p>
<br />
<input type="submit" class="button alt" value="Submit"><br>
<p id="para3" style="display:none">
<br>
</p>
<p>
<header>
<h3>Results</h3>
</header>
<%
import sys
sys.path.append('/home/bi2_pg6/public_html/Inficio Raptum/Python/')
import pubmedSearch
org= form["Organism"]
comp = form["Substance"]
pubmedSearch.index(comp,org)
# end
%>
</p>
</form>
</section>
</article>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>