Mahasarakham University · Web viewภาคผนวก ภาคผนวก ก ว ธ...

Preview:

Citation preview

ภาคผนวก

ภาคผนวก กวธการตดตงโปรแกรม AppServ 2.5.10

โปรแกรม AppServโปรแกรม AppServ คอ การเรยกชอของชดตดตงโปรแกรมชด

หนงทใชในการจำาลองเครอง client ใหสามารถรนภาษา PHP และจำาลองเครอง client ใหเปนเครอง Server ได โดย AppServ ไดรวบรวม Package ของโปรแกรมอนๆ ซงประกอบไปดวย

1. Apache ใชในการรนเวบ เพอใหเครอง client สามารถทำางานเปนเวบ Service ได (จะสามารถเรยก http:// เหมอนเลนเนตได แตเวบยงอยในเครอง client ไมไดอยบน Server จรง)

2. MySQL เปนฐานขอมล ซงการทำางานของมนมเพยงจดการขอมลเขาฐานขอมลเทานน ใชสำาหรบ ชวยเกบขอมลในภาษา PHP อกครงหนง เพราะปกต PHP มกไมไดมขอมลในตวเอง แตอาศยดงขอมลจากฐานขอมล

3. PHPMyAdmin เปน Tool ทจะชวยในการจดการฐานขอมล ตางจาก MySQL คอ MySQL เหมอนเครองจกร แต phpMyAdmin เหมอนหนาจอ ทแสดงผลใหด และสามารถคลกเพอแกไข หรอเปลยนแปลงไดเพราะ phpMyAdmin ทำางานแบบ GUI โดยอาศยการทำางานผาน Web base (ทำางานผานหนาเวบ)

ขนตอนการตดตงโปรแกรม AppServ 1. เรมตนจากการเขา Internet Explore และพมพชอ URL

สำาหรบดาวนโหลดทชอง Address คอ http://prdownloads.sourceforge.net/appserv/appserv-win32-2.4.4a.exe?download กจะสามารถดาวนโหลดโปรแกรมได เมอทำาการดาวนโหลดเสรจเรยบรอยจะไดไฟลดงน

คลก Next

คลก I Agree

คลก Next

คลก Next

คลก Next

ใส password คลก Install

สนสดการตดตง

ทดลองการใชงาน

1. เปดโปรแกรม Interner Explorer Run ดงท http://localhost ถา ผลลพธ ไดดงรปแสดงวาสามารถ เขยน PHP ไดแลว

ภาคผนวก ขSource Code

Source Code am_addtc.php<? ob_start();?><?php include("check_loginam.php");?><!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"><!-- InstanceBegin

template="/Templates/admin.dwt" codeOutsideHTMLIsLocked="false" --><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!-- InstanceBeginEditable name="doctitle" --><title>โรงเรยนมหาวชานกล</title><!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --><style type="text/css"><!--.style38 {font-size: 9px}.style40 {font-size: 18px}body {

background-image: url(pic/20733_10095_101205093043_oI.jpg);}.style41 {font-size: 14px}.style42 {

font-size: 16px;font-weight: bold;

}--></style></head>

<body><table width="1024" border="5" align="center" bordercolor="#9900FF"> <tr>

<td colspan="2"><img src="pic/heb .jpg" width="1024" height="200" /></td>

</tr> <tr> <td colspan="2" bgcolor="#9966CC"><span class="style12"> <marquee> </marquee> <strong><font color="#0033CC" size="5"><span class="style12"> <span

class="style38"> <marquee> </marquee> </span></span></font><font color="#0033CC"><span

class="style12"><span class="style40"> <span class="style41"> <marquee> <strong><font color="#0033CC">(---**ยนดตอนรบเขาสระบบจดการ

ขอมล**---)</font></strong> </marquee> </span></span> </span></font><span class="style41"><font

color="#0033CC"> <marquee> </marquee> </font></span></strong></span><span class="style12 style41"> <marquee> </marquee> </span> <div align="center"></div></td> </tr> <tr> <td width="208" valign="top" bgcolor="#9966CC"><table width="234"> <tr> <td width="226"><?=$_COOKIE[admin_name];?></td> </tr> <tr> <td><form id="form1" name="form1" method="post"

action="logoutam.php"> <label> <a href ="logoutam.php"> <input type="submit" name="submit" id="submit" value="ออกจากระบบ" /> </a> </label> </form> </td> </tr> </table> <table width="204"> <tr> <td width="196"><img src="pic/manu/Untitled-1 copy.jpg" width="192"

height="62" /></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45"

height="48" /><a href="am_showtc.php">จดการขอมลอาจารย</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45"

height="48" /><a href="am_showacc.php" class="style42">จดการขอมลกจกรรม</a></td> </tr> <tr>

<td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="am_shownew.php" class="style42">จดการขอมลขาวประชาสมพนธ</a></td>

</tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45"

height="48" /><a href="am_showposition.php">จดการขอมลตำาแหนง</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" alt=""

width="45" height="48" /><a href="am_showboard.php">จดการขอมลกระดานถาม-ตอบ</a></td>

</tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45"

height="48" /><a href="am_showadmin.php">จดการขอมลผดแลระบบ</a></td> </tr> </table> <p align="center">&nbsp;</p> <p align="center">&nbsp;</p> <div align="center"></div> <p>&nbsp;</p></td> <td width="810" valign="top" bgcolor="#E8C1F0"><!-- InstanceBeginEditable

name="EditRegion3" --> <form action="" method="post" enctype = "multipart/form-data"

name="form1" id="form2"> <p>&nbsp;</p> <p align="center"><a href="am_showtc.php">แสดงขอมลอาจารย</a></p> <p align="center">&nbsp;</p> <table width="463" border="0" align="center" cellpadding="1"

cellspacing="1"> <tr> <td height="34" colspan="2" bgcolor="#666666"><div

align="center">เพมขอมลอาจารย</div></td> </tr> <tr> <td height="28" bgcolor="#CCCCCC">รหสอาจารย</td> <td bgcolor="#CCCCCC"><span class="style13 style28"> <input type="text" name="tcid" id="tcid" /> </span></td> </tr> <tr> <td height="28" bgcolor="#CCCCCC">ตำาแหนง</td> <td bgcolor="#CCCCCC"><label> <select name="inposition" id="inposition"> <option selected="selected">---เลอก--- </option> <?php

include("config.php");$sql="SELECT * FROM `position` ";$result = mysql_query($sql);while ($data = mysql_fetch_array($result)){echo "<option

value='$data[p_id]'>$data[p_name]</option>";}

?> </select>

</label></td> </tr> <tr> <td width="151" height="28" bgcolor="#CCCCCC"><span

class="style26">กลมสาระ</span></td> <td width="305" bgcolor="#CCCCCC"><label> <select name="ingroup" id="ingroup"> <option selected="selected">---เลอก--- </option> <?php

include("config.php");$sql="SELECT * FROM `group` ";$result = mysql_query($sql);while ($data = mysql_fetch_array($result)){echo "<option

value='$data[group_id]'>$data[group_name]</option>";}

?> </select> </label> </td> </tr> <tr> <td bgcolor="#CCCCCC"><span class="style26">ชออาจารย</span></td> <td bgcolor="#CCCCCC"><label> <input type="text" name="tcname" id="textfield10" /> </label> </td> </tr> <tr> <td height="89" bgcolor="#CCCCCC"><span class="style26">ท

อย</span></td> <td bgcolor="#CCCCCC"><label> <textarea name="tcadd" id="tcadd" cols="45" rows="5"></textarea> </label> </td> </tr> <tr> <td height="31" bgcolor="#CCCCCC"><span class="style26">อเมล

ล</span></td> <td bgcolor="#CCCCCC"><label> <input type="text" name="tcmaill" id="textfield11" /> </label> </td> </tr> <tr> <td bgcolor="#CCCCCC"><span class="style26">รหส</span></td> <td bgcolor="#CCCCCC"><label> <input type="text" name="tcuser" id="textfield12" /> </label> </td> </tr> <tr> <td height="30" bgcolor="#CCCCCC"><span class="style26">รหส

ผาน</span></td> <td bgcolor="#CCCCCC"><label> <input type="text" name="tcpass" id="textfield13" /> </label> </td> </tr> <tr> <td height="34" bgcolor="#CCCCCC"><span

class="style26">รปภาพ</span></td>

<td bgcolor="#CCCCCC"><label> <input type="file" name="inpic" id="textfield14" /> </label> <label></label> </td> </tr> <tr> <td height="100" bgcolor="#CCCCCC">&nbsp;</td> <td bgcolor="#CCCCCC"><label></label> <div align="right"> <label> </label> <div align="center"> <input type="submit" name="submit" id="submit" value=" บนทก...

" /> <input type="reset" name="button4" id="button6" value=" ยกเลก

" /> </div> <label> </label> <div align="center"> </div> </div></td> </tr> </table> <p><span class="style27"> <? include("config.php"); if(isset($_POST[submit])){ if(isset($_FILES[inpic])){

if ($_FILES[inpic][type] == "image/pjpeg") {$n = "jpg" ;

} else if ($_FILES[inpic][type] == "image/gif") {$n = "gif" ;

} else if ($_FILES[inpic][type] == "image/x-png") {$n = "png" ;

} copy($_FILES[inpic][tmp_name],'images/'.

$_POST[tcid].'.'.$n);}

$required = array ("tcid"=>"รหสอาจารยผสอน","inposition"=>"ตำาแหนง","ingroup"=>"กลมสาระ","tcname"=>"ชออาจารย","tcadd"=>"ทอย","tcmaill"=>"อเมล","tcuser"=>"รหส","tcpass"=>"รหสผาน");

foreach ($required as $field => $label){if (trim($_POST[$field]) == ""){

$err .= " คณไมไดปอน $label";}}if($err){echo "<script lanquage = 'Javascript'> alert('เกดขอผดพลาด');</script>";echo "<script lanquage = 'Javascript'> alert('$err');</script>";exit();}

$sql2="insert into `teacher` values ('$_POST[tcid]','$_POST[inposition]','$_POST[ingroup]','$_POST[tcname]','$_POST[tcadd]','$_POST[tcmaill]','$_POST[tcuser]','$_POST[tcpass]','$_POST[tcid].$n')";

mysql_query($sql2) or die("เพมขอมลไมได"); $id = mysql_insert_id(); echo "<script language=javascript>"; echo "alert ('คณเพมขอมลอาจารยเรยบรอยแลว');"; echo "</script>";

echo"<meta http-equiv=refresh content=1;url=am_showtc.php />"; }

?> </span></p> </form> <!-- InstanceEndEditable --></td> </tr> <tr> <td colspan="2" valign="top" bgcolor="#999999"><div align="center"><font

color="#000000" size="4">โรงเรยนมหาวชานกล </font><font size="4"><br /> ถนน เลยงเมองมหาสารคาม-รอยเอด ตำาบลแวงนาง อำาเภอเมองมหาสารคาม จงหวดมหาสารคาม 44000<br /> โทรศพท : 0-4371-1405, 0-4371-2129 โทรสาร : 0-4377-782

&nbsp;</font></div></td> </tr></table></body><!-- InstanceEnd --></html><? ob_end_flush();?>

Source Code am_editnew.php<?php include("check_loginam.php");?><!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"><!-- InstanceBegin template="/Templates/admin.dwt" codeOutsideHTMLIsLocked="false" --><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!-- InstanceBeginEditable name="doctitle" --><title>โรงเรยนมหาวชานกล</title><!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --><style type="text/css"><!--.style38 {font-size: 9px}.style40 {font-size: 18px}body {

background-image: url(pic/20733_10095_101205093043_oI.jpg);}.style41 {font-size: 14px}.style42 {

font-size: 16px;font-weight: bold;

}--></style></head>

