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