Posts: 8
Threads: 1
Joined: Apr 2010
Reputation:
0
(This post was last modified: 01.04.2010, 13:51 by Schakal.)
01.04.2010, 13:48
Hier: Habe nur paar Zahlen am ende verändert.
elseif ($config['bh_style']==1) {
// SDS Style:
$arr_farm = array(
"1"=>"240",
"2"=>"281",
"3"=>"329",
"4"=>"386",
"5"=>"452",
"6"=>"530",
"7"=>"622",
"8"=>"729",
"9"=>"854",
"10"=>"1002",
"11"=>"1174",
"12"=>"1376",
"13"=>"1613",
"14"=>"1891",
"15"=>"2216",
"16"=>"2598",
"17"=>"3045",
"18"=>"3569",
"19"=>"4183",
"20"=>"4904",
"21"=>"5748",
"22"=>"6737",
"23"=>"7896",
"24"=>"9255",
"25"=>"10848",
"26"=>"12715",
"27"=>"14904",
"28"=>"17469",
"29"=>"20476",
"30"=>"26000",
"31"=>"27000",
"32"=>"28472",
"33"=>"50000"
);
Dies wird mir angezeigt:
Parse error: parse error, unexpected '{' in C:\Users\Patrick\Desktop\DS_LAN\dslan_v1.3\htdocs\include\configs\farm_limits.php on line 1
Hm komisch nach der Veränderung sieht die datei ganz anders aus:
<?phpif ($config['bh_style']==0) { // S1 Style: $arr_farm = array( "1"=>"250", "2"=>"280", "3"=>"328", "4"=>"384", "5"=>"449", "6"=>"526", "7"=>"615", "8"=>"720", "9"=>"842", "10"=>"986", "11"=>"1153", "12"=>"1349", "13"=>"1579", "14"=>"1847", "15"=>"2161", "16"=>"2529", "17"=>"2959", "18"=>"3462", "19"=>"4050", "20"=>"4739", "21"=>"5545", "22"=>"6488", "23"=>"7591", "24"=>"8881", "25"=>"10391", "26"=>"12157", "27"=>"14224", "28"=>"16642", "29"=>"19472", "30"=>"22782", "31"=>"24642", "32"=>"26642", "33"=>"47000" );}elseif ($config['bh_style']==1) { // SDS Style: $arr_farm = array( "1"=>"240", "2"=>"281", "3"=>"329", "4"=>"386", "5"=>"452", "6"=>"530", "7"=>"622", "8"=>"729", "9"=>"854", "10"=>"1002", "11"=>"1174", "12"=>"1376", "13"=>"1613", "14"=>"1891", "15"=>"2216", "16"=>"2598", "17"=>"3045", "18"=>"3569", "19"=>"4183", "20"=>"4904", "21"=>"5748", "22"=>"6737", "23"=>"7896", "24"=>"9255", "25"=>"10848", "26"=>"12715", "27"=>"14904", "28"=>"17469", "29"=>"20476", "30"=>"26000", "31"=>"27000", "32"=>"28472", "33"=>"50000" );}?>
|