I`m getting these errors:
Notice: Undefined index: like in C:\Program Files\wamp\www\fb\header.php on line 5
Notice: Undefined variable: page in C:\Program Files\wamp\www\fb\header.php on line 12
Notice: Undefined variable: page in C:\Program Files\wamp\www\fb\header.php on line 15
Notice: Undefined variable: page in C:\Program Files\wamp\www\fb\header.php on line 18
Notice: Undefined variable: page in C:\Program Files\wamp\www\fb\header.php on line 21
This is my header.php :
<? include('config/config.php');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<? if($_GET['like']){
$new_title = stripslashes($rock);
$seo_title = 'Харесва-ми - '.$new_title;
$ntitle = substr($seo_title,0,47);
?>
<title><? echo stripslashes($ntitle).'...'; ?></title>
<? }else{ ?>
<? if($page == 'top20'){ ?>
<title>Харесва-ми - Топ 20</title>
<? } ?>
<? if($page == 'random'){ ?>
<title>Харесва-ми - Случайни</title>
<? } ?>
<? if($page == 'pics'){ ?>
<title>Харесва-ми - Картинки</title>
<? } ?>
<? if($page == ''){ ?>
<title>Харесва-ми - Създайте свои фрази</title>
<? } ?>
<? } ?>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
What i have to change in this code, pls help