'.$_GET['id'].''; $id = alphaID($_GET['id'], true); $cookieValue = ($_COOKIE['nsfw']) ? true : false; $nsfwCookie = (isLoggedIn()) ? $cookieValue : true; $hideNSFW = ($nsfwCookie) ? true : false; $validated = $_COOKIE['ageValidated']; connect(); //echo '

'.$id.'

'; $select = mysql_query("SELECT * FROM media WHERE media.id = '$id' LIMIT 1"); if(mysql_num_rows($select) == 0) { header('Location: /'); die; } $row = mysql_fetch_assoc($select); $alphaID = alphaID($row['id']); if($row['nsfw'] == 1 && !$validated) { require_once('18.php'); //header('Location: /WeHaveToAsk?ref=' . urlencode('/' . $alphaID)); //die; } if($row['nsfw'] == 1) { $isporno = true; $hideGoogleAds = true; $row['nsfw'] = 0; } $bclink = ($row['state'] == 1) ? '/new' : (($row['state'] == 2) ? '/upcoming' : '/'); $bctext = ($row['state'] == 1) ? 'New' : (($row['state'] == 2) ? 'Upcoming' : 'Popular'); $breadcrumbs[] = CONFIG_SITE_NAME . ' - The most fun place on the web!'; //$breadcrumbsright[] = 'keyboard shortcuts'; if(NSFW_TOGGLE) { //$breadcrumbsright[] = ($hideNSFW) ? 'turn safe mode off' : 'turn safe mode on'; } $prevLink = 'rel="nofollow" href="/prev/'.$alphaID.'"'; $nextLink = 'rel="nofollow" href="/next/'.$alphaID.'"'; $alignSubRight = true; printheader($row['title'] . ' - ' . CONFIG_SITE_NAME); ?>

Fatal error: Call to undefined function printrow() in /var/www/vhosts/memepix.com/httpdocs/media.php on line 111