[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 132: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/team.php on line 20: Use of undefined constant team - assumed 'team' (this will throw an Error in a future version of PHP)
[phpBB Debug] PHP Warning: in file [ROOT]/team.php on line 21: Use of undefined constant team - assumed 'team' (this will throw an Error in a future version of PHP)
Team - hockey-miass.ru
"); $db_team = new mysqli('localhost', AUTHSQLUSER, AUTHSQLPASS,AUTHSQLDATA); if (mysqli_connect_errno()) { printf("Connect error: %s\n", mysqli_connect_error()); exit(); } $db_team->query('SET NAMES "utf8"'); if ($_GET['team'] == 'urc') { $team_query="select post_text from hf_posts where post_id=957"; $team_result = $db_team->query($team_query); $team_text = $team_result->fetch_assoc(); $mutual_text=preg_replace($template,$replment,$team_text[post_text]); $team_result->close(); if (strlen($mutual_text)>6) printf("%s",$mutual_text); } if ($_GET['team'] == 'lotor') { $team_query="select post_text from hf_posts where post_id=6914"; $team_result = $db_team->query($team_query); $team_text = $team_result->fetch_assoc(); $mutual_text=preg_replace($template,$replment,$team_text[post_text]); $team_result->close(); if (strlen($mutual_text)>6) printf("%s",$mutual_text); } if ($_GET['team'] == 'zarja') { $team_query="select post_text from hf_posts where post_id=7062"; $team_result = $db_team->query($team_query); $team_text = $team_result->fetch_assoc(); $mutual_text=preg_replace($template,$replment,$team_text[post_text]); $team_result->close(); if (strlen($mutual_text)>6) printf("%s",$mutual_text); } if ($_GET['team'] == 'torpedo') { $team_query="select post_text from hf_posts where post_id=7063"; $team_result = $db_team->query($team_query); $team_text = $team_result->fetch_assoc(); $mutual_text=preg_replace($template,$replment,$team_text[post_text]); $team_result->close(); if (strlen($mutual_text)>6) printf("%s",$mutual_text); } if ($_GET['team'] == 'dinamo') { $team_query="select post_text from hf_posts where post_id=7064"; $team_result = $db_team->query($team_query); $team_text = $team_result->fetch_assoc(); $mutual_text=preg_replace($template,$replment,$team_text[post_text]); $team_result->close(); if (strlen($mutual_text)>6) printf("%s",$mutual_text); } if ($_GET['team'] == 'may') { $team_query="select post_text from hf_posts where post_id=7074"; $team_result = $db_team->query($team_query); $team_text = $team_result->fetch_assoc(); $mutual_text=preg_replace($template,$replment,$team_text[post_text]); $team_result->close(); if (strlen($mutual_text)>6) printf("%s",$mutual_text); } if ($_GET['team'] == 'sputnik') { $team_query="select post_text from hf_posts where post_id=7076"; $team_result = $db_team->query($team_query); $team_text = $team_result->fetch_assoc(); $mutual_text=preg_replace($template,$replment,$team_text[post_text]); $team_result->close(); if (strlen($mutual_text)>6) printf("%s",$mutual_text); } $db_team->close(); ?>

cron