Show URIservices.php syntax highlighted
<?php
if(empty($SITEDEF_H)){require('SITEDEF.php');}
if(empty($PARAM_H)){require('getPARAM.php');}
require('SSI_GDBprep.php');
virtual("${CGIPATH}SSI_GDBgui.pl/TWO_COLUMN_HEADER/" . $SSI_QUERYSTRING);
?>
<STYLE TYPE="text/css">
.req_param {color:#336666; background:yellow; font:bold 1em monotype;}
.opt_param {color:#336666; background:lightgrey; font:oblique 1em monotype;}
DIV#abstract {width:95%;}
DIV#abstract P {font:100% monospace;}
DIV#sidebar_param_values {float:right; margin:5px -1px 2px 5px; width:33%; border:2px solid #336666; background:#CCCC99;}
DIV#sidebar_param_values H1 {text-align:center; padding:5px; margin:0px 0px 2px 0px; background:#999966; color:#FFFFFF; font:bold 100% stencil,cursive;}
DIV#sidebar_param_values H2 {margin:0px 2px 2px 10px; font:bold 1em monotype;}
DIV#sidebar_param_values H3 {margin:0px 2px 2px 20px; font:bold .75em sans-serif;}
DIV#sidebar_param_values P {margin:0px 2px 2px 20px; font:.75em sans-serif;}
DIV#sidebar_param_values TABLE {margin:0px 2px 20px 30px; font:.75em sans-serif;}
DIV#sidebar_param_values TABLE TD.value {width:50px;}
DIV#sidebar_param_values TABLE TD {padding:2px 2px 2px 2px; border-left:1px dashed maroon; border-right:1px dashed maroon; vertical-align:top; text-align:center;}
DIV#methods {text-align:justify;}
DIV#methods H2 {padding:1px 5px; border:1px solid maroon; margin-bottom:2px; margin-right:34%; background:#336666; color:#FFFFFF; text-align:left; font:bold 1em stencil,cursive;}
DIV#methods H3 {padding:1px 5px; border:1px solid maroon; margin-bottom:2px; margin-right:34%; color:#FFFFFF; text-align:center; font:bold 1em serif;}
DIV#methods P {margin-top:2px; margin-left:25px;}
</STYLE>
<DIV ID="mainWLS">
<DIV ID='abstract'>
<P>Linking to pages on the AtGDB website is both encouraged and appreciated. Described
below are accepted methods for forming URIs to link to a variety of AtGDB content.
See the "listing of parameter values" sidebar for a description of values for any CGI
parameters found in these examples. Required parameters are shown in
<SPAN CLASS='req_param'>yellow</SPAN>. Optional parameters are shown in
<SPAN CLASS='opt_param'>grey</SPAN>.
</P>
</DIV>
<DIV ID='sidebar_param_values'>
<H1>Listing of Parameter Values</H1>
<H2>chr</H2>
<P CLASS='param_desc'>The chromosome</P>
<H3>value(s)</H3>
<TABLE CLASS='param_values'>
<TR><TD CLASS='value'>(1-5)</TD><TD>Chromosome 1 thru 5</TD></TR>
</TABLE>
<H2>dbid</H2>
<P CLASS='param_desc'>The genome assembly version</P>
<H3>value(s)</H3>
<TABLE CLASS='param_values'>
<?php
for($x=0;$x<sizeof($DBver);$x++){
echo " <TR><TD CLASS='value'>${x}</TD><TD>" . $DBver[$x][DBtag] . "</TD></TR>";
}
?>
</TABLE>
<H2>id</H2>
<P CLASS='param_desc'>The query identifier for a search</P>
<H3>value(s)</H3>
<TABLE CLASS='param_values'>
<TR><TD CLASS='value'><I>Identifier</I></TD><TD>Any sequence identifier such as a gi number
or a gene model name. Usage is dependent on context.</TD></TR>
</TABLE>
<H2>l_pos</H2>
<P CLASS='param_desc'>The left base boundary of a chromosome region. Requires parameter chr.</P>
<H3>value(s)</H3>
<TABLE CLASS='param_values'>
<TR><TD CLASS='value'><I>any number</I></TD><TD>Any valid base number for the chromosome represented
by parameter 'chr'</TD></TR>
</TABLE>
<H2>r_pos</H2>
<P CLASS='param_desc'>The right base boundary of a chromosome region. Requires parameter chr.</P>
<H3>value(s)</H3>
<TABLE CLASS='param_values'>
<TR><TD CLASS='value'><I>any number</I></TD><TD>Any valid base number for the chromosome represented
by parameter 'chr'</TD></TR>
</TABLE>
<!--
<H2>sMETHOD</H2>
<P CLASS='param_desc'>The search method. Requires parameter searchSTR.</P>
<H3>value(s)</H3>
<TABLE CLASS='param_values'>
<TR><TD CLASS='value'>quick</TD><TD>Heuristic search based on identifier format</TD></TR>
<TR><TD CLASS='value'>GBank</TD><TD>Search GenBank annotation records only (uses gene model names e.g. At2g42240)</TD></TR>
<TR><TD CLASS='value'>ATcdna</TD><TD>Search cDNA records only (uses gi number of cDNA e.g. 28207153)</TD></TR>
<TR><TD CLASS='value'>ATest</TD><TD>Search EST records only (uses gi number of EST e.g. 40787620)</TD></TR>
</TABLE>
-->
</DIV>
<DIV ID='methods'>
<H2>Linking to Genomic Context Regions</H2>
<H3><A TARGET='_blank' HREF=<?php echo "'${CGIPATH}findRegion.pl?dbid=0&id=At2g42240'"; ?>>
<?php echo "http://www.plantgdb.org${CGIPATH}findRegion.pl?"; ?><BR>
<SPAN CLASS='req_param'>id</SPAN>=At2g42240&<SPAN CLASS='opt_param'>dbid</SPAN>=0</A></H3>
<P CLASS='link_description'>This URI directs to the genome context region containing
the sequence or annotation identified in the required searchSTR parameter. The
optional dbid parameter allows for the creation of URIs directed to previous
(alternative) genome assembly versions.
</P>
<H3><A TARGET='_blank' HREF=<?php echo "'${CGIPATH}getRegion.pl?dbid=0&chr=2&l_pos=17603963&r_pos=17606215'"; ?>>
<?php echo "http://www.plantgdb.org${CGIPATH}getRegion.pl?"; ?><BR>
<SPAN CLASS='req_param'>chr</SPAN>=2&<SPAN CLASS='req_param'>l_pos</SPAN>=17603963&<SPAN CLASS='req_param'>r_pos</SPAN>=17606215&<SPAN CLASS='opt_param'>dbid</SPAN>=0</A></H3>
<P CLASS='link_description'>This URI directs to the genome context region contained
between the start and end parameter values. The optional dbid parameter allows for
the creation of URIs directed to regions of previous (alternative) genome assembly
versions.
</P>
<H2>Linking to Data Source Records<BR>(Annotations, ESTs, cDNAs, ...)</H2>
<H3><A TARGET='_blank' HREF=<?php echo "'${CGIPATH}findRecord.pl?dbid=0&id=At2g42240'"; ?>>
<?php echo "http://www.plantgdb.org${CGIPATH}findRecord.pl?"; ?><BR>
<SPAN CLASS='req_param'>id</SPAN>=At2g42240&<SPAN CLASS='opt_param'>dbid</SPAN>=0</A></H3>
<P CLASS='link_description'>This URI directs to the record page for an individual
data source. On the record page, you will find useful information and links relevant
to this data object as well as the output of various pre-run utilities (such as the
GeneSeqer spliced alignment of an expressed sequence data object with the genome)
The optional dbid parameter allows for the creation of URIs directed to archival records
from previous genome assembly versions.
</P>
</DIV>
</DIV>
<?php
require('SSI_GDBprep.php');
virtual("${CGIPATH}SSI_GDBgui.pl/STANDARD_FOOTER/" . $SSI_QUERYSTRING);
?>
See more files for this project here