<?php require_once('../../Connections/conn.php'); ?>
<?php
mysql_select_db($database_conn, $conn);
$query_Recordset1 = "SELECT * FROM students";
$Recordset1 = mysql_query($query_Recordset1, $conn) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?>
<?php


$select="SELECT *FROM Student WHERE Std_id=Std_name";

$query=mysqli_query($pageconfig,$select);
while($r=mysqli_fetch_array($query))
{
echo $row['Std_id'];
echo $row['Std_name'];

}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<title>النتيجه</title>
<style type="text/css">
<!--
body,td,th {
	font-size: 20px;
	color: #000000;
}
body {
	background-color: #A8998A;
}
a {
	font-size: 18px;
	color: #FFFFFF;
}
a:visited {
	color: #FFFFFF;
	text-decoration: none;
}
a:hover {
	color: #3D1B12;
	text-decoration: none;
}
a:active {
	color: #3D1B12;
	text-decoration: none;
}
.style4 {
	color: #666666;
	font-weight: bold;
	font-size: 10px;
}
a:link {
	color: #FFFFFF;
	text-decoration: none;
}
.style14 {font-size: 20px; color: #FFFFFF; }
.style16 {
	font-size: 18;
	font-weight: bold;
}
.style23 {
	font-size: x-large;
	color: #FFFFFF;
}
.style29 {
	color: #FFFFFF;
	font-weight: bold;
}
.style32 {color: #FFFFFF}
.style37 {font-size: 24px; color: #FFFFFF; }
.style38 {font-size: 24px; }
.style44 {font-family: Georgia, "Times New Roman", Times, serif}
.style47 {font-size: 24px; font-weight: bold; }
.style50 {color: #3D1B12; font-size: 40px; }
.style53 {color: #3D1B12}
.style54 {font-size: 24px; color: #3D1B12; }
.style55 {font-size: 30px}
.style67 {color: #000066}
.style68 {font-size: 18px;
	color: #3D1B12;
}
.style69 {color: #3D1B12; font-size: 16px; }
-->
</style>
</head>

<body>
<table width="1346" height="325%" border="4" align="center" cellpadding="0" cellspacing="0" bordercolor="#3D1B12" bgcolor="#3D1B12">
  <tr>
    <td width="1336" height="33%" align="right" valign="top" nowrap bordercolor="#000000" bgcolor="#BAA999"><div align="right">
      <blockquote>
        <div align="center">
          <div align="right">
            <div align="center">
              <div align="right">
                <div align="left">
                  <div align="right">
                    <div align="left">
                      <div align="right"></div>
                    </div>
                      <div align="justify">
                        <div align="right">
                          <div align="center">
                            <div align="right">
                              <pre align="right" class="style4">&nbsp;</pre>
                            </div>
                          </div>
                        </div>
                      </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      <div align="top"><img src="../collagee.jpg" width="1330" height="222">
      </div>
    </div></td>
  </tr>
  <tr>
    <td height="67%" align="left" valign="top" bordercolor="#000000" bgcolor="#A8998A"><table width="1326" border="1" cellpadding="2" cellspacing="2" bordercolor="#F0F0F0">
      <tr>
        <td width="1301" align="right" valign="right" bordercolor="#000000" bgcolor="#FFFFFF"><p align="center" class="style16">
	
        <MARQUEE height="40" direction="left" bgcolor="#3D1B12" onmouseover='this.stop()' onmouseout='this.start()' width="1300" style="color: #000066">
        <span class="style23"> أهلاً بك في كلية العلوم التطبيقية قسم تقنية المعلومات 
        </span>
        </marquee>
  
            </span>&nbsp;</p>
          <div align="right">
            <table width="1034" border="2" align="left" cellpadding="2" cellspacing="2">
              <tr>
                <th align="center" valign="top" bordercolor="#CCCCCC" scope="col"><div align="right">
                  <p align="center" class="style50"> : املأ البيانات التالية </p>
                  <form name="form1" method="post" action="">
                    <div align="center" class="style54">
                      <p>                        <span class="style55">



                        <select name="select" class="style38" title="<?php echo $row_Recordset1['Std_name']; ?>">
                          <?php
do {  
?>
                          <option value="<?php echo $row_Recordset1['Std_name']?>"><?php echo $row_Recordset1['Std_name']?></option>
                          <?php
} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
  $rows = mysql_num_rows($Recordset1);
  if($rows > 0) {
      mysql_data_seek($Recordset1, 0);
	  $row_Recordset1 = mysql_fetch_assoc($Recordset1);
  }
?>
                        </select>
                        : اسم الطالب</span> </p>
                      <p>                        <span class="style55">
                        <select name="select" class="style38" title="<?php echo $row_Recordset1['Std_id']; ?>">
                          <?php
do {  
?>
                          <option value="<?php echo $row_Recordset1['Std_id']?>"><?php echo $row_Recordset1['Std_id']?></option>
                          <?php
} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
  $rows = mysql_num_rows($Recordset1);
  if($rows > 0) {
      mysql_data_seek($Recordset1, 0);
	  $row_Recordset1 = mysql_fetch_assoc($Recordset1);
  }
?>
                        </select>
                        : الرقم القومي</span></p>
                      <p>&nbsp;</p>
                      <p>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="88" height="52">
  <param name="BGCOLOR" value="">
  <param name="movie" value="button1.swf">
  <param name="quality" value="high">
  <embed src="button1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="88" height="52" ></embed>
</object>
<span class="style55">اضغط لإستخراج النتيجة</span></p>
                      <p class="style55">&nbsp;</p>
                    </div>
                  </form>
                  <p align="center" class="style50">&nbsp;</p>
                  <p align="center" class="style50">&nbsp;</p>
                  <p align="center" class="style50">&nbsp;</p>
                  <p align="center" class="style50">&nbsp;</p>
                </div></th>
              </tr>
            </table>
          </div>
          <table width="255" height="439" border="1" align="right" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
          <tr>
            <td width="247" height="75" bordercolor="#FFFFFF" bgcolor="#A8998A"><div align="center" class="style37"><a href="wel_collage.php" class="style38"><strong>نبذه عن قسم تقنية المعلومات </strong></a></div></td>
          </tr>
          <tr>
            <td height="75" bgcolor="#A8998A"><div align="center" class="style29"><a href="std_record.php" class="style38">سجل الطلاب </a></div></td>
          </tr>
          <tr>
            <td height="75" bgcolor="#A8998A"><div align="center" class="style14"><a href="tadle_exam.php" class="style38"><strong>جدول الإمتحان </strong></a></div></td>
          </tr>
          <tr>
            <td height="75" bgcolor="#3D1B12"><div align="center" class="style32"><a href="objectives.php" class="style38"><strong>النتيجة</strong></a></div></td>
          </tr>
          <tr>
            <td height="75" bgcolor="#A8998A"><div align="center" class="style37"><a href="go_exam.php" class="style38"><strong>الدخول إلى الإمتحان </strong></a></div></td>
          </tr>
        </table></td>
        <td width="6" valign="top" bordercolor="#000000" bgcolor="#3D1B12"><div align="right">
          <p>&nbsp;</p>
          </div></td>
      </tr>
    </table>    
      <div align="right"></div>
      <div align="right"></div>
      <div align="center"></div>
      <div align="right"></div>
    <div align="right"><span class="style4">      </span></div></td>
  </tr>
</table>
<table width="1338" border="2" cellpadding="2" cellspacing="2" bordercolor="#3D1B12" bgcolor="#3D1B12">
  <tr>
    <td width="1325" height="38" bgcolor="#A8998A"><div align="right"><span class="style44">            
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="304" height="32">
          <param name="movie" value="../clock100.swf">
          <param name="quality" value="high">
          <param name="BGCOLOR" value="#A8998A">
          <embed src="../clock100.swf" width="304" height="32" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#A8998A"></embed>
        </object>
    </span></div></td>
  </tr>
</table>
<table width="1337" border="2" cellpadding="2" cellspacing="2" bordercolor="#A8998A" bgcolor="#A8998A">
  <tr>
    <td bordercolor="#A8998A" bgcolor="#A8998A"><div align="center" class="style67">
        <p class="style68">جامعة البحر الأحمر © 2014|Red sea unversity جميع الحقوق محفوظه</p>
        <p class="style69">Desiner by I.T,13 </p>
    </div></td>
  </tr>
</table>

</body>
</html>
<?php
mysql_free_result($Recordset1);
?>
