<? include("Connection.php"); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> <script href="bootstrap/js/bootstrap.min.js" rel="stylesheet"></script> <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet"> <script src="http://code.jquery.com/jquery-1.7.min.js" ></script> <link rel="stylesheet" type="text/css" href="bootstrap/css/style.css" /> <link rel="icon" href="http://vandelaydesign.com/favicon.ico"> </head> <body> <div class="container"> <div class="header"> <!-- head sit --> <table width="1181"> <tr> <td width="314" rowspan="3"> <center><img src="bootstrap/Picture/logo.png"/img></center></td> <td colspan="2"> <center><img src="bootstrap/Picture/head1.png"/img></center></td> </tr> <!-- login info --> <tr> <td width="751"><div align="right">Welcome, admin</div></td> <td width="100"> <div align="right"><button type="submit" class="btn" name="submit" value="Submit"/>Logout</div> </td> </tr> <!-- icon --> <tr> <td width="751"> <div align="right"> <img height="23" width="23" src="Icon/UploadProj.png">Upload Project</img> <img height="23" width="23" src="Icon/Register.png"></img> <a href="Registeration.php" style="text-decoration:none" >Register</a> <img height="23" width="23" src="Icon/Member.png"> Member</img> </div> </td> <td width="100"></td> </tr> </table> </div> <div class="clear"></div> <!-- left container --> <div class="left-container"> <td width="402"><img src="bootstrap/Picture/TRanking.png"></img></td> <td width="402"><img src="bootstrap/Picture/TRanking.png"></img></td> <td width="402"><img src="bootstrap/Picture/TRanking.png"></img></td> <td width="402"><img src="bootstrap/Picture/TRanking.png"></img></td> <td width="402"><img src="bootstrap/Picture/TRanking.png"></img></td> </div> <!-- right container --> <div class="right-container"> <img src="bootstrap/Picture/TProjList.png"></img> <br/> <? //session_start(); include("Connection.php"); $id = $_GET['id']; $strSQL = "SELECT * FROM ProjectInfo WHERE ID = '".$id."'"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); $path = "myfile/"; while($objResult = mysql_fetch_array($objQuery)) { $image = $objResult['ProjectPic']; ?> <div class="projlist"><?=$objResult["ProjectName"];?> ----------------------------------------------------</div> <br/><br/> <img src='$path$image' /> Project ID: <?=$objResult["ID"];?> <br/> Project Name: <?=$objResult["ProjectName"];?> <br/> Programming Language: <?=$objResult["Language"];?> <br/> Advisor: <?=$objResult["Advisor"];?> <br/> <? } mysql_close(); ?> </td> </tr> </table> </div> </div> <style type="text/css"> body { background-image:url(bootstrap/Picture/Bg.png); } </style>
<? include("Connection.php"); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> <script href="bootstrap/js/bootstrap.min.js" rel="stylesheet"></script> <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet"> <script src="http://code.jquery.com/jquery-1.7.min.js" ></script> <link rel="stylesheet" type="text/css" href="bootstrap/css/style.css" /> <link rel="icon" href="http://vandelaydesign.com/favicon.ico"> <style type="text/css"> body { background-image:url(bootstrap/Picture/Bg.png); } </style> </head> <body> <div class="container"> <div class="header"> <!-- head sit --> <table width="1181"> <tr> <td width="314" rowspan="3"> <center><img src="bootstrap/Picture/logo.png"/img></center></td> <td colspan="2"> <center><img src="bootstrap/Picture/head1.png"/img></center></td> </tr> <!-- login info --> <tr> <td width="751"><div align="right">Welcome, admin</div></td> <td width="100"> <div align="right"><button type="submit" class="btn" name="submit" value="Submit"/>Logout</div> </td> </tr> <!-- icon --> <tr> <td width="751"> <div align="right"> <img height="23" width="23" src="Icon/UploadProj.png">Upload Project</img> <img height="23" width="23" src="Icon/Register.png"></img> <a href="Registeration.php" style="text-decoration:none" >Register</a> <img height="23" width="23" src="Icon/Member.png"> Member</img> </div> </td> <td width="100"></td> </tr> </table> </div> <div class="clear"></div> <!-- left container --> <div class="left-container"> <td width="402"><img src="bootstrap/Picture/TRanking.png"></img></td> <td width="402"><img src="bootstrap/Picture/TRanking.png"></img></td> <td width="402"><img src="bootstrap/Picture/TRanking.png"></img></td> <td width="402"><img src="bootstrap/Picture/TRanking.png"></img></td> <td width="402"><img src="bootstrap/Picture/TRanking.png"></img></td> </div> <!-- right container --> <div class="right-container"> <img src="bootstrap/Picture/TProjList.png"></img> <br/> <? //session_start(); include("Connection.php"); $id = $_GET['id']; $strSQL = "SELECT * FROM ProjectInfo WHERE ID = '".$id."'"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); $path = "myfile/"; while($objResult = mysql_fetch_array($objQuery)) { $image = $objResult['ProjectPic']; ?> <div class="projlist"><?=$objResult["ProjectName"];?> ----------------------------------------------------</div> <br/><br/> <img src='<?PHP echo $path.$image; ?>' /> Project ID: <?=$objResult["ID"];?> <br/> Project Name: <?=$objResult["ProjectName"];?> <br/> Programming Language: <?=$objResult["Language"];?> <br/> Advisor: <?=$objResult["Advisor"];?> <br/> <? } mysql_close(); ?> </td> </tr> </table> </div> </div> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง