WOW !! MUCH LOVE ! SO WORLD PEACE !
Fond bitcoin pour l'amélioration du site: 1memzGeKS7CB3ECNkzSn2qHwxU6NZoJ8o
  Dogecoin (tips/pourboires): DCLoo9Dd4qECqpMLurdgGnaoqbftj16Nvp


Home | Publier un mémoire | Une page au hasard

 > 

Design and implementation school management system

( Télécharger le fichier original )
par Gérard Rutayisire
National University of Rwanda - Degree of Bachelor in Information Technology  2010
  

précédent sommaire

Bitcoin is a swarm of cyber hornets serving the goddess of wisdom, feeding on the fire of truth, exponentially growing ever smarter, faster, and stronger behind a wall of encrypted energy

APPENDIX

Coding using model

We used EasyPHP which helped us to create a transitional object and the MySQL database to build a persistent object of our data model. The following class implements logins and passwords.

<?

session_start();

if(!session_is_registered('username'))

{

header("location:administrator.php");

}

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>

<HEAD>

<TITLE> SMS :: Administrator </TITLE>

<META NAME="Generator" CONTENT="EditPlus">

<META NAME="Author" CONTENT="">

<META NAME="Keywords" CONTENT="">

<META NAME="Description" CONTENT="">

<link rel="stylesheet" media="screen" type="text/css" title="Essai" href="administrator.css" />

</style> </HEAD>

<BODY bgcolor='#e7fff3'>

<p>

<TABLE bgcolor='white'height=''width='800'align='center'class='maintable'> <TR>

<TD colspan='2'width=''height='100'bgcolor=''align=''>

<IMG SRC="../images1/banner.png" WIDTH="800"

HEIGHT="100" BORDER="0" ALT="">

<TR>

<TD colspan='2'>

<table align='center'>

<tr>

<td

background='../images1/menu.png'width='98'height='30'align='center'><a href='index.php'>HOME</a></td>

II

<td

background='../images1/menu.png'width='98'height='30'align='center'><a href='news/index1.php'>NEWS</a></td>

<td

background='../images1/menu.png'width='98'height='30'align='center'><a href="../lecturer/lecturer.php">TEACHERS</a></td>

<td

background='../images1/menu.png'width='98'height='30'align='center'><a href="../course/course/viewcourse.php" >COURSE</a></td>

<td

background='../images1/menu.png'width='98'height='30'align='center'><a href='../student/student.php'>STUDENTS</a></td>

<td

background='../images1/menu.png'width='98'height='30'align='center'><a href=''>PARENTS</a></td>

<td

background='../images1/menu.png'width='98'height='30'align='center'><a href=''>CONTACTS</a></td>

<td

background='../images1/menu.png'width='98'height='30'align='center'><a href='Academic/injira.php'>LOGOUT</a></td>

<td

background='../images1/menu.png'width='98'height='30'align='center'><a href=''>HELP</a></td>

</tr>

</table>

</TD>

</TR>

<TR>

<TD width='200'bgcolor='white'valign='top'><script LANGUAGE="JavaScript" topmargin="0">

<! Begin of calender

>

monthnames = new Array( "January",

"Februrary",

"March",

"April",

"May",

"June",

"July",

"August",

"September",

"October",

"November",

"Decemeber");

var linkcount=0;

function addlink(month, day, href) {

var entry = new Array(3); entry[0] = month;

entry[1] = day;

entry[2] = href;

this[linkcount++] = entry; }

Array.prototype.addlink = addlink;

linkdays = new Array(); monthdays = new Array(12);

III

monthdays[0]=31; monthdays[1]=28; monthdays[2]=31; monthdays[3]=30; monthdays[4]=31; monthdays[5]=30; monthdays[6]=31; monthdays[7]=31; monthdays[8]=30; monthdays[9]=31; monthdays[10]=30; monthdays[11]=31; todayDate=new Date();

thisday=todayDate.getDay(); thismonth=todayDate.getMonth(); thisdate=todayDate.getDate(); thisyear=todayDate.getYear();

thisyear = thisyear % 100;

thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 +

thisyear));

if (((thisyear % 4 == 0)

&& !(thisyear % 100 == 0))

||(thisyear % 400 == 0)) monthdays[1]++; startspaces=thisdate;

