<BODY background="image/body1.gif" leftMargin=0 RightMargin=0 topMargin=0 marginheight="0" marginwidth="0">

<style>
.InputButton {FONT-SIZE: 12px; FONT-FAMILY: Ms sans serif,Verdana,Geneva,Helvetica}
.Select {WIDTH: 90px;FONT-SIZE: 12px; FONT-FAMILY: Ms sans serif,Verdana,Geneva,Helvetica}
</style>

<CENTER>
<IMG SRC="image/logo.gif" Border=0>
</CENTER>

<Table align=center cellSpacing=0 cellPadding=1 width=100%>

<TD align=middle Width=100%><a href='quran.php?ShowBySuraNo=1&SuraNo=1' target=FRAME1><IMG SRC="image/menu-1.gif" Border=0></a></td>

<tr>

<TD align=middle Width=100%><a href='meaning.php?Action=1&QuranID=1&ShowByQuranID=1' target=FRAME1><IMG SRC="image/menu-2.gif" Border=0></a></td>

<tr>

<TD align=middle Width=100%><a href='meaning.php?Action=2&QuranID=1&ShowByQuranID=1' target=FRAME1><IMG SRC="image/menu-3.gif" Border=0></a></td>

<tr>

<TD align=middle Width=100%><a href='language.php?Action=3&ShowByQuranID=1&QuranID=1' target=FRAME1><IMG SRC="image/menu-4.gif" Border=0></a></td>

<tr>

<TD align=middle Width=100%><a href='language.php?Action=4&ShowByQuranID=1&QuranID=1' target=FRAME1><IMG SRC="image/menu-5.gif" Border=0></a></td>

<tr>

<TD align=middle Width=100%><a href='search.php' target=FRAME1><IMG SRC="image/menu-6.gif" Border=0></a></td>

</TABLE>


<SCRIPT language=JavaScript>
function Sura()
{
top.FRAME1.window.location = "quran.php?ShowBySuraNo=1&SuraNo="+SuraList.SelSura.value;
}


function Part()
{
top.FRAME1.window.location = "quran.php?ShowByPartNo=1&PartNo="+PartList.SelPart.value;
}

</SCRIPT>


<Form name="SuraList">
<Table align=center border="0" BGCOLOR="#B3BA98" width=60%>

<TD background="image/body2.gif" Width="70%"><p dir=rtl>

	
<?
	// الاتصال بقاعدة البيانات
	include("admin/config.php");
	$Connect =mysql_connect($DBHostName,$DBUserName,$DBPassword);
	$Select =mysql_select_db($DBName,$Connect);

	Echo "<select name='SelSura' onchange='javascript:Sura()' class=Select>";

	$Sql = "select * from sura where SuraNo>=1";
	$Result = mysql_query($Sql);
	while ($Row = mysql_fetch_array($Result))
	{
	Echo "<option value=$Row[SuraNo]>$Row[SuraName]</option>";
	}
?>
	</select><br>

</td>

<TD background="image/body2.gif" Width="30%">
<input type=button value="اذهب" onClick="javascript:Sura()" class=InputButton><br>
</td>
</form>



<tr>








<Form name="PartList">
<TD background="image/body2.gif" Width="70%"><p dir=rtl>

	
<?
	Echo "<select name='SelPart' onchange='javascript:Part()' class=Select>";

	for ($i=1 ;$i<=30 ; $i++)
	{
	Echo "<option value='$i'>الجزء $i</option>";
	}
?>
	</select><br>

</td>

<TD background="image/body2.gif" Width="30%">
<input type=button value="اذهب" onClick="javascript:Part()" class=InputButton><br>
</td>
</form>
</table>



