403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/handjobcafe.com/public_html/lists/admin/plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/handjobcafe.com/public_html/lists/admin/plugins/fckphplist.php
<?php

/*
 * plugin for phpList to provide the FCKeditor in the compose campaign page
 * 
 * works with the FCKeditor version 2.6.8
 * 
 */


class fckphplist extends phplistPlugin {
  public $name = "FCKeditor plugin for phpList";
  public $coderoot = "fckphplist/";
  public $editorProvider = true;
  public $version = "0.1";
  public $authors = 'Michiel Dethmers';
  public $enabled = 1;
  public $description = 'The original WYSIWYG editor for phpList';
  
  public $settings = array(
    "fckeditor_width" => array (
      'value' => 600,
      'description' => 'Width in px of FCKeditor Area',
      'type' => "integer",
      'allowempty' => 0,
      'min' => 100,
      'max' => 800,
      'category'=> 'composition',
    ),
    "fckeditor_height" => array (
      'value' => 600,
      'description' => 'Height in px of FCKeditor Area',
      'type' => "integer",
      'allowempty' => 0,
      'min' => 100,
      'max' => 800,
      'category'=> 'composition',
    ),
    "fckeditortoolbar_row2" => array (
      'value' => '',
      'description' => 'Second row of toolbar elements in the editor',
      'type' => "text",
      'allowempty' => 1,
      'category'=> 'composition',
    ),
    "fckeditor_path" => array (
      'value' => 'plugins/fckphplist/fckeditor/',
      'description' => 'Public path to the FCKeditor',
      'type' => "text",
      'allowempty' => 0,
      'category'=> 'composition',
    ),
  );

  function fckphplist() {
    parent::phplistplugin();
    $this->coderoot = dirname(__FILE__).'/fckphplist/';
  }

  function adminmenu() {
    return array(
    );
  }
  
  function editor($fieldname,$content) {
    if (!is_file($this->coderoot.'/fckeditor/fckeditor.php')) {
      return '<textarea name="'.$fieldname.'">'.htmlspecialchars($content).'</textarea>';
    }
    include_once $this->coderoot.'/fckeditor/fckeditor.php';
    if (!class_exists('FCKeditor')) return 'Editor class not found';
    $oFCKeditor = new FCKeditor($fieldname) ;
    $fckPath = getConfig("fckeditor_path");
    $oFCKeditor->BasePath = $fckPath;
    $oFCKeditor->ToolbarSet = 'Default' ;
    $oFCKeditor->Value = $content;
    $w = getConfig("fckeditor_width");
    $h = getConfig("fckeditor_height");
    if (isset($_SESSION["fckeditor_height"])) {
      $h = sprintf('%d',$_SESSION["fckeditor_height"]);
    }

    # for version 2.0
    if ($h < 400) {
      $h = 400;
    }
    $oFCKeditor->Height = $h;
    $oFCKeditor->Width = $w;
    return $oFCKeditor->CreateHtml();
  }

}

Youez - 2016 - github.com/yon3zu
LinuXploit