=".$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); } printf("
Index / Orig / Counter | \n"); printf("Valid since | \n"); printf("Program | \n"); //printf("Key | \n"); printf("Key1 | \n"); printf("Key2 | \n"); printf("Value | \n"); printf("Type | \n"); if ($_GET["fGetValCase"]==1)//show only in edit mode printf("Description | \n", $_GET["fGetValCase"]); else printf(" \n", $_GET["fGetValCase"]); if ($_GET["fGetValCase"]==1)//show only in edit mode printf("Action | \n"); printf("Min | \n"); printf("Max | \n"); printf("||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
%s / %s / %s | \n", $row0[0], $row0[12], $row0[6], $_GET["fGetValCase"], $row0[0], $row0[12]); if (strcmp('0000-00-00 00:00:00', $row0[1])==0) printf("%s | \n", $row0[0], $row0[1]); else printf("%s | \n", $row0[1]); printf("%s | \n", $row0[0], $row0[2]); //printf("%s | \n", $row0[0], $row0[3]); printf("%s | \n", $row0[0], $row0[10]); printf("%s | \n", $row0[0], $row0[11]); printf("%s | \n", $row0[0], $row0[4]); printf("%s | \n", $row0[0], $row0[7]); if ($_GET["fGetValCase"]==1)//show only in edit mode printf("%s | \n", $_GET["fGetValCase"], $row0[0], $row0[5]); else printf(" \n", $_GET["fGetValCase"], $row0[0], $row0[5]); if ($_GET["fGetValCase"]==1)//show only in edit mode { if ($row0[6]==$counter) printf("\n", $row0[0], $row0[0]); else printf(" | \n", $row0[0]); } printf(" | %s | \n", $row0[0], $row0[8]); printf("%s | \n", $row0[0], $row0[9]); printf("