frailty
"; print "
"; while ($row = mysql_fetch_array($result)) { $text = $row[text]; $i = $row[line]; if ($i == $line) { print "

$text

"; } else { print "

$text

"; } $i++; } print "
"; print ""; print "
"; $poem = get('poem'); $number_of_poems = 6; $p = $poem - 1; if ($p == 0) $p = $number_of_poems; print "
previous poem | "; $p = $poem + 1; if ($p > $number_of_poems) $p = 1; print "next poem
"; $sql = "SELECT imagepath FROM images WHERE poem=$poem AND line=$line ORDER BY id ASC"; $result = mysql_query($sql); $rows = mysql_num_rows($result); if ($rows == 0) { print "
no image yet ... upload one
"; } else { $i = 1; $nav = 'images: '; while ($row = mysql_fetch_array($result)) { if ($row[imagepath] == '') { break; } if ($i == $image) { print "
"; print "
"; print "
"; $nav .= "$i "; } else { $nav .= "$i "; } $i++; } if ($i > 2) { print"
"; print $nav; } else { print"
"; print " "; } print"
"; } ?> "; } ?> frailty poems :: zefrank.com
zefrank.com - many have come but i like you the best