' . $text . '

' . "\n"; } $options = atc_get_options(); ?>

get_var( "SELECT COUNT(*) FROM $wpdb->options WHERE option_name LIKE '%_transient_timeout_%'" ); $text = sprintf( __( 'There are currently %s timed transients in the database.', 'artiss-transient-cleaner' ), $total_transients ); if ( $total_transients > 0 ) { $expired_transients = $wpdb -> get_var( "SELECT COUNT(*) FROM $wpdb->options WHERE option_name LIKE '%_transient_timeout_%' AND option_value < UNIX_TIMESTAMP()" ); $text .= ' ' . sprintf( __( '%s have expired.', 'artiss-transient-cleaner' ), $expired_transients ); } echo '

' . $text . '

'; ?>

/>
/> 
' . $text . '

'; ?>

/>
/>
' . sprintf( __( 'All transients were cleared on %s at %s.', 'artiss-transient-cleaner' ), date( 'l, jS F Y', $array[ 'timestamp' ] ), date( 'H:i', $array[ 'timestamp' ] ) ) . '

'; } else { echo '
'; } ?>