-
Notifications
You must be signed in to change notification settings - Fork 0
/
advsearch.php
466 lines (458 loc) · 32.9 KB
/
advsearch.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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
<?php
session_start();
include_once 'utils.php';
$db_conn = real_db_connect($_db_server, $_db_username, $_db_password, $_db_name);
real_update_valid_session( $db_conn, $_SESSION['UID'], session_id(), $_SERVER['REMOTE_ADDR']);
$_POST['page-title'] = "Advanced Search";
$_POST['page-link1'] = "<link rel='stylesheet' type='text/css' href='styles/index.css' />";
$_POST['page-link2'] = "<link href='styles/style1.css' rel='stylesheet' type='text/css' />";
$_POST['page-link3'] = "<link href='styles/list.css' rel='stylesheet' type='text/css' />";
$_POST['page-link4'] = "<link rel='stylesheet' href='styles/mktree.css' type='text/css'>";
$_POST['page-script1'] = "<SCRIPT LANGUAGE='JavaScript' SRC='scripts/mktree.js'></SCRIPT>";
$_POST['page-include-page-top2'] = "true";
include_once 'includes/page-top.php';
include_once 'includes/page-top2.php';
?>
<script language="JavaScript" type="text/JavaScript">
<!--
function change(id) {
var fieldNames = new Array('keyf','rif','pubf','edf','equipf','rac','intc','extc','desct','prodt','appt','rest','funu','locu');
var i=0;
var count=0;
if(id!='all')
{
if(document.getElementById(id).checked==true)
{
document.getElementById('all').checked=false;
}
else
{
for(i=0;i<14;i++)
{
if(document.getElementById(fieldNames[i]).checked==true)
count=count+1;
}
if(count<14)
document.getElementById('all').checked=false;
}
}
if(id=='all')
{
if(document.getElementById(id).checked==true)
{
for(i=0;i<14;i++)
{
document.getElementById(fieldNames[i]).checked=true;
}
}
else
{
if(document.getElementById(id).checked==false)
{
for(i=0;i<14;i++)
{
document.getElementById(fieldNames[i]).checked=false;
}
}
}
}
}
function changeF()
{
var i=0;
var fieldNames = new Array('keyf','rif','pubf','edf','equipf');
for(i=0;i<5;i++)
{
document.getElementById(fieldNames[i]).checked=true;
}
document.getElementById('all').checked=false;
}
function changeC()
{
var i=0;
var fieldNames = new Array('rac','intc','extc');
for(i=0;i<3;i++)
{
document.getElementById(fieldNames[i]).checked=true;
}
document.getElementById('all').checked=false;
}
function changeT()
{
var i=0;
var fieldNames = new Array('desct','prodt','appt','rest');
for(i=0;i<4;i++)
{
document.getElementById(fieldNames[i]).checked=true;
}
document.getElementById('all').checked=false;
}
function changeU()
{
var i=0;
var fieldNames = new Array('funu','locu');
for(i=0;i<2;i++)
{
document.getElementById(fieldNames[i]).checked=true;
}
document.getElementById('all').checked=false;
}
function GotoSearch()
{
strSearch = escape( document.searchform.search.value );
location.href = "searchresults.php?search=" + strSearch;
}
//-->
</script>
<script type="text/javascript">
<!--
startList = function()
{
if (document.all&&document.getElementById)
{
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++)
{
node = navRoot.childNodes[i];
if (node.nodeName=="LI")
{
node.onmouseover=function()
{
this.className+=" over";
}
node.onmouseout=function()
{
this.className=this.className.replace(" over", "");
}
}
}
}
}
window.onload=function()
{
startList();
}
-->
</script>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="form_elements_row_action" id="basic_layout">
<tr>
<td colspan="2">
<!-- InstanceBeginEditable name="content" -->
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="box" id="details" bgcolor="#FFFFFF">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="images/tabsilver.gif0" height="33" width="111" valign="bottom" align="center"><a href="newsearch.php"><span class="tab_menu">Basic</span></a></td>
<td background="images/tabsilver.gif0" width="111" valign="bottom" align="center" ><a href="clustersearch.php"><span class="tab_menu">Clusters</span> </a></td>
<td background="images/tabblue.gif0" width="111" valign="bottom" align="center" ><span class="tab_menu">Advanced</span></td>
<td background="images/tabsilver.gif0" width="111" valign="bottom" align="center" ><a href="advsearch_copy.php"><span class="tab_menu">Advanced(beta)</span></a></td>
<td width="111" valign="bottom"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="5" bgcolor="#580000"></td>
</tr>
<tr>
<td height="16" valign="top" bgcolor="#580000" class="font_topic_other"><br>
Search Profiles <span class="form_elements">(under construction)</span><br>
</td>
</tr>
<tr>
<td height="270" valign="top" bgcolor="#580000">
<form action=" " name="searchform" method="get" >
<table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF" class="searchBox">
<tr bgcolor="#CDAF95" class="submit">
<td width="23%"><div align="left"><span class="form_elements"><B>Faculty</B></span> <span class="form_elements"><a href="javascript:void(0)" class="form_elements" onClick="changeF()">(select all)</a></span> </div></td>
<td width="25%"><div align="left"><span class="form_elements"><B>Research Center & Groups</B></span> <span class="form_elements"><a href="javascript:void(0)" class="form_elements" onClick="changeC()">(select all)</a></span></div></td>
<td width="24%"><div align="left"><span class="form_elements"><B>Technology</B></span> <span class="form_elements"><a href="javascript:void(0)" class="form_elements" onClick="changeT()">(select all)</a></span></div></td>
<td width="28%"><div align="left"><span class="form_elements"><B>Facilities & Unique Equipment</B></span> <span class="form_elements"><a href="javascript:void(0)" class="form_elements" onClick="changeU()">(select all)</a></span></div></td>
</tr>
<tr class="form_elements">
<td class="form_elements"><div align="left">
<label for="keyf"><input name="keyf" type="checkbox" id="keyf" onClick="change(this.id);" value="true" checked></label>
Keywords</div></td>
<td class="form_elements"><div align="left">
<label for="rac"><input name="rac" type="checkbox" id="rac" onClick="change(this.id);" value="true" checked></label>
Research Activities </div></td>
<td class="form_elements"><div align="left">
<label for="desct"><input name="desct" type="checkbox" id="desct" onClick="change(this.id);" value="true" checked></label>
Abstract</div></td>
<td class="form_elements"><div align="left">
<label for="funu"><input name="funu" type="checkbox" id="funu" onClick="change(this.id);" value="true" checked></label>
Function</div></td>
</tr>
<tr class="form_elements">
<td class="form_elements"><div align="left">
<label for="rif"><input name="rif" type="checkbox" id="rif" onClick="change(this.id);" value="true" checked></label>
Research Interests </div></td>
<td class="form_elements"><div align="left">
<label for="intc"><input name="intc" type="checkbox" id="intc" onClick="change(this.id);" value="true" checked></label>
Members</div></td>
<td class="form_elements"><div align="left">
<label for="prodt"><input name="prodt" type="checkbox" id="prodt" onClick="change(this.id);" value="true" checked></label>
Problem</div></td>
<td class="form_elements"><div align="left">
<label for="locu"><input name="locu" type="checkbox" id="locu" onClick="change(this.id);" value="true" checked></label>
Location</div></td>
</tr>
<tr class="form_elements">
<td class="form_elements"><div align="left">
<label for="pubf"><input name="pubf" type="checkbox" id="pubf" onClick="change(this.id);" value="true" checked></label>
Publications</div></td>
<td class="form_elements"><div align="left">
<label for="extc"><input name="extc" type="checkbox" id="extc" onClick="change(this.id);" value="true" checked></label>
Associated Technology </div></td>
<td class="form_elements"><div align="left">
<label for="appt"><input name="appt" type="checkbox" id="appt" onClick="change(this.id);" value="true" checked></label>
Solution</div></td>
<td class="form_elements"><div align="left">
<label for="locu"><input name="locu" type="checkbox" id="locu" onclick="change(this.id);" value="true" checked="checked" /></label>
Availability</div></td>
</tr>
<tr class="form_elements">
<td><div align="left">
<label for="rif"><input name="rif" type="checkbox" id="rif" onclick="change(this.id);" value="true" checked="checked" /></label>
Year of Publication </div></td>
<td class="form_elements"><label for="extc"><input name="extc" type="checkbox" id="extc" onclick="change(this.id);" value="true" checked="checked" /></label>
About Us </td>
<td class="form_elements"><label for="appt"><input name="appt" type="checkbox" id="appt" onclick="change(this.id);" value="true" checked="checked" /></label>
Benefits</td>
<td class="form_elements"> </td>
</tr>
<tr class="form_elements">
<td><div align="left">
<label for="pubf"><input name="pubf" type="checkbox" id="pubf" onclick="change(this.id);" value="true" checked="checked" /></label>
Publication Category </div></td>
<td class="form_elements"><label for="extc"><input name="extc" type="checkbox" id="extc" onclick="change(this.id);" value="true" checked="checked" /></label>
Research Groups </td>
<td class="form_elements"><label for="appt"><input name="appt" type="checkbox" id="appt" onclick="change(this.id);" value="true" checked="checked" /></label>
Features
</td>
<td class="form_elements"> </td>
</tr>
<tr class="form_elements">
<td class="form_elements"><label for="edf"><input name="edf" type="checkbox" id="edf" onclick="change(this.id);" value="true" checked="checked" /></label>
Professional Preperation</td>
<td class="form_elements"> </td>
<td class="form_elements"><label for="rest"><input name="rest" type="checkbox" id="rest" onclick="change(this.id);" value="true" checked="checked" /></label>
Development Stage</td>
<td class="form_elements"> </td>
</tr>
<tr class="form_elements">
<td class="form_elements"><div align="left">
<label for="edf"><input name="edf" type="checkbox" id="edf" onClick="change(this.id);" value="true" checked></label>
Appointments</div></td>
<td class="form_elements"><div align="left"></div></td>
<td class="form_elements"><div align="left">
<label for="rest"><input name="rest" type="checkbox" id="rest" onclick="change(this.id);" value="true" checked="checked" /></label>
IP Status</div></td>
<td class="form_elements"><div align="left"></div></td>
</tr>
<tr class="form_elements">
<td class="form_elements"><label for="equipf"><input name="equipf" type="checkbox" id="equipf" onClick="change(this.id);" value="true" checked></label>
Activities</td>
<td class="form_elements"> </td>
<td><label for="rest"><input name="rest" type="checkbox" id="rest" onclick="change(this.id);" value="true" checked="checked" /></label>
UT Researchers </td>
<td class="form_elements"> </td>
</tr>
<tr class="form_elements">
<td class="form_elements"><label for="equipf"><input name="equipf" type="checkbox" id="equipf" onclick="change(this.id);" value="true" checked="checked" /></label>
News Articles </td>
<td class="form_elements"> </td>
<td> </td>
<td class="form_elements"> </td>
</tr>
<tr class="form_elements">
<td class="form_elements"><label for="equipf"><input name="equipf" type="checkbox" id="equipf" onclick="change(this.id);" value="true" checked="checked" /></label>
Support</td>
<td class="form_elements"> </td>
<td class="form_elements"> </td>
<td class="form_elements"> </td>
</tr>
<tr class="form_elements">
<td>
<label for="equipf"><input name="equipf" type="checkbox" id="equipf" onclick="change(this.id);" value="true" checked="checked" /></label>
Only Active Support</td><td class="form_elements"> </td>
<td class="form_elements"> </td>
<td class="form_elements"> </td>
</tr>
<tr bgcolor="#CDAF95">
<td colspan="4"><div align="center" class="form_elements">
<div align="center">
<label for="all"><input name="all" type="checkbox" id="all" value="true" checked onClick="change(this.id);"></label>
Search in Everything </div>
</div></td>
</tr>
<tr>
<td colspan="4"><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="form_elements">
<td colspan="2"><hr class="form_elements" width="95%"></td>
</tr>
<tr class="form_elements">
<td colspan="2"><table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
<tr bgcolor="#CDAF95" class="form_elements">
<td bgcolor="#CDAF95" class="form_elements"><strong>Technology Clusters </strong></td>
<td width="6" bgcolor="#FFFFFF"> </td>
<td width="427" bgcolor="#CDAF95"><span class="form_elements"><strong>Industry Clusters</strong></span> ( <a href="#" onClick="expandTree('tree1'); return false;"><span class="form_elements">Expand All</span></a> <a href="#" onClick="collapseTree('tree1'); return false;"> <span class="form_elements">Collapse All</span></a>)</td>
</tr>
<tr class="form_elements">
<td width="200"></td>
<td colspan="2"></td>
</tr>
<tr class="form_elements">
<td><label for="t1"><input name="t1" type="checkbox" id="t1" value="true" checked></label>
Advanced Energy Technologies </td>
<td> </td>
<td rowspan="6"><!-- **************************tree structure **************************-->
<ul class="mktree" id="tree1">
<li><label for="c1">
<input name="c1" type="checkbox" id="c1" value="true" checked>
Advanced Manufacturing</label>
<ul>
<li><label for="c2">
<input name="c2" type="checkbox" id="c2" value="true" checked></label>
Nanotechnology and Materials</li>
<li><label for="c3">
<input name="c3" type="checkbox" id="c3" value="true" checked></label>
MEMS Manufacturin</li>
<li><label for="c4">
<input name="c4" type="checkbox" id="c4" value="true" checked></label>
Automotive Manufacturing</li>
<li><label for="c17">
<input name="c17" type="checkbox" id="c17" value="true" checked></label>
Semiconductor Manufacturing</li>
</ul>
</li>
<li><label for="c5">
<input name="c5" type="checkbox" id="c5" value="true" checked></label>
Aerospace and Defense
<ul>
<li><label for="c6">
<input name="c6" type="checkbox" id="c6" value="true" checked></label>
Composite Advanced Materials</li>
</ul>
</li>
<li><label for="c7">
<input name="c7" type="checkbox" id="c7" value="true" checked></label>
Biotechnology and Life Science</li>
<li><label for="c8">
<input name="c8" type="checkbox" id="c8" value="true" checked></label>
Energy
<ul>
<li><label for="c9">
<input name="c9" type="checkbox" id="c9" value="true" checked></label>
Oil and Gas Production</li>
<li><label for="c10">
<input name="c10" type="checkbox" id="c10" value="true" checked></label>
Power Generation and Transportation</li>
<li><label for="c11">
<input name="c11" type="checkbox" id="c11" value="true" checked></label>
Manufactured Energy Systems</li>
</ul>
</li>
<li><label for="c12">
<input name="c12" type="checkbox" id="c12" value="true" checked></label>
Information and Computer Technology
<ul>
<li><label for="c13">
<input name="c13" type="checkbox" id="c13" value="true" checked></label>
Communication Equipment</li>
<li><label for="c14">
<input name="c14" type="checkbox" id="c14" value="true" checked></label>
Computing Equipment</li>
<li><label for="c15">
<input name="c15" type="checkbox" id="c15" value="true" checked></label>
Information Technology</li>
</ul>
</li>
<li><label for="c16">
<input name="c16" type="checkbox" id="c16" value="true" checked></label>
Petroleum Refining and Chemical Products</li>
</ul></td>
</tr>
<tr class="form_elements">
<td><label for="t2"><input name="t2" type="checkbox" id="t2" value="true" checked></label>
Biotechnology</td>
<td> </td>
</tr>
<tr class="form_elements">
<td><label for="t3"><input name="t3" type="checkbox" id="t3" value="true" checked></label>
MEMS Technologies </td>
<td> </td>
</tr>
<tr class="form_elements">
<td><label for="t4"><input name="t4" type="checkbox" id="t4" value="true" checked></label>
Nanotechnologies</td>
<td> </td>
</tr>
<tr class="form_elements">
<td><label for="t5"><input name="t5" type="checkbox" id="t5" value="true" checked></label>
Semiconductor Technologies </td>
<td> </td>
</tr>
<tr class="form_elements">
<td><label for="t6"><input name="t6" type="checkbox" id="t6" value="true" checked></label>
Software Technology/Wireless </td>
<td> </td>
</tr>
<tr class="form_elements">
<td colspan="3"><hr class="form_elements" width="95%"></td>
</tr>
</table></td>
</tr>
<tr class="form_elements">
<td width="23%"><div align="right">with all the words </div></td>
<td width="77%" bgcolor="#FFFFFF"><div align="left">
<label for="searchbox"><input name="search" id="searchbox" type="text" size="70"></label>
</div></td>
</tr>
<tr class="form_elements">
<td><div align="right">with any of the words </div></td>
<td bgcolor="#FFFFFF"><label for="searchbox2"><input name="search" id="searchbox2" type="text" size="70"></label></td>
</tr>
<tr class="form_elements">
<td><div align="right">with the phrase </div></td>
<td bgcolor="#FFFFFF"><label for="searchbox3"><input name="search" id="searchbox3" type="text" size="70"></label></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="4"><div align="center">
<input name="Submit" type="button" class="form_elements" value="Search" onClick="alert('Under Construction');">
</div></td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td height="19" valign="top" class="form_elements"> </td>
</tr>
<tr>
<td height="19" valign="top"><hr width="100%" class="form_elements"></td>
</tr>
</table>
<!-- InstanceEndEditable -->
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><!-- Page footer -->
<td align="center">
<p align="center"><img src="images/line.jpg" alt="" width="700" height="1"/></p>
<p>
<a href="http://www.uta.edu/collaborate" target="_blank" class="rsp">powering - The Partnership</a><br />
© 2010 <a href="http://www.txstate.edu/" target="www.txstate.edu">Texas State University-San Marcos</a> | Questions or Comments about this site? | Email: <a href="feedback.php">webmaster</a> <br /><br />
</p>
</td>
</tr>
</table>
</body>
</html>