Server IP : 119.59.102.212 / Your IP : 18.218.54.80 Web Server : Apache/2 System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64 User : yangkam ( 1022) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/yangkam/domains/yangkam.go.th/private_html/coremain/ |
Upload File : |
<style> /* The Modal (background) */ .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ } /* Modal Content/Box */ .modal-content { background-color: #fefefe; margin: 10px auto; /* 15% from the top and centered */ padding: 10px; border: 1px solid #888; width: 80%; /* Could be more or less, depending on screen size */ } .modal-md{ width: 50%; /* Full width */ } /* The Close Button */ .close { color: #aaa; float: right; font-size: 28px; font-weight: bold; } .close:hover, .close:focus { color: black; text-decoration: none; cursor: pointer; } .close-center { color: #888; background: #ddd; padding: 5px 10px; font-size: 14px; font-weight: bold; } .close-center:hover, .close-center:focus { color: black; text-decoration: none; cursor: pointer; } .ui-dialog{ left: 10%; top: 5%; } .no-close .ui-dialog-titlebar-close { display: none } </style> <script language="JavaScript"> function showDialog(id){ $('#'+id).dialog({ resizable: true, height: "auto", width: '80%', modal: true, position: 'top', closeOnEscape: false, close: function(event, ui) { location.reload(); } }); } // Get the modal var modal = document.getElementById("myModal"); // Get the <span> element that closes the modal var span = document.getElementsByClassName("close"); // When the user clicks on <span> (x), close the modal span.onclick = function() { modal.style.display = "none"; }; // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal) { modal.style.display = "none"; } }; function windowClose(){ document.getElementById("myModal").style.display = "none"; } //## get Text Editor to json ##// function getTextEditData(form){ var arrayData = []; var fEle = $(form).find('textarea'); if(fEle.length > 0){ var row = {}; row.name = fEle.attr('name'); row.value = CKEDITOR.instances[fEle.attr('id')].getData(); arrayData.push(row); } return arrayData; } </script>