<?php
include("../db.php");

$settings=mysqli_fetch_assoc(mysqli_query($conn,"SELECT * FROM site_settings WHERE id=1"));
?>

<div class="sidebar">

<h2><?php echo $settings['app_name']; ?></h2>

<a href="dashboard.php">Dashboard</a>

<a href="sliders.php">
<?php echo $settings['menu_sliders']; ?>
</a>

<a href="services.php">
<?php echo $settings['menu_services']; ?>
</a>

<a href="ticker.php">
<?php echo $settings['menu_ticker']; ?>
</a>

<a href="settings.php">Site Settings</a>
<a href="stream.php">Streaming Manager</a>

<a href="logout.php">Logout</a>

</div>