Error:' . mysql_error ()); ; } $row = mysql_fetch_row ($result); for ($i = 0; $i < sizeof ($row); ++$i) { define (mysql_field_name ($result, $i), $row[$i]); } if (!($result1 = mysql_query ('select * from properties'))) { exit ('Error:' . mysql_error ()); ; } $row1 = mysql_fetch_row ($result1); for ($i = 0; $i < sizeof ($row1); ++$i) { define (mysql_field_name ($result1, $i), $row1[$i]); } include '../lang/' . language; if (!($result = mysql_query ('' . 'select * from articles where id=\'' . $_GET['id'] . '\''))) { exit ('Error:' . mysql_error ()); ; } $row = mysql_fetch_array ($result); echo ' '; if (txt_direction == 'LTR') { echo ''; } else { echo ''; } echo '
'; echo title; echo ' URL: '; echo 'http://' . $_SERVER['HTTP_HOST'] . ('' . '/index.php?id=' . $_GET['id']); echo '
'; echo $row['title']; echo '
'; if ($dir = @opendir ('../upload/images')) { while (($file = readdir ($dir)) !== false) { if (strstr ($file, $row['tim'])) { echo ''; continue; } } closedir ($dir); } echo '
('; echo '' . $text__Posted . ' ' . date ('d/m/y', $row['tim']); echo ') '; echo $row['description']; echo '

'; echo $row['body']; echo '
'; ?>