<?php if(isset($_GET['gr']))header("Location: ../gr.php?id=".$_GET['gr']."&ok"); if(isset($_GET['gr2']))header("Location: ../gr.php?id=".$_GET['gr2']."&sob_ok"); ?>