Php errors 5.4 downgrading

Hi , I am having a issue with my website when bringing here to 000webhost. First of all, i have to downgrade the version of PHP to 5.4 to at least connect and see all pages. But at the front page and the contact page this sentences are appearing . Could anyone help?

Notice: Undefined index: area in /storage/h6/322/1077322/public_html/includes-acoes/pagina-principal/index.php on line 4

This is the index.php:

<?php //pagina principal // $sqlvitrineh=mysql_query("select id,id_cod,artista,image,image2,titulo,vitrine,id_cod_artista from tbl_image_artistas where vitrine=1 and id_cod='".anti_injection($_GET['area'])."'") or die (mysql_error()); $linevitrineh=mysql_fetch_array($sqlvitrineh); //lista as vitrines $sqllist=mysql_query("select id,id_cod,artista,image,image2,titulo,vitrine,id_cod_artista from tbl_image_artistas where vitrine=1 order by id asc limit 8 ") or die (mysql_error()); $sqllist2=mysql_query("select id,id_cod,artista,image,image2,titulo,vitrine,id_cod_artista from tbl_image_artistas where vitrine=1 order by rand() limit 8 ") or die (mysql_error()); $sqllist3=mysql_query("select id,id_cod,artista,image,image2,titulo,vitrine,id_cod_artista from tbl_image_artistas where vitrine=1 order by rand() limit 8 ") or die (mysql_error()); $numlist3=mysql_num_rows($sqllist3); ?>

Do you know how can I solve it? Same problem for other scripts probably

©
Notice: Use of undefined constant Y - assumed ‘Y’ in /storage/h6/322/1077322/public_html/includes/rodape/index.php on line 7
2017 Niee Galeria.
Todos os direitos reservados

and also:

Notice: Undefined index: nome in /storage/h6/322/1077322/public_html/includes-acoes/contato/index.php on line 5

Notice: Undefined index: email in /storage/h6/322/1077322/public_html/includes-acoes/contato/index.php on line 6

Notice: Undefined index: cidade in /storage/h6/322/1077322/public_html/includes-acoes/contato/index.php on line 7
strong text
Notice: Undefined index: uf in /storage/h6/322/1077322/public_html/includes-acoes/contato/index.php on line 8

So where are you coming from and what PHP version did you run before?

Locaweb

Database server
Server: 186.202.13.3 via TCP/IP
Server type: Percona Server
Server version: 5.1.54-rel12.6-log - Locaweb MySQL Server (GPL), 12.6, Percona Revision
Protocol version: 10
User: nieegaleria@186.202.28.226
Server charset: UTF-8 Unicode (utf8)

Web server
Apache/2.4.10 (Debian)
Database client version: libmysql - 5.5.54
PHP extension: mysqli Documentation

phpMyAdmin
Version information: 4.0.10.12

And this is the index.php
with ‘area’ in the line 4.
Any tip how to correct it?

<?php //pagina principal // $sqlvitrineh=mysql_query("select id,id_cod,artista,image,image2,titulo,vitrine,id_cod_artista from tbl_image_artistas where vitrine=1 and id_cod='".anti_injection($_GET['area'])."'") or die (mysql_error()); $linevitrineh=mysql_fetch_array($sqlvitrineh); //lista as vitrines $sqllist=mysql_query("select id,id_cod,artista,image,image2,titulo,vitrine,id_cod_artista from tbl_image_artistas where vitrine=1 order by id asc limit 8 ") or die (mysql_error()); $sqllist2=mysql_query("select id,id_cod,artista,image,image2,titulo,vitrine,id_cod_artista from tbl_image_artistas where vitrine=1 order by rand() limit 8 ") or die (mysql_error()); $sqllist3=mysql_query("select id,id_cod,artista,image,image2,titulo,vitrine,id_cod_artista from tbl_image_artistas where vitrine=1 order by rand() limit 8 ") or die (mysql_error()); $numlist3=mysql_num_rows($sqllist3); ?>

What hosting company did you come from and version of PHP did the panel run there? 5.4?