while (startspaces > 7) startspaces-=7;

startspaces = thisday - startspaces + 1;

if (startspaces < 0) startspaces+=7; document.write("<table border=0 bgcolor=#99cccc

width='200'");

document.write("bordercolor=black><font

color=black>");

document.write("<tr><td colspan=7><center><strong>" + monthnames[thismonth] + " " + thisyear

+ "</strong></center></font></td></tr>"); document.write("<tr>");

document.write("<td align=center>Su</td>"); document.write("<td align=center>M</td>"); document.write("<td align=center>Tu</td>"); document.write("<td align=center>W</td>"); document.write("<td align=center>Th</td>"); document.write("<td align=center>F</td>"); document.write("<td align=center>Sa</td>"); document.write("</tr>");

document.write("<tr>");

for (s=0;s<startspaces;s++) {

document.write("<td> </td>");

}

count=1;

while (count <= monthdays[thismonth]) { for (b = startspaces;b<7;b++) {

linktrue=false;

document.write("<td>");

for (c=0;c<linkdays.length;c++) {

if (linkdays[c] != null) {

if ((linkdays[c][0]==thismonth + 1) &&

IV

document.write("<a href=\"" + linkdays[c][2] + "\">"); linktrue=true;

}

}

}

if (count==thisdate) {

document.write("<font color='FF0000'><strong>");

}

if (count <= monthdays[thismonth]) { document.write(count);

}

else {

document.write(" ");

}

if (count==thisdate) { document.write("</strong></font>");

}

if (linktrue)

document.write("</a>");

document.write("</td>");

count++;

} document.write("</tr>");

document.write("<tr>");

startspaces=0;

} document.write("</table></p>");

</script>

<! End

>

<TABLE>

<TR>

<TD ><IMG

SRC="../images1/work.png" WIDTH="200" HEIGHT="200" BORDER="0" ALT=""></TD>

</TR>

</TABLE>

</TD>

<TD valign='top'>

<iframe src="home.php"name="myframe" width="600" marginwidth="20" height="300" align="center" marginheight="15" scrolling="yes"></iframe> </TD>

</TR>

<TR>

<TD height='80'colspan='2' bgcolor='#094809' valign='top'><font color="#ffffff"><marquee bgcolor='' width=100% height=40 direction=left>KIS, INGANZO Y'URUBYIRUKO</marquee></font

<center>Copyright (c) KIS Last update 28 June,2010</center>

</TD>

</TR>

</TABLE>

</p>

</HTML>

<?

session_start();

if(!session_is_registered('username'))

{

header("location:administrator.php");

}

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>

<HEAD>

<TITLE> SMS :: TEACHERS </TITLE>

<META NAME="Generator" CONTENT="EditPlus">

<META NAME="Author" CONTENT="">

<META NAME="Keywords" CONTENT="">

<META NAME="Description" CONTENT="">

<link rel="stylesheet" media="screen" type="text/css" title="Essai" href="lecturer.css" />

</HEAD>

<BODY bgcolor=''>

<p>

<TABLE bgcolor='white'height=''width='800'align='center'class='maintable'> <TR>

<TD colspan='2'width=''height='100'bgcolor=''align=''>

<IMG SRC="../images1/banner.png" WIDTH="800" HEIGHT="100" BORDER="0" ALT="">

</TR>

<TR>

<TD width='200'bgcolor='white'valign='top'><script LANGUAGE="JavaScript" topmargin="0">

<! Begin of calender

>

monthnames = new Array(

"January", "Februrary", "March",

"April",

"May",

"June",

"July",

"August",

"September",

"October",

"November", "Decemeber");

var linkcount=0;

function addlink(month, day, href) {

var entry = new Array(3);

VI

entry[0] = month;

entry[1] = day;

entry[2] = href;

this[linkcount++] = entry;

}

Array.prototype.addlink = addlink;

linkdays = new Array();

monthdays = new Array(12);

monthdays[0]=31; monthdays[1]=28; monthdays[2]=31; monthdays[3]=30; monthdays[4]=31; monthdays[5]=30; monthdays[6]=31; monthdays[7]=31; monthdays[8]=30; monthdays[9]=31; monthdays[10]=30; monthdays[11]=31; todayDate=new Date();

thisday=todayDate.getDay(); thismonth=todayDate.getMonth(); thisdate=todayDate.getDate(); thisyear=todayDate.getYear();

thisyear = thisyear % 100;

thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 +

thisyear));

