Ejemplo n.º 1
0
    <a href="index.php?id=2" title="Tiles" class="menu_txt">Tiles</a>
    <a href="index.php?id=3" title="Articles" class="menu_txt">Articles</a>
    <a href="index.php?id=4" title="Message to Users" class="menu_txt">Messages to Users</a>
</div>
<a href="index.php?logout_admin=1" title="Logout" class="logout"></a>				
</div>
<?php 
    $id = addslashes(strip_tags(trim($_GET['id'])));
    if (!$id) {
        statistic();
    }
    if ($id == 1) {
        change_password();
    }
    if ($id == 2) {
        tails($id);
    }
    if ($id == 3) {
        articles($id);
    }
    if ($id == 4) {
        messages($id);
    }
    if ($id == 9) {
        images($id);
    }
}
?>
<br /><br />
 
<div class="push"></div>
<div class="menu_bg">
<div class="menu_center">
	<a href="index.php" title="Home" class="menu_txt">Home</a>
	<a href="index.php?id=1" title="Settings" class="menu_txt">Settings</a>
    <a href="index.php?id=2" title="Tiles" class="menu_txt">Tiles</a>
    <a href="index.php?id=3" title="Articles" class="menu_txt">Articles</a>
    <a href="index.php?id=4" title="Message to Users" class="menu_txt">Messages to Users</a>
</div>
<a href="index.php?logout_admin=1" title="Logout" class="logout"></a>				
</div>
<?
$id = addslashes(strip_tags(trim($_GET['id'])));

if(!$id){statistic();}
if($id==1){change_password();}
if($id==2){tails($id);}
if($id==3){articles($id);}
if($id==4){messages($id);}
if($id==9){images($id);}

}
?>
<br /><br />
 
<div class="push"></div>
 
</center>
</div>
<div class="stopka"><? stopka(); ?></div>
</body>
</html>