--> END; ?>

0) { if ( $no_of_slides > 1 ) { ?>

PrevNextPauseResume

'; $i = 0; $count = 0; $count_2 = 0; // row div for x2 images, to align sold. while( $row = mysql_fetch_array($result, MYSQL_ASSOC) ) { if ( $i == 0 ) { echo '
'; } $i = $i + 1; $count = $count + 1; if ( $count_2 == 0 ) { echo '
'; } $count_2 = $count_2 + 1; echo '
'; ?> "> " alt="" class="" /> '; if ( $row["sold"] == 1 ) { echo 'sold'; } else { echo stripslashes($row["comment"]); } echo '

'; echo '
'; if ( $count_2 == 2 || $count == $result_count ) { $count_2 = 0; echo "
"; } if ( $i == $image_count || $count == $result_count ) { echo '
'; $i = 0; } } echo '
'; //echo ''; if ( $no_of_slides > 1 ) { ?>

PrevNextPauseResume

No "work in progress" images found.

"; } mysql_close($mysql_link); ?>