$maxsavings && $ccdate==$cdate) { $stl="style=\"filter:alpha(opacity=30);\""; $stll="javascript:alert('You can submit a VML art lower than ".$maxsavings." topics per day');"; } else $stll="editor.php"; ?> GALERY - WWW Paint Board
WWW Paint Board logo

Back to GALERY Submit your VML art Browse my art.... Back to website homepage ADMINISTRATOR only

GALERY NEWS


0) { $xaucu="$fid|$fname|$fdes|$fpass|$fauthor|$femail|$furl|$fvote|$fclick|$fhide|$fdate|$frealdate|\n"; $xaumoi=""; $fp = fopen($dbfile, "r"); $data = fread($fp, filesize($dbfile)); fclose($fp); $newdata = str_replace($xaucu, $xaumoi, $data); $fp = fopen($dbfile,"w"); fwrite($fp,$newdata) or die ("error writing"); fclose($fp); $succ = "1"; //Delete VML file $pdb=$db_dir .$pid .".htm"; unlink($pdb); $cdb=$comments_dir .$pid .".htm"; unlink($cdb); } } } //END FUNCTIONS //Cleaning $file=file($dbfile); $hieu=sizeof($file)-2-$maxtopic; if($hieu>0){ for($i=2;$i<$hieu+2;$i++){ $ma=explode("|",$file[$i]); $cid=$ma[0]; delwpb($cid); } } //Cleaning expired topics //Get date $today = getdate(); $month = $today['mon']; $mday = $today['mday']; $year = $today['year']; $cdate = $mday + 30*$month + 365*$year; $file=file($dbfile); for($i=2;$i=$maxday) { delwpb($ma[0]); } } //Get max avaiable topics $file=file($dbfile); $maxtopic=0; while(list(,$value)=each($file)){ list($fid,$fname,$fdes,$fpass,$fauthor,$femail,$furl,$fvote,$fclick,$fhide,$fdate,$frealdate,$blank)=split( "\|", $value); if ($fid>=1 && $fhide==0) $maxtopic++; } if(!$action && $id){ $timthay=0; //Update click variable $file=file($dbfile); while(list(,$value)=each($file)){ list($fid,$fname,$fdes,$fpass,$fauthor,$femail,$furl,$fvote,$fclick,$fhide,$fdate,$frealdate,$blank)=split( "\|", $value); if ($id==$fid) { $xaucu="$fid|$fname|$fdes|$fpass|$fauthor|$femail|$furl|$fvote|$fclick|$fhide|$fdate|$frealdate|\n"; $fclick++; $xaumoi="$fid|$fname|$fdes|$fpass|$fauthor|$femail|$furl|$fvote|$fclick|$fhide|$fdate|$frealdate|\n"; $fp = fopen($dbfile, "r"); $data = fread($fp, filesize($dbfile)); fclose($fp); $newdata = str_replace($xaucu, $xaumoi, $data); $fp = fopen($dbfile,"w"); fwrite($fp,$newdata) or die ("

Error writing in Database.

"); fclose($fp); $succ = "1"; } } //Get vars $file=file($dbfile);$j=0; while(list(,$value)=each($file)){ list($fid,$fname,$fdes,$fpass,$fauthor,$femail,$furl,$fvote,$fclick,$fhide,$fdate,$frealdate,$blank)=split( "\|", $value); $j++; if ($id==$fid){ $timthay=1; $myj=$j; $myid=$fid;$myname=$fname;$mydes=$fdes;$mypass=$fpass;$myauthor=$fauthor;$myemail=$femail;$myurl=$furl;$myvote=$fvote;$myclick=$fclick;$myhide=$fhide;$mydate=$frealdate;} if($myurl=="http://" || $myurl=="") $myurl="N/a"; } //Get MAX id $file=file($dbfile); $maxid=0; for($i=0;$i<=sizeof($file);$i++){ $ma=explode("|",$file[$i]); if($ma[0]>$maxid) $maxid=$ma[0]; } //Shows one ID if($timthay==1){ if( $myhide==0 || ($myhide==1 && $viewpass==$mypass)){ ?>

WWW Paint Board galery: ( points)
Artist : ::
Viewing: time(s). Updated on

"); ?>

1) $ma1=explode("|",$file[$myj-2]); if($id<$maxid) $ma2=explode("|",$file[$myj]); if($ma1[9]==1) $hidetip1="Hidden on Public"; else if($ma1[9]==0) $hidetip1="Active"; if($ma2[9]==1) $hidetip2="Hidden on Public"; else if($ma2[9]==0) $hidetip2="Active"; if($id>1) print("[ $ma1[1] by $ma1[4]
".substr($ma1[2],0,25)."..

Status: $hidetip1');\" onmouseout=\"tatmota();\">PREV ART
]"); else print("[ PREV ART ]"); print(" :: "); if($id<$maxid) print(" [ $ma2[1] by $ma2[4]
".substr($ma2[2],0,25)."..

Status: $hidetip2');\" onmouseout=\"tatmota();\">NEXT ART
]"); else print("[ NEXT ART ]"); ?>

Voting :: 0 pt 10 pts 20 pts 30 pts 40 pts 50 pts 100 pts

Comments
Add your reply :: Name Email Comments

This topic is being hidden


Topic name :: Author :: ID

Password

"); //Get info of ID + - 1 $file=file($dbfile); if($id>1) $ma1=explode("|",$file[$myj-2]); if($id<$maxid) $ma2=explode("|",$file[$myj]); if($ma1[9]==1) $hidetip1="Hidden on Public"; else if($ma1[9]==0) $hidetip1="Active"; if($ma2[9]==1) $hidetip2="Hidden on Public"; else if($ma2[9]==0) $hidetip2="Active"; if($id>1) print("[ $ma1[1] by $ma1[4]
".substr($ma1[2],0,25)."..

Status: $hidetip1');\" onmouseout=\"tatmota();\">PREV ART
]"); else print("[ PREV ART ]"); print(" :: "); if($id<$maxid) print(" [ $ma2[1] by $ma2[4]
".substr($ma2[2],0,25)."..

Status: $hidetip2');\" onmouseout=\"tatmota();\">NEXT ART
]"); else print("[ NEXT ART ]"); print("

"); } } else print("

Do NOT found the ID $id

"); //End show one ID------------------------------------------------------------ } else { if(!$page || $page<=0) $page=1; //Get MAX id $file=file($dbfile); $maxid=0; for($i=0;$i<=sizeof($file);$i++){ $ma=explode("|",$file[$i]); if($ma[0]>$maxid) $maxid=$ma[0]; } //Prints ARTs $dd=obiemod($maxtopic,$inline); $sotrang=obiediv($maxtopic,$maxinpage)+1; print("
"); $l=0;$j=0; $file=file($dbfile); $file=array_reverse($file); while(list(,$value)=each($file)){ list($fid,$fname,$fdes,$fpass,$fauthor,$femail,$furl,$fvote,$fclick,$fhide,$fdate,$frealdate,$blank)=split( "\|", $value); if ($fid>=1 && $fhide==0){ $j++; if( $j>(($page-1)*$maxinpage) && $j<=($page*$maxinpage)){ print(""); $l++; if($l==$inline){ print(""); $l=0; } } } } for($i=0;$i<$inline-$dd;$i++){ print(""); } print("
$fname
".substr($fdes, 0, 30)."..

View: $fclick time(s)
Submited on $frealdate');\" onmouseout=tatmota()>"); if($fvote>$excelent) print(""); else if($fvote>$good) print(""); else print(""); $fname=substr($fname, 0, 15) .".."; print("
$fname
By " .substr($fauthor,0,5) ."..

Score: " .($fvote+$fclick) ."
Comments: "); $cfile=file("comments/$fid.htm"); $socomm=sizeof($cfile)-1; print("$socomm
"); //Print Page BAR print("

Total ".($maxtopic)." topic(s) (++ ".(sizeof(file($dbfile))-2-$maxtopic)." hidden topics). Page " .($page) ."/" .$sotrang .". More...

"); //SHOUTBOX ?>

SHOUT BOX

Name Email Comments

"); ?>
TOP SCORE

0){ $s=$file3[$j];$file3[$j]=$file3[$i];$file3[$i]=$s; } } } for($i=2;$i<2+$topnum;$i++){ $t=explode("|",$file3[$i]); print("" .substr($t[1],0,10) .".. (".($t[7]+$t[8]) .") by " .substr($t[4],0,5) ."..

"); } ?>


TOP CLICKS

0){ $s=$file3[$j];$file3[$j]=$file3[$i];$file3[$i]=$s; } } } for($i=2;$i<2+$topnum;$i++){ $t=explode("|",$file3[$i]); print("" .substr($t[1],0,10) .".. ($t[8]) by " .substr($t[4],0,5) ."..

"); } ?>


RANDOM TOPIC
0){ print("
" .substr($tname[1],0,10) ."..
".($tname[7]+$tname[8]) ." pts by " .substr($tname[4],0,5) ."..
"); }else print("N/A"); ?>


SEARCH

By author name


POWERED BY

V1.2003


WWW Paint Board copyrights 2003 by Jacco IJzerman and Obie. Based on VML editor.
All Right Reserved. (C) (R) Obie Website. Get more PHP and Javascripts for FREE.

[ All about WWW Paint Board ]