-
Notifications
You must be signed in to change notification settings - Fork 2
/
firing_patterns.php
590 lines (578 loc) · 21.8 KB
/
firing_patterns.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
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
<?php
include ("permission_check.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Google Analytics Tracking -->
<?php include_once("analytics.php") ?>
<meta http-equiv="Content-Type" content="text/html" />
<script type="text/javascript" src="style/resolution.js"></script>
<link rel="stylesheet" href="function/menu_support_files/menu_main_style.css" type="text/css" />
<script src="jqGrid-4/js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="jqGrid-4/js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="jquery-ui-1.10.2.custom/js/jquery.jqGrid.src-custom.js" type="text/javascript"></script>
<script>
jQuery(document).ready(function()
{
$.ajax(
{
type: 'GET',
cache: false,
contentType: 'application/json; charset=utf-8',
url: 'load_matrix_session_markers.php',
success: function() {}
});
$.ajax(
{
type: 'GET',
cache: false,
contentType: 'application/json; charset=utf-8',
url: 'load_matrix_session_ephys.php',
success: function() {}
});
$.ajax(
{
type: 'GET',
cache: false,
contentType: 'application/json; charset=utf-8',
url: 'load_matrix_session_morphology.php',
success: function() {}
});
$.ajax(
{
type: 'GET',
cache: false,
contentType: 'application/json; charset=utf-8',
url: 'load_matrix_session_connectivity.php',
success: function() {}
});
$.ajax({
type: 'GET',
cache: false,
contentType: 'application/json; charset=utf-8',
url: 'load_matrix_session_firing.php',
success: function() {}
});
$.ajax({
type: 'GET',
cache: false,
contentType: 'application/json; charset=utf-8',
url: 'load_matrix_session_firing_parameter.php',
success: function() {}
});
$('div#menu_main_button_new_clr').css('display','block');
});
</script>
<?php
//$jsonStr = $_SESSION['firing'];
$jsonStr = $_SESSION['firingpattern'];
$jsonStrPar = $_SESSION['firingpatternparameter'];
if($_SESSION['check']=="no_reload")
$_SESSION['check']='reload';
require_once('class/class.type.php');
require_once('class/class.property.php');
require_once('class/class.evidencepropertyyperel.php');
require_once('class/class.temporary_result_neurons.php');
$width1='25%';
$width2='2%';
$research = "";
if(isset($_REQUEST['research']))
$research = $_REQUEST['research'];
$table_result ="";
if(isset($_REQUEST['table_result']))
$table_result = $_REQUEST['table_result'];
include ("function/icon.html");
// fp
// view firing pattern matrix for selected dropdown
if($_REQUEST['show_only'])
$indexFP = $_REQUEST['show_only'];
else
$indexFP = 0;
//fp ende
?>
<title>Firing Patterns Matrix</title>
<script type="text/javascript" src="style/resolution.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="jqGrid-4/css/ui-lightness/jquery-ui-1.10.3.custom.css" />
<link rel="stylesheet" type="text/css" media="screen" href="jqGrid-4/css/ui.jqgrid.css" />
<style>
#nGrid_PV,#nGrid_vGluT3,#nGrid_NG,#nGrid_RLN
{
border-right:medium solid #000099;
}
.frozen-div #nGrid_type {
height: 150px !important;
}
#ca3_subregion,#dg_subregion,#ec_subregion
{
color:#000099 !important;
}
#ca2_subregion,#ca1_subregion,#sub_subregion
{
color:#000099 !important;
}
.ui-jqgrid tr.jqgrow td
{
height:18px !important;
}
.highlighted{
border-right: solid 1px Chartreuse !important;
border-left: solid 1px Chartreuse !important;
border-bottom:solid 1px Chartreuse !important;
}
.highlighted_top{
border: solid 1px Chartreuse !important;
}
.expand{
top:85px
}
.rotate
{
-webkit-transform: rotate(-90deg); /* Safari 3.1+, Chrome */
-moz-transform: rotate(-90deg); /* Firefox 3.5+ */
-o-transform: rotate(-90deg); /* Opera starting with 10.50 */
/* Internet Explorer: */
-ms-transform: rotate(-90deg);
top: 55px; !important;
left:3px;
font-size:12px;
font-weight:bold;
padding:0 0 0 5.5px;
font-family: Lucida Grande,Lucida Sans,Arial,sans-serif;
}
.rotateIE9
{
-webkit-transform: rotate(-90deg); /* Safari 3.1+, Chrome */
-moz-transform: rotate(-90deg); /* Firefox 3.5+ */
-o-transform: rotate(-90deg); /* Opera starting with 10.50 */
/* Internet Explorer: */
-ms-transform: rotate(-90deg);
top:25px;
left:3px;
font-size:12px;
font-weight:bold;
padding:0 0 0 4px;
font:Verdana;
}
#jqgh_nGrid_NeuritePattern {
text-align: right;
padding-left: 4px;
}
.patternHeight {
top: 48.5px !important;
}
.title_area_marker {
position:absolute; top: 80px; left: 50px;
width: 700px;
border:none;
}
.title_area_par {
position:absolute; top: 80px; left: 635px;
width: 500px;
border:none;
}
.title_area_par_tab {
position:absolute; top: 195px; left: 630px;
width: 500px;
border:none;
}
.expandChrome {
top: 93px !important;
}
.expandOther {
top: 105px !important;
}
.expandIE9 {
top: 85px !important;
}
.expandIEOther {
top: 97px !important;
}
.ui-jqgrid-hdiv {
overflow-y: hidden !important;
}
.legendClass{
height:80%;
width:5%;
border-top:1px solid white;
border-bottom:1px solid white;
border-right:6px solid white;
border-left:6px solid white;
}
</style>
<script language="javascript">
function show_only(link)
{
var value=link[link.selectedIndex].value;
var destination_page = "firing_patterns.php";
location.href = destination_page+"?show_only="+value;
}
function OpenInNewTab(aEle)
{
//var win = window.open(aEle.href,'_self'); // stay in same tab
var win = window.open(aEle.href,'_blank'); // open in new tab
win.focus();
}
function ctr(select_nick_name2, color, select_nick_name_check)
{
if (document.getElementById(select_nick_name_check).checked == false)
{
document.getElementById(select_nick_name2).bgColor = "#FFFFFF";
}
else if (document.getElementById(select_nick_name_check).checked == true)
{
document.getElementById(select_nick_name2).bgColor = "#EBF283";
}
}
function getIEVersion()
{
var rv = -1; // Return value assumes failure.
if (navigator.appName == 'Microsoft Internet Explorer')
{
var ua = navigator.userAgent;
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
if (re.test(ua) != null)
{
rv = parseFloat( RegExp.$1 );
}
}
return rv;
}
function checkVersion() {
var ver = getIEVersion();
return ver;
}
checkVersion();
</script>
<?php
if ($_SESSION['perm'] == NULL)
{
$_SESSION['perm'] = 1;
?>
<script>
window.onload = function()
{
if (!window.location.search)
{
setTimeout("window.location+='?refreshed';", 0);
}
}
</script>
<?php
}
?>
<script type="text/javascript">
$(function()
{
var dataStr = <?php echo $jsonStr?>;
function Merger(gridName,cellName)
{
var mya = $("#" + gridName + "").getDataIDs();
var rowCount = mya.length;
var rowSpanCount = 1;
var countRows = 0;
var lastRowDelete =0;
var firstElement = 0;
for(var i=0;i<=rowCount;i=i+countRows)
{
var before = $("#" + gridName + "").jqGrid('getRowData', mya[i]); // Fetch me the data for the first row
for (j = i+1; j <=rowCount; j++)
{
var end = $("#" + gridName + "").jqGrid('getRowData', mya[j]); // Fetch me the data for the next row
if (before[cellName] == end[cellName]) // If the previous row and the next row data are the same
{
$("#" + gridName + "").setCell(mya[j], cellName,' ');
$("tr#"+j+" td#type"+j).css("border-bottom","none");
if(rowSpanCount > 1) // For the first row Don't delete the cell and its contents
{
$("tr#"+j+" td#type"+j).css("border-bottom","none");
}
else
{
firstElement = j;
}
rowSpanCount++;
}
else
{
$("tr#"+j).css("border-bottom", "2px red");
countRows = rowSpanCount;
rowSpanCount = 1;
break;
}
}
}
}
var research = "<?php echo $research?>";
var table = "<?php if(isset($_REQUEST['table_result'])){echo $_REQUEST['table_result'];}?>";
$("#nGrid").jqGrid(
{
datatype: "jsonstring",
datastr: dataStr,
mtype: 'GET',
postData: {
researchVar: research,
table_result : table
},
colNames:['','Neuron Type','<a href="neuron_by_pattern.php?pattern=ASP." title="adapting spiking" onClick="OpenInNewTab(this);">ASP.</a>','<a title="adapting spiking followed by (slower) adapting spiking" href="neuron_by_pattern.php?pattern=ASP.ASP." onClick="OpenInNewTab(this);">ASP.ASP.</a>','<a title="non-adapting spiking preceded by adapting spiking" href="neuron_by_pattern.php?pattern=ASP.NASP" onClick="OpenInNewTab(this);">ASP.NASP</a>','<a title="silence preceded by adapting spiking" href="neuron_by_pattern.php?pattern=ASP.SLN" onClick="OpenInNewTab(this);">ASP.SLN</a>','<a title="delayed spiking" href="neuron_by_pattern.php?pattern=D." onClick="OpenInNewTab(this);">D.</a>','<a title="delayed adapting spiking" href="neuron_by_pattern.php?pattern=D.ASP." onClick="OpenInNewTab(this);">D.ASP.</a>','<a title="non-adapting spiking preceded by delayed fast-adapting spiking" href="neuron_by_pattern.php?pattern=D.RASP.NASP" onClick="OpenInNewTab(this);">D.RASP.NASP</a>','<a title="delayed non-adapting spiking" href="neuron_by_pattern.php?pattern=D.NASP" onClick="OpenInNewTab(this);">D.NASP</a>','<a title="delayed persistent stuttering" href="neuron_by_pattern.php?pattern=D.PSTUT" onClick="OpenInNewTab(this);">D.PSTUT</a>','<a title="non-adapting spiking preceded by delayed transient slow-wave bursting" href="neuron_by_pattern.php?pattern=D.TSWB.NASP" onClick="OpenInNewTab(this);">D.TSWB.NASP</a>','<a title="fast-adapting spiking" href="neuron_by_pattern.php?pattern=RASP." onClick="OpenInNewTab(this);">RASP.</a>','<a title="fast-adapting spiking followed by adapting spiking" href="neuron_by_pattern.php?pattern=RASP.ASP." onClick="OpenInNewTab(this);">RASP.ASP.</a>','<a title="non-adapting spiking preceded by fast-adapting spiking" href="neuron_by_pattern.php?pattern=RASP.NASP" onClick="OpenInNewTab(this);">RASP.NASP</a>','<a title="silence preceded by fast-adapting spiking" href="neuron_by_pattern.php?pattern=RASP.SLN" onClick="OpenInNewTab(this);">RASP.SLN</a>','<a title="non-adapting spiking" href="neuron_by_pattern.php?pattern=NASP" onClick="OpenInNewTab(this);">NASP</a>','<a title="persistent stuttering" href="neuron_by_pattern.php?pattern=PSTUT" onClick="OpenInNewTab(this);">PSTUT</a>','<a title="persistent slow-wave bursting" href="neuron_by_pattern.php?pattern=PSWB" onClick="OpenInNewTab(this);">PSWB</a>','<a title="transient stuttering" href="neuron_by_pattern.php?pattern=TSTUT." onClick="OpenInNewTab(this);">TSTUT.</a>','<a title="transient stuttering followed by adapting spiking" href="neuron_by_pattern.php?pattern=TSTUT.ASP." onClick="OpenInNewTab(this);">TSTUT.ASP.</a>','<a title="non-adapting spiking preceded by transient stuttering" href="neuron_by_pattern.php?pattern=TSTUT.NASP" onClick="OpenInNewTab(this);">TSTUT.NASP</a>','<a title="silence preceded by transient stuttering" href="neuron_by_pattern.php?pattern=TSTUT.SLN" onClick="OpenInNewTab(this);">TSTUT.SLN</a>','<a title="non-adapting spiking preceded by transient slow-wave bursting" href="neuron_by_pattern.php?pattern=TSWB.NASP" onClick="OpenInNewTab(this);">TSWB.NASP</a>','<a title="silence preceded by transient slow-wave bursting" href="neuron_by_pattern.php?pattern=TSWB.SLN" onClick="OpenInNewTab(this);">TSWB.SLN</a>'],
colModel :
[
{name:'type', index:'type', width:50,sortable:false,cellattr: function (rowId, tv, rawObject, cm, rdata) {return 'id=\'type' + rowId + "\'";}},
{name:'NeuronType', index:'nickname', width:150,sortable:false},
{name:'ASP', index:'ASP', width:15,height:50,search:false,sortable:false},
{name:'ASPASP', index:'ASPASP', width:15,height:50,search:false,sortable:false},
{name:'ASPNASP', index:'ASPNASP', width:15,height:50,search:false,sortable:false},
{name:'ASPSLN', index:'ASPSLN', width:15,height:50,search:false,sortable:false},
{name:'D', index:'D', width:15,height:50,search:false,sortable:false},
{name:'DASP', index:'DASP', width:15,height:50,search:false,sortable:false},
{name:'DRASPNASP', index:'DRASPNASP', width:15,height:50,search:false,sortable:false},
{name:'DNASP', index:'DNASP', width:15,height:50,search:false,sortable:false},
{name:'DPSTUT', index:'DPSTUT', width:15,height:50,search:false,sortable:false},
{name:'DTSWBNASP', index:'DTSWBNASP', width:15,height:50,search:false,sortable:false},
{name:'RASP', index:'RASP', width:15,height:50,search:false,sortable:false},
{name:'RASPASP', index:'RASPASP', width:15,height:50,search:false,sortable:false},
{name:'RASPNASP', index:'RASPNASP', width:15,height:50,search:false,sortable:false},
{name:'RASPSLN', index:'RASPSLN', width:15,height:50,search:false,sortable:false},
{name:'NASP', index:'NASP', width:15,height:50,search:false,sortable:false},
{name:'PSTUT', index:'PSTUT', width:15,height:50,search:false,sortable:false},
{name:'PSWB', index:'PSWB', width:15,height:50,search:false,sortable:false},
{name:'TSTUT', index:'TSTUT', width:15,height:50,search:false,sortable:false},
{name:'TSTUTASP', index:'TSTUTASP', width:15,height:50,search:false,sortable:false},
{name:'TSTUTNASP', index:'TSTUTNASP', width:15,height:50,search:false,sortable:false},
{name:'TSTUTSLN', index:'TSTUTSLN', width:15,height:50,search:false,sortable:false},
{name:'TSWBNASP', index:'TSWBNASP', width:15,height:50,search:false,sortable:false},
{name:'TSWBSLN', index:'TSWBSLN', width:15,height:50,search:false,sortable:false}
],
rowNum: 125,
rowList:[125],
viewrecords: true,
gridview: true,
jsonReader:
{
page: "page",
total: "total",
records: "records",
root: "rows",
repeatitems: true,
onSelectRow: function() {return false;},
cell: "cell",
id: "invid"
},
scrollerbar: false,
height: "402",
width: "580",
shrinkToFit: true,
gridComplete: function ()
{
var gridName = "nGrid"; // Access the grid Name
Merger(gridName,"type");
// HideShowColumns();
}
});
// fp
var indexFP=<?php echo $indexFP?>;
var dataStrPHP = <?php echo $jsonStrPar?>;
var objJson={};
// only get firing pattern matrix for selected dropdown
objJson["page"] = 0;
objJson["total"] = 0;
objJson["records"] = null;
objJson["rows"] = dataStrPHP.rows[indexFP].data;
var dataStr=JSON.stringify(objJson);
var value=dataStrPHP.header[indexFP];
var columnNames=['','Neuron Type'];
var columnHeader=[
{name:'type', index:'type', width:50,sortable:false,frozen: true,cellattr: function (rowId, tv, rawObject, cm, rdata) {
return 'id=\'type' + rowId + "\'";
} },
{name:'Neuron type', index:'nickname', width:150,sortable:false,frozen: true},
];
for( var index=0;index<value.length;index++){
var headers={};
headers["name"]=index;
headers["index"]=index;
headers["width"]=100;
headers["height"]=150;
headers["search"]=false;
headers["sortable"]=false;
columnNames.push(value[index]);
columnHeader.push(headers);
}
$("#nGridPar").jqGrid({
datatype: "jsonstring",
datastr: dataStr,
colNames:columnNames,
colModel :columnHeader,
rowNum:122,
rowList:[122],
viewrecords: true,
gridview: true,
jsonReader : {
page: "page",
total: "total",
records: "records",
root:"rows",
repeatitems: true,
onSelectRow: function() {
return false;
},
cell:"cell",
id: "invid"
},
scrollerbar:true,
height:"402",
width: "580",
shrinkToFit: false,
gridComplete: function () {
var gridName = "nGridPar"; // Access the grid Name
Merger(gridName,"type");
}
});
for(index=0;index<value.length;index++){
$("#jqgh_nGridPar_"+index).mouseover(function(e) {
$(this).addClass('header_highlight');
});
$("#jqgh_nGridPar_"+index).mouseout(function(e) {
$(this).removeClass('header_highlight');
});
}
jQuery("#nGridPar").jqGrid("setFrozenColumns");
//fp end
if(checkVersion()=="9")
{
var myGrid = $('#nGrid');
var colModelVal = $("#nGrid").jqGrid('getGridParam','colModel');
var colModelName = "";
for(var i=2;i<25;i++)
{
colModelName = "#jqgh_nGrid_"+colModelVal[i].name;
$(colModelName).addClass("rotateIE9");
}
}
else
{
var myGrid = $('#nGrid');
var colModelVal = $("#nGrid").jqGrid('getGridParam','colModel');
var colModelName = "";
var htmlAttri = "top: 105px !important";
for(var i=2;i<25;i++)
{
colModelName = "#jqgh_nGrid_"+colModelVal[i].name;
$(colModelName).addClass("rotate");
}
//var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
//var is_ie = navigator.userAgent.toLowerCase().indexOf('msie') > -1;
//var is_ietrident = navigator.userAgent.toLowerCase().indexOf('trident') > -1;
//var is_ieedge = navigator.userAgent.toLowerCase().indexOf('edge') > -1;
}
$("#nGrid_TSTUTNASP").css("height","120");
$("#nGrid_TSTUTSLN").css("height","120");
var cm = $("#nGrid").jqGrid('getGridParam', 'colModel');
$("#nGrid").mouseover(function(e)
{
var count = $("#nGrid").jqGrid('getGridParam', 'records') + 1;
var $td = $(e.target).closest('td'), $tr = $td.closest('tr.jqgrow'), rowId = $tr.attr('id');
if (rowId)
{
var ci = $.jgrid.getCellIndex($td[0]); // works mostly as $td[0].cellIndex
$row = "#"+rowId+" td";
$($row).addClass('highlighted_top');
}
});
$("#nGrid").mouseout(function(e)
{
var count = $("#nGrid").jqGrid('getGridParam', 'records') + 1;
var $td = $(e.target).closest('td'), $tr = $td.closest('tr.jqgrow'), rowId = $tr.attr('id'), ci;
if (rowId)
{
ci = $.jgrid.getCellIndex($td[0]); // works mostly as $td[0].cellIndex
$row = "#"+rowId+" td";
$($row).removeClass('highlighted_top');
}
});
});
</script>
</head>
<body>
<!-- COPY IN ALL PAGES -->
<?php
include ("function/title.php");
include ("function/menu_main.php");
?>
<div class="title_area_marker">
<font class="font1">Browse Firing Patterns Matrix </font>
</div>
<div class="table_position">
<table border="0" cellspacing="0" cellpadding="0" class="tabellauno">
<tr>
<td>
<table id="nGrid"></table>
<div id="pager"></div>
</td>
</tr>
</table>
<table width="50%" border="0" cellspacing="0" style="border-width:10px; border-color:white">
<tr>
<td width="10%"><font class='font5'><strong>Legend:</strong></font></td>
<td width="50%"><font class='font5'>colored # indicates number of pattern occurrences in reference(s)</font></td>
<td><font class='font5'> </font></td>
</tr>
<tr>
<td width="10%"><font class='font5' ><strong></strong></font></td>
<td width="50%"><font face="Verdana, Arial, Helvetica, sans-serif" color="#339900" size="2"> +/green: </font> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Excitatory</font> <font face="Verdana, Arial, Helvetica, sans-serif" color="#CC0000" size="2"> -/red: </font> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Inhibitory</font></td>
</tr>
</table>
<!-- <table width="50%" border="0" cellspacing="0" style="border-width:10px; border-color:white">
<tr>
<td><font class='font5' style="width=20%;"><strong>Legend:</strong></font></td>
<td><font class='font5' style="width=40%"># of pattern occurences in reference(s)</font></td>
<td bgcolor="#FF8C00" class='legendClass'><font color="#FF8C00"> <font size='2' color='white'> 1</font></font></td>
<td style="height:100%; width:5%;"><font class='font5'>1</font></td>
<td bgcolor="#0000FF" class='legendClass'><font color="#0000FF"> <font size='2' color='white'> 2</font></font></td>
<td style="height:100%; width:5%;"><font class='font5'>2</font></td>
<td bgcolor="#7A5230" class='legendClass'><font color="#7A5230"><font size='2' color='white'> 3</font> </font></td>
<td style="height:100%; width:5%;"><font class='font5'>3</font></td>
<td bgcolor="#808080" class='legendClass'><font color="#808080"><font size='2' color='white'> 4</font> </font></td>
<td style="height:100%; width:5%;"><font class='font5'>4</font></td>
</tr>
</table>
--></div>
<div class="title_area_par">
<form id="myform">
<font class="font1"> Browse Firing Pattern Parameters Matrix </font>
</br>
</br>
</br>
<span style="color: rgb(0, 0, 153);">Firing Pattern:</span>
<?php
print ("<select name='check1' onChange=\"show_only(this)\">");
$hippo = array("ASP.", "ASP.ASP.", "ASP.NASP", "ASP.SLN", "D.", "D.ASP.", "D.RASP.NASP", "D.NASP", "D.PSTUT", "D.TSWB.NASP", "RASP.", "RASP.ASP.", "RASP.NASP", "RASP.SLN", "NASP", "PSTUT", "PSWB", "TSTUT.", "TSTUT.ASP.", "TSTUT.NASP", "TSTUT.SLN", "TSWB.NASP", "TSWB.SLN");
if($indexFP!=0){
print("<option value='".$indexFP."'>".$hippo[$indexFP]."</option>");
}
for($i=0;$i<count($hippo);$i++){
print("<option value='".$i."'>".$hippo[$i]."</option>");
}
?>
</select>
</form>
</div>
<div class="title_area_par_tab">
<table border="0" cellspacing="0" cellpadding="0" class="tabellaunopar">
<tr>
<td>
<table id="nGridPar"></table>
<div id="pager"></div>
</td>
</tr>
</table>
<!-- <table width="100%" border="0" cellspacing="0" style="border-width:10px; border-color:white">
<tr>
<td width="10%"><font class='font5' ><strong>Legend:</strong></font></td>
<td width="20%"><font face="Verdana, Arial, Helvetica, sans-serif" color="#339900" size="2"> +/green: </font> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Excitatory</font></td>
<td width="20%"><font face="Verdana, Arial, Helvetica, sans-serif" color="#CC0000" size="2"> -/red: </font> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Inhibitory</font></td>
</tr>
</table>
--></div>
</body>
</html>