<body><table width="1024" border="5" align="center" bordercolor="#9900FF"> <tr> <td colspan="2"><img src="pic/heb .jpg" width="1024" height="200" /></td> </tr> <tr>

<td colspan="2" bgcolor="#9966CC"><span class="style12"> <marquee> </marquee> <strong><font color="#0033CC" size="5"><span class="style12"> <span class="style38"> <marquee> </marquee> </span></span></font><font color="#0033CC"><span class="style12"><span class="style40"> <span class="style41"> <marquee> <strong><font color="#0033CC">(---**ยนดตอนรบเขาสระบบจดการขอมล**---)</font></strong> </marquee> </span></span> </span></font><span class="style41"><font color="#0033CC"> <marquee> </marquee> </font></span></strong></span><span class="style12 style41"> <marquee> </marquee> </span> <div align="center"></div></td> </tr> <tr> <td width="208" valign="top" bgcolor="#9966CC"><table width="234"> <tr> <td width="226"><?=$_COOKIE[admin_name];?></td> </tr> <tr> <td><form id="form1" name="form1" method="post" action="logoutam.php"> <label> <a href ="logoutam.php"> <input type="submit" name="submit" id="submit" value="ออกจากระบบ" /> </a> </label> </form> </td> </tr> </table> <table width="204"> <tr> <td width="196"><img src="pic/manu/Untitled-1 copy.jpg" width="192" height="62" /></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="am_showtc.php">จดการขอมลอาจารย</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="am_showacc.php" class="style42">จดการขอมลกจกรรม</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="am_shownew.php" class="style42">จดการขอมลขาวประชาสมพนธ</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="am_showposition.php">จดการขอมลตำาแหนง</a></td>

</tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" alt="" width="45" height="48" /><a href="am_showboard.php">จดการขอมลกระดานถาม-ตอบ</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="am_showadmin.php">จดการขอมลผดแลระบบ</a></td> </tr> </table> <p align="center">&nbsp;</p> <p align="center">&nbsp;</p> <div align="center"></div> <p>&nbsp;</p></td> <td width="810" valign="top" bgcolor="#E8C1F0"><!-- InstanceBeginEditable name="EditRegion3" --> <form action="" method="post" name="form1" id="form2"> <p align="center"><a href="am_shownew.php">แสดงขอขาวประชาสมพนธ</a> </p> </form> <form action="" method="post" name="form1" id="form3"> <table width="609" height="380" border="0" align="center" cellpadding="1" cellspacing="3"> <tr> <td height="43" colspan="2" bgcolor="#999999"><div align="center"><span class="style13 style28">แกไขขอมลขาวประชาสมพนธ <?php include("config.php"); if(isset($_GET[news_id])){ $sql3="SELECT * FROM `news` where news_id='$_GET[news_id]'"; $result3 = mysql_query($sql3); $data3 = mysql_fetch_array($result3); } ?> <input type="hidden" name="inid" id="inid" value = "<?=$data3[news_id];?>"/> </span></div></td> </tr> <tr> <td width="148" bgcolor="#CCCCCC">เลอกประเภทขาว</td> <td width="493" bgcolor="#CCCCCC"><select name="intype" id="intype"> <option selected="selected">---เลอก--- </option> <?php

include("config.php");$sql="SELECT * FROM `typenews` ";$result = mysql_query($sql);while ($data = mysql_fetch_array($result)){if($data[type_id]==$data3[type_id]){

$p="selected"; }else{ $p=""; }

echo "<option value='$data[type_id]' $p>$data[type_name]</option>";

}?>

</select></td> </tr> <tr>

<td bgcolor="#CCCCCC">ชอขาว</td> <td bgcolor="#CCCCCC"><input type="text" name="inname" id="inname" value = "<?=$data3[news_top];?>"/></td> </tr> <tr> <td bgcolor="#CCCCCC">รายระเอยด</td> <td bgcolor="#CCCCCC"><textarea name="indetail" id="indetail" cols="65" rows="15"><?=$data3[news_detail];?> </textarea> <script language="JavaScript" src="wysiwyg/wysiwyg.js" type="text/javascript"></script> <script language="JavaScript" type="text/javascript"> generate_wysiwyg('indetail'); </script></td> </tr> <tr> <td bgcolor="#CCCCCC"><input type="hidden" name="incard" value="<?=$_POST[news_id];?>" /></td> <td bgcolor="#CCCCCC"><p> <label> <input type="submit" name="submit" id="submit" value="บนทก" /> </label> <label> <input type="reset" name="button" id="button" value="ยกเลก" /> </label> <? include("config.php");if(isset($_POST[submit])){ $sql2=" update `news` set news_id =$_GET[news_id],type_id='$_POST[intype]',news_top ='$_POST[inname]',news_detail='$_POST[indetail]' where news_id=$_GET[news_id]";

//var_dump($sql2);exit; mysql_query($sql2) or die("แกไขมลไมได"); echo "<script language=javascript>"; echo "alert ('คณแกไขเรยบรอยแลว');"; echo "</script>"; echo"<meta http-equiv=refresh content=1;url=am_shownew.php />";

}?> </p></td> </tr> </table> <p>&nbsp; </p> </form> <p>&nbsp;</p> <!-- InstanceEndEditable --></td> </tr> <tr> <td colspan="2" valign="top" bgcolor="#999999"><div align="center"><font color="#000000" size="4">โรงเรยนมหาวชานกล </font><font size="4"><br /> ถนน เลยงเมองมหาสารคาม-รอยเอด ตำาบลแวงนาง อำาเภอเมองมหาสารคาม จงหวดมหาสารคาม 44000<br /> โทรศพท : 0-4371-1405, 0-4371-2129 โทรสาร : 0-4377-782 &nbsp;</font></div></td> </tr></table></body>

<!-- InstanceEnd --></html>

Source Code am_showboard.php<?php include("check_loginam.php");?><!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"><!-- InstanceBegin template="/Templates/admin.dwt" codeOutsideHTMLIsLocked="false" --><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!-- InstanceBeginEditable name="doctitle" --><title>โรงเรยนมหาวชานกล</title><!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --><style type="text/css"><!--.style38 {font-size: 9px}.style40 {font-size: 18px}body {

background-image: url(pic/20733_10095_101205093043_oI.jpg);}.style41 {font-size: 14px}.style42 {

font-size: 16px;font-weight: bold;

}--></style></head>

<body><table width="1024" border="5" align="center" bordercolor="#9900FF"> <tr> <td colspan="2"><img src="pic/heb .jpg" width="1024" height="200" /></td> </tr> <tr> <td colspan="2" bgcolor="#9966CC"><span class="style12"> <marquee> </marquee> <strong><font color="#0033CC" size="5"><span class="style12"> <span class="style38"> <marquee> </marquee> </span></span></font><font color="#0033CC"><span class="style12"><span class="style40"> <span class="style41"> <marquee> <strong><font color="#0033CC">(---**ยนดตอนรบเขาสระบบจดการขอมล**---)</font></strong> </marquee> </span></span> </span></font><span class="style41"><font color="#0033CC"> <marquee> </marquee> </font></span></strong></span><span class="style12 style41"> <marquee> </marquee> </span>

