HEX
Server: LiteSpeed
System:
User: ()
PHP: 7.3.33
Disabled: ln,cat,popen,pclose,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,system,dl,passthru,exec,shell_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,escapeshellcmd,escapeshellarg,show_source,posix_mkfifo,mysql_list_dbs,get_current_user,getmyuid,pconnect,link,symlink,pcntl_exec,ini_alter,pfsockopen,leak,apache_child_terminate,posix_setpgid,posix_setsid,posix_setuid,proc_terminate,syslog,stream_select,socket_select,socket_create,socket_create_listen,socket_create_pair,socket_listen,socket_accept,socket_bind,socket_strerror,pcntl_fork,pcntl_signal,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,openlog,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,virtual,ini_get_all,php_passthru,posix_uname,php_uname,highlight_file,define_syslog_variables,ftp_exec,inject_code,eval
Upload Files
File: /var/www/vhosts/miroglu.net/subdomains/serhatburke/wp-content/plugins/roses-like-this/options.php
<?php
// create custom plugin settings menu
add_action('admin_menu', 'like_this_create_menu');
add_action('activated_plugin', 'like_this_add_settings');
add_action('admin_init', 'register_mysettings');

function like_this_create_menu() {
  //create new top-level menu
  add_options_page(__('Like This Plugin Settings', 'like_this'), __('Like This Settings', 'like_this'), 'administrator', 'like-this-settings', 'like_this_settings_page');
}

function like_this_add_settings() {
  add_option("no_likes", "Like this");
  add_option("one_like", "% like");
  add_option("some_likes", "% likes");
}

function register_mysettings() {
  //register our settings
  register_setting('like-this-settings-group', 'no_likes');
  register_setting('like-this-settings-group', 'one_like');
  register_setting('like-this-settings-group', 'some_likes');
}

function like_this_settings_page() {
?>
<div class="wrap">
<h2>Like This</h2>

<form method="post" action="options.php">
    <?php
  settings_fields('like-this-settings-group');
?>
    <p><?php
  print __("Enter like this text for no likes, one like, and many likes.", "like_this");
?>

     <?php
  print __("The", "like_this");
?> <strong>%</strong>
     <?php
  print __("symbol will be replaced by the number of likes.", "like_this");
?></p>
    <table class="form-table">
        <tr valign="top">
        <th scope="row"><?php
  print __("Text for no likes", "like_this");
?></th>
        <td><input type="text" name="no_likes" value="<?php
  echo get_option('no_likes');
?>" /></td>
        </tr>

        <tr valign="top">
        <th scope="row"><?php
  print __("Text for one like", "like_this");
?></th>
        <td><input type="text" name="one_like" value="<?php
  echo get_option('one_like');
?>" /></td>
        </tr>

        <tr valign="top">
        <th scope="row"><?php
  print __("Text for many likes", "like_this");
?></th>
        <td><input type="text" name="some_likes" value="<?php
  echo get_option('some_likes');
?>" /></td>
        </tr>
    </table>

    <?php
  submit_button();
?>

</form>
</div>
<?php
}
?>