Requiem Screen Shots

uid) { print t('Welcome @name! You can upload your requiem screen shots here to show everyone. You can add comments here!', array('@name' => $user->name)); ?>
Description :
=0){ $paging.="  First  "; $paging.="  Previous  "; }else{ # $paging.="   First "; # $paging.=" Previous   "; } for($i=1;$i<=$pages;$i++){ $pageoffset=($i-1)*$limit; if($offset==$pageoffset){ $paging.="   ".$i."  "; }else{ $paging.="   ".$i."   "; } } $next=$offset+$limit; $last=($pages-1)*$limit; if($next<=$allss){ $paging.="  Next  "; $paging.="  Last   "; }else{ # $paging.="   Next   "; # $paging.="   Last   "; } #end of paging $query="SELECT username,filename,notes,thumbnail,original,showss,dateadded FROM rb_ss WHERE showss=1 ORDER BY ssid DESC LIMIT $limit OFFSET $offset"; $result = mysql_query($query) or die(mysql_error()); $sstable=""; $sstable.=""; $c=0; while($row = mysql_fetch_array($result)){ if($c % 4 ==0){ $sstable.=""; } $sstable.=""; if($c % 4 ==3){ $sstable.=""; } $c++; } for($x=$c;$x<=4;$x++){ $sstable.=""; } if($c % 4 !=0){ $sstable.=""; } $sstable.=""; $sstable.=''; $sstable.="
".$paging."

".$row[
by ".$row['username']."
".$row['notes']."
 
".$paging."
"; echo $sstable; ?>