31
Mods & Plugins (Requests & Discussions) / Re: Change the all categories permission
« on: October 21, 2005, 11:51:08 PM »
Hi..Acidgod thank you very much for the reply.
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.
what exactly doesnt work?
//-----------------------------------------------------
//--- Total Postcards ----------------------------------------
//-----------------------------------------------------
$sql = "SELECT COUNT(*) as postcards
FROM ".POSTCARDS_TABLE;
$row = $site_db->query_firstrow($sql);
$total_postcard = "".$lang['total_postcard']."<B> ".$row['postcards']."</B>\n";
$site_template->register_vars("total_postcard", $total_postcard);
unset($total_postcard);
$sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_date, i.image_media_file".get_user_table_field(", u.", "user_name")."
$sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_date, i.image_media_file, i.image_thumb_file".get_user_table_field(", u.", "user_name")."
$file_src = get_file_path($image_row['image_media_file'], "media", 0, 1);
$file_src = get_file_path($image_row['image_thumb_file'], "thumb", 0, 1);