if (((thisyear % 4 == 0)

&& !(thisyear % 100 == 0))

||(thisyear % 400 == 0)) monthdays[1]++; startspaces=thisdate;

while (startspaces > 7) startspaces-=7;

startspaces = thisday - startspaces + 1;

if (startspaces < 0) startspaces+=7; document.write("<table border=0 bgcolor=#99cccc

width='200'");

document.write("bordercolor=black><font

color=black>");

document.write("<tr><td colspan=7><center><strong>" + monthnames[thismonth] + " " + thisyear

+ "</strong></center></font></td></tr>"); document.write("<tr>");

document.write("<td align=center>Su</td>"); document.write("<td align=center>M</td>"); document.write("<td align=center>Tu</td>"); document.write("<td align=center>W</td>"); document.write("<td align=center>Th</td>"); document.write("<td align=center>F</td>"); document.write("<td align=center>Sa</td>"); document.write("</tr>");

document.write("<tr>");

for (s=0;s<startspaces;s++) {

document.write("<td> </td>");

}

count=1;

while (count <= monthdays[thismonth]) {

for (b = startspaces;b<7;b++) {

linktrue=false;

document.write("<td>");

for (c=0;c<linkdays.length;c++) {

if (linkdays[c] != null) {

if ((linkdays[c][0]==thismonth + 1) &&

(linkdays[c][1]==count)) {

document.write("<a href=\"" + linkdays[c][2] + "\">"); linktrue=true;

}

}

}

if (count==thisdate) {

document.write("<font color='FF0000'><strong>");

}

if (count <= monthdays[thismonth]) { document.write(count);

}

else {

document.write(" ");

}

if (count==thisdate) { document.write("</strong></font>");

}

if (linktrue)

document.write("</a>");

document.write("</td>");

count++;

} document.write("</tr>");

document.write("<tr>");

startspaces=0;

} document.write("</table></p>");

</script>

<! End

>

<TABLE>

<TR>

<TD ><IMG

SRC="../images1/work.png" WIDTH="200" HEIGHT="200" BORDER="0" ALT=""></TD>

</TR>

</TABLE>

</TD>

<TD>

<h2><center>There are 4 teachers in our

School</center></h2>

<h2><center>School staffs</center></h2>

<table width="70%" border="1" cellpadding="2"

cellspacing="2" align="center">

<tr>

<th>Teacher_Id</th>

<th>Firstname</th> <th>Lastname</th> <th>Grade</th> <th>Status</th> <th>Nationality</th> <th>Option</th> </tr>

<tr>

<td>46</td>

<td>Kadubiri</td> <td>Kaka</td> <td>A0</td>

<td>Single</td> <td>Rwandese</td>

<td>0</td>

</tr><tr>

<td>47</td> <td>Kamali</td>

<td>Augustin</td>

<td>Diploma</td>

<td>Not married</td>

<td>Rwandese</td>

<td>20</td>

</tr><tr>

<td>48</td> <td>Kamali</td>

<td>Augustin</td>

<td>Diploma</td>

<td>Not married</td>

<td>Rwandese</td>

<td>20</td>

</tr><tr>

<td>49</td> <td>Kaberuka</td>

<td>Jean</td> <td>Diploma</td>

<td>Not married</td>

<td>Rwandese</td>

<td>20</td>

</tr> <tr> <td colspan='8'>Total :4 Teachers</td>

</tr>

</table><h4><center><a href='../administrator/administrator.php'> Back </a> || <a href='insertlecturer1.php'> Add new Teacher</a> || <a href ='ListUpdate.php'>Edit or Delete Teacher</a> </center></h4>

</TD>

</TR>

<TR>

<TD height='80'colspan='2' bgcolor='#094809' valign='top'><font color="#ffffff"><marquee bgcolor='' width=100% height=40 direction=left>KIS, INGANZO Y'URUBYIRUKO</marquee></font

IX

<center>Copyright (c) KIS, last update 28 June,2010</center>

</TD>

</TR>

</TABLE>

</p>

</BODY>
</HTML>

<?

session_start();

if(!session_is_registered('username'))

{

header("location:administrator.php");

}

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML>

<HEAD>

<TITLE> SMS: Planned course </TITLE>

<META NAME="Generator" CONTENT="EditPlus">

<META NAME="Author" CONTENT="">

<META NAME="Keywords" CONTENT="">

<META NAME="Description" CONTENT="">

<link rel="stylesheet" media="screen" type="text/css" title="Essai" href="course.css" />

</HEAD>
<BODY >

<p>

<TABLE bgcolor='white'width='800'align='center'class='maintable'> <TR>

<TD colspan=''width=''height='100'bgcolor=''align=''> <IMG SRC="../../images1/banner.png" WIDTH="800"

HEIGHT="100" BORDER="0" ALT="">

</TD>

</TR>

<TR>

<TD height='' width='' valign='top'>

<h2><center>There are 3 courses already planned</center></h2>

<h2><center>Planned courses</center></h2>

<table width="100%" border="1" cellpadding="2" cellspacing="2" align="center">

<tr>

<th>Course_Code</th> <th>Course title</th> <th>Nber of Students</th> <th>Teacher_ID</th> <th>Trimester</th>

<th>Starting date</th>

<th>Ending date</th>

<th>Hours</th>

<th>Practice Hrs/student</th>

</tr>

<tr>

<td>68</td> <td>calcul</td>

<td>45</td> <td>46</td> <td>First Trimester</td>

<td>01/13/2004</td>

<td>01/14/2004</td>

<td>14</td>
<td>10</td>

</tr><tr>

<td>69</td> <td>STE</td> <td>45</td> <td>47</td> <td>Third Trimester</td>

<td>01/22/2004</td>

<td>01/22/2004</td>

<td>20</td> <td>5</td>

</tr><tr>

<td>70</td> <td>Kinyarwanda</td>

<td>45</td> <td>46</td> <td>Second Trimester</td>

<td>01/20/2010</td>

<td>01/29/2010</td>

<td>20</td>
<td>10</td>

</tr>

<tr>

<td colspan='9'>Total:3 Courses</td>

</tr>

</table><h4><center><a href='../../Administrator/administrator.php'> Back</a> | <a href='addcourse.php'> Add new course</a> | <a href ='ListUpdate.php'>Edit Courses or Delete Courses</a></center></h4>

</TD>

</TR>

<TR>

<TD colspan='' bgcolor='#094809' valign='top'><font color="#ffffff"><marquee bgcolor='' width=100% height=40 direction=left>KIS, INGANZO Y'URUBYIRUKO</marquee></font>

XI

<center>Copyright (c) KIS Last update 28 June,2010</center>

</TD>

</TR>

</TABLE>

</p>

</BODY>

</HTML>

<?

session_start();

if(!session_is_registered('username'))

{

header("location:administrator.php");

}

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>

<HEAD>

<TITLE> SMS :: STUDENTS </TITLE>

<META NAME="Generator" CONTENT="EditPlus">

<META NAME="Author" CONTENT="">

<META NAME="Keywords" CONTENT="">

<META NAME="Description" CONTENT="">

<link rel="stylesheet" media="screen" type="text/css" title="Essai" href="lecturer.css" />

</HEAD>

<BODY bgcolor='#e7fff3'>

<p>

<TABLE bgcolor='white'height=''width='800'align='center'class='maintable'> <TR>

<TD colspan='2'width=''height='100'bgcolor=''align=''>

<IMG SRC="../images1/banner.png" WIDTH="800" HEIGHT="100" BORDER="0" ALT="">

</TR>

<TR>

<TD width='200'bgcolor='white'valign='top'><script LANGUAGE="JavaScript" topmargin="0">

<! Begin of calender

>

monthnames = new Array(

"January",

"Februrary",

"March",

"April", "May", "June", "July", "August",

"September",

"October",

"November",

"Decemeber");

var linkcount=0;

function addlink(month, day, href) {

var entry = new Array(3);

entry[0] = month;

entry[1] = day;

entry[2] = href;

this[linkcount++] = entry;

}

Array.prototype.addlink = addlink;

linkdays = new Array();

monthdays = new Array(12);

monthdays[0]=31; monthdays[1]=28; monthdays[2]=31; monthdays[3]=30; monthdays[4]=31; monthdays[5]=30; monthdays[6]=31; monthdays[7]=31; monthdays[8]=30; monthdays[9]=31; monthdays[10]=30; monthdays[11]=31; todayDate=new Date();

thisday=todayDate.getDay(); thismonth=todayDate.getMonth(); thisdate=todayDate.getDate(); thisyear=todayDate.getYear();

thisyear = thisyear % 100;

thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 +

thisyear));

