|
this is what I got from my server guy...
Here is that line and several around it for context:
2780 if ( $xloop == 0 ) {
2781 $Globals['cats'] = array();
2782 $query = "SELECT
id,ugnoupload,ugnoanno,ugnoview,ugnopost,ugnovote,password,watermark,cat
type,catname,parent,childre
n,thumbs,canzip,moderators,header,footer,headtags FROM {$Globals['pp_db_prefix']}categories";
2783 $resultb = ppmysql_query($query,$link);
2784
2785 // need to do this loop for each group user is a member
of
2786 while ( $row = mysql_fetch_row($resultb) ) {
2787 $arraykey = $row[0];
2788 $Globals['cats'][$arraykey] = $row;
2789 }
2790 }
2791
2792 foreach( $Globals['cats'] as $key => $value ) {
2793 list( $catugid, $ugnoup, $ugnoanno, $ugnoview,
$ugnopost, $ugnovote, $cpass, $cwatermark, $cattype, $catname, $catpa
rent, $children, $catthumb, $catzip, $mods, $header, $footer, $headtags ) = $value;
2794 $noupload=0; $noann=0; $noview=0; $nopost=0; $novote=0;
|