<?php include_once("config/dbconfig.inc.php"); include_once("class/acpram.inc.php"); $mycard2 = $_GET['mycard']; $tn = new myACP(); $tn->dbConnect ($dbhost, $dbuser, $dbpassword, $dbdatabase) ; $tn->show_comment_print($mycard2); while($tn->getrows()){ ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>confirm registrator</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="mycss.css" rel="stylesheet" type="text/css"> <style type="text/css" media="print"> .hideonprint {display: none;} </style> <style type="text/css"> <!-- body { margin-top: 0px; margin-bottom: 0px; background-color: #f3f3f3; } a:link { color: #000000; text-decoration: none; } a:visited { text-decoration: none; color: #000000; } a:hover { text-decoration: none; color: #000000; } a:active { text-decoration: none; color: #000000; } .style84 {font-family: "Microsoft Sans Serif"; font-size: 13px; font-weight: bold; } .style140 { font-family: AngsanaUPC; font-size: 20px; font-weight: bold; color: #0000FF; } .style141 {color: #666600} --> </style> <style type="text/css"> <!-- .style153 {font-family: "Microsoft Sans Serif"} .style154 {font-size: 13px} a:link { color: #000000; text-decoration: none; } a:visited { text-decoration: none; color: #000000; } a:hover { text-decoration: none; color: #000000; } a:active { text-decoration: none; color: #000000; } .style159 { font-size: 13px; color: #0000FF; font-family: "Microsoft Sans Serif"; font-weight: bold; } body { margin-top: 0px; margin-bottom: 0px; } .style160 {color: #003300} .style172 {color: #FF0000} .style181 { font-family: "MS Sans Serif", Tahoma, sans-serif; font-size: 13px; color: #FF0000; } --> </style> </head> <body> <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <form name="cfrm" action="_add_register.php" enctype="multipart/form-data" method="post" onSubmit="return CheckData();"> <tr> <td width="2%"> </td> <td width="96%"><div align="center"><img src="images/porkhun.gif" width="90" height="113"></div></td> <td width="2%"> </td> </tr> <tr> <td> </td> <td><div align="center" class="style140 style159"><u><strong>ใบคำร้องทั่วไป</strong></u></div></td> <td> </td> </tr> <tr> <td> </td> <td><div align="center" class="myfont style160"><strong>โครงการบริหารธุรกิจมหาบัณฑิต<br> M.B.A. for Advance Program<br> </strong></div></td> <td> </td> </tr> <tr> <td> </td> <td><span class="style84 style159"> </span></td> <td> </td> </tr> <tr> <td> </td> <td><table width="98%" border=0 align="center" cellpadding="0" cellspacing="0" class="mytable"> <tr> <td height="791" valign="top"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="100%"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="18%"><div align="right"><span class="myfont style160"><strong>โครงการ : </strong></span></div></td> <td width="2%" nowrap><div align="right"></div></td> <td width="46%"> <span class="myfont style154 style153 style172"> <?=$tn->result["std_project"]?> </span> </td> <td width="9%"><div align="center"><span class="myfont style160"><strong>วันที่ : </strong></span></div></td> <td width="21%"><span class="style181"> <?=$tn->result["dayin"].'/'.$tn->result["monthin"].'/'.$tn->result["yearin"]?> </span></td> <td width="4%" rowspan="3"><div align="center"> </div></td> </tr> <tr> <td><div align="right"><span class="myfont style160"><strong>เรื่อง : </strong></span></div></td> <td nowrap><div align="right"></div></td> <td> <span class="myfont style154 style153 style172"> <?=$tn->result["topics"]?> </span> </td> <td> </td> <td> </td> </tr> <tr> <td><div align="right"><span class="myfont style160"><strong>เรียน : </strong></span></div></td> <td nowrap> </td> <td><span class="myfont style160"><strong>ประธานโครงฯ</strong></span></td> <td> </td> <td><span class="style172"></span></td> </tr> <tr> <td height="22" colspan="6"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#eeeeee"> <tr> <td width="32%" height="19"> </td> <td width="2%" height="19"> </td> <td width="54%" height="19"> </td> <td width="12%" height="19"> </td> </tr> <tr> <td height="30"><div align="right" class="myfont style160"><strong>ข้าพเจ้า :</strong></div></td> <td height="30"> </td> <td height="30"><span class="myfont style153 style154 style172"> <?=$tn->result["std_name"]?> </span></td> <td height="30"> </td> </tr> <tr> <td height="30"><div align="right" class="myfont style160"><strong>รหัสประจำตัว<span class="style84 style141"> :</span></strong></div></td> <td height="30"> </td> <td height="30"> <div align="left"><span class="style153"><span class="style154"><span class="style172"><span class="myfont style153 style154 style172"> <?=$tn->result["std_code"]?> </span></span></span></span> </div></td> <td height="30"> </td> </tr> <tr> <td height="30"><div align="right" class="myfont style160"><strong>นักศึกษารุ่น<span class="style84 style141"> : </span></strong></div></td> <td height="30"> </td> <td height="30"><span class="myfont style153 style154 style172"> <?=$tn->result["std_model"]?> </span> </td> <td height="30"> </td> </tr> <tr> <td height="30"><div align="right" class="myfont style160"><strong>ลำดับที่<span class="style84 style141"> :</span></strong></div></td> <td height="30"> </td> <td height="30"><span class="myfont style153 style154 style172"> <?=$tn->result["std_no"]?> </span> </td> <td height="30"> </td> </tr> <tr> <td height="30"><div align="right" class="myfont style160"><strong>กลุ่มวิชา<span class="style84 style141"> : </span></strong></div></td> <td height="30"> </td> <td height="30"><span class="myfont style153 style154 style172"> <?=$tn->result["std_sub_grp"]?> </span> </td> <td height="30"> </td> </tr> <tr> <td height="30"><div align="right" class="myfont style160"><strong>ที่อยู่ปัจจุบัน<span class="style84 style141"> :</span></strong></div></td> <td height="30"> </td> <td height="30"><span class="style172"><span class="myfont style153 style154 style172"> <?=$tn->result["cur_address"]?> </span></span></td> <td height="30"> </td> </tr> <tr> <td height="30"><div align="right"><span class="myfont style160"><strong>เบอร์โทรศัพท์<span class="style84 style141"> :</span></strong></span></div></td> <td height="30"> </td> <td height="30"><span class="style172"><span class="myfont style153 style154 style172"> <?=$tn->result["std_tel"]?> </span></span></td> <td height="30"> </td> </tr> <tr> <td height="30"><div align="right"><span class="myfont style160"><strong>e-Mail<span class="style84 style141"> :</span></strong></span></div></td> <td height="30"> </td> <td height="30"><span class="style172"><span class="myfont style153 style154 style172"> <?=$tn->result["std_mail"]?> </span></span></td> <td height="30"> </td> </tr> <tr> <td height="30"> </td> <td height="30"> </td> <td height="30"> </td> <td height="30"> </td> </tr> <tr> <td height="30" colspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="22"> </td> <td><span class="style154 style153 style141 style84 style160"><strong>ด้วยข้าพเจ้า :</strong></span></td> <td> </td> </tr> <tr> <td width="17%" height="103"><div align="center"><span class="style154 style153 style141 style84 style160"></span></div></td> <td width="82%" valign="top"><span class="style172"><span class="myfont style153 style154 style172"> <?=$tn->result["main_story"]?> </span></span></td> <td width="1%"> </td> </tr> <tr> <td height="33"> </td> <td class="style160"><span class="myfont"><strong>จึงเรียนมาเพื่อโปรดพิจารณา</strong></span></td> <td> </td> </tr> <tr> <td height="22"> </td> <td class="style160"> </td> <td> </td> </tr> </table></td> </tr> <tr> <td height="30" colspan="4"><table width="100%" height="243" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#BACFF3"> <tr class="border"> <td width="50%" height="39"><div align="center"><span class="myfont style160"><strong>ความเห็นเจ้าหน้าที่</strong></span></div></td> <td width="50%"><div align="center"><span class="myfont style160"><strong>คำ่สั่ง</strong></span></div></td> </tr> <tr class="border"> <td height="191"> </td> <td> </td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> <td> </td> </tr> <tr> <td> </td> <td><div align="center"> <table width="18%" border="0" align="center" cellpadding="2" cellspacing="2" class="hideonprint"> <tr> <td width="20%"><img src="icons/print.gif" width="40" height="40"></td> <td width="80%" nowrap><div align="left"><a href="#" class="myfont" onClick="window.print()"><strong>พิมพ์ใบสมัคร</strong></a></div></td> </tr> </table> </div></td> <td> </td> </tr> </form> </table> </body> </html> <?php } ?>