<div align="center"></div></td> </tr> <tr> <td width="208" valign="top" bgcolor="#9966CC"><table width="234"> <tr> <td width="226"><?=$_COOKIE[admin_name];?></td> </tr> <tr> <td><form id="form1" name="form1" method="post" action="logoutam.php"> <label> <a href ="logoutam.php"> <input type="submit" name="submit" id="submit" value="ออกจากระบบ" /> </a> </label> </form> </td> </tr> </table> <table width="204"> <tr> <td width="196"><img src="pic/manu/Untitled-1 copy.jpg" width="192" height="62" /></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="am_showtc.php">จดการขอมลอาจารย</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="am_showacc.php" class="style42">จดการขอมลกจกรรม</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="am_shownew.php" class="style42">จดการขอมลขาวประชาสมพนธ</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="am_showposition.php">จดการขอมลตำาแหนง</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" alt="" width="45" height="48" /><a href="am_showboard.php">จดการขอมลกระดานถาม-ตอบ</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="am_showadmin.php">จดการขอมลผดแลระบบ</a></td> </tr> </table> <p align="center">&nbsp;</p> <p align="center">&nbsp;</p> <div align="center"></div> <p>&nbsp;</p></td> <td width="810" valign="top" bgcolor="#E8C1F0"><!-- InstanceBeginEditable name="EditRegion3" --> <form action="<?=$PHP_SELF;?>" method="post" name="form1" id="form2"> <table width="572" border="1" align="center" cellpadding="4" cellspacing="1"> <tr bgcolor="#9999FF"> <th width="33" bordercolor="#9900FF" bgcolor="#666666">ท</th> <th width="238" bordercolor="#9900FF" bgcolor="#666666">หวขอคำาถาม</th>

<th width="82" bordercolor="#9900FF" bgcolor="#666666">ชอผถาม</th> <th width="124" bordercolor="#9900FF" bgcolor="#666666">วนท</th> <th width="37" bordercolor="#9900FF" bgcolor="#666666">ลบ</th> </tr> <?

include("config.php") ;$sql = "SELECT * FROM board ORDER BY board_id DESC" ;$result = mysql_query($sql) ;while ($data = mysql_fetch_array($result)) {

$sql2 = "SELECT * FROM board_answer WHERE answer_id =$data[answer_id]" ;

$result2 = mysql_query($sql2) ;

?> <tr> <td align="center" bordercolor="#9900FF"><?=$data[board_id];?></td> <td bordercolor="#9900FF"><a href="am_showanswer.php?board_id=<?=$data[board_id];?>"> <?=$data[board_subject];?> </a></td> <td bordercolor="#9900FF"><?=$data[board_name];?> </td> <td bordercolor="#9900FF"><?=$data[date_time];?></td> <td bordercolor="#9900FF"><div align="center"><? echo"<a href='am_deleteboard.php?board_id=$data[board_id]'><img src=pic/drop.png border=0></a>"?></div> </td> </tr> <? } ?> </table> <p>&nbsp;</p> <table width="57%" align="center" bordercolor="#F0F0F0" background="images/page_bg1.gif" bgcolor="#FFFFFF"> <tr bgcolor="#9966FF"> <td height="25" bgcolor="#CCCCCC"><h5 align="right">ตงคำาถาม : </h5></td> <td bgcolor="#CCCCCC"><label> <textarea name="inQuestion" id="inQuestion" cols="45" rows="5"></textarea> </label></td> </tr> <tr bgcolor="#9966FF"> <td width="22%" bgcolor="#CCCCCC"><div align="right"> <h5><span class="style11">&#3594;&#3639;&#3656;&#3629; - &#3626;&#3585;&#3640;&#3621;:</span></h5> </div></td> <td width="78%" bgcolor="#CCCCCC"><label> </label> <div align="left"> <input type="text" name="inName" id="inName" /> </div> <label></label> </td> </tr> <tr bgcolor="#9966FF"> <td height="23" bgcolor="#CCCCCC">&nbsp;</td> <td bgcolor="#CCCCCC"><div align="left"> <label> <input type="submit" name="Submit" id="Submit" value="บนทก" /> </label> <label>

<input type="reset" name="button2" id="button2" value="ยกเลก" /> </label> <strong> <label for="button3"></label> </strong> </div></td> </tr> </table> <p> <?php include("config.php"); if(isset($_POST[Submit])){ $required = array ("inQuestion"=>"คำาถาม","inName"=>"ชอ");

foreach ($required as $field => $label){if (trim($_POST[$field]) == ""){

$err .= " คณไมไดปอน $label";}}if($err){echo "<script lanquage = 'Javascript'> alert('เกดขอผดพลาด');</script>";echo "<script lanquage = 'Javascript'> alert('$err');</script>";exit();}

$sql2="insert into `board` values ('$_POST[inId]','$_POST[inName]','$_POST[inQuestion]',NOW())";

mysql_query($sql2) or die("เพมคำาถามขอมลไมได"); echo " เพมคำาถามขอมลเรยบรอยแลว";echo"<meta http-equiv=refresh content=3;url=am_showboard.php />";

}?> </p> </form> <!-- InstanceEndEditable --></td> </tr> <tr> <td colspan="2" valign="top" bgcolor="#999999"><div align="center"><font color="#000000" size="4">โรงเรยนมหาวชานกล </font><font size="4"><br /> ถนน เลยงเมองมหาสารคาม-รอยเอด ตำาบลแวงนาง อำาเภอเมองมหาสารคาม จงหวดมหาสารคาม 44000<br /> โทรศพท : 0-4371-1405, 0-4371-2129 โทรสาร : 0-4377-782 &nbsp;</font></div></td> </tr></table></body><!-- InstanceEnd --></html>

Source Code tc_addtest.php<?php include("check_logintc.php");?><!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"><!-- InstanceBegin template="/Templates/teacher.dwt" codeOutsideHTMLIsLocked="false" --><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!-- InstanceBeginEditable name="doctitle" -->

