Ignore:
Timestamp:
06/22/09 18:40:48 (16 years ago)
Author:
aparavac
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/showplots.php

    r9187 r9466  
    9292PrintHomeHelp();
    9393printf("<td align='center'>\n");
     94if (!empty($seq))
     95    printf("<input type='submit' value='<< %d Prev Plot' name='prev'>\n", $prev);
    9496printf("<input type='text' name='seq' size='10' maxlength='10' value='%s'>\n", $seq);
    9597PrintType2PullDown($type2);
    9698printf("<input type='text' name='tabnum' size='2' maxlenght='2' value='%s'>\n", $tabnum);
    97 printf("<input type='submit' value='Show Plot'><br>\n");
     99printf("<input type='submit' value='Show Plot'>\n");
     100if (!empty($seq))
     101    printf("<input type='submit' value='Next Plot %d >>' name='next'>\n", $next);
     102
     103printf("</td>\n</tr>\n<tr>\n<td align='center' colspan='2'>\n");
    98104if (!empty($seq))
    99105{
    100     printf("<input type='submit' value='<< %d Prev Plot' name='prev'>\n", $prev);
    101     printf("%s \n", $plot);
    102     printf("<input type='submit' value='Next Plot %d >>' name='next'>\n", $next);
     106    printf("<div onmouseover=\"this.innerHTML='%s'\" onmouseout=\"this.innerHTML='%s'\"> %s </div>", getinfofromdb($seq), $plot, $plot);
     107    printf("<img src='%s'>", $plot);
    103108}
    104 printf("</td>\n</tr>\n<tr>\n<td align='center' colspan='2'>\n");
    105 if (!empty($seq))
    106     printf("<img src='%s'>", $plot);
    107109else
    108110    printf("You have to insert a sequence number into the first field.");
Note: See TracChangeset for help on using the changeset viewer.