avatars
female avatars buddy icons
Avatars Avatar Galleries Forums About AllAvatars
aim buddy icons
Linda Bergkvist

Avatars
 > Newest Avatars
 > Popular Avatars
Make an Avatar
Avatar Pack
Virtual World Avatars

Forums
Avatar Games

[ Upload Avatar ]

Avatar Linkage
Privacy Policy











Welcome to ALL Avatars. Avatars are a visual representation of your virtual persona. Choose from thousands of the highest quality artist created avatars in many different styles and genres, used with the artist's permission. Find your free avatars to dowload!

Browse Avatars
Query: $query

Result: $mysql_eval_error

Database handle: $database" ); exit; } return print_r('chad ' . $Globals{'debug'}); return FALSE; } else { return $mysql_eval_result; } } function get_ext( $filename ) { $photolen = strlen($filename); $RetVal = substr( $filename, $photolen-3, $photolen); return $RetVal; } function get_filename($filename) { // strip off the last 4 $len = strlen( $filename )-4; $RetVal = substr( $filename, 0, $len); return $RetVal; } // ---------------------- THESE FUNCS FROM pp-inc ----------------- // Connecting, selecting database $link = mysql_connect ("$host", "$user", "$password") or die ('I cannot connect to the database.'); mysql_select_db ("$database")or die("Could not select database"); // Here is the hacked up display_gallery($q_switch) $catquery=""; if ( IsSet($cat) ) { $querya="SELECT catname FROM pp_categories WHERE id=$cat"; $catq = ppmysql_query_eval($querya,$link); $catr = mysql_fetch_array($catq); $catname = $catr['catname']; mysql_free_result($catq); $queryb = "SELECT id FROM pp_categories WHERE parent='$cat' ORDER BY catorder ASC"; $boards = ppmysql_query_eval($queryb,$link); $cnt=0; while ( $row = mysql_fetch_array($boards, MYSQL_ASSOC)) { $catqid = $row['id']; if ( $cnt == 0 ) { $cnt=1; $catquery .= "$catqid"; } else { $catquery .= ",$catqid"; } } mysql_free_result($boards); } // Connecting, selecting database // Selecting method and Perform SQL query switch ($q_switch) { case "latest": if ( !IsSet($cat) ) { $group_title = "Most Recent Images - All Categories"; $query = "SELECT id,user,userid,cat,title,description,bigimage,views FROM pp_photos WHERE bigimage!='' AND approved='1' $exclude_cat ORDER BY date DESC LIMIT $limit"; break; } else { $group_title = "Most Recent Images - $catname"; $query = "SELECT id,user,userid,cat,title,bigimage,views FROM pp_photos WHERE bigimage!='' AND approved='1' $exclude_cat AND cat in ($catquery) ORDER BY date DESC LIMIT $limit"; break; } break; case "random": if ( !IsSet($cat) ) { $group_title = "Most Recent Images - All Categories"; $query = "SELECT id,user,userid,cat,title,description,bigimage,views FROM pp_photos WHERE bigimage!='' AND approved='1' $exclude_cat ORDER BY RAND() LIMIT $limit"; break; } break; } $i = 1; $e = 2; $col_val = $column; $result = mysql_query_eval($query,$link) or die("Query failed"); print ""; // print ""; // print ""; while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) { $photo_name = get_filename( $line['bigimage'] ); print ""; $column = $col_val*$e; $e++; } else {print "";} $i++; } print "

"; // print <<

"; $theext = get_ext( $line['bigimage'] ); $thecat = $line['cat']; $temp_user = ($line["userid"]); $filepath = "$data_dir"."$thecat/$temp_user$photo_name.$theext"; $rel_path = "$rel_dir"."$thecat/$temp_user$photo_name.$theext"; print ""; if ( file_exists( $rel_path ) ) print ""; else print "$filepath"; // $number = 75; // $trimmed_desc = substr($line["description"], 0, $number); print "
"".$line["title"].""
by ".$line["user"].""; /* replace long words */ /* $trimmed_desc = preg_replace("/(\s+)(\S{15,})(\s+)/", "$1\(...\)$3", $line["description"]); */ if ( strlen($line["description"]) > strlen($trimmed_desc) ) { echo '...'; } if ($i == "$column") { print "

"; // Closing connection mysql_close($link); // mysql_close($db_link); ?>

"; } // CatTitle was here //$pp_cat_list .= << // // // //PPPRINT; $firstpass = 1; } // -------------------------- // Which folder do we display $boardfolder = ""; // if ( $numnew > 0 || ($UserID == 0 && $showphotos > 0) ) { // $boardfolder = " \"new\""; // } $whichcat = "showgallery"; if ( $CatID == 500 ) $whichcat = "showmembers"; elseif ( $CatID == $mobilecat ) $whichcat = "showmobile"; if ( $firstmd == 1 ) $pp_cat_list .= ""; $firstmd = 1; $pp_cat_list .= << PPPRINT; } $firstmd = 0; } // // Optional: This next section formats a nice statistics box at the bottom which lists stats for both UBBThreads and PhotoPost // $query = "SELECT SUM(views) as tviews, COUNT(*) AS tphotos FROM {$pp_db_prefix}photos"; $totalv = mysql_query($query); list( $totaliviews, $cphotos ) = mysql_fetch_row($totalv); mysql_free_result($totalv); $totaliviews = number_format( $totaliviews ); $cptotal = number_format( $cphotos ); $posttotal = number_format( $catposts ); $registered = number_format( $registered ); $pageviews = $num_thread_views; $photopostcats = ""; // RESULTS $photopostcats = << $pp_cat_list

$CatTitle

 > $Title$boardfolder
PPPRINT; // // End PhotoPost Categories // // If you use PhotoPost in a seperate database from vB, you'll need to reselect the vB database! mysql_select_db ("db649735777"); ?>

Login and Upload issues fixed


Posted by avatar on 10.19.06 at 05:25

The login and upload problems have been fixed, so let's see some more uploads!

Remember, your images must be 100x100 or larger (and square!) to be approved as avatars!

 

Latest Discussion Topics

"What are the 4 squares in th..." by Anonymous

"Help me find the artist!" by Shabaza

"Avatars in grayscales violat..." by avatar

"Quality guidelines for the b..." by Sirielle

"Using avatars in my forum:" by Hans Maulwurf

Google
Web AllAvatars


LorAnge
kenmeyerjr
aruyinn
ArtistNikkiJ
The Domestic Goddess
Eventide
sade
leliathomas
kyrn
DiParkinson

( ? )

What is this?