<title>Untitled Document</title><!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --><style type="text/css"><!--.style38 {font-size: 9px}.style40 {font-size: 18px}body {

background-image: url(pic/20733_10095_101205093043_oI.jpg);}.style41 {font-size: 14px}.style42 {

font-size: 16px;font-weight: bold;

}.style43 {color: #FFFFFF}.style44 {font-size: 14px; color: #FFFFFF; }--></style></head>

<body><table width="1024" border="5" align="center" bordercolor="#9900FF"> <tr> <td colspan="2"><img src="pic/heb .jpg" width="1024" height="200" /></td> </tr> <tr> <td colspan="2" bgcolor="#9966CC"><span class="style12"> <marquee> </marquee> <strong><font color="#0033CC" size="5"><span class="style12"> <span class="style38"> <marquee> </marquee> </span></span></font><font color="#0033CC"><span class="style12"><span class="style40"> <span class="style41"> <span class="style43"> <marquee> </marquee> </span></span></span></span></font><span class="style12"><span class="style40"><span class="style41"><span class="style43"> <marquee> <strong>(---**ยนดตอนรบเขาสระบบจดการขอมล**---)</strong> </marquee> </span></span></span> </span><font color="#0033CC"><span class="style12"><span class="style40"><span class="style41"><span class="style43"> <marquee> </marquee> </span></span></span></span></font><span class="style44"> <marquee> </marquee> </span></strong></span><span class="style12 style41 style43"> <marquee> </marquee> </span> <div align="center"></div></td> </tr>

<tr> <td width="208" valign="top" bgcolor="#9966CC"><table width="225"> <tr> <td width="217"><?=$_COOKIE[teacher_name];?></td> </tr> <tr> <td><form id="form1" name="form1" method="post" action="logouttc.php"> <label><a href ="logouttc.php"> <input type="submit" name="submit" id="submit" value="ออกจากระบบ" /> </a></label> </form> </td> </tr> </table> <table width="204"> <tr> <td width="196"><img src="pic/manu/pp[.jpg" width="196" height="53" /></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="tc_showstudent.php" class="style42">จดการขอมลนกเรยน</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="tc_showchapter.php" class="style42">จดการบทเรยน(E-Learning)</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="tc_showtest.php" class="style42">จดการแบบทดสอบ</a></td> </tr> </table> <p align="center">&nbsp;</p> <p align="center">&nbsp;</p> <div align="center"></div> <p>&nbsp;</p></td> <td width="810" valign="top" bgcolor="#E8C1F0"><!-- InstanceBeginEditable name="EditRegion3" --> <form action="" method="post" name="form1" id="form1"> <div align="center"> <pre class="style34"><strong><a href="tc_addtest.php">เพมขอมลแบบทดสอบ</a> || <a href="tc_showtest.php">แสดงขอมลแบบทดสอบ</a>|| <a href="tc_edittest.php">แกไขขอมลแบบทดสอบ</a></strong></pre> </div> <table width="95%" bordercolor="#F0F0F0" background="images/page_bg1.gif" bgcolor="#FFFFFF"> <tr bgcolor="#999933"> <td colspan="2" bgcolor="#666666"><div align="center" class="style13"> <div align="center">เพมขอมล<span class="style19"><span class="style20">แบบทดสอบ<br /> </span><br /> </span></div> </div></td> </tr> <tr bgcolor="#CCCCCC"> <td width="36%"><div align="right"> <h5><strong>รหสวชา</strong>: : </h5>

</div></td> <td width="64%"><label> </label> <label></label> <select name="inSubjects" id="inSubjects"> <option selected="selected">---เลอก---</option> <?php

include("config.php");$sql="select * from course";$result = mysql_query($sql);while ($data = mysql_fetch_array($result)){echo "<option

value='$data[course_id]'>$data[course_name]</option>";}

?> </select> <div align="left"></div></td> </tr> <tr bgcolor="#CCCCCC"> <td><div align="right" class="style35"> <h5>หวขอคำาถาม : </h5> </div></td> <td><label> </label> <label> </label> <div align="left"> <textarea name="inTitle" id="inTitle" cols="45" rows="5"></textarea> </div> <div align="left"></div></td> </tr> <tr bgcolor="#CCCCCC"> <td><div align="right" class="style35"> <h5>เฉลย : </h5> </div></td> <td><label> </label> <label> </label> <div align="left"> <label></label> <label> <select name="inReply" id="inReply"> <option>.เลอก..</option> <option>1</option> <option>2</option> <option>3</option> <option>4</option> </select> </label> </div> <div align="left"></div></td> </tr> <tr bgcolor="#CCCCCC"> <td height="21"><div align="right" class="style35"> <h5>ตวเลอกท 1 :</h5> </div></td> <td><label> </label> <div align="left"> <textarea name="inOption1" cols="45" rows="5" id="inOption1"></textarea> </div></td> </tr>

<tr bgcolor="#CCCCCC"> <td height="21"><div align="right" class="style35"> <h5>ตวเลอกท 2 :</h5> </div></td> <td><label> </label> <div align="left"> <textarea name="inOption2" id="inOption2" cols="45" rows="5"></textarea> </div></td> </tr> <tr bgcolor="#CCCCCC"> <td height="21"><div align="right" class="style35"> <h5>ตวเลอกท 3 :</h5> </div></td> <td><label> </label> <div align="left"> <textarea name="inOption3" id="inOption3" cols="45" rows="5"></textarea> </div></td> </tr> <tr bgcolor="#CCCCCC"> <td height="21"><div align="right" class="style35"> <h5>ตวเลอกท 4 :</h5> </div></td> <td><label> </label> <div align="left"> <textarea name="inOption4" id="inOption4" cols="45" rows="5"></textarea> </div></td> </tr> <tr bgcolor="#CCCCCC"> <td height="56">&nbsp;</td> <td><div align="left"> <label> <input type="submit" name="Submit" id="Submit" value="บนทก" /> </label> <label> <input type="submit" name="reset" id="reset" value="ยกเลก" /> </label> <strong> <label for="button3"></label> </strong></div></td> </tr> </table> <p> <? include("config.php"); if(isset($_POST[Submit])){ $required = array ("inSubjects"=>"รายวชา","inOption1"=>"ตวเลอกท1","inOption2"=>"ตวเลอกท2","inOption3"=>"ตวเลอกท3","inOption4"=>"ตวเลอกท4","inTitle"=>"คำาถาม","inReply"=>"คำาตอบ");

foreach ($required as $field => $label){if (trim($_POST[$field]) == ""){

$err .= " คณไมไดปอน $label";}}

if($err){echo "<script lanquage = 'Javascript'> alert('เกดขอผดพลาด');</script>";echo "<script lanquage = 'Javascript'> alert('$err');</script>";exit();}

$sql2="insert into `test` (`test_id`,`course_id`,`test1`,`test2`,`test3`,`test4`,`question`,`answer`) values ('$_POST[inId]','$_POST[inSubjects]','$_POST[inOption1]','$_POST[inOption2]','$_POST[inOption3]','$_POST[inOption4]','$_POST[inTitle]','$_POST[inReply]')";

mysql_query($sql2) or die("เพมขอมลไมได"); echo "<script language=javascript>"; echo "alert ('คณเพมขอมลเรยบรอยแลว');"; echo "</script>"; echo"<meta http-equiv=refresh content=1;url=tc_showtest.php />";

}

?> </p> </form> <!-- InstanceEndEditable --></td> </tr> <tr> <td colspan="2" valign="top" bgcolor="#999999"><div align="center"><font color="#000000" size="4">โรงเรยนมหาวชานกล </font><font size="4"><br /> ถนน เลยงเมองมหาสารคาม-รอยเอด ตำาบลแวงนาง อำาเภอเมองมหาสารคาม จงหวดมหาสารคาม 44000<br /> โทรศพท : 0-4371-1405, 0-4371-2129 โทรสาร : 0-4377-782 &nbsp;</font></div></td> </tr></table></body><!-- InstanceEnd --></html>

Source Code tc_uppicture.php

<?ob_start();?><?php include("check_logintc.php");?><!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"><!-- InstanceBegin template="/Templates/teacher.dwt" codeOutsideHTMLIsLocked="false" --><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!-- InstanceBeginEditable name="doctitle" --><title>โรงเรยนมหาวชานกล</title><!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --><script type="text/javascript"><!--

//--></script><!-- InstanceEndEditable --><style type="text/css"><!--

.style38 {font-size: 9px}

.style40 {font-size: 18px}body {

background-image: url(pic/20733_10095_101205093043_oI.jpg);}.style41 {font-size: 14px}.style42 {

font-size: 16px;font-weight: bold;

}.style43 {color: #FFFFFF}.style44 {font-size: 14px; color: #FFFFFF; }--></style></head>

<body><table width="1024" border="5" align="center" bordercolor="#9900FF"> <tr> <td colspan="2"><img src="pic/heb .jpg" width="1024" height="200" /></td> </tr> <tr> <td colspan="2" bgcolor="#9966CC"><span class="style12"> <marquee> </marquee> <strong><font color="#0033CC" size="5"><span class="style12"> <span class="style38"> <marquee> </marquee> </span></span></font><font color="#0033CC"><span class="style12"><span class="style40"> <span class="style41"> <span class="style43"> <marquee> </marquee> </span></span></span></span></font><span class="style12"><span class="style40"><span class="style41"><span class="style43"> <marquee> <strong>(---**ยนดตอนรบเขาสระบบจดการขอมล**---)</strong> </marquee> </span></span></span> </span><font color="#0033CC"><span class="style12"><span class="style40"><span class="style41"><span class="style43"> <marquee> </marquee> </span></span></span></span></font><span class="style44"> <marquee> </marquee> </span></strong></span><span class="style12 style41 style43"> <marquee> </marquee> </span> <div align="center"></div></td> </tr> <tr> <td width="208" valign="top" bgcolor="#9966CC"><table width="225"> <tr> <td width="217"><?=$_COOKIE[teacher_name];?></td>

</tr> <tr> <td><form id="form1" name="form1" method="post" action="logouttc.php"> <label><a href ="logouttc.php"> <input type="submit" name="submit" id="submit" value="ออกจากระบบ" /> </a></label> </form> </td> </tr> </table> <table width="204"> <tr> <td width="196"><img src="pic/manu/pp[.jpg" width="196" height="53" /></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="tc_showstudent.php" class="style42">จดการขอมลนกเรยน</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="tc_showchapter.php" class="style42">จดการบทเรยน(E-Learning)</a></td> </tr> <tr> <td bgcolor="#E8C1F0"><img src="pic/manu/23_33.png" width="45" height="48" /><a href="tc_showtest.php" class="style42">จดการแบบทดสอบ</a></td> </tr> </table> <p align="center">&nbsp;</p> <p align="center">&nbsp;</p> <div align="center"></div> <p>&nbsp;</p></td> <td width="810" valign="top" bgcolor="#E8C1F0"><!-- InstanceBeginEditable name="EditRegion3" --> <form method="post" action="" enctype="multipart/form-data"> <p align="center"><a href="tc_showpic.php">แสดงขอมลรปภาพ</a></p> <table align="center"> <tr> <td colspan="2" align="center" bgcolor="#9900CC"><strong>รปภาพประกอบบทเรยน</strong></td> </tr> <tr> <td bgcolor="#F4DFFF"><div align="right"><b>รปภาพ :</b></div></td> <td bgcolor="#F4DFFF"><input name="picture" type="file" id="picture" /></td> </tr> <tr> <td bgcolor="#F4DFFF">&nbsp;</td> <td bgcolor="#F4DFFF"><input name="submit" type="submit" id="submit" value="บนทก" /> <input name="reset" type="reset" id="reset" value="ยกเลก" /></td> </tr> </table> <div align="center"> <p> <?$picture=$_FILES['picture']['tmp_name'];$picture_name=$_FILES['picture']['name'];

$picture_type=$_FILES['picture']['type'];

if (!$picture) {

exit();}

$ext = strtolower(end(explode('.', $picture_name)));

if ($ext == "jpg" or $ext == "jpeg" or $ext =="png" or $ext=="gif") {

include "config.php";$sql="insert into picture values (null,'') ";mysql_db_query($db,$sql);

$sql="select max(picture_id) from picture";$result=mysql_db_query($db,$sql);$r=mysql_fetch_array($result);$id_max=$r[0];

$filename=$id_max.".".$ext;

copy($picture,"files/$filename");

$sql="update picture set picture_name='$filename' where picture_id='$id_max' ";mysql_db_query($db,$sql);

echo "<H>อพโหลดรปภาพเรยบรอยแลว</H>";echo"<meta http-equiv=refresh content=1;url=tc_showpic.php />";mysql_close();

} else {echo "<h> ไมสามารถอพโหลดรปภาพได</h>";

}?> </p> <p><br /> </p> </div> <p align="center">&nbsp;</p> </form> <!-- InstanceEndEditable --></td> </tr> <tr> <td colspan="2" valign="top" bgcolor="#999999"><div align="center"><font color="#000000" size="4">โรงเรยนมหาวชานกล </font><font size="4"><br /> ถนน เลยงเมองมหาสารคาม-รอยเอด ตำาบลแวงนาง อำาเภอเมองมหาสารคาม จงหวดมหาสารคาม 44000<br /> โทรศพท : 0-4371-1405, 0-4371-2129 โทรสาร : 0-4377-782 &nbsp;</font></div></td> </tr></table></body><!-- InstanceEnd --></html><? ob_end_flush();?>

ภาคผนวก คบทนำาเสนอโครงงานเทคโนโลยสารสนเทศธรกจ

บทนำาเสนอโครงงานเทคโนโลยสารสนเทศธรกจ 1 ประจาภาคเรยนท 2/2553

วชา : 0904402 โครงงานเทคโนโลยสารสนเทศธรกจ 1 จำานวน 1 หนวยกต (0-2-0)ชอโครงงาน : ระบบสารสนเทศโรงเรยนมหาวชานกลรายชอผศกษาโครงงาน : 1. ชอ-สกล นางสาวนภาพรรณ บญปญญา รหสนสต 500109128042. ชอ-สกล นางสาวปยวรรณ เทยบแกว รหสนสต 50010912814อาจารยทปรกษาโครงงาน : อาจารย .................................................................................................(อาจารยเอกชย แนนอดร)

(....................................................) กรรมการทปรกษา

วนท ............/ ................/ ..............

(....................................................)

กรรมการคนท 1 วนท ............/ ................/ .............

(....................................................)

กรรมการคนท 2 วนท ............/ ................/ .............

1.1. ความเปนมาและความสำาคญของปญหา

ในปจจบนมการใชงานเทคโนโลยสารสนเทศเปนจำานวนมาก ไดมการนำามาใชในหลายสาขาวชาชพ ทงในดานการศกษา ดานธรกจอตสาหกรรม ดานการแพทย ดานวทยาศาสตรและเทคโนโลย เพออำานวยความสะดวกในการประกอบธรกจ การทำางาน การศกษาหาความร ทำาใหคณภาพชวตของคนในสงคมปจจบนดขน นอกจากนหนวยงานราชการตางๆ กนำาเทคโนโลยสารสนเทศและ ระบบคอมพวเตอร เขามาอำานวยความสะดวกใหกบประชาชน ในการตดตอประสานงานกบทางราชการ และในธรกจเอกชนทางดานการโรงแรม และการทองเทยว กใหบรการขอมลขาวสาร และบรการลกคาผานทางระบบอนเทอรเนต ทำาไดอยางสะดวกรวดเรวทนเหตการณและไดมการนำาระบบเทคโนโลยสารสนเทศ เขามาม

บทบาทในการปฏบตงานในโรงเรยนมากขน โดยเฉพาะการใชคอมพวเตอร เปนเครองมอในการดำาเนนกจกรรมตาง ๆ รวมทงสอสารประชาสมพนธ จนอาจกลาวไดวาคอมพวเตอรเปนสวนหนงของโรงเรยนในประเทศไทย ในทกระดบ

โรงเรยนมหาวชานกล ตงอยท ตำาบลหนองแวง อำาเภอเมอง จงหวดมหาสารคาม มตงแตระดบชนมธยมศกษาปท 1-6 และทางโรงเรยนกยงไมมเวบไซดและไมมระบบสอการเรยนการสอนแบบออนไลนทำาใหนกเรยนไมสามารถเรยนรผานสออนเตอรเนท ดวยเหตผลนจงไดจดทำาเวบไซดเพอแนะนำาโรงเรยนและจดทำาเปนสอการเรยนรออนไลนขนเพอชวยในการนำาไปใชในการดำาเนนชวตประจำาวน และเพอประชาสมพนธโรงเรยนใหเปนทรจกอยางแพรหลายผานอนเตอรเนต อกทงยงทำาใหโรงเรยนดทนสมย และสามารถนำาไปใชงานในดานตางๆ หรองานทมความเกยวของไดอยางมประสทธภาพ และยงทำาใหสามารถตดตอสอสารกบอาจารยผสอนผานระบบอนเตอรเนตไดอยางสะดวกมากยงขน

1.2.วตถประสงคเพอจดทำาเวบไซดแนะนำาโรงเรยนและพฒนาสอการเรยนการสอน

แบบออนไลน โรงเรยนมหาวชานกล

1.3.ขอบเขตการดำาเนนงาน 1.3.1 หนาเวบ ประกอบดวย 1.3.1.1 บคคลทวไป

1.3.1.1.1 สามารถเขาดประวตของโรงเรยนได

1.3.1.1.2 สามารถเขาดธรรมเนยบของอาจารยได1.3.1.1.3 สามารถเขาดขอมลการทำากจกรรมของโรงเรยน

ได1.3.1.1.4 สามารถแสดงความคดเหนใน กระดานถาม-ตอบ

ได1.3.1.1.5 สามารถเขาดขาวประชาสมพนธได

1.3.2 หลงเวบ ประกอบดวย

1.3.2.1 ผดแลระบบ1.3.2.1.1 ระบบจดการอาจารย

1.) สามารถ เพม ลบ แกไขขอมลอาจารยได2.) สามารถคนหาขอมลอาจารยได3.) สามารถแสดงขอมลของอาจารยได

