WWW.REFERATCENTRAL.ORG.UA - Я ТУТ НАВЧАЮСЬ

... відкритий, безкоштовний архів рефератів, курсових, дипломних робіт

ГоловнаІнформатика, Компютерні науки → Звіт про проходження практики за спеціальністю інженер комп’ютерних систем (звіт) - Реферат

Звіт про проходження практики за спеціальністю інженер комп’ютерних систем (звіт) - Реферат

$e);
if ($temp_record[0] == $temp_record_ST[0]) {
for ($q=0;$q<=29;$q++)
$temp_rec[$q] = $temp_record_ST[$q];
$temp_rec[26] = $temp_record_ST[26] + $temp_record[6];
dbase_replace_record ($bd_ST, $temp_rec, $e);
break;
}
}
}
//Внесення даних по ВЗ
for ($i=1; $i<=$records_counter; $i++) {
$temp_record = dbase_get_record ($bd_26, $i);
$records_counter_ST = dbase_numrecords($bd_ST);
for ($e=1; $e<=$records_counter_ST; $e++) {
$temp_record_ST = dbase_get_record ($bd_ST, $e);
if ($temp_record[0] == $temp_record_ST[0]) {
for ($q=0;$q<=29;$q++)
$temp_rec[$q] = $temp_record_ST[$q];
$temp_rec[27] = $temp_record_ST[27] + $temp_record[6];
dbase_replace_record ($bd_ST, $temp_rec, $e);
break;
}
}
}
//Внесення даних по ВЗ
for ($i=1; $i<=$records_counter; $i++) {
$temp_record = dbase_get_record ($bd_27, $i);
$records_counter_ST = dbase_numrecords($bd_ST);
for ($e=1; $e<=$records_counter_ST; $e++) {
$temp_record_ST = dbase_get_record ($bd_ST, $e);
if ($temp_record[0] == $temp_record_ST[0]) {
for ($q=0;$q<=29;$q++)
$temp_rec[$q] = $temp_record_ST[$q];
$temp_rec[28] = $temp_record_ST[28] + $temp_record[6];
dbase_replace_record ($bd_ST, $temp_rec, $e);
break;
}
}
}
//Внесення даних по ВЗ Золочів
$records_counter = dbase_numrecords($bd_Zl);
for ($i=1; $i<=$records_counter; $i++) {
$temp_record = dbase_get_record ($bd_Zl, $i);
$records_counter_ST = dbase_numrecords($bd_ST);
for ($e=1; $e<=$records_counter_ST; $e++) {
$temp_record_ST = dbase_get_record ($bd_ST, $e);
if ($temp_record[0] == $temp_record_ST[0]) {
$temp_rec[0] = $temp_record_ST[0];
$temp_rec[1] = $temp_record_ST[1];
for ($q=2;$q
Додаток 4. Скріпт виводу сортувальної таблиці для друку.
$bd = dbase_open ("C:Apache2htdocsBD2004_04_ST.DBF", 0);
$rec_counter = dbase_numrecords ($bd);
echo "
";
echo "ІндексНазва виданняБ.КБібБорВ.ВВорГлнГолГончЄлЖукЗастКурКолНовПідгПлгПомПолПочРемзСасСквСлвСнвСтрЧерЯснЗол";
for ($i=1; $i<=$rec_counter; $i++) {
// if ($i==100) break;
$temp_record2 = dbase_get_record ($bd, $i);
if ($temp_record2[2] != 0) {
echo "$temp_record2[0]";
echo "$temp_record2[1]";
for ($t=2; $t<29; $t++)
if ($temp_record2[$t] == 0)
echo " ";
else
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[3] != 0){
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[4] != 0){
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[5] != 0){
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[6] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[7] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[28]";}
else
if ($temp_record2[8] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[28]";}
else
if ($temp_record2[9] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[10] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[11] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[12] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[13] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[14] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[15] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[16] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[17] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[18] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[19] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[20] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[21] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[22] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[23] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[24] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[25] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[26] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[27] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[28] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
else
if ($temp_record2[29] != 0) {
echo "$temp_record2[0]";
for ($t=1; $t<29; $t++)
echo "$temp_record2[$t]";
echo "$temp_record2[29]";}
}
echo "
";
dbase_close ($bd);
?>
Loading...

 
 

Цікаве