if (((thisyear % 4 == 0)

&& !(thisyear % 100 == 0))

||(thisyear % 400 == 0)) monthdays[1]++; startspaces=thisdate;

while (startspaces > 7) startspaces-=7;

startspaces = thisday - startspaces + 1;

if (startspaces < 0) startspaces+=7; document.write("<table border=0 bgcolor=#99cccc

width='200'");

document.write("bordercolor=black><font

color=black>");

document.write("<tr><td colspan=7><center><strong>" + monthnames[thismonth] + " " + thisyear

+ "</strong></center></font></td></tr>"); document.write("<tr>");

document.write("<td align=center>Su</td>"); document.write("<td align=center>M</td>"); document.write("<td align=center>Tu</td>"); document.write("<td align=center>W</td>"); document.write("<td align=center>Th</td>"); document.write("<td align=center>F</td>");

document.write("<td align=center>Sa</td>"); document.write("</tr>");

document.write("<tr>");

for (s=0;s<startspaces;s++) {

document.write("<td> </td>");

} count=1;

while (count <= monthdays[thismonth]) {

for (b = startspaces;b<7;b++) {

linktrue=false;

document.write("<td>");

for (c=0;c<linkdays.length;c++) {

if (linkdays[c] != null) {

if ((linkdays[c][0]==thismonth + 1) &&

(linkdays[c][1]==count)) {

document.write("<a href=\"" + linkdays[c][2] + "\">"); linktrue=true;

}

}

}

if (count==thisdate) {

document.write("<font color='FF0000'><strong>");

}

if (count <= monthdays[thismonth]) { document.write(count);

}

else {

document.write(" ");

}

if (count==thisdate) { document.write("</strong></font>");

}

if (linktrue)

document.write("</a>");

document.write("</td>");

count++;

} document.write("</tr>");

document.write("<tr>");

startspaces=0;

} document.write("</table></p>");

</script>

<! End

>

<TABLE>

<TR>

<TD ><IMG

SRC="../images1/work.png" WIDTH="200" HEIGHT="200" BORDER="0" ALT=""></TD>

</TR>

</TABLE>

</TD>

XIV

<h2><center>There are 1 Students

registered</center></h2>

<h2><center>Students</center></h2>

<table width="70%" border="1" cellpadding="2"

cellspacing="2" align="center">

<tr> <th>Student_Id</th>

<th>Firstname</th>

<th>Lastname</th>

<th>Parent</th>

<th>Class</th>

<th>Option</th>

</tr> <tr> <td>1</td>

<td>Papy</td>

<td>Papillon</td>

<td>Hero</td>

<td>1st Year</td>

<td>Primary</td>

</tr> <tr> <td colspan='8'>Total :1 Students</td>

</tr>

</table><h4><center><a href='../administrator/administrator.php'> Back </a> || <a href='insertstudent.php'> Register new Student</a> || <a href ='ListUpdate.php'>Edit or Delete student</a> </center></h4>

</TD>

</TR>

<TR>

<TD height='80'colspan='2' bgcolor='#094809' valign='top'><font color="#ffffff"><marquee bgcolor='' width=100% height=40 direction=left>KIS, INGANZO Y'URUBYIRUKO</marquee></font

<center>Copyright (c) KIS last, update 28 June,2010</center>

</TD>

</TR>

</TABLE>

</p>

</BODY>
</HTML>

précédent sommaire






Bitcoin is a swarm of cyber hornets serving the goddess of wisdom, feeding on the fire of truth, exponentially growing ever smarter, faster, and stronger behind a wall of encrypted energy








"Les esprits médiocres condamnent d'ordinaire tout ce qui passe leur portée"   François de la Rochefoucauld