Ejemplo n.º 1
0
<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/MasterPages/required.php';
$course_info = getRatingInfo(GET('id'), "course");
$course_rating = getCourseRating(GET('id'));
?>
<!DOCTYPE html>
<html>
   <head>
      <title>Project Ocena</title>
      <?php 
ev_include('/MasterPages/head.php');
?>
   </head>
   <body>
      
      <header>
         <?php 
ev_include('/MasterPages/header.php');
?>
      </header>
      
      <div class="container wrapper">
         <h1>
            <?php 
echo $course_info['course_name'];
?>
         </h1>
         <h3><?php 
echo $course_rating;
?>
Ejemplo n.º 2
0
<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/MasterPages/required.php';
$course_info = getRatingInfo(GET('id'), "course");
$teacher_info = getRatingInfo(GET('id'), "teacher");
$teacher_rating_info = getRatingInfo(GET('id'), "teacher_rating");
$course_rating_info = getRatingInfo(GET('id'), "course_rating");
?>
<!DOCTYPE html>
<html>
   <head>
      <title>Project Ocena</title>
      <?php 
ev_include('/MasterPages/head.php');
?>
   </head>
   <body>
      
      <header>
         <?php 
ev_include('/MasterPages/header.php');
?>
      </header>
      
      <div class="container wrapper">
         <h1>
            <?php 
echo $course_info['course_name'];
?>
         </h1>
         <br />
Ejemplo n.º 3
0
<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/MasterPages/required.php';
$teacher_info = getRatingInfo(GET('id'), "teacher");
$teacher_rating = getTeacherRating(GET('id'));
?>
<!DOCTYPE html>
<html>
   <head>
      <title>Project Ocena</title>
      <?php 
ev_include('/MasterPages/head.php');
?>
   </head>
   <body>
      
      <header>
         <?php 
ev_include('/MasterPages/header.php');
?>
      </header>
      
      <div class="container wrapper">
         <h1>
            <?php 
echo $teacher_info['teacher_fname'] . ' ' . $teacher_info['teacher_lname'];
?>
         </h1>
         <h3><?php 
echo $teacher_rating;
?>