1.3.2.1.2 ระบบประกาศขาวประชาสมพนธ1.) สามารถแสดงรายการขาวได2.) สามารถ เพม ลบ แกไข หมวดขาวได3.) สามารถ เพม ลบ แกไข ขาวประชาสมพนธได

1.3.2.1.3 ระบบจดการกจกรรม1.) สามารถ เพม ลบ แกไขขอมลกจกรรมของโรงเรยน

ได2.) สามรถแสดงขอมลกจกรรมของโรงเรยนได

1.3.2.1.4 ระบบจดการ กระดานถาม-ตอบ

1.) สามารถ ลบ หวขอคำาถามได2.) สามารถ ลบ คำาตอบได3.) สามารถแสดงรายการของกระดานถามตอบทงหมด

ได1.3.2.2 อาจารย

1.3.2.2.1 ระบบจดการขอมลนกเรยน

1.) สามารถ เพม ลบ แกไขขอมลนกเรยนได2.) สามารถคนหาขอมลนกเรยนได3.) สามรถแสดงขอมลนกเรยนได

1.3.2.2.2 ระบบจดการบทเรยน (E-Learning)1.) สามารถเพม ลบ แกไขบทเรยนได2.) สามารถคนหาบทเรยนได3.) สามรถแสดงบทเรยนได

