1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/yunxi59-luohu

В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
JYEditer.php 1.5 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
邓云溪 Отправлено 21.05.2018 06:02 82b8225
<?php
?>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
</head>
<body leftmargin="0" topmargin="0">
<SCRIPT LANGUAGE="JavaScript">
var bokecc_id='1204';
</SCRIPT>
<script type="text/javascript" src="/ewebeditor/KindEditor.js"></script>
<input type="hidden" name="content" id="content">
<script type="text/javascript">
var editor = new KindEditor("editor");
editor.hiddenName = "content";
editor.skinPath = "/ewebeditor/skins/default/";
editor.iconPath = "/images/default/faceicon/";
editor.imageAttachPath = "upload_files";
editor.imageUploadCgi = "/upfile_jy.php?belongs_to=<?php echo $_GET["belongs_to"];?>&belongs_to_id=<?php echo $_GET["belongs_to_id"];?>";
editor.cssPath = "/ewebeditor/common.css";
editor.editorWidth = "100%";
editor.parentID = "<?php echo $_GET[id];?>";
function get_height(){
h=0;
if(parent.document.getElementById("eWebEditor1")!=null){
h=(parent.document.getElementById("eWebEditor1").height-60);
}
if(h<10){
h=100;
}
return (h+'px');
}
function show_edit(){
editor.editorHeight =get_height();
editor.show();
}
setcode();
show_edit();
function setcode(){
document.getElementById('content').value=parent.document.getElementById('<?php echo $_GET[id];?>').value;
}
document.onmousemove=editor.code;
function set_input(){
editor.code();
setTimeout("set_input()",30);
}
set_input();
</script>
</body>
</html>

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/yunxi59-luohu.git
git@api.gitlife.ru:oschina-mirror/yunxi59-luohu.git
oschina-mirror
yunxi59-luohu
yunxi59-luohu
master