isExpired()) { dbConnect(); $cookie = handleVoteCookie(); if ($authorName = getTagParam('author', true)) { $tags = getTags(); // select keywords $res = mysql_query( "select distinct t.tag_name from tag t, item_tag it1, item i where i.item_id = it1.item_id and it1.tag_id = t.tag_id and i.item_author = '" . mysql_real_escape_string($authorName) . "' group by t.tag_id order by t.tag_name") or die(mysql_error()); $keywords = ''; $sidebarAddon = ''; if (mysql_num_rows($res) > 0) { $sidebarAddon .= '

Сопутствующие разделы

'; } while ($row = mysql_fetch_row($res)) { $tagName = $row[0]; $sz = array_key_exists($tagName, $tags['sz']) ? $tags['sz'][$tagName] : '12pt'; $keywords .= str_replace('&', '&', $tagName) . ', '; $sidebarAddon .= '' . $tagName . ' '; } mysql_free_result($res); } else { header('HTTP/404 Not Found'); exit; } // echo $authorName; // $e = getmicrotime(); echo ''; $page = 1; if (array_key_exists('p', $_GET)) $page = trim($_GET['p']); $num = 15; handleSort(); printHeader($authorName, $keywords, $authorName); ?>

0 where i.item_author = '" . mysql_real_escape_string($authorName) . "' group by i.item_id order by ".$possibleSorts[$sorting]['order']) or die(mysql_error() . $q); $itemIds = '-1'; $cnt = 0; $itemCount = mysql_num_rows($res); if ($itemCount == 0) { header('Location: ' . BASE . 'u/search/?q=' . urlencode($authorName)); exit; } ?>
Найдено:
end(); } printFooter(); $e = getmicrotime(); echo ''; // $f = fopen($STORE_BASE.'time.txt', 'a'); // fwrite($f, $_SERVER['REQUEST_URI'].': '.($e - $b).' '.date('r')."\n"); // fclose($f); ob_end_flush(); ?>