Parse error: syntax error, unexpected T_STRING in /home/chatbet/public_html/ezowap/vote.php on line 5
I encountered this problem when I installed the vote.php
	
							
						
					I encountered this problem when I installed the vote.php
PHP Code:
	
	
    <? 
session_start ( "$ REMOTE_ADDR"); 
header ( "Content-type: text / vnd.wap.wml; charset = utf-8"); 
require ( "nadstr.php"); 
print "<? xml version = \" 1.0 \ "encoding = \" utf-8 "?> 
<! DOCTYPE wml PUBLIC \ "- / / WAPFORUM / / DTD WML 1.1 / / EN \" \ "http://www.wapforum.org/DTD/wml_1.1.xml \"> "; 
if (empty ($ vote) & & empty ($ result)) ( 
print "<wml> <card title = \" Golosovani f \ "> <p> Question: $ vopros <br/> from Board: <br /> <br/> <select name=\"vote\" title=\"vote\"> 
<option value=\"1\"> $ otv1 </ option> 
<option value=\"2\"> $ otv2 </ option> 
<option value=\"3\"> $ otv3 </ option> 
<option value=\"4\"> $ otv4 </ option> 
<option value=\"5\"> $ otv5 </ option> 
</ select> 
</ p> 
<do type = \ "accept \" label = \ "Golosovat & # x044C;! \ "> 
<go href=\"vote.php\" method=\"post\"> 
<postfield name=\"vote\" value=\"$(vote)\"/> 
</ go> 
</ do> <br/> <do type = \ "accept \" label = \ "Rezult & # x0430; you \ "> 
<go href=\"vote.php\" method=\"post\"> 
<postfield name=\"result\" value=\"$(vote)\"/> 
</ go> 
</ do> 
</ card> 
</ wml> "; 
) 
if (! empty ($ vote)) ( 
if (@ $ vote == "") ( 
print "<wml> <card title=\" Oshibka\"> <p align = \" center \ "> & # x0412; We have not picked wa options reply! V & # x0435; rnites and sélectionner ; third option on & # x0442; Board! </ p> </ card> </ wml> "; 
) 
if (empty ($ _SESSION)) ( 
$ _SESSION [ 'Username'] = $ vote; 
if ($ vote == "1") ( 
$ file = fopen ( "vote.dat", "r +"); 
$ data = file ( "vote.dat"); 
list ($ ot1, $ ot2, $ ot3, $ ot4, $ ot5) = explode ("|", $ data [0]); 
$ ot1 + +; 
$ zapis = "$ ot1 | $ ot2 | $ ot3 | $ ot4 | $ ot5"; 
$ summa = $ ot1 + $ ot2 + $ ot3 + $ ot4 + $ ot5; 
if ($ file) ( 
fputs ($ file, $ zapis); 
) 
print "<wml> <card title = \" Golosovani f \ "> <p align = \" center \ "> Questioned \ "$ vopros \" $ summa responded ?? & # x043B; ovek (a). <br /> 
Among them: <br /> 
$ otv1 - $ ot1 person (s); <br /> 
$ otv2 - $ ot2 person (s); <br /> 
$ otv3 - $ ot3 person (s); <br /> 
$ otv4 - $ ot4 person (s); <br /> 
$ otv5 - $ ot5 person (s); <br /> 
</ p> </ card> </ wml> "; 
) 
if ($ vote == "2") ( 
$ file = fopen ( "vote.dat", "r +"); 
$ data = file ( "vote.dat"); 
list ($ ot1, $ ot2, $ ot3, $ ot4, $ ot5) = explode ("|", $ data [0]); 
$ ot2 + +; 
$ zapis = "$ ot1 | $ ot2 | $ ot3 | $ ot4 | $ ot5"; 
$ summa = $ ot1 + $ ot2 + $ ot3 + $ ot4 + $ ot5; 
if ($ file) ( 
fputs ($ file, $ zapis); 
) 
print "<wml> <card title = \" Golosovani f \ "> <p align = \" center \ "> Questioned \ "$ vopros \" $ summa responded ?? & # x043B; ovek (a). <br /> 
Among them: <br /> 
$ otv1 - $ ot1 person (s); <br /> 
$ otv2 - $ ot2 person (s); <br /> 
$ otv3 - $ ot3 person (s); <br /> 
$ otv4 - $ ot4 person (s); <br /> 
$ otv5 - $ ot5 person (s); <br /> 
</ p> </ card> </ wml> "; 
) 
if ($ vote == "3") ( 
$ file = fopen ( "vote.dat", "r +"); 
$ data = file ( "vote.dat"); 
list ($ ot1, $ ot2, $ ot3, $ ot4, $ ot5) = explode ("|", $ data [0]); 
$ ot3 + +; 
$ zapis = "$ ot1 | $ ot2 | $ ot3 | $ ot4 | $ ot5"; 
$ summa = $ ot1 + $ ot2 + $ ot3 + $ ot4 + $ ot5; 
if ($ file) ( 
fputs ($ file, $ zapis); 
) 
print "<wml> <card title = \" Golosovani f \ "> <p align = \" center \ "> Questioned \ "$ vopros \" $ summa responded ?? & # x043B; ovek (a). <br /> 
Among them: <br /> 
$ otv1 - $ ot1 person (s); <br /> 
$ otv2 - $ ot2 person (s); <br /> 
$ otv3 - $ ot3 person (s); <br /> 
$ otv4 - $ ot4 person (s); <br /> 
$ otv5 - $ ot5 person (s); <br /> 
</ p> </ card> </ wml> "; 
) 
if ($ vote == "4") ( 
$ file = fopen ( "vote.dat", "r +"); 
$ data = file ( "vote.dat"); 
list ($ ot1, $ ot2, $ ot3, $ ot4, $ ot5) = explode ("|", $ data [0]); 
$ ot4 + +; 
$ zapis = "$ ot1 | $ ot2 | $ ot3 | $ ot4 | $ ot5"; 
$ summa = $ ot1 + $ ot2 + $ ot3 + $ ot4 + $ ot5; 
if ($ file) ( 
fputs ($ file, $ zapis); 
) 
print "<wml> <card title = \" Golosovani f \ "> <p align = \" center \ "> Questioned \ "$ vopros \" $ summa responded ?? & # x043B; ovek (a). <br /> 
Among them: <br /> 
$ otv1 - $ ot1 person (s); <br /> 
$ otv2 - $ ot2 person (s); <br /> 
$ otv3 - $ ot3 person (s); <br /> 
$ otv4 - $ ot4 person (s); <br /> 
$ otv5 - $ ot5 person (s); <br /> 
</ p> </ card> </ wml> "; 
) 
if ($ vote == "5") ( 
$ file = fopen ( "vote.dat", "r +"); 
$ data = file ( "vote.dat"); 
list ($ ot1, $ ot2, $ ot3, $ ot4, $ ot5) = explode ("|", $ data [0]); 
$ ot5 + +; 
$ zapis = "$ ot1 | $ ot2 | $ ot3 | $ ot4 | $ ot5"; 
$ summa = $ ot1 + $ ot2 + $ ot3 + $ ot4 + $ ot5; 
if ($ file) ( 
fputs ($ file, $ zapis); 
) 
print "<wml> <card title = \" Golosovani f \ "> <p align = \" center \ "> Questioned \ "$ vopros \" $ summa responded ?? & # x043B; ovek (a). <br /> 
Among them: <br /> 
$ otv1 - $ ot1 person (s); <br /> 
$ otv2 - $ ot2 person (s); <br /> 
$ otv3 - $ ot3 person (s); <br /> 
$ otv4 - $ ot4 person (s); <br /> 
$ otv5 - $ ot5 person (s); <br /> 
</ p> </ card> </ wml> "; 
) 
) Else ( 
print "<wml> <card title=\" Oshibka\"> <p> <b> V & # x044B; already Vote Wali! </ b> </ p> </ card> </ wml> "; 
) 
) 
if (! empty ($ result)) ( 
$ file = fopen ( "vote.dat", "r"); 
$ data = file ( "vote.dat"); 
list ($ ot1, $ ot2, $ ot3, $ ot4, $ ot5) = explode ("|", $ data [0]); 
$ summa = $ ot1 + $ ot2 + $ ot3 + $ ot4 + $ ot5; 
print "<wml> <card title=\" Rezultaty\"> <p align=\"center\"> When asked \ "$ vopros \" & # x043E; tvetili $ summa human & # x0432; Miracles (a). <br /> 
Among them: <br /> 
$ otv1 - $ ot1 person (s); <br /> 
$ otv2 - $ ot2 person (s); <br /> 
$ otv3 - $ ot3 person (s); <br /> 
$ otv4 - $ ot4 person (s); <br /> 
$ otv5 - $ ot5 person (s); <br /> 
</ p> </ card> </ wml> "; 
)

 
							
						
 
							
						

Comment