121
Programming / Re: Error404 page
« on: October 15, 2011, 07:37:41 PM »
maybe your server administrator could answer this...it's working as it should on my server.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
yeah, just put this in details.html , after {header}
<script type="text/javascript">
document.onkeyup = function (e)
{
e = window.event || e
if (["TEXTAREA", "SELECT"].indexOf(e.target.tagName) != -1
|| (e.target.tagName == "INPUT" && ["radio", "text"].indexOf(e.target.type) != -1))
return;
switch(e.keyCode)
{
case 37:
if ("{prev_image_url}" != " ")
window.location = "{prev_image_url}";
break;
case 39:
if ("{next_image_url}" != " ")
window.location = "{next_image_url}";
break;
}
}
</script>
ErrorDocument 404 /gallery/error.html
WHERE image_active = 1 AND cat_id = $cat_id
WHERE image_active = 1 AND user_id = " . $image_row['user_id'] . "
I've tried dding the line below to my top level .htaccess without any luckCode: [Select]ErrorDocument 404 /error.html
thanks for edit but no replayyeah, your post format hurt my brain
WHERE image_active = 1 AND cat_id > $cat_id