403Webshell
Server IP : 80.241.246.6  /  Your IP : 216.73.216.188
Web Server : Apache/2.4.25 (Debian)
System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User : www-data ( 33)
PHP Version : 7.0.33-0+deb9u12
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/kharagauli_new/admin/view/templates_1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kharagauli_new/admin/view/templates_1/tinymce.tpl
        

        <script>
           
   // tinymce.init({
   //     selector: "textarea",
   //     plugins: [
   //         "advlist autolink lists link image charmap print preview anchor",
   //         "searchreplace visualblocks code fullscreen",
   //         "insertdatetime media table contextmenu paste textcolor jbimages fontselect"
   //     ],
   //     toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | print preview media fullpage | forecolor backcolor emoticons table | jbimages | fontselect | fontsizeselect"
   // });

        	{literal}

        	/*
			tinymce.init({
			       selector: "textarea",theme: "modern",
			        plugins: [
			                "advlist autolink autosave link image lists charmap print preview hr anchor pagebreak spellchecker",
			                "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
			                "table contextmenu directionality emoticons template textcolor paste fullpage textcolor colorpicker textpattern"
			        ],

			        toolbar1: "newdocument fullpage | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | styleselect formatselect fontselect fontsizeselect",
			        toolbar2: "cut copy paste | searchreplace | bullist numlist | outdent indent blockquote | undo redo | link unlink anchor image media code | insertdatetime preview | forecolor backcolor",
			        toolbar3: "table | hr removeformat | subscript superscript | charmap emoticons | print fullscreen | ltr rtl | spellchecker | visualchars visualblocks nonbreaking template pagebreak restoredraft",

			        menubar: false,
			        toolbar_items_size: 'small',
			        image_advtab: false ,
				    relative_urls : false,
				    remove_script_host : false,
				    convert_urls : true,
				   
				    external_filemanager_path:"/filemanager/",
				    filemanager_title:"Responsive Filemanager" ,
				    external_plugins: { "filemanager" : "/filemanager/plugin.min.js"},

			        style_formats: [
			                {title: 'Bold text', inline: 'b'},
			                {title: 'Red text', inline: 'span', styles: {color: '#ff0000'}},
			                {title: 'Red header', block: 'h1', styles: {color: '#ff0000'}},
			                {title: 'Example 1', inline: 'span', classes: 'example1'},
			                {title: 'Example 2', inline: 'span', classes: 'example2'},
			                {title: 'Table styles'},
			                {title: 'Table row 1', selector: 'tr', classes: 'tablerow1'}
			        ],

			        templates: [
			                {title: 'Test template 1', content: 'Test 1'},
			                {title: 'Test template 2', content: 'Test 2'}
			        ]

			        {/literal}



			   //  selector: "textarea",theme: "modern",
			   //  fontsize_formats: "8pt 10pt 12pt 14pt 18pt 24pt 36pt",

			   //  plugins: [
			   //       "advlist autolink link image lists charmap print preview hr anchor pagebreak",
			   //       "searchreplace wordcount visualblocks visualchars insertdatetime media nonbreaking",
			   //       "table contextmenu directionality emoticons paste textcolor responsivefilemanager"
			   // ],
			   // toolbar1: "sizeselect | fontselect |  fontsizeselect | undo redo | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | styleselect",
			   // toolbar2: "table | colorpicker | responsivefilemanager | link unlink anchor | image media | forecolor backcolor  | print preview code ",
			   // image_advtab: false ,
			   // relative_urls : false,
			   // remove_script_host : false,
			   // convert_urls : true,
			   // paste_auto_cleanup_on_paste : true,
			   
			   // external_filemanager_path:"/filemanager/",
			   // filemanager_title:"Responsive Filemanager" ,
			   // external_plugins: { "filemanager" : "/filemanager/plugin.min.js"},
			   // paste_postprocess : function(pl, o) {
		    //         // remove &nbsp
		    //         o.node.innerHTML = o.node.innerHTML.replace(/&nbsp;/ig, " ");
		    //      }
			 });
		*/


		tinymce.init({
		  selector: 'textarea',
		    plugins: [
			                "advlist autolink autosave link image lists charmap print preview hr anchor pagebreak spellchecker",
			                "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
			                "table contextmenu directionality emoticons template textcolor paste fullpage textcolor colorpicker textpattern"
			        ],
		   toolbar1: "newdocument fullpage | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | styleselect formatselect fontselect fontsizeselect",
			        toolbar2: "cut copy paste | searchreplace | bullist numlist | outdent indent blockquote | undo redo | link unlink anchor image media code | insertdatetime preview | forecolor backcolor",
			        toolbar3: "table | hr removeformat | subscript superscript | charmap emoticons | print fullscreen | ltr rtl | spellchecker | visualchars visualblocks nonbreaking template pagebreak restoredraft",
		  
		  image_title: true, 
		  automatic_uploads: true,
		  file_picker_types: 'image', 
		  // and here's our custom image picker
		  file_picker_callback: function(cb, value, meta) {
		        var input = document.createElement('input');
		        input.setAttribute('type', 'file');
		        input.setAttribute('accept', 'image/*');
		   

			    input.onchange = function() {
			      var file = this.files[0];
			      
			      var reader = new FileReader();
			      reader.onload = function () {
			      
			        var id = 'blobid' + (new Date()).getTime();
			        var blobCache =  tinymce.activeEditor.editorUpload.blobCache;
			        var base64 = reader.result.split(',')[1];
			        var blobInfo = blobCache.create(id, file, base64);
			        blobCache.add(blobInfo);

			        // call the callback and populate the Title field with the file name
			        cb(blobInfo.blobUri(), { title: file.name });
			      };
			      reader.readAsDataURL(file);
			    };
			    
			    input.click();
		  }
		});
$(document).ready(function(){  
    $('.closeLink').on('click', function(event){
        event.stopPropagation();
        $.fancybox.close();
    });
});
        </script>

Youez - 2016 - github.com/yon3zu
LinuXploit