Professional Documents
Culture Documents
Candido Docu
Candido Docu
INTRODUCTION
Most of the Students having trouble looking for lecture to review, when the
Students asking for the lecture the teacher is having a difficult time to reply immediately.
The Students Note System is capable of uploading and downloading lecture and also can
view the Student’s information.
The Researchers aim to develop Students Notes System to eliminate the problem
of the students and teachers with this system the students can easily manage the lecture
and also to Minimize the workload of the teachers, after the discussion the teacher will
upload the lecture and the teacher will ask a favor to admin to approve the lectures that
the teachers uploaded so that the students can see the uploaded lectures and download it.
In this system the Researchers aim to provide accurate system for uploading and
downloading the lectures or Reviewer.
The Students Notes System will focus on uploading and downloading the
Lectures or Reviewer and also will focus only in one department.
The objectives of the system to provide a better facility to the students and teachers to bring
out the easy circulation of the lectures within healthy environment. It will reduce the manual
paperwork, reduced the sharing and distribution time.
3.1 Scope
3.2 Limitation
Student Notes
A brief record of something written down to assist the memory or for future
referenceSSs. Notes, a record or outline of speech, statement, testimony, etc…, or of one’s
impressions of something. A brief written or printed statement giving particulars or
information.
6.0 Software
XAMPP x`
Sublime Text is available for Mac, Windows and Linux. One license is all you need to use
Sublime Text on every computer you own, no matter what operating system it uses. Sublime
Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native
functionality on each platform.
BROWSER
OPERATING SYSTEM
CHAPTER II
REVIEW OF RELATED LITERATURES
e to serve as a communication gateway between the back end the users. The system was
tested and evaluated with satisfactory results. This work, if adopted in schools and aid
convetional learning, is expected to immensely improve the learning process and performance of
students.
4.2 Synthesis
The review of related literature and study has been a matter of immense pleasure honor
and challenge to have this opportunity to take up this project and complete it successfully. This
will be helpful educational field where we can put all these it in our practice, According to
Ngampornchai The survey also explored students’ self-regulation, computing devices ownership,
and level of familiarity with education-related technologies, Katoua, Taghreed & AL-Lozi, Musa
& Alrowwad, Alaaldin This study aims to provide a discussion of the current e-learning
environments including their characteristics, limitations, advantages and the major factors that
Student ✔
Registration
Upload Lesson ✔
Download Lesson ✔
CHAPTER III
METHODOLOGY
Planning
Design
STUDENT NOTE SYSTEM
7
Development
Testing
FIGURE 3.1
MODIFIED WATERFALL MODEL
The Researchers used this kind of methodology which is waterfall model because it is
more convenient or accessible and much faster to used when each phase is completed
successfully, it is reviewed to see it the project is on the track and whether it is feasible to
continue.
3.1 PLANNING
3.2 DESIGN
3.3 DEVELOPMENT
3.4 TESTING
CHAPER IV
Team Member:
Jacob G. Candido Gave idea to add some features
to the system
Romie Lusay
Looking for possible errors in
the system
Karl E. Marcos
Helping in codings
[1] Ngampornchai, A. (2016, October 10). Students’ acceptance and readiness for E-learning in
Education. https://educationaltechnologyjournal.springeropen.com/articles/10.1186/
s41239-016-0034-x
[2] Katoua, Taghreed & AL-Lozi, Musa & Alrowwad, Alaaldin. (2016). A Review of Literature
[3] Ojokoh, Bolanle & Doyeni, Olubimtan & Adewale, Olumide & Isinkaye, Folasade. (2015). A
Figure: 1.1.4 click the new tab to enter the interface where you will upload the lesson.
Figure: 1.1.7 the interface where you will update the lesson.
Student Module
<style type="text/css">
</style>
<div class="btn-controls">
<div class="btn-box-row row-fluid">
<a href="#" class="btn-box big span4"><i class=" icon-random"></i><b>65%</b>
<?php
require_once("../include/initialize.php");
if (!isset($_SESSION['USERID'])){
redirect(web_root."admin/login.php");
}
$content='home.php';
$view = (isset($_GET['page']) && $_GET['page'] != '') ? $_GET['page'] : '';
switch ($view) {
default :
$content = 'home.php';
}
require_once("themes/templates.php");
?>
Login.php
?>
<?php
// login confirmation
if(isset($_SESSION['USERID'])){
redirect(web_root."admin/index.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Student Notes</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--
=====================================================================
==========================-->
<link rel="icon" type="image/png" href="<?php echo
web_root;?>plugins/adminlogin/images/icons/favicon.ico"/>
<!--
=====================================================================
==========================-->
<link rel="stylesheet" type="text/css" href="<?php echo
web_root;?>plugins/adminlogin/vendor/bootstrap/css/bootstrap.min.css">
<!--
=====================================================================
==========================-->
<link rel="stylesheet" type="text/css" href="<?php echo
web_root;?>plugins/adminlogin/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<!--
=====================================================================
==========================-->
<div>
<a href="#" class="txt3">
Forgot Password?
</a>
</div>
</div>
<div class="container-login100-form-btn">
<button type="submit" class="login100-form-btn" name="btnLogin">
Login
</button>
</div>
</form>
</div>
</div>
</div>
<div id="dropDownSelect1"></div>
<!--
=====================================================================
==========================-->
</body>
</html>
if(isset($_POST['btnLogin'])){
$email = trim($_POST['user_email']);
$upass = trim($_POST['user_pass']);
$h_upass = sha1($upass);
} else {
//it creates a new objects of member
$user = new User();
//make use of the static function, and we passed to parameters
$res = $user::userAuthentication($email, $h_upass);
if ($res==true) {
message("You login as ".$_SESSION['TYPE'].".","success");
if ($_SESSION['TYPE']=='Administrator'){
redirect(web_root."admin/index.php");
}else{
redirect(web_root."admin/login.php");
}
}else{
message("Account does not exist! Please contact Administrator.", "error");
redirect(web_root."admin/login.php");
}
}
}
STUDENT NOTE SYSTEM
43
?>
Login.php
<?php
require_once '../include/initialize.php';
// Four steps to closing a session
// (i.e. logging out)
</ul>
</div>
<!--/.well -->
<?php
if(!isset($_SESSION['USERID'])){
redirect(web_root."admin/index.php");
}
?>
<form class="form-horizontal span6" action="controller.php?action=add" method="POST"
enctype="multipart/form-data">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Upload New Lesson</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<style>
<div class="col-md-11">
<input name="deptid" type="hidden" value="">
<input class="form-control input-sm" id="LessonChapter"
name="LessonChapter" placeholder=
"Teacher Name" type="text" value="">
</div>
</div>
</div>
-->
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"LessonChapter">Description:</label>
<div class="col-md-10">
<input name="deptid" type="hidden" value="">
<input class="form-control input-sm" id="LessonChapter"
name="LessonChapter" placeholder=
"Chapter" type="text" value="">
</div>
</div>
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"LessonTitle">Title:</label>
<div class="col-md-10">
<input name="deptid" type="hidden" value="">
<input class="form-control input-sm" id="LessonTitle" name="LessonTitle"
placeholder=
"Title" type="text" value="">
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"Category">Select File Type:</label>
<div class="col-md-10">
<input name="deptid" type="hidden" value="">
<select class="form-control input-sm" id="Category" name="Category" >
<option>Docs</option>
<option>Video</option>
</select>
</div>
</div>
</div>
<div class="col-md-10">
<input type="file" name="file"/>
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"idno"></label>
<div class="col-md-10">
<button class="btn btn-primary btn-sm" name="save" type="submit" ><span
class="fa fa-save fw-fa"></span> Save</button>
</div>
</div>
</div>
</form>
Controller.php
<?php
require_once ("../../../include/initialize.php");
if(!isset($_SESSION['USERID'])){
redirect(web_root."admin/index.php");
}
switch ($action) {
case 'add' :
doInsert();
break;
case 'edit' :
doEdit();
break;
case 'delete' :
doDelete();
break;
case 'updatefiles' :
dochangefile();
break;
function doInsert(){
if(isset($_POST['save'])){
$userid = $_SESSION['USERID'];
$chapter = $_POST['LessonChapter'];
$title = $_POST['LessonTitle'];
$category = $_POST['Category'];
$filename = UploadImage();
STUDENT NOTE SYSTEM
50
$location = "files/". $filename ;
}
}
function doEdit(){
if(isset($_POST['save'])){
$chapter = $_POST['LessonChapter'];
$title = $_POST['LessonTitle'];
$id = $_POST['LessonID'];
$category = $_POST['Category'];
// $filename = UploadImage();
// $location = "files/". $filename ;
}
}
function doDelete(){
$id = $_GET['id'];
function dochangefile(){
if(isset($_POST['save'])){
$id = $_POST['LessonID'];
}
}
function UploadImage(){
$target_dir = "files/";
$target_file = $target_dir . basename($_FILES["file"]["name"]);
$uploadOk = 1;
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
?>
Edit.php
<?php
if(!isset($_SESSION['USERID'])){
redirect(web_root."admin/index.php");
}
@$id = $_GET['id'];
if($id==''){
redirect("index.php");
}
$lesson = New Lesson();
$res = $lesson->single_lesson($id);
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Update Lesson</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!--
<style>
.form-group{border: 1px solid transparent;margin:10px;
}
.upload-container{
display:flex;
}
.upload-container div{
display:flex;
text-indent: 90px;
}
</style>
-->
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"LessonChapter">Chapter:</label>
<div class="col-md-10">
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"LessonTitle">Title:</label>
<div class="col-md-10">
<input name="deptid" type="hidden" value="">
<input class="form-control input-sm" id="LessonTitle" name="LessonTitle"
placeholder=
"Title" type="text" value="<?php echo $res->LessonTitle; ?>">
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"Category">Select File Type:</label>
<div class="col-md-10">
<input name="deptid" type="hidden" value="">
<select class="form-control input-sm" id="Category" name="Category" >
<div class="col-md-10">
<input type="file" name="file" value="<?php echo $res->FileLocation; ?>" />
</div>
</div>
</div> -->
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"idno"></label>
<div class="col-md-10">
<button class="btn btn-primary btn-sm" name="save" type="submit" ><span
class="fa fa-save fw-fa"></span> Save</button>
</div>
</div>
</div>
</form>
STUDENT NOTE SYSTEM
57
Lesson folder index.php
<?php
require_once("../../../include/initialize.php");
if(!isset($_SESSION['USERID'])){
redirect(web_root."admin/index.php");
}
case 'add' :
$content = 'add.php';
break;
case 'edit' :
$content = 'edit.php';
break;
case 'playvideo' :
$title="Play Video";
$content = 'playvideo.php';
break;
case 'viewpdf' :
$title="View File";
$content = 'viewpdf.php';
break;
STUDENT NOTE SYSTEM
58
case 'uploadfile' :
$content = 'uploadfiles.php';
break;
default :
$content = 'list.php';
}
require_once("../../themes/templates.php");
?>
List.php
<?php
if(!isset($_SESSION['USERID'])){
redirect(web_root."admin/index.php");
}
?>
<div class="module-head">
<h1 class="page-header">List of Lessons <a href="index.php?view=add" class="btn btn-
primary"> <i class="fa fa-plus-circle fw-fa"></i> New</a></h1>
</div>
<form action="controller.php?action=delete" Method="POST">
<div class="table-responsive">
<table id="example" class="datatable-1 table table-striped table-
bordered table-hover table-responsive" style="font-size:12px" cellspacing="0">
<thead>
<tr>
<th>Chapter</th>
</tr>
</thead>
<tbody>
<?php
$mydb->setQuery("SELECT *
FROM
`tbllesson` where USERID='".$_SESSION['USERID']."'");
$cur = $mydb->loadResultList();
if ($result->Category=="Video") {
# code...
$view = "index.php?view=playvideo&id=".
$result->LessonID;
}else{
$view = "index.php?view=viewpdf&id=".
$result->LessonID;
</table>
</div>
</form>
Uploadfiles.php
<?php
if(!isset($_SESSION['USERID'])){
redirect(web_root."admin/index.php");
}
@$id = $_GET['id'];
if($id==''){
redirect("index.php");
}
$lesson = New Lesson();
$res = $lesson->single_lesson($id);
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Update Files</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"LessonChapter">Chapter:</label>
<div class="col-md-10">
<input name="LessonID" type="hidden" value="<?php echo $res->LessonID; ?
>">
<label class="control-label"><?php echo $res->LessonChapter; ?></label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"LessonTitle">Title:</label>
<div class="col-md-10">
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"Category">File Type:</label>
<div class="col-md-10">
<input name="deptid" type="hidden" value="">
<label class="control-label"><?php echo $res->Category ?></label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-11">
<label class="col-md-2" align = "right"for=
"file"></label>
<div class="col-md-10">
<input type="file" name="file" value="<?php echo $res->FileLocation; ?>" />
</div>
</div>
</div>
<div class="form-group">
STUDENT NOTE SYSTEM
63
<div class="col-md-11">
<label class="col-md-2 control-label" for=
"idno"></label>
<div class="col-md-10">
<button class="btn btn-primary btn-sm" name="save" type="submit" ><span
class="fa fa-save fw-fa"></span> Save</button>
</div>
</div>
</div>
</form>
View.php
<?php
if(!isset($_SESSION['USERID'])){
redirect(web_root."admin/index.php");
}
@$id = $_GET['id'];
if($id==''){
redirect("index.php");
}
$lesson = New Lesson();
$res = $lesson->single_lesson($id);
?>
<h2><?php echo $title ; ?></h2>
<p style="font-size: 18px;font-weight: bold;">Chapter : <?php echo $res->LessonChapter;?> |
Title : <?php echo $res->LessonTitle;?></p>
<div class="container">
<embed src="<?php echo web_root.'admin/modules/lesson/'.$res->FileLocation; ?>"
type="application/pdf" width="100%" height="400px" />
</div>
Adduser.php
STUDENT NOTE SYSTEM
64
<?php
// if (!isset($_SESSION['TYPE'])=='Administrator'){
// redirect(web_root."index.php");
// }
?>
<form class="form-horizontal span6" action="controller.php?action=add" method="POST"
onsubmit="return validatedpass()">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Add New User</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- <div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"user_id">User Id:</label>
</style>
<div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"user_name">Name:</label>
<div class="col-md-8">
<input name="deptid" type="hidden" value="">
<input class="form-control input-sm" id="user_name" name="user_name"
placeholder=
"Account Name" type="text" value="">
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"user_email">Username:</label>
<div class="col-md-8">
<input name="deptid" type="hidden" value="">
<input class="form-control input-sm" id="user_email" name="user_email"
placeholder=
"Username" type="text" value="">
</div>
</div>
</div>
<div class="col-md-8">
<input name="deptid" type="hidden" value="">
<input class="form-control input-sm" id="user_pass" name="user_pass"
placeholder=
"Account Password" type="Password" value="">
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"user_pass">Retype Password:</label>
<div class="col-md-8">
<input name="deptid" type="hidden" value="">
<input class="form-control input-sm" id="retype_user_pass"
name="retype_user_pass" placeholder=
"Retype Password" type="Password" value="">
</div>
</div>
</div>
<!-- <div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
<div class="col-md-8">
<select class="form-control input-sm" name="user_type" id="user_type">
<option value="Administrator">Administrator</option>
<option value="Staff">Staff</option>
<option value="Customer">Customer</option>
<option value="Encoder">Encoder</option>
</select>
</div>
</div>
</div> -->
<div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"idno"></label>
<div class="col-md-8">
<button class="btn btn_kcctc" id="usersave" name="save" type="submit"
><strong>Save</strong></button>
<a href="index.php" class="btn btn_kcctc"><span class="glyphicon glyphicon-
arrow-left"></span> <strong>List of Users</strong></a>
</div>
</div>
</div>
</form>
<?php
require_once ("../../../include/initialize.php");
// if (!isset($_SESSION['TYPE'])=='Administrator'){
// redirect(web_root."index.php");
// }
switch ($action) {
case 'add' :
doInsert();
break;
case 'edit' :
doEdit();
break;
case 'delete' :
doDelete();
break;
case 'assign':
doassignsubj();
break;
case 'delsubj':
doDelsubj();
break;
STUDENT NOTE SYSTEM
69
case 'grade':
savegrade();
break;
}
function doInsert(){
global $mydb;
if(isset($_POST['save'])){
}
}
function doEdit(){
global $mydb;
if(isset($_POST['save'])){
function doDelete(){
// if (isset($_POST['selector'])==''){
// message("Select the records first before you delete!","info");
// redirect('index.php');
// }else{
// $id = $_POST['selector'];
// $key = count($id);
// for($i=0;$i<$key;$i++){
$id = $_GET['id'];
<?php
// if (!isset($_SESSION['TYPE'])=='Administrator'){
// redirect(web_root."index.php");
// }
@$user_id = $_GET['id'];
if($user_id==''){
redirect("index.php");
}
$user = New User();
$singleuser = $user->single_user($user_id);
?>
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Update User</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- <div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"user_id">User Id:</label> -->
STUDENT NOTE SYSTEM
73
<!-- <div class="col-md-8"> -->
</style>
<div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"user_name">Name:</label>
<div class="col-md-8">
<input name="deptid" type="hidden" value="">
<input class="form-control input-sm" id="user_name" name="user_name"
placeholder=
"Account Name" type="text" value="<?php echo $singleuser->NAME; ?>">
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"user_email">Username:</label>
<div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"user_pass">Password:</label>
<div class="col-md-8">
<input name="deptid" type="hidden" value="">
<input class="form-control input-sm" id="user_pass" name="user_pass"
placeholder=
"Account Password" type="Password" value="">
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"user_pass">Retype Password:</label>
<div class="col-md-8">
<input name="deptid" type="hidden" value="">
<input class="form-control input-sm" id="retype_user_pass"
name="retype_user_pass" placeholder=
"Retype Password" type="Password" value="">
STUDENT NOTE SYSTEM
75
</div>
</div>
</div>
<!-- <div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"user_type">Type:</label>
<div class="col-md-8">
<select class="form-control input-sm" name="user_type" id="user_type">
<option value="Administrator">Administrator</option>
<option value="Staff">Staff</option>
<option value="Customer">Customer</option>
<option value="Encoder">Encoder</option>
</select>
</div>
</div>
</div>
-->
<div class="form-group">
<div class="col-md-8">
<label class="col-md-4 control-label" for=
"idno"></label>
<div class="col-md-8">
<button class="btn btn_kcctc" id="usersave" name="save" type="submit"
>Save</button>
<a href="index.php" class="btn btn_kcctc"><span class="glyphicon glyphicon-
arrow-left"></span> <strong>List of Users</strong></a>
</div>
</form>
User:index.php
<?php
require_once("../../../include/initialize.php");
if(!isset($_SESSION['USERID'])){
redirect(web_root."admin/index.php");
}
switch ($view) {
case 'list' :
$content = 'list.php';
break;
case 'add' :
$content = 'add.php';
break;
case 'edit' :
$content = 'edit.php';
break;
case 'view' :
STUDENT NOTE SYSTEM
77
$content = 'view.php';
break;
default :
$content = 'list.php';
}
require_once("../../themes/templates.php");
?>
User:list.php
<?php
// if (!isset($_SESSION['TYPE'])=='Administrator'){
// redirect(web_root."index.php");
// }
?>
<div class="module-head">
<h1 class="page-header">List of Users <a href="index.php?view=add" class="btn btn-
primary">New</a></h1>
</div>
<form action="controller.php?action=delete" Method="POST">
</table>
</form>
User:register.php
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags-->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Colorlib Templates">
<meta name="author" content="Colorlib">
<meta name="keywords" content="Colorlib Templates">
<body>
<div class="page-wrapper bg-blue p-t-100 p-b-100 font-robo">
<div class="wrapper wrapper--w680">
<div class="card card-1">
<div class="card-heading"></div>
<div class="card-body">
<h2 class="title">Registration Info</h2>
<form method="POST" action="register.php">
<div class="input-group">
<input class="input--style-1" type="text" placeholder="Firstname"
name="FNAME">
</div>
<div class="input-group">
<input class="input--style-1" type="text" placeholder="Lastname"
name="LNAME">
</div>
<div class="input-group">
<input class="input--style-1" type="text" placeholder="Address"
name="ADDRESS">
<div class="p-t-20">
<button class="btn btn--radius btn--green" type="submit"
name="btnRegister">Submit</button>
<a href="index.php">Back to Login</a>
</div>
</form>
</div>
</div>
</div>
</div>
</html>
<!-- end document-->
<?php
if (isset($_POST['btnRegister'])) {
# code...
?>
Galery:index.php
<?php
require_once("../../../include/initialize.php");
if(!isset($_SESSION['USERID'])){
redirect(web_root."admin/index.php");
}
switch ($view) {
default :
$content = 'list.php';
}
require_once("../../themes/templates.php");
?>
Galery:list.php
<?php
STUDENT NOTE SYSTEM
84
$mydb->setQuery("SELECT * FROM `tbllesson` ");
$cur = $mydb->loadResultList();
if ($result->Category=='Video') {
?>
<div class="span4">
<div class="stretch">
<video controls class="pb-video-frame">
<source src="<?php echo web_root.'admin/modules/lesson/'.$result-
>FileLocation; ?>" type="video/mp4">
<source class="pb-video-frame" src="<?php echo
web_root.'admin/modules/lesson/'.$result->FileLocation; ?>" type="video/ogg">
</video>
</div>
</div>
<?php
}
}
?>
</div>
</div>
<style>
.pb-video {
border: 1px solid #e6e6e6;
padding: 5px;
}
.pb-video:hover {
background: #2c3e50;
}
.pb-video-frame {
transition: width 2s, height 2s;
}
.pb-video-frame:hover {
height: 300px;
}
.pb-row {
margin-bottom: 10px;
}
</style>
</div>
Account.php
STUDENT NOTE SYSTEM
86
<?php
require_once(LIB_PATH.DS.'database.php');
class User {
protected static $tblname = "tblusers";
function dbfields () {
global $mydb;
return $mydb->getfieldsononetable(self::$tblname);
}
function listofuser(){
global $mydb;
$mydb->setQuery("SELECT * FROM ".self::$tblname);
return $cur;
}
function find_user($id="",$user_name=""){
global $mydb;
$mydb->setQuery("SELECT * FROM ".self::$tblname."
WHERE USERID = {$id} OR UEMAIL = '{$user_name}'");
$cur = $mydb->executeQuery();
$row_count = $mydb->num_rows($cur);
return $row_count;
}
static function userAuthentication($email,$h_pass){
global $mydb;
$mydb->setQuery("SELECT * FROM `tblusers` WHERE `UEMAIL` = '".
$email ."' and `PASS` = '". $h_pass ."'");
$cur = $mydb->executeQuery();
if($cur==false){
die(mysql_error());
foreach($record as $attribute=>$value){
if($object->has_attribute($attribute)) {
$object->$attribute = $value;
}
}
return $object;
STUDENT NOTE SYSTEM
88
}
if($mydb->executeQuery()) {
$this->id = $mydb->insert_id();
return true;
} else {
return false;
}
}
}
?>
Cofig.php
Connection.php
<?php
$conn = mysqli_connect("localhost","root","","notes" ) or die ("error" . mysqli_error($conn));
?>
Database.php
<?php
require_once(LIB_PATH.DS."config.php");
class Database {
var $sql_string = '';
var $error_no = 0;
var $error_msg = '';
STUDENT NOTE SYSTEM
92
private $conn;
public $last_query;
private $magic_quotes_active;
private $real_escape_string_exists;
function __construct() {
$this->open_connection();
$this->magic_quotes_active = get_magic_quotes_gpc();
$this->real_escape_string_exists = function_exists("mysqli_real_escape_string");
}
}else{
$db_select = mysqli_select_db($this->conn,database_name);
if (!$db_select) {
echo "Problem in selecting database! Contact administrator!";
exit();
}
}
function setQuery($sql='') {
$this->sql_string=$sql;
}
STUDENT NOTE SYSTEM
93
function executeQuery() {
$result = mysqli_query($this->conn,$this->sql_string);
$this->confirm_query($result);
return $result;
}
$array = array();
while ($row = mysqli_fetch_object($cur)) {
if ($key) {
$array[$row->$key] = $row;
} else {
$array[] = $row;
}
}
mysqli_free_result( $cur );
return $array;
}
function getFieldsOnOneTable($tbl_name) {
$this->setQuery("DESC ".$tbl_name);
$rows = $this->loadResultList();
$f = array();
for ( $x=0; $x<count($rows); $x++ ) {
$f[] = $rows[$x]->Field;
}
return $f;
}
?>
Footer.php
<footer class="foo">
<div class="row">
<div class="col-lg-12">
<p style="text-align:center; font-family: 'Monotype Corsiva'; font-size:17px;"><i
class="material-icons" style="color: brown;"></i> 2021 <b>Student Notes System CICS
ZPPSU</b></p>
</div>
</div>
</footer>
Function.php
<?php
function strip_zeros_from_date($marked_string="") {
//first remove the marked zeros
$no_zeros = str_replace('*0','',$marked_string);
$cleaned_string = str_replace('*0','',$no_zeros);
return $cleaned_string;
}
function redirect_to($location = NULL) {
if($location != NULL){
}
function output_message($message="") {
if(!empty($message)){
return "<p class=\"message\">{$message}</p>";
}else{
return "";
}
}
function date_toText($datetime=""){
$nicetime = strtotime($datetime);
return strftime("%B %d, %Y at %I:%M %p", $nicetime);
}
function __autoload($class_name) {
$class_name = strtolower($class_name);
$path = LIB_PATH.DS."{$class_name}.php";
if(file_exists($path)){
STUDENT NOTE SYSTEM
98
require_once($path);
}else{
die("The file {$class_name}.php could not be found.");
}
function currentpage_public(){
$this_page = $_SERVER['SCRIPT_NAME']; // will return /path/to/file.php
$bits = explode('/',$this_page);
$this_page = $bits[count($bits)-1]; // will return file.php, with parameters if case, like
file.php?id=2
$this_script = $bits[0]; // will return file.php, no parameters*/
return $bits[2];
function currentpage_admin(){
$this_page = $_SERVER['SCRIPT_NAME']; // will return /path/to/file.php
$bits = explode('/',$this_page);
$this_page = $bits[count($bits)-1]; // will return file.php, with parameters if case, like
file.php?id=2
$this_script = $bits[0]; // will return file.php, no parameters*/
return $bits[4];
}
// echo "string " .currentpage_admin()."<br/>";
function curPageName() {
return substr($_SERVER['REQUEST_URI'], 21, strrpos($_SERVER['REQUEST_URI'], '/')-
24);
}
STUDENT NOTE SYSTEM
99
// echo "The current page name is ".curPageName();
function dateFormat($date="",$format=""){
return date_format(date_create($date),$format);
}
?>
Header.php
<?php
include('connection.php');
?>
<!DOCTYPE html>
<html>
<head>
<title> Student Notes System CICS ZPPU</title>
<script src="dashboard/js/tinymce/tinymce.min.js"></script>
<script src="dashboard/js/tinymce/script.js"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/cms-home.css">
<link rel="stylesheet" type="text/css" href="css/material-icons.css">
<link rel="stylesheet" type="text/css" href="css/style.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/demo.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/jquery-ui.css">
<?php
//define the core paths
//Define them as absolute peths to make sure that require_once works as expected
Lesson.php
function dbfields () {
global $mydb;
return $mydb->getfieldsononetable(self::$tblname);
}
function listoflesson(){
global $mydb;
$mydb->setQuery("SELECT * FROM ".self::$tblname);
return $cur;
}
function find_lesson($id="",$chapter=""){
global $mydb;
$mydb->setQuery("SELECT * FROM ".self::$tblname."
WHERE LessonID = {$id} OR LessonChapter = '{$chapter}'");
$cur = $mydb->executeQuery();
$row_count = $mydb->num_rows($cur);
return $row_count;
}
function find_all_lesson($chapter=""){
global $mydb;
$mydb->setQuery("SELECT * FROM ".self::$tblname."
function single_lesson($id=0){
global $mydb;
$mydb->setQuery("SELECT * FROM ".self::$tblname."
Where LessonID= '{$id}' LIMIT 1");
$cur = $mydb->loadSingleResult();
return $cur;
}
foreach($record as $attribute=>$value){
if($object->has_attribute($attribute)) {
$object->$attribute = $value;
}
}
return $object;
}
if($mydb->executeQuery()) {
$this->id = $mydb->insert_id();
return true;
} else {
return false;
}
}
}
?>
Navigation.php
<!doctype html>
<html lang="en">
<head>
STUDENT NOTE SYSTEM 10
6
<meta charset="UTP-8">
<title>Navigation</title>
<link rel="stylesheet" href="css/style3.css">
</head>
<body>
<div class="navbar">
<a href="home.php" class="logo">Student notes</a>
<ul class="nav">
<li><a href="about.php"><b>About Us</b></a></li>
<li><a href="login.php"><b>Login</b></a></li>
</ul>
</div>
</body>
</html>
Session.php
<?php
session_start(); //before we store information of our member, we need to start first the session
}
//this function if session member is not set then it will be redirected to login.php
function confirm_logged_in() {
if (!logged_in()) {?>
STUDENT NOTE SYSTEM 10
7
<script type="text/javascript">
window.location = "login.php";
</script>
<?php
}
}
function admin_confirm_logged_in() {
if (@!$_SESSION['USERID']) {?>
<script type="text/javascript">
window.location ="login.php";
</script>
<?php
}
}
function studlogged_in() {
return isset($_SESSION['IDNO']);
}
function studconfirm_logged_in() {
if (!studlogged_in()) {?>
<script type="text/javascript">
window.location = "index.php";
</script>
<?php
}
}
STUDENT NOTE SYSTEM 10
8
function message($msg="", $msgtype="") {
if(!empty($msg)) {
// then this is "set message"
// make sure you understand why $this->message=$msg wouldn't work
$_SESSION['message'] = $msg;
$_SESSION['msgtype'] = $msgtype;
} else {
// then this is "get message"
return $message;
}
}
function check_message(){
if(isset($_SESSION['message'])){
if(isset($_SESSION['msgtype'])){
if ($_SESSION['msgtype']=="info"){
echo '<div class="alert alert-info">'.
$_SESSION['message'] . '</div>';
}elseif($_SESSION['msgtype']=="error"){
echo '<div class="alert alert-danger">' .
$_SESSION['message'] . '</div>';
}elseif($_SESSION['msgtype']=="success"){
echo '<div class="alert alert-success">' .
$_SESSION['message'] . '</div>';
}
unset($_SESSION['message']);
unset($_SESSION['msgtype']);
}
}
function keyactive($key=""){
if(!empty($key)) {
// then this is "set message"
// make sure you understand why $this->message=$msg wouldn't work
$_SESSION['active'] = $key;
} else {
// then this is "get message"
return $keyactive;
}
function check_active(){
if(isset($_SESSION['active'])){
switch ($_SESSION['active']) {
case 'basicInfo' :
$_SESSION['basicInfo'] = "active";
break;
case 'otherInfo' :
$_SESSION['otherInfo']= 'active';
break;
case 'work' :
$_SESSION['work'] = 'active' ;
break;
}
}else{
STUDENT NOTE SYSTEM 11
0
$active = (isset($_GET['active']) && $_GET['active'] != '') ? $_GET['active'] : '';
switch ($active) {
case 'otherInfo' :
$_SESSION['otherInfo']= 'active';
break;
case 'work' :
$_SESSION['work'] = 'active' ;
break;
default :
$_SESSION['basicInfo'] = "active";
break;
// if(isset($_GET['active'])){
// $_SESSION['work'] = 'active' ;
// }elseif(isset($_GET['active'])){
// $_SESSION['otherInfo']='active';
// }else{
// $_SESSION['basicInfo'] = "active";
// }
}
}
STUDENT NOTE SYSTEM 11
1
}
?>
Students.php
<?php
require_once(LIB_PATH.DS.'database.php');
class Student {
protected static $tblname = "tblstudent";
function dbfields () {
global $mydb;
return $mydb->getfieldsononetable(self::$tblname);
}
function listofstudents(){
global $mydb;
$mydb->setQuery("SELECT * FROM ".self::$tblname);
return $cur;
}
function find_students($id="",$name=""){
global $mydb;
$mydb->setQuery("SELECT * FROM ".self::$tblname."
WHERE StudentID = {$id} OR LNAME = '{$name}'");
$cur = $mydb->executeQuery();
$row_count = $mydb->num_rows($cur);
return $row_count;
}
function find_all_students($name=""){
STUDENT NOTE SYSTEM 11
2
global $mydb;
$mydb->setQuery("SELECT * FROM ".self::$tblname."
WHERE LNAME = '{$name}'");
$cur = $mydb->executeQuery();
$row_count = $mydb->num_rows($cur);
return $row_count;
}
static function studentAuthentication($email,$h_pass){
global $mydb;
$mydb->setQuery("SELECT * FROM `tblstudent` WHERE
`STUDUSERNAME` = '". $email ."' and `STUDPASS` = '". $h_pass ."'");
$cur = $mydb->executeQuery();
if($cur==false){
die(mysqli_error());
}
$row_count = $mydb->num_rows($cur);//get the number of count
if ($row_count == 1){
$user_found = $mydb->loadSingleResult();
$_SESSION['StudentID'] = $user_found->StudentID;
$_SESSION['Fname'] = $user_found->Fname;
$_SESSION['Lname'] = $user_found->Lname;
$_SESSION['USERNAME'] = $user_found-
>STUDUSERNAME;
$_SESSION['STUDPASS'] = $user_found->STUDPASS;
return true;
}else{
return false;
}
}
function find_pass($id="",$pass=""){
global $mydb;
function single_students($id=""){
global $mydb;
$mydb->setQuery("SELECT * FROM ".self::$tblname."
Where StudentID= '{$id}' LIMIT 1");
$cur = $mydb->loadSingleResult();
return $cur;
}
/*---Instantiation of Object dynamically---*/
static function instantiate($record) {
$object = new self;
foreach($record as $attribute=>$value){
if($object->has_attribute($attribute)) {
$object->$attribute = $value;
}
}
return $object;
}
if($mydb->executeQuery()) {
$this->id = $mydb->insert_id();
return true;
} else {
return false;
}
}
}
?>
Student module
About.php
</center>
</head>
<body>
<center><div class="col-lg-12">
<p style="text-align:center; font-family: 'Monotype Corsiva'; font-size:17px;"><i
class="material-icons" style="color: brown;"></i><b> MISSION</b></p>
</div></center>
<center>Provide effective and efficient services through advanced technological studies and
researches for the empowerment of the nation’s human resources.
</center>
<center><div class="col-lg-12">
<p style="text-align:center; font-family: 'Monotype Corsiva'; font-size:17px;"><i
class="material-icons" style="color: brown;"></i><b> MISSION</b></p>
</div></center>
<center>Provide effective and efficient services through advanced technological studies and
researches for the empowerment of the nation’s human resources.
</center>
<center><div class="col-lg-12">
<p style="text-align:center; font-family: 'Monotype Corsiva'; font-size:17px;"><i
class="material-icons" style="color: brown;"></i><b> VISSION </b></p>
</div></center>
<center> ZPPSU as the leading provider of Globally-competitive Human Resources.
</center>
<center>Social Responsibility</center>
<center>Commitment/Dedication to Service</center>
<center>Accountability</center></center>
</body>
<center>
<a href="#"><img src="images/trade.jpg" alt="" width="200" height="200" tittle=""></a>
</center>
</a>
<?php include 'includes/footer.php';?>
Download.php
$(function() {
$('.show_menu').click(function(){
$('.menu').fadeIn();
$('.show_menu').fadeOut();
$('.hide_menu').fadeIn();
});
$('.hide_menu').click(function(){
$('.menu').fadeOut();
$('.show_menu').fadeIn();
$('.hide_menu').fadeOut();
});
});
});
</script>
<div class="slider_container">
<div class="flexslider">
STUDENT NOTE SYSTEM 12
2
<ul class="slides">
<li>
<a href="#"><img src="images/slider/trade1.jpg" alt="" width="900"
height="400" title=""/></a>
<div class="flex-caption">
<div class="caption_title_line"><h2>Easy Notes Management</h2><p>Now easily
manage all kind of notes by uploading them here.</p></div>
</div>
</li>
<li>
<a href="#"><img src="images/slider/trade3.jpg" alt="" width="900"
height="400" title=""/></a>
<div class="flex-caption">
<div class="caption_title_line"><h2>Upload Various Files</h2><p>User can
upload various types of files like PDF, PPT, DOC etc..</p></div>
</div>
</li>
<li>
<a href="#"><img src="images/slider/trade2.jpg" alt="" width="900"
height="400" title=""/></a>
<div class="flex-caption">
<div class="caption_title_line"><h2>Controled By Admin</h2><p>Everying is
managed and controled by administrator</p></div>
</div>
</li>
<li>
<a href="#"><img src="images/slider/trade4.jpg" alt="" width="900"
height="400" title=""/></a>
<div class="flex-caption">
<div class="caption_title_line"><h2>Login For Both Teacher and
Student</h2><p>Both teacher and student can login and upload notes </p></div>
</div>
</li>
</body>
</html>
<?php include 'include/footer.php';?>
Studentmodule:index.php
<?php
require_once("include/initialize.php");
if (!isset($_SESSION['StudentID'])) {
# code...
redirect('login.php');
}
$content='home.php';
$view = (isset($_GET['q']) && $_GET['q'] != '') ? $_GET['q'] : '';
switch ($view) {
case 'lesson':
$title = "Lesson";
$content = 'lesson.php';
# code...
break;
case 'exercises':
$title = "Exercises";
$content = 'exercises.php';
# code...
STUDENT NOTE SYSTEM 12
4
break;
case 'download':
$title = "Download";
$content = 'download.php';
# code...
break;
case 'about':
$title = "About Us";
$content = 'about.php';
# code...
break;
case 'playvideo':
$title = "Play Video";
$content = 'playvideo.php';
# code...
break;
case 'viewpdf':
$title = "Play Video";
$content = 'viewpdf.php';
# code...
break;
case 'question':
$title = "Question";
$content = 'question.php';
# code...
break;
case 'quizresult':
$title = "Result";
$content = 'quizresult.php';
# code...
break;
STUDENT NOTE SYSTEM 12
5
default :
$title = "Home";
$content = 'home.php';
}
require_once("theme/templates.php");
?>
Lesson.php
Studentmodule:login.php
<?php
require_once("includes/navigation.php");
require_once ("include/initialize.php");
if (isset($_SESSION['StudentID'])) {
# code...
redirect('index.php');
}
?>
<style type="text/css">
body {
background-color: #fff;
}
</style>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Login</title>
STUDENT NOTE SYSTEM 12
8
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--
=====================================================================
==========================-->
<link rel="icon" type="image/png" href="images/icons/favicon.ico"/>
<!--
=====================================================================
==========================-->
<link rel="stylesheet" type="text/css" href="<?php echo web_root; ?>css/util.css">
<link rel="stylesheet" type="text/css" href="<?php echo web_root; ?>css/main.css">
<!--
=====================================================================
==========================-->
</head>
<body>
<div class="limiter">
<div class="container-login100">
<?php check_message(); ?>
<div class="wrap-login100">
<div class="login100-pic js-tilt" data-tilte>
<img src="<?php echo web_root; ?>images/trade.jpg" alt="IMG">
</div>
<div class="container-login100-form-btn">
<button class="login100-form-btn" type="submit" name="btnLogin">
Login
</button>
</div>
<?php
if(isset($_POST['btnLogin'])){
$email = trim($_POST['user_email']);
$upass = trim($_POST['user_pass']);
$h_upass = sha1($upass);
} else {
//it creates a new objects of member
$student = new Student();
//make use of the static function, and we passed to parameters
$res = $student::studentAuthentication($email, $h_upass);
if ($res==true) {
redirect(web_root."index.php?q=download");
echo $_SESSION['StudentID'];
}else{
message("Account does not exist! Please contact Administrator.", "error");
redirect (web_root."login.php");
}
STUDENT NOTE SYSTEM 13
1
}
}
?>
</body>
</html>
Logout.php
<?php
require_once 'include/initialize.php';
// Four steps to closing a session
Validation.php
<?php
require_once("include/initialize.php");
$studentid = $_SESSION['StudentID'];
$exersiceid = $_POST['ExerciseID'];
$value = $_POST['Value'];
$answer = $quiz->Answer;
$lessonid = $quiz->LessonID;
if ($answer == $value) {
# code...
$score= 1;
// echo 'Correct';
}else{
$score = 0;
// echo 'Wrong';
}
if ($maxrow>0) {
$sql = "UPDATE tblscore SET Score='{$score}' WHERE ExerciseID = '{$exersiceid}'
AND StudentID='{$studentid}'";
$mydb->setQuery($sql);
$mydb->executeQuery();
}else{
$sql = "INSERT INTO tblscore (`LessonID`,`ExerciseID`, `StudentID`, `Score`)
VALUES ('{$lessonid}','{$exersiceid}','{$studentid}','{$score}')";
$mydb->setQuery($sql);
$mydb->executeQuery();
}
STUDENT NOTE SYSTEM 13
4
?>
Viewpdf.php
<?php
@$id = $_GET['id'];
if($id==''){
redirect("index.php");
}
$lesson = New Lesson();
$res = $lesson->single_lesson($id);
?>
<h2>View PDF File</h2>
<p style="font-size: 18px;font-weight: bold;">Chapter : <?php echo $res->LessonChapter;?> |
Title : <?php echo $res->LessonTitle;?></p>
<div class="container">
<embed src="<?php echo web_root.'admin/modules/lesson/'.$res->FileLocation; ?>"
type="application/pdf" width="100%" height="400px" />
</div>
Templates.php
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</div>
</div>
</div>
<div class="footer"style="border:1px
solid;height:40px;padding:0px;position:fixed;bottom:0px;right:0;left:0;line-height:40px">
<div class="container">
<center><b class="copyright">© 2021 Student Notes System </b>
</div>
</div>
<script src="<?php echo web_root; ?>e_admin/scripts/jquery-1.9.1.min.js"
type="text/javascript"></script>
<script src="<?php echo web_root; ?>e_admin/scripts/jquery-ui-1.10.1.custom.min.js"
type="text/javascript"></script>
<script src="<?php echo web_root; ?>e_admin/bootstrap/js/bootstrap.min.js"
type="text/javascript"></script>
<script src="<?php echo web_root; ?>e_admin/scripts/flot/jquery.flot.js"
type="text/javascript"></script>
<script src="<?php echo web_root; ?>e_admin/scripts/flot/jquery.flot.resize.js"
type="text/javascript"></script>
<script src="<?php echo web_root; ?>e_admin/scripts/datatables/jquery.dataTables.js"
type="text/javascript"></script>
<script src="<?php echo web_root; ?>e_admin/scripts/common.js"
type="text/javascript"></script>
<script src="<?php echo web_root;
?>e_admin/scripts/datatables/jquery.dataTables.js"></script>
<script>
$(document).ready(function() {
$('.datatable-1').dataTable();
$('.dataTables_paginate').addClass("btn-group datatable-pagination");
$('.dataTables_paginate > a').wrapInner('<span />');
$('.dataTables_paginate > a:first-child').append('<i class="icon-chevron-left
shaded"></i>');
$('.dataTables_paginate > a:last-child').append('<i class="icon-chevron-right
shaded"></i>');
} );
</script>
CSS
Main.css
/*//////////////////////////////////////////////////////////////////
[ FONT ]*/
@font-face {
font-family: Poppins-Regular;
src: url('../fonts/poppins/Poppins-Regular.ttf');
}
STUDENT NOTE SYSTEM 14
0
@font-face {
font-family: Poppins-Bold;
src: url('../fonts/poppins/Poppins-Bold.ttf');
}
@font-face {
font-family: Poppins-Medium;
src: url('../fonts/poppins/Poppins-Medium.ttf');
}
@font-face {
font-family: Montserrat-Bold;
src: url('../fonts/montserrat/Montserrat-Bold.ttf');
}
/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body, html {
height: 100%;
font-family: Poppins-Regular, sans-serif;
}
/*---------------------------------------------*/
STUDENT NOTE SYSTEM 14
1
a{
font-family: Poppins-Regular;
font-size: 14px;
line-height: 1.7;
color: white;
margin: 0px;
transition: all 0.4s;
-webkit-transition: all 0.4s;
-o-transition: all 0.4s;
-moz-transition: all 0.4s;
}
a:focus {
outline: none !important;
}
a:hover {
text-decoration: none;
color: #57b846;
}
/*---------------------------------------------*/
h1,h2,h3,h4,h5,h6 {
margin: 0px;
}
p{
font-family: Poppins-Regular;
font-size: 14px;
line-height: 1.7;
color: #666666;
STUDENT NOTE SYSTEM 14
2
margin: 0px;
}
ul, li {
margin: 0px;
list-style-type: none;
}
/*---------------------------------------------*/
input {
outline: none;
border: none;
}
textarea {
outline: none;
border: none;
}
textarea:focus, input:focus {
border-color: transparent !important;
}
input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }
input:focus::-moz-placeholder { color:transparent; }
input:focus:-ms-input-placeholder { color:transparent; }
textarea:focus::-webkit-input-placeholder { color:transparent; }
textarea:focus:-moz-placeholder { color:transparent; }
STUDENT NOTE SYSTEM 14
3
textarea:focus::-moz-placeholder { color:transparent; }
textarea:focus:-ms-input-placeholder { color:transparent; }
/*---------------------------------------------*/
button {
outline: none !important;
border: none;
background: transparent;
}
button:hover {
cursor: pointer;
}
iframe {
border: none !important;
}
/*//////////////////////////////////////////////////////////////////
[ Utility ]*/
STUDENT NOTE SYSTEM 14
4
.txt1 {
font-family: Poppins-Regular;
font-size: 13px;
line-height: 1.5;
color: #999999;
}
.txt2 {
font-family: Poppins-Regular;
font-size: 13px;
line-height: 1.5;
color: #666666;
}
/*//////////////////////////////////////////////////////////////////
[ login ]*/
.limiter {
width: 100%;
margin: 0 auto;
}
.container-login100 {
width: 100%;
min-height: 100vh;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
STUDENT NOTE SYSTEM 14
5
flex-wrap: wrap;
justify-content: center;
align-items: center;
padding: 15px;
background: #ddd;
/* background: -webkit-linear-gradient(-135deg, #c850c0, #4158d0);
background: -o-linear-gradient(-135deg, #c850c0, #4158d0);
background: -moz-linear-gradient(-135deg, #c850c0, #4158d0);
background: linear-gradient(-135deg, #c850c0, #4158d0);*/
}
.wrap-login100 {
width: 960px;
background: #fff;
border-radius: 10px;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 177px 130px 33px 95px;
}
/*------------------------------------------------------------------
[ ]*/
.login100-pic {
width: 316px;
STUDENT NOTE SYSTEM 14
6
}
.login100-pic img {
max-width: 100%;
}
/*------------------------------------------------------------------
[ ]*/
.login100-form {
width: 290px;
}
.login100-form-title {
font-family: Poppins-Bold;
font-size: 24px;
color: #333333;
line-height: 1.2;
text-align: center;
width: 100%;
display: block;
padding-bottom: 54px;
}
/*---------------------------------------------*/
.wrap-input100 {
position: relative;
width: 100%;
z-index: 1;
STUDENT NOTE SYSTEM 14
7
margin-bottom: 10px;
}
.input100 {
font-family: Poppins-Medium;
font-size: 15px;
line-height: 1.5;
color: #666666;
display: block;
width: 100%;
background: #e6e6e6;
height: 50px;
border-radius: 25px;
padding: 0 30px 0 68px;
}
/*------------------------------------------------------------------
[ Focus ]*/
.focus-input100 {
display: block;
position: absolute;
border-radius: 25px;
bottom: 0;
left: 0;
z-index: -1;
width: 100%;
height: 100%;
box-shadow: 0px 0px 0px 0px;
color: rgba(87,184,70, 0.8);
STUDENT NOTE SYSTEM 14
8
}
.input100:focus + .focus-input100 {
-webkit-animation: anim-shadow 0.5s ease-in-out forwards;
animation: anim-shadow 0.5s ease-in-out forwards;
}
@-webkit-keyframes anim-shadow {
to {
box-shadow: 0px 0px 70px 25px;
opacity: 0;
}
}
@keyframes anim-shadow {
to {
box-shadow: 0px 0px 70px 25px;
opacity: 0;
}
}
.symbol-input100 {
font-size: 15px;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
align-items: center;
position: absolute;
STUDENT NOTE SYSTEM 14
9
border-radius: 25px;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
padding-left: 35px;
pointer-events: none;
color: #666666;
/*------------------------------------------------------------------
[ Button ]*/
.container-login100-form-btn {
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
justify-content: center;
STUDENT NOTE SYSTEM 15
0
padding-top: 20px;
}
.login100-form-btn {
font-family: Montserrat-Bold;
font-size: 15px;
line-height: 1.5;
color: #fff;
text-transform: uppercase;
width: 100%;
height: 50px;
border-radius: 25px;
background: #57b846;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
justify-content: center;
align-items: center;
padding: 0 25px;
.login100-form-btn:hover {
background: #333333;
STUDENT NOTE SYSTEM 15
1
}
/*------------------------------------------------------------------
[ Responsive ]*/
.login100-pic {
width: 35%;
}
.login100-form {
width: 50%;
}
}
.login100-pic {
display: none;
}
STUDENT NOTE SYSTEM 15
2
.login100-form {
width: 100%;
}
}
/*------------------------------------------------------------------
[ Alert validate ]*/
.validate-input {
position: relative;
}
.alert-validate::before {
content: attr(data-validate);
position: absolute;
max-width: 70%;
background-color: white;
border: 1px solid #c80000;
border-radius: 13px;
padding: 4px 25px 4px 10px;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
STUDENT NOTE SYSTEM 15
3
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
right: 8px;
pointer-events: none;
font-family: Poppins-Medium;
color: #c80000;
font-size: 13px;
line-height: 1.4;
text-align: left;
visibility: hidden;
opacity: 0;
.alert-validate::after {
content: "\f06a";
font-family: FontAwesome;
display: block;
position: absolute;
color: #c80000;
font-size: 15px;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
STUDENT NOTE SYSTEM 15
4
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
right: 13px;
}
.alert-validate:hover:before {
visibility: visible;
opacity: 1;
}
/*
* Style twaks
* --------------------------------------------------
*/
body {
padding-top: 70px;
}
footer {
padding-left: 15px;
padding-right: 15px;
}
.row-offcanvas-right
.sidebar-offcanvas {
right: -50%; /* 6 columns */
}
.row-offcanvas-left
.sidebar-offcanvas {
left: -50%; /* 6 columns */
}
.row-offcanvas-right.active {
right: 50%; /* 6 columns */
}
.row-offcanvas-left.active {
left: 50%; /* 6 columns */
}
.sidebar-offcanvas {
STUDENT NOTE SYSTEM 15
6
position: absolute;
top: 0;
width: 50%; /* 6 columns */
}
.margin{
margin-right: 100%;
}
.alignment {
vertical-align: 50%
}
}
.navbar-magbanua {
background-color: #0000FF;
/*border-color: #0000FF;*/
border: 1px solid #ffffff;
}
.navbar-magbanua .navbar-brand {
color: #ffffff;
}
.navbar-magbanua .navbar-brand:hover,
.navbar-magbanua .navbar-brand:focus {
color: #000000;
/*background-color: #ffffff;*/
}
.navbar-magbanua .navbar-text {
color: #ffffff;
}
STUDENT NOTE SYSTEM 15
7
.navbar-magbanua .navbar-nav > li > a {
color: #ffffff;
}
.navbar-magbanua .navbar-toggle {
border-color: #0000FF;
}
.navbar-magbanua .navbar-toggle:hover,
.navbar-magbanua .navbar-toggle:focus {
STUDENT NOTE SYSTEM 15
8
background-color: #c1d849;
}
.navbar-magbanua .navbar-collapse,
.navbar-magbanua .navbar-form {
border-color: #101010;
}
.navbar-magbanua .navbar-link:hover {
color: #ffffff;
}
Style.css
/*
http://www.freshdesignweb.com/beautiful-registration-form-with-html5-and-css3.html
*/
.form{
background:#8c4444; width:470px; margin:0 auto; padding-left:50px; padding-top:20px;
}
.form fieldset{border:0px; padding:0px; margin:0px;}
.form p.contact { font-size: 12px; margin:0px 0px 10px 0;line-height: 14px; font-family:Arial,
Helvetica;}
}
.nav{
display:flex;
justify-content:right;
list-style:none;
margin-right:15%;
}
.logo{
flex: 1 1 auto;
margin-left:10%;
text-transform: uppercase;
STUDENT NOTE SYSTEM 16
3
letter-spacing: 1px;
font-weight:bold;
font-size: 35px;
}
a{
margin: 15px;
color: white;
text-decoration:none;
text-transform:uppercase;
}
a:hover{
color: #000;
}
.banner-area{
position:relative;
background-image:url(images/trade.jpg);
width:100%;
height:100vh;
background-repeat:no-repeat;
-webkit-background-size:cover;
background-size:cover;