code = $c; $d->database = ( ABSPATH . 'db/vinyl-dl-codes.sqlite' ); $d->wav_file = ( ABSPATH . 'wp-content/uploads/Rainer von Vielen - Ueberall Chaos (WAV-24bit).zip'); $d->mp3_file = ( ABSPATH . 'wp-content/uploads/Rainer von Vielen - Ueberall Chaos (mp3-320kbps).zip'); if ( $row = $d->query_code($d->code)) { // max count not reached if ( false === $d->reached_max_dl( $row['count'] ) ) $d->dl_trigger($f); } } // } get_header(); global $wp_query, $post; $page_layout = get_post_meta($wp_query->post->ID, '_page_layout', true); $custom_sidebar = get_post_meta($wp_query->post->ID, '_custom_sidebar', true); $page_layout = isset($page_layout) && $page_layout != '' ? $page_layout = $page_layout : $page_layout = 'sidebar_right'; // Include page header if (isset($post)) include_once(THEME . '/includes/page_header.php'); ?>
class="clearfix">

Der Code funktioniert 3 mal. Nach Eingabe erscheint ein „Start”-Button der den Download startet.
Probleme? Email: dan@rainervonvielen.de