1.3.2.2.3 ระบบจดการแบบทดสอบ1.) สามารถ เพม ลบ แกไขแบบทดสอบได2.) สามารถคนหาแบบทดสอบได3.) สามรถแสดงแบบทดสอบได

1.3.2.3 นกเรยน1.3.2.3.1. สามารถ Login เขาระบบได1.3.2.3.2. สามารถเขาเรยนบทเรยนออนไลนได1.3.2.3.3. สามารถทำาแบบทดสอบได1.3.2.3.4. สามารถดผลการทดสอบได

1.4.อปกรณและเครองมอในการดำาเนนงาน 1.4.1 ฮารดแวร

1.4.1.1 คอมพวเตอร Notebook จำานวน 2 เครอง1.4.1.1.1 CPU Pentium (R) dual- core ต ง แ ต

1.18 GHz ขนไป1.4.1.1.2 RAM 1 GB ขนไป1. 4.1.1.3 ฮารดดสก 250 GB

1.4.1.2 กลองถายรปดจตอล (Digital Camera)จ ำา น ว น 1 เครอง

1.4.1.3 เครองสแกนเนอร (Scanner) จ ำา น ว น 1 เครอง

1.4.1.4 เครองพมพ (Printer) จำานวน 1 เครอง1.4.2 ซอฟตแวร

