<div class="menu">
    <div class="item <?php if($page=="main"){echo "selected";}?>" onclick="location.href = 'main.php';">報告管理</div>
    <div class="item <?php if($page=="equipment"){echo "selected";}?>" onclick="location.href = 'equipmentList.php';">設備列表</div>     
</div>
      