Exemplo n.º 1
0
<?php

@session_start();
include '../class/config.php';
include '../class/class_subject_students.php';
$load = new SubjectStudents();
$t_id = $_GET['t_id'];
$sec_id = $_GET['sec_id'];
$sub_id = $_GET['sub_id'];
if (!isset($_SESSION['username'])) {
    header("Location: ../login.php");
}
//echo $_SESSION['admin_login'];
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $student_id = mysql_escape_string($_POST['student_id']);
    $teacher_id = mysql_escape_string($_POST['teacher_id']);
    $subject_id = mysql_escape_string($_POST['subject_id']);
    $course_id = mysql_escape_string($_POST['course_id']);
    $section_id = mysql_escape_string($_POST['section_id']);
    $load->student_id = $student_id;
    $load->subject_id = $subject_id;
    $load->teacher_id = $teacher_id;
    $load->course_id = $course_id;
    $load->section_id = $section_id;
    //echo $load->student_id;
    $load->subAdd();
}
?>
<!DOCTYPE html>
<html lang="en">
Exemplo n.º 2
0
<?php

session_start();
include '../class/config.php';
include '../class/class_subject_students.php';
$load = new SubjectStudents();
if (!isset($_SESSION['username'])) {
    header("Location: ../login.php");
}
?>

<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>E-Blast</title>

    <!-- Bootstrap Core CSS -->
    <link href="<?php 
echo $url;
?>
css/bootstrap.min.css" rel="stylesheet">

    <!-- MetisMenu CSS -->
Exemplo n.º 3
0
<?php

session_start();
include '../class/config.php';
include '../class/class_subject_students.php';
$load = new SubjectStudents();
if (!isset($_SESSION['username'])) {
    header("Location: ../login.php");
}
$id = $_GET['id'];
?>

<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>E-Blast</title>

    <!-- Bootstrap Core CSS -->
    <link href="<?php 
echo $url;
?>
css/bootstrap.min.css" rel="stylesheet">
Exemplo n.º 4
0
<?php

session_start();
include '../class/config.php';
include '../class/class_subject_students.php';
$load = new SubjectStudents();
if (!isset($_SESSION['username'])) {
    header("Location: ../login.php");
}
$sec_id = $_GET['sec_id'];
$sub_id = $_GET['sub_id'];
$t_id = $_GET['t_id'];
?>

<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>E-Blast</title>

    <!-- Bootstrap Core CSS -->
    <link href="<?php 
echo $url;
?>