version 1.8, 2011/12/21 09:33:05 |
version 1.9, 2012/02/02 07:41:05 |
|
|
} |
} |
print "\n"; |
print "\n"; |
|
|
# fetch jpeg |
# fetch zayavki_ |
db_fetch(3); |
db_fetch(3); |
|
|
print BOLD WHITE ON_BLUE "jpeg queue". RESET . " ($#numcard pcs.) :\n"; |
print BOLD WHITE ON_BLUE "zayavki_ queue". RESET . " ($#numcard pcs.) :\n"; |
$i = 0; |
$i = 0; |
while( ($numcard[$i]) ) |
while( ($numcard[$i]) ) |
{ |
{ |
|
|
} |
} |
print "\n"; |
print "\n"; |
|
|
|
# fetch proba_ |
|
db_fetch(4); |
|
|
|
print BOLD WHITE ON_BLUE "proba_ queue". RESET . " ($#numcard pcs.) :\n"; |
|
$i = 0; |
|
while( ($numcard[$i]) ) |
|
{ |
|
print "$numcard[$i]\t[ executed $time[$i], priority=$pri[$i], file=$path[$i] (size=$size[$i]) ]\n"; |
|
$i++; |
|
$total++; |
|
} |
|
print "\n"; |
|
|
|
|
# print summary information |
# print summary information |
print BOLD WHITE . "Total: " . RESET . "$total files in queue.\n"; |
print BOLD WHITE . "Total: " . RESET . "$total files in queue.\n"; |
|
|
|
|
$path[$i] = substr($path[$i], 21) if ($type_file == 0); #zayavki |
$path[$i] = substr($path[$i], 21) if ($type_file == 0); #zayavki |
$path[$i] = substr($path[$i], 19) if ($type_file == 1); #proba |
$path[$i] = substr($path[$i], 19) if ($type_file == 1); #proba |
$path[$i] = substr($path[$i], 16) if ($type_file == 2); #TT |
$path[$i] = substr($path[$i], 16) if ($type_file == 2); #TT |
$path[$i] = substr($path[$i], 18) if ($type_file == 2); #jpeg |
$path[$i] = substr($path[$i], 22) if ($type_file == 3); #zayavki_ |
|
$path[$i] = substr($path[$i], 19) if ($type_file == 4); #proba_ |
|
|
# make local file path |
# make local file path |
$searchpath =~ tr/\\/\//; |
$searchpath =~ tr/\\/\//; |