"; $limit = 15; if( isset( $_REQUEST['type'] ) ) : $limit = 1000; endif; $blog_title = 'pnuk! fotoblog'; $blog_desc = 'Photographs from punk to landscapes and more.'; $res = mysql_query( "select id, title, description, unix_timestamp( date ) time from p_photos where status = 'published' order by id desc limit 15" ); $pubtime = mysql_result( $res, 0, 'time' ); $pubdate = date( "D, d M Y H:m:i O", $pubtime ); ?> HAI IM IN UR BUCKETS MAKING UP FORMATS GIMME UPLOADS FROM 0 ) { while( $r = mysql_fetch_array( $res ) ) { $pubdate = date( "D, d M Y H:m:i O", $r['time'] ); echo "\n\tI CAN HAS PHOTO ".strtoupper(eregi_replace( '&', '&', $r[ 'title' ] )); echo "\n\t\tITZ AT http://foto.pnuk.net/photo/{$r[ 'id' ]}/"; echo "\n\t\tINVISIBLE METADATA\n\t\tLOL"; echo "\n\tKTHX."; } } echo "\nI IS BORED"; echo "\nKTHXBYE."; ?>