Страница содержит ссылки на лабораторные работы по курсу 'Web-программирование',
выполненные студентами 3 курса на кафедре автоматики НГТУ
$fp=fopen("https://avt_gunko:Gjxnf5YUNE4@ciu.nstu.ru/isu/study/students_groups/students_groups_print?id_group=19636&id_faculty=3", "r");
//echo $fp;
if(!$fp) die("Cant find group");
else{
$k=1;
while(!feof($fp))
{
$strread=fgets($fp);
echo $strread;
if (strstr($strread, "left"))
{$k++;
$find=strstr($strread, "left");
$fio=strstr($find,">");
$find=substr($fio, 1, strlen($fio)-8);
$gruppa[k]=" ";
if ($k>2)
{//echo "k=$k, fio:$find
";
//convert_cyr_string ($find,"w","i");
//utf8_encode($find);
//iconv_set_encoding("internal_encoding", "UTF-8");
//iconv_set_encoding("input_encoding", "WINDOWS-1251");
//iconv_set_encoding("output_encoding", "UTF-8");
//iconv("ISO-8859-1", "UTF-8", $find);
//iconv("Windows-1251", "UTF-8", $find);
//utf8_encode($find);
//echo mb_detect_encoding($find);
//$find = mb_convert_encoding($find, "Windows-1251","UTF-8");
$gruppa[$k-2]=$find;
}
}
}
}
foreach ($gruppa as $k) echo $k;//.":".$group[$k];
fclose($fp);
?>Группа АВТ-218
- Вариант 1
- Вариант 2
- Вариант 3
- Вариант 4
- Вариант 5
- Вариант 6
- Вариант 7
- Вариант 8
- Вариант 9
- Вариант 10
- Вариант 11
- Вариант 12
- Вариант 13
- Вариант 14
- Вариант 15
- Вариант 16
- Вариант 17
- Вариант 18
- Вариант 19
- Вариант 20
$fp=fopen("https://avt_gunko:841oji@ciu.nstu.ru/isu/study/students_groups/students_groups_print?id_group=19639&id_faculty=3", "r");
//echo $fp;
if(!$fp) die("Cant find group");
else{
$k=1;
while(!feof($fp))
{
$strread=fgets($fp);
if (strstr($strread, "left"))
{$k++;
$find=strstr($strread, "left");
$fio=strstr($find,">");
$find=substr($fio, 1, strlen($fio)-8);
if ($k>2)
{//echo "k=$k, fio:$find
";
//convert_cyr_string ($find,"w","i");
//utf8_encode($find);
//iconv_set_encoding("internal_encoding", "UTF-8");
//iconv_set_encoding("input_encoding", "WINDOWS-1251");
//iconv_set_encoding("output_encoding", "UTF-8");
//iconv("ISO-8859-1", "UTF-8", $find);
//iconv("Windows-1251", "UTF-8", $find);
//utf8_encode($find);
//echo mb_detect_encoding($find);
//$find = mb_convert_encoding($find, "Windows-1251","UTF-8");
$gruppa2[$k-2]=$find;
}
}
}
}
//foreach ($gruppa as $k) echo $k;//.":".$group[$k];
?>Группа АВТ-219
- Вариант 1
- Вариант 2
- Вариант 3
- Вариант 4
- Вариант 5
- Вариант 6
- Вариант 7
- Вариант 8
- Вариант 9
- Вариант 10
- Вариант 11
- Вариант 12
- Вариант 13
- Вариант 14
- Вариант 15
- Вариант 16
- Вариант 17
- Вариант 18
- Вариант 19
- Вариант 20
- Вариант 21
Назад