4.2.1 โปรแกรม Microsoft Windows XP4.2.2 โปรแกรม Internet Explorer Browser สำาหรบเขาใช งาน Internet4.2.3 โปรแกรม Apache เปน Web Server 4.2.4 โปรแกรม phpMyAdmin 4.2.5 ฐานขอมล MySQL เวอรชน 5.0.27 ขนไป4.2.6 โปรแกรมภาษา PHP เวอรชน 5.2.1 ขนไป4.2.7 โปรแกรม Adobe Dremweaver cs34.2.8 โปรแกรม Aobe Flash cs34.2.9 โปรแกรม Appserv v.2.5.84.2.10 โปรแกรม Adobe Photoshop cs3

1.5. ระยะเวลาในการปฏบตงาน ตารางท 1-1 แสดงระยะเวลาในการดำาเนนงาน

กจกรรม

พ.ศ. 2553

พ.ศ.2554

ม.ย

ก.ค

ส.ค

ก.ย

ต.ค

พ.ย

ธ.ค

ม.ค

ก.พ

ม.ค

น ำา เ ส น อ ห ว ข อ ต ออาจารยทปรกษา

ศ ก ษ า แ ล ะ เ ก บรวบรวมขอมลวเคราะหและออกแบบระบบงานพฒนาระบบทดสอบและปรบปรงระบบน ำา เสนอผลงานต อคณะกรรมการจดทำาคมอ

1.6.ผลทคาดวาจะไดรบ1.6. 2 ชวยทำาใหใชประโยชนของคอมพวเตอรและอนเตอรเนทได

อยางสรางสรรค

1.6.3 ชวยประชาสมพนธกจกรรม ขาวสาร หรอกำาหนดการตางๆใหนกเรยน ผปกครองไดทราบอยางรวดเรว1.6.4 ชวยใหนกเรยนมความกลาแสดงออกทางความคดและเกดการพฒนาการดานอารมณและจตใจ1.6.5 ชวยใหนกเรยนมความรความสามารถ ในการเรยนและทนตอเทคโนโลย1.6.6 ชวยใหนกเรยนมความสะดวกสบายในการเรยนมากขน1.6.7 นกเรยนสามารถวดความรไดจากการทำาแบบทดสอบกอนเรยนและหลงเรยน1.6.8 มความสะดวกสบายในการคนหาขอมลมากขน

ภาคผนวก งรายงานการพบอาจารยทปรกษา

รายงานการพบทปรกษา

ชอเรอง ระบบสารสนเทศโรงเรยนมหาวชานกลผศกษา นางสาวนภาพรรณ บญปญญา รหส

นสต 50010912804 นางสาวปยวรรณ เทยบแกว รหสนสต 50010912814ทปรกษา อาจารยเอกชย แนนอดร

วน เดอน ป

รายงานความคบหนา ลายมอชอทปรกษา

12/07/2010

สงความคบหนา บทท1 และ 2 อาจารยทปรกษาไดเพมขอบเขตการดำาเนนงานในสวนของผดแลระบบ เจาหนาทและบคคลทวไป สวนในบทท 2 ใหไปเพม web server และ web browser อกทงใหเพมวรรณกรรมทเกยวของอก 3 เรองและขอดในการนดพบครงตอไป

20/07/2010

สงความคบหนาบทท 2 โดยทอาจารยไดดการจดรปแบบเอกสาร และใหเพมขอมล ในเรองฐานขอมลเขาไปอก

06/09/2010

สงความคบหนาบทท 3 พรอมกบตรวจเชคบทท1 และ 2 อาจารยไดใหแกไข Flowchart,ER-Diagram,Data Dictionary ใหม

10/01/2010

ดความคบหนาของเวบไซต และทำาการดงขอมลอาจารย ขอมลนกเรยน ขอมลขาวประชาสมพนธออกมาโชวดานหนาเวบไซต

Recommended