HEX
Server: Apache/2.4.65 (Debian)
System: Linux srv39710 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
User: root (0)
PHP: 8.4.11
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: /var/www/www-root/data/www/beartz.com/t/files/key.php
<?php
if(!defined("INDEX")){header('HTTP/1.1 403 Forbidden'); die('403 Forbidden');}
if(!empty($g_id) && $q == 'keys'){
	echo '<div class="align_center bold indt_10">'.$trans['group']['g2'].': '.$g_name.'</div>';
	$db = new SQLite3($folder_log.'/'.$g_id.'.db');
	$db->busyTimeout($timeout_2);
	$db->exec("PRAGMA journal_mode = WAL;");
	if($db->querySingle("SELECT name FROM sqlite_master WHERE type = 'table' AND name = '$table';")){
		$k = date('Y-m-d', $table);
	}
	if(file_exists($folder_keys.'/'.$g_name.'/'.$k.'.dat') && empty($s_name)){
		$keys_f = file_get_contents($folder_keys.'/'.$g_name.'/'.$k.'.dat');
	}
	else{
		$keys_f = '';
	}
	if(file_exists($folder_keys.'/'.$g_name.'/'.$k.'-se.dat') && empty($s_name)){
		$keys_f_se = "\n***** Search Engines *****\n".file_get_contents($folder_keys.'/'.$g_name.'/'.$k.'-se.dat');
	}
	else{
		$keys_f_se = '';
	}
	$keys = $keys_f.$keys_f_se;
	if(!empty($keys)){
		echo '<div class="indt_20 indb_10">
<a name="keywords"></a>
<form method="#" action="#">
<div class="align_left">
<textarea id="code" class="ta" name="keywords">'.$keys_f.$keys_f_se.'</textarea>
</div>
</form>
</div>
<script>
    var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
      lineNumbers: true,
    });
</script>';
	}
	else{
		echo '<div class="indt_20 indb_10">
<a name="keywords"></a>
<form method="#" action="#">
<div class="align_left">
<textarea id="code" class="ta" name="keywords">Data not found</textarea>
</div>
</form>
</div>
<script>
    var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
      lineNumbers: true,
    });
</script>';
	}
}
?>