--> 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 nl2br(stripslashes($row["description"])); /* echo 'Name: '.stripslashes($row["name"]); echo '
'; echo 'Date: '.strftime('%d/%m/%Y', strtotime($row["datetime_uploaded"])); echo '
'; echo 'Medium: '.stripslashes($row["medium"]); echo '
'; echo 'Dimensions: '.stripslashes($row["dimensions"]); echo '
'; echo 'Price: £'.stripslashes($row["price"]); */ } 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 craft images found.

"; } mysql_close($mysql_link); ?>