// open the current directory by opendir $handle=opendir("./images/photoalbum/"); ?> Wreck Creations Photoalbum Setup v2
"; /**** if($file==".." || $file=="." || $file=="...") { $table_counter=0; $ignore = "true"; //do nothing } ***/ $cleanfile=preg_replace("[ ]","+",$file); //echo $cleanfile; $query=mysql_query("SELECT * FROM `photoalbum`") or trigger_error("MYSQL ERROR: ".mysql_error()); $info=mysql_fetch_array($query); if($info['name'] == $cleanfile) { //echo "
File $file already in database"; $ignore = "true"; } //echo "
".$ignore; if($info['name'] != $cleanfile && $file != ".." && $file != "." && $file != "...") { if($table_counter==4) { echo ""; unset($table_counter); $table_counter=1; //echo "
restarted"; } ?>
Refresh Groups
If your seeing this then something is wrong
Please select a group

Phase:

Short Descricption(optional)

"; echo "

";