echo'<TABLE border="0" CELLPADDING="0" ROWPADDING="0" ALIGN="center" HEIGHT="2" WIDTH="100%">
<TR ALIGN="center">
<TD bgColor="#dddddd" onClick="top.location.href=\'add_stol.php\'">
доска объявлений
</TD>
<TD bgColor="#dddddd" onClick="top.location.href=\'index_admin_rasp.php\'">
расписание
</TD>
<!--TD bgColor="#dddddd" onClick="top.location.href=\'upd_stud_menu.php\'">
изменить студента
</TD--></TR>
</TABLE>';
}else include "reg_error.php";
?>
menu_stud.php:
<?php
@session_start();
if (@$HTTP_SESSION_VARS['user']=="admin"){
include "menu_admin.php";
echo'<TABLE border="0" CELLPADDING="0" ROWPADDING="0" ALIGN="center" HEIGHT="2" WIDTH="100%">
<TR ALIGN="center">
<TD bgColor="#dddddd" onClick="top.location.href=\'add_stud_plan_menu.php\'">
добавить уч план студ
</TD><TD bgColor="#dddddd" onClick="top.location.href=\'add_stud_menu.php\'">
добавить студента
</TD><TD bgColor="#dddddd" onClick="top.location.href=\'upd_stud_menu.php\'">
изменить студента
</TD></TR>
</TABLE>';
}else include "reg_error.php";
?>
plan_menu.php:
<?php
session_start();
if (@$HTTP_SESSION_VARS['user']=="admin"){
include "../header.php";
include "add_plan_menu.php";
include "../footer.php";}else include "reg_error.php";
?>
reg_error.php:
<?php
include "../header.php";
echo'Во время регистрации произошла ошибка!
<br>Попробуйте <a href="../students">еще раз</a>!';
include "../footer.php";
?>
services.php:
<?php
@ session_start();
if (@$HTTP_SESSION_VARS['user']=="admin"){
include "../header.php";
include "menu_services.php";
include "../footer.php";}else include "reg_error.php";;
?>
stud.php:
<?php
@ session_start();
if (@$HTTP_SESSION_VARS['user']=="admin"){
include "../header.php";
include "menu_stud.php";
include "../footer.php";}else include "reg_error.php";;
?>
upd_stud_menu.php:
<?php
@ session_start();
if ($HTTP_SESSION_VARS['user']=="admin"){
@$db = mysql_pconnect('localhost','root','');
include "../header.php";
include "menu_stud.php";
echo'<form name="form1" action="upd_stud.php" method="post">
<center> Специальность:';
$result = mysql_query("SELECT * FROM `allgroup`.vsespec");
$num = mysql_num_rows($result);
print '<select name="spec">';
for ($i=0; $i<$num; $i++){
$myArray = mysql_fetch_array($result);
echo "<option><p><strong>";
echo htmlspecialchars(stripslashes($myArray['spec']));
echo '</strong>';};
echo '</select><br><input type="submit" value="Изменить студента выбраной специальности">';
include "../footer.php";}
?>
user_list2.php:
<?php
//@ session_start();
@ $user_name = $s1;//$HTTP_SESSION_VARS['nick'];
@$db = mysql_pconnect('localhost','root','');
$user_nomer = $s2;//$HTTP_SESSION_VARS['password'];
$group = $k;//$HTTP_SESSION_VARS['group'];
include "header_stud.php";
$searchtype = addslashes('p1_1');
$searchterm = addslashes($user_name);
$query = "select * from `allgroup`.`".$group."` where ".$searchtype." like '%".$searchterm."%'";
$result = mysql_query($query);
$myArray = mysql_fetch_array($result);
echo '<h3>Выполнение учебного плана</h3>';
$mas[0]="Первый";
$mas[1]="Второй";
$mas[2]="Третий";
$mas[3]="Четвертый";
$mas[4]="Пятый";
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.