-
Computerized Learning And Teaching Management System
[A CASE STUDY OF COMPUTER SCIENCE DEPARTMENT] -
-
-
<?php
session_start(); include("connection.php");
$reg="select * from tbl_country order by country_id";
$cout=mysql_query($reg);
$wi="select * from tbl_course";
$cc=mysql_query($wi);
if(isset($_REQUEST["Registration"]))
{
$tp="select * from tbl_user where user_email='".$_REQUEST["email"]."'";
$jj=mysql_query($tp);
$num=mysql_num_rows($jj); if($num!=0)
{
$msg="Email ID already Exists";
}
else
{
$path="upload_data/user/".$_FILES["user_image"]["name"]; copy($_FILES["user_image"]["tmp_name"],$path);
$ins="insert into tbl_user (user_name,user_address,user_phone,user_email,user_password,user_status,city_id,course_id,user_image) values (";
$ins.="'".$_REQUEST["name"]."', ";
$ins.="'".$_REQUEST["address"]."', ";
$ins.="'".$_REQUEST["contact"]."', ";
$ins.="'".$_REQUEST["email"]."', ";
$ins.="'".$_REQUEST["password"]."', ";
$ins.="1, ";
$ins.="'".$_REQUEST["city"]."', ";
$ins.="'".$_REQUEST["course"]."', ";
$ins.="'".$path."')";
mysql_query($ins); header("Location:home.php");
//$msg="Registration Successfully";
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>E - Learning: Registration</title>
<link rel="stylesheet" type="text/css" href="external.css" />
<script language="javascript" src="Js/fill_js.js"></script>
<script language="javascript">
function val_che()
{
var name=document.getElementById("name") var email=document.getElementById("email") var pass=document.getElementById("password")
var cpass=document.getElementById("cpassword") var state=document.getElementById("state")
var city=document.getElementById("city") var add=document.getElementById("address") var zip=document.getElementById("zipcode")
var cont=document.getElementById("contact") var cou=document.getElementById("course")
var img=document.getElementById("user_image")
var st=""
if(name.value=="")
{
document.getElementById("dname").style.display="block" st="a"
}
if(email.value=="")
{
document.getElementById("demail").style.display="block" st="a"
}
if(pass.value=="")
{
document.getElementById("dpass").style.display="block" st="a"
}
if(cpass.value=="")
{
document.getElementById("dcon").style.display="block" st="a"
}
if(state.selectedIndex==0)
{
document.getElementById("dstate").style.display="block" st="a"
}
if(city.selectedIndex==0 || state.selectedIndex<1)
{
document.getElementById("dcity").style.display="block" st="a"
}
-
-
-
ABSRACT - [ Total Page(s): 1 ]ABSTRACTIn this project i have explored the use of Information Communication and Technology to help students have access to learning resources such as course content online, downloadable materials. With the learning management system we designed and implement. Students can download materials to be read online or offline. It involves redefining the importance of e- learning, design issues and strategies to promote interactivity and active learning, learning support, policy and management issues. ... Continue reading---
-
ABSRACT - [ Total Page(s): 1 ]ABSTRACTIn this project i have explored the use of Information Communication and Technology to help students have access to learning resources such as course content online, downloadable materials. With the learning management system we designed and implement. Students can download materials to be read online or offline. It involves redefining the importance of e- learning, design issues and strategies to promote interactivity and active learning, learning support, policy and management issues. ... Continue reading---