Changeset 8533 for trunk/MagicSoft/Mars/datacenter/db
- Timestamp:
- 05/21/07 14:16:43 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/showplots-ds.php
r8463 r8533 44 44 $sequoff=""; 45 45 if (!empty($offpos)) 46 $sequoff=s ubstr($dataset, $offpos+13, $possource-($offpos+13));46 $sequoff=split(" ", trim(substr($dataset, $offpos+13, $possource-($offpos+13)))); 47 47 if (empty($offpos)) 48 48 $offpos=$possource; 49 $sequon=substr($dataset, $onpos+12, $offpos-($onpos+12)); 50 $sequences=split(" ", trim($sequon)); 49 $sequon=split(" ", trim(substr($dataset, $onpos+12, $offpos-($onpos+12)))); 50 $sequences=$sequon; 51 if (!empty($sequoff)) 52 $sequences=array_merge($sequences,$sequoff); 51 53 if ($seq!=0 && !in_array($seq, $sequences)) 52 54 $seq=0; … … 104 106 printf("</td>\n</tr>\n<tr>\n<td align='center'>\n"); 105 107 if (!empty($seq)) 108 { 109 if (in_array($seq, $sequon)) 110 printf("<font color='green'>\n"); 111 else 112 printf("<font color='red'>\n"); 106 113 printf("%s <img src='%s'>", $plot, $plot); 114 } 107 115 else 108 116 printf("You have to insert a dataset number in the first field.");
Note:
See TracChangeset
for help on using the changeset viewer.