| Server IP : 151.101.66.159 / Your IP : 216.73.216.66 Web Server : Flywheel/5.1.0 System : Linux wordpress 6.12.113+ #1 SMP Thu Oct 22 02:38:20 UTC 2026 x86_64 User : root ( ) PHP Version : 7.4.33.18 Disable Function : disk_free_space,diskfreespace,dl,exec,fpassthru,getmypid,getmyuid,highlight_file,link,opcache_compile_file,opcache_get_configuration,opcache_is_script_cached,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,phpinfo,popen,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,socket_listen,source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wp-content/plugins/social-media-auto-publish/admin/ |
Upload File : |
<?php
if( !defined('ABSPATH') ){ exit();}
global $wpdb;
$xyz_smap_message='';
if(isset($_GET['msg']))
$xyz_smap_message = $_GET['msg'];
if($xyz_smap_message == 1){
?>
<div class="system_notice_area_style1" id="system_notice_area">
Thank you for the suggestion. <span
id="system_notice_area_dismiss">Dismiss</span>
</div>
<?php
}
else if($xyz_smap_message == 2){
?>
<div class="system_notice_area_style0" id="system_notice_area">
wp_mail not able to process the request. <span
id="system_notice_area_dismiss">Dismiss</span>
</div>
<?php
}
else if($xyz_smap_message == 3){
?>
<div class="system_notice_area_style0" id="system_notice_area">
Please suggest a feature. <span
id="system_notice_area_dismiss">Dismiss</span>
</div>
<?php
}
if (isset($_POST) && isset($_POST['xyz_send_mail']))
{
if (! isset( $_REQUEST['_wpnonce'] )|| ! wp_verify_nonce( $_REQUEST['_wpnonce'], 'xyz_smap_suggest_feature_form_nonce' ))
{
wp_nonce_ays( 'xyz_smap_suggest_feature_form_nonce' );
exit();
}
if (isset($_POST['xyz_smap_suggested_feature']) && $_POST['xyz_smap_suggested_feature']!='')
{
$xyz_smap_feature_content=$_POST['xyz_smap_suggested_feature'];
$xyz_smap_sender_email = get_option('admin_email');
$entries0 = $wpdb->get_results( $wpdb->prepare( 'SELECT display_name FROM '.$wpdb->base_prefix.'users WHERE user_email=%s',array($xyz_smap_sender_email)));
foreach( $entries0 as $entry ) {
$xyz_smap_admin_username=$entry->display_name;
}
$xyz_smap_recv_email='support@xyzscripts.com';
$xyz_smap_mail_subject="SOCIAL MEDIA AUTO PUBLISH - FEATURE SUGGESTION";
$xyz_smap_headers = array('From: '.$xyz_smap_admin_username.' <'. $xyz_smap_sender_email .'>' ,'Content-Type: text/html; charset=UTF-8');
$wp_mail_processed=wp_mail( $xyz_smap_recv_email, $xyz_smap_mail_subject, $xyz_smap_feature_content, $xyz_smap_headers );
if ($wp_mail_processed==true){
header("Location:".admin_url('admin.php?page=social-media-auto-publish-suggest-features&msg=1'));
exit();
}
else {
header("Location:".admin_url('admin.php?page=social-media-auto-publish-suggest-features&msg=2'));
exit();
}
}
else {
header("Location:".admin_url('admin.php?page=social-media-auto-publish-suggest-features&msg=3'));
exit();
}
}?>
<form method="post" >
<?php wp_nonce_field( 'xyz_smap_suggest_feature_form_nonce' );?>
<h3>Contribute And Get Rewarded</h3>
<span style="color: #1A87B9;font-size:13px;padding-left: 10px;" >* Suggest a feature for this plugin and stand a chance to get a free copy of premium version of this plugin.</span>
<table class="widefat xyz_smap_widefat_table" style="width:98%;padding-top: 10px;">
<tr><td>
<textarea name="xyz_smap_suggested_feature" id="xyz_smap_suggested_feature" style="width:620px;height:250px !important;"></textarea>
</td></tr>
<tr>
<td><input name="xyz_send_mail" class="submit_smap_new" style="color:#FFFFFF;border-radius:4px;border:1px solid #1A87B9; margin-bottom:10px;" type="submit" value="Send Mail To Us">
</td></tr>
</table>
</form>