
<!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: ajax-search.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php if ( ! defined( &#039;WOODMART_THEME_DIR&#039; ) ) exit( &#039;No direct script access allowed&#039; );

/**
* ------------------------------------------------------------------------------------------------
* AJAX search shortcode
* ------------------------------------------------------------------------------------------------
*/

if( ! function_exists( &#039;woodmart_ajax_search&#039; ) ) {
	function woodmart_ajax_search( $atts ) {
		$class = apply_filters( &#039;vc_shortcodes_css_class&#039;, &#039;&#039;, &#039;&#039;, $atts );

		$atts = shortcode_atts(
			array(
				&#039;woodmart_css_id&#039;       =&gt; &#039;&#039;,
				&#039;css&#039;                   =&gt; &#039;&#039;,
				&#039;number&#039;                =&gt; 3,
				&#039;price&#039;                 =&gt; 1,
				&#039;thumbnail&#039;             =&gt; 1,
				&#039;category&#039;              =&gt; 1,
				&#039;search_post_type&#039;      =&gt; &#039;product&#039;,
				&#039;woodmart_color_scheme&#039; =&gt; &#039;dark&#039;,
				&#039;el_class&#039;              =&gt; &#039;&#039;,
				&#039;form_style&#039;            =&gt; &#039;default&#039;,
				&#039;cat_selector_style&#039;    =&gt; &#039;bordered&#039;,
			),
			$atts
		);

		$class .= &#039; wd-color-&#039; . $atts[&#039;woodmart_color_scheme&#039;];
		$class .= &#039; &#039; . $atts[&#039;el_class&#039;];
		if( function_exists( &#039;vc_shortcode_custom_css_class&#039; ) ) $class .= &#039; &#039; . vc_shortcode_custom_css_class( $atts[&#039;css&#039;] );

		$class .= woodmart_get_old_classes( &#039; woodmart-vc-ajax-search&#039; );

		ob_start();
		?&gt;
			&lt;div class=&quot;wd-el-search wd-wpb woodmart-ajax-search &lt;?php echo esc_attr( $class ); ?&gt;&quot;&gt;
				&lt;?php
					woodmart_search_form(
						array(
							&#039;ajax&#039;               =&gt; true,
							&#039;post_type&#039;          =&gt; $atts[&#039;search_post_type&#039;],
							&#039;count&#039;              =&gt; $atts[&#039;number&#039;],
							&#039;thumbnail&#039;          =&gt; $atts[&#039;thumbnail&#039;],
							&#039;price&#039;              =&gt; $atts[&#039;price&#039;],
							&#039;show_categories&#039;    =&gt; $atts[&#039;category&#039;],
							&#039;search_style&#039;       =&gt; $atts[&#039;form_style&#039;],
							&#039;cat_selector_style&#039; =&gt; $atts[&#039;cat_selector_style&#039;],
						)
					);
				?&gt;
			&lt;/div&gt;
		&lt;?php

		return ob_get_clean();
	}
}
</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>
