=".$counter; if ($_GET["fStatusDate"]!="") $query0.=" AND (fValidFrom < '".$_GET["fStatusDate"]."' OR fValidFrom like '".$_GET["fStatusDate"]."%') "; } $query0.=" ORDER BY fOriginalIndex, fIndex"; $result0=mysql_query($query0, $db_id); if ($_GET["fGetValCase"]==1) { printf("\n"); printf("\n"); printf("\n", $_GET["fProgram"], $_GET["fKey"], $key1, $key2, $type, $min, $max); } if ($_GET["fGetValCase"]==1)//show only in edit mode $generalshowhide=''; else $generalshowhide='none'; printf("
Idx/Orig/Ctr | \n",$_GET["fGetValCase"], $generalshowhide); printf("Valid since | \n", $_GET["fGetValCase"], $generalshowhide); printf("Program | \n"); //printf("Key | \n"); printf("Key1 | \n"); printf("Key2 | \n"); printf("Value | \n"); printf("Type | \n"); printf("Min | \n", $_GET["fGetValCase"], $generalshowhide); printf("Max | \n", $_GET["fGetValCase"], $generalshowhide); printf("Description | \n", $_GET["fGetValCase"], $generalshowhide); if ($_GET["fGetValCase"]==1)//show only in edit mode printf("Action | \n"); printf("User | \n", $_GET["fGetValCase"], $generalshowhide); printf("||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
%s / %s / %s | \n", $_GET["fGetValCase"], $generalshowhide, $row0[0], $row0[12], $row0[6], $_GET["fGetValCase"], $row0[0], $row0[12]); //valid from if (strcmp('0000-00-00 00:00:00', $row0[1])==0) printf("%s | \n", $_GET["fGetValCase"], $generalshowhide, $row0[0], $row0[1]); else printf("%s | \n", $_GET["fGetValCase"], $generalshowhide, $row0[1]); //program printf("%s | \n", $row0[0], $row0[2]); //keys //printf("%s | \n", $row0[0], $row0[3]); printf("%s | \n", $row0[0], $row0[10]); printf("%s | \n", $row0[0], $row0[11]); //value printf("%s | \n", $row0[0], $row0[4]); //type printf("%s | \n", $row0[0], $row0[7]); //min printf("%s | \n", $_GET["fGetValCase"], $generalshowhide, $row0[0], $row0[8]); //max printf("%s | \n", $_GET["fGetValCase"], $generalshowhide, $row0[0], $row0[9]); //descripton printf("%s | \n", $_GET["fGetValCase"], $generalshowhide, $row0[0], $row0[5]); //action if ($_GET["fGetValCase"]==1)//show only in edit mode { if ($row0[6]==$counter) printf("\n", $row0[0], $row0[0]); else printf(" | \n", $row0[0]); } //user printf(" | %s | \n", $_GET["fGetValCase"], $generalshowhide, $row0[0], $row0[13]); printf("