
<!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: header-login.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * @package Betheme
 * @author Muffin group
 * @link https://muffingroup.com
 */

global $woocommerce;

$has_shop = false;
$has_user = false;
$has_cart = false;
$has_wishlist = false;

// has shop

if( isset( $woocommerce ) &amp;&amp; function_exists(&#039;is_woocommerce&#039;) ){
	$has_shop = true;
}

// shop icons hide

$shop_icons_hide = mfn_opts_get(&#039;shop-icons-hide&#039;);

// shop user

if( $has_shop &amp;&amp; empty( $shop_icons_hide[&#039;user&#039;] ) ){
	$has_user = true;
}

// output -----

if( $has_user ){
  echo &#039;&lt;div class=&quot;mfn-header-login is-side woocommerce &#039;. ( is_user_logged_in() ? &quot;mfn-header-modal-nav&quot; : &quot;mfn-header-modal-login&quot; ) .&#039;&quot; aria-expanded=&quot;false&quot; role=&quot;navigation&quot; aria-label=&quot;&#039;. __(&#039;shop account menu&#039;, &#039;betheme&#039;) .&#039;&quot;&gt;&#039;;
    echo &#039;&lt;a class=&quot;mfn-close-icon toggle-login-modal close-login-modal&quot; tabindex=&quot;0&quot;&gt;&lt;span class=&quot;icon&quot; aria-label=&quot;&#039;. __(&#039;close menu&#039;, &#039;betheme&#039;) .&#039;&quot;&gt;&amp;#10005;&lt;/span&gt;&lt;/a&gt;&#039;;
    if( ! is_user_logged_in()){
      echo &#039;&lt;h4&gt;&#039;; esc_html_e( &#039;Login&#039;, &#039;woocommerce&#039; ); echo &#039;&lt;/h4&gt;&#039;;
      echo woocommerce_login_form();
      $opt_reg = get_option( &#039;woocommerce_enable_myaccount_registration&#039; );
      if( $opt_reg == &#039;yes&#039; ){
        echo &#039;&lt;p class=&quot;create_account&quot;&gt;&lt;a href=&quot;&#039;.get_permalink( get_option(&#039;woocommerce_myaccount_page_id&#039;) ).&#039;&quot;&gt;&#039;;
          esc_html_e( &#039;Create an account?&#039;, &#039;woocommerce&#039; );
        echo &#039;&lt;/a&gt;&lt;/p&gt;&#039;;
      }
    } else {
      echo &#039;&lt;h4&gt;&#039;. sprintf( __( &#039;Hello %s,&#039;, &#039;woocommerce&#039; ), esc_html( wp_get_current_user()-&gt;user_login ) ) .&#039;&lt;/h4&gt;&#039;;
      woocommerce_account_navigation();
    }
  echo &#039;&lt;/div&gt;&#039;;
  // echo &#039;&lt;div id=&quot;mfn-login-overlay&quot;&gt;&lt;/div&gt;&#039;;
}
</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>
