Server IP : 103.119.228.120 / Your IP : 3.133.146.94 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/hendraso/public_html/old/wp-content/plugins/secure-wordpress/res/pages/ |
Upload File : |
<?php if(! SwpaUtil::canLoad()) { return; } ?> <?php if(! SwpaUtil::isAdministrator()) { return; } ?> <?php if(!isset($_GET['filter'])) { $alertsFilterBy = 'all'; $alertsSortBy = 's'; $alerts = SwpaPlugin::getAlerts(); } else { $alertsFilterBy = trim($_GET['filter']); if($alertsFilterBy == 'all'){ $alerts = SwpaPlugin::getAlerts(); } else { $alertsFilterBy = intval($alertsFilterBy); if(! in_array($alertsFilterBy, array(0,1,2,3))){ $alertsFilterBy = 'all'; $alerts = SwpaPlugin::getAlerts(); } else { $alerts = SwpaPlugin::getAlertsBy($alertsFilterBy); } } } ?> <div class="wrap wsdplugin_content"> <h2><?php echo SWPA_PLUGIN_NAME.' - '. __('Dashboard');?></h2> <p class="clear"></p> <div style="clear: both; display: block;"> <!-- Current Alerts --> <div class="wsdplugin_page_alert_types_current"> <!-- Action Bar --> <div class="wsdplugin_page_alerts_action_bar" style="float: left;"> <div class="tablenav"> <div class="alignleft actions wsdplugin_alerts_filter_severity"> <select id="FilterAlertTypeSelect"> <option value="all"><?php echo __('All Severity Levels');?></option> <option value="3"><?php echo __('Critical');?></option> <option value="2"><?php echo __('Medium');?></option> <option value="1"><?php echo __('Low');?></option> <option value="0"><?php echo __('Informational');?></option> </select> <input type="button" value="Filter" class="button-secondary action" id="FilterAlertTypeButton"> </div> </div> </div> <!-- Title --> <div class="wsdplugin_alert_section_title wsdplugin_alert_section_title_category"><?php echo __('Current Alerts');?></div> <!-- Body --> <div class="wsdplugin_alert_section_body"> <table class="widefat" cellspacing="0" cellpadding="0"> <thead> <th style="width:60px"><?php echo __('Severity');?></th> <th style="width: 150px;"><?php echo __('Date');?></th> <th><?php echo __('Title');?></th> </thead> <tbody> <?php if(! empty($alerts)){ foreach($alerts as $entry){ $alertId = $entry->alertId; $alertType = $entry->alertType; $severity = $entry->alertSeverity; $afsDate = $entry->alertFirstSeen; if($severity == SWPA_PLUGIN_ALERT_INFO){ $severity = 'info'; } elseif($severity == SWPA_PLUGIN_ALERT_LOW){ $severity = 'low'; } elseif($severity == SWPA_PLUGIN_ALERT_MEDIUM){ $severity = 'medium'; } elseif($severity == SWPA_PLUGIN_ALERT_CRITICAL){ $severity = 'critical'; } else { $severity = 'info'; } echo '<tr class="entry-event alt" title="'.__('Click to expand/collapse').'">'; echo '<td class="wsdplugin_alert_indicator wsdplugin_alert_indicator_'.$severity.'" title="'.ucfirst($severity).'"></td>'; echo '<td>'.$entry->alertDate.'</td>'; echo '<td>'.$entry->alertTitle.'</td>'; echo '</tr>'; echo '<tr class="entry-description">'; echo '<td colspan="3">'; if($alertType == SWPA_PLUGIN_ALERT_TYPE_STACK) { // get child alerts $childAlerts = SwpaPlugin::getChildAlerts($alertId, $alertType); if(! empty($childAlerts)){ echo '<h3>'.__('Previous alerts').'</h3>'; echo '<table cellspacing="0" cellpadding="0" style="margin: 7px 11px;"><tbody>'; foreach($childAlerts as $childAlert){ $afsDate = $childAlert->alertFirstSeen; echo '<tr class="alt">'; echo '<td class="wsdplugin_alert_indicator wsdplugin_alert_indicator_'.$severity.'" title="'.ucfirst($severity).'"></td>'; echo '<td>'.$childAlert->alertDate.'</td>'; echo '<td>'.$childAlert->alertTitle.'</td>'; echo '</tr>'; } echo '</tbody></table>'; } echo '<p>Alert first seen on: <strong>'.$afsDate.'</strong></p>'; echo '<h3>'.__('Description').'</h3>'; echo '<div><p>'.$entry->alertDescription.'</p></div>'; if(! empty($entry->alertSolution)){ echo '<h3>'.__('Solution').'</h3>'; echo '<div><p>'.$entry->alertSolution.'</p></div>'; } } else { echo '<p>Alert first seen on: <strong>'.$afsDate.'</strong></p>'; echo '<h3>'.__('Description').'</h3>'; echo '<div><p>'.$entry->alertDescription.'</p></div>'; if(! empty($entry->alertSolution)){ echo '<h3>'.__('Solution').'</h3>'; echo '<div><p>'.$entry->alertSolution.'</p></div>'; } } echo '</td>'; echo '</tr>'; } } else { echo '<tr class="entry-event alt"><td colspan="3"><p style="font-weight:800;padding-top:6px;">'.__('No alerts found.').'</p></td></tr>'; } ?> </tbody> </table> </div> </div> <!-- Current Alerts --> </div> <script type="text/javascript"> jQuery(document).ready(function($){ wsdplugin_bindEntryClick($); $("#FilterAlertTypeSelect").val("<?php echo $alertsFilterBy;?>").attr("selected", "selected"); $('#FilterAlertTypeButton').click(function(){window.location = updateQueryStringParam(document.URL,'filter',$('#FilterAlertTypeSelect').val());}); }); </script> <?php echo SwpaUtil::loadTemplate('box-banners');?> </div>