now..
i have a small detail problem..
in fact (1,4,6,13,78,98) this categories doesnt have adsense code. and the others have adsense...
i dont want this categories (1,4,6,13,78,98) pictures ( even thumnail ) with adsense code.
category page is ok.
details page is ok.
ok . but this images is coming new images.
or i think it comes search page.
at now most of this categories auth_viewimage is only registered users.
if i do auth_viewcat is only registered users will problem is solve?
but
i prefer (1,4,6,13,78,98) this categories hold external from new images and searchs...
is there easy coding solve?
(my english isn't very good . sory if you don't understand any sentences)
Edit : i examine a bit
and in index.php have this code
$num_new_images = $config['image_cells']*3;
$sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits".$additional_sql.", c.cat_name".get_user_table_field(", u.", "user_name")."
FROM (".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c)
LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = i.user_id)
WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (".get_auth_cat_sql("auth_viewcat", "NOTIN").")
ORDER BY i.image_date DESC
LIMIT $num_new_images";
$result = $site_db->query($sql);
maybe this section must edit..
i dont know :S
can anybody help me?