<?
ob_start();
require_once("functions.php");
    if(!isset($_COOKIE[$admin])){
        header('Location: index.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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link href="css/style.css" rel="stylesheet" type="text/css" />

</head>

<body onload="clickMenu('menu')">
<!-- outer -->
<div id="outer">
	<!-- header ----------------------------------------------------->
	<div id="header"> <? include("header.php")?> </div>
	<!-- header -->
    
    <!-- content ---------------------------------------------------->
	<div id="content">
        <!-- con_right --------------------------------------->
	   <div id="con_right">
            <div class="title_page">المركز المالي</div>
            <!--<a href="add_father.php"><div class="add_father"><img src="images/add_48.png" /> إضافة قسم</div></a>-->
           
            <div class="path_page">
              تعديل مقال
                <img src="images/001_27.gif" width="10" height="10" />
                <a href="info.php">الرئيسية</a>
                
                
            </div>
            <div class="conteaner">
                <div class="details_page">
                  
                    <br /><br /><hr /><br />
                </div>
                <div class="title_editor">
                    <span class="title">تعديل مقال</span>
                </div>
                
                <div class="editor">
                    <form action="<?=$_SERVER['PHP_SELF'];?>" method="post">
                        <table class="table_color">
                            
                            <tr>
                                <td class="td_table">عرض المقالات حسب القسم</td>
                                <td>:</td>
                                <td><select class='typ_ro' name="sdiv">
                                        <?sel_father_mali();?>
                                </select><input class='submit' type="submit" name="show" value="عرض" /></td>
                            </tr>
                            
                        </table>
                    </form>
                    
                    <?
                        edit_son_mali();
                    ?>
                </div>
                
            </div>
       </div>
	   <!-- /con_right -->
       
       <!-- con_left ---------------------------------------->
	   <div id="con_left">
            <!-- menu ---------------------------------->
            <div id="menuall"> <? include("menu.php")?> </div>
            <!-- /menu -->
            
            <!-- calender ------------------------------>
            <div id="calender"><embed src="images/Calender.swf" width="235" height="320" /></embed></div>
            <!-- /calender -->
       </div>
	   <!-- /con_left ---------------------------------------->
    </div>
	<!-- /content -->
    
    <!-- footer ----------------------------------------------------->
	<div id="footer"> <? include("footer.php")?> </div>
	<!-- /footer -->
</div>
<!-- /outer -->
</body>
</html>
<?ob_flush();?>