if ($user_id) { echo '<a href="/">Bosh sahifa</a>';} else { echo '<a href="/login.php">Kirish</a>';}
« Mavzuga qaytish