BVB Source Codes

Pcook CMS bubble guest v3.0 SDCMS version Show source_xhtml.htm Source code

Return Download Pcook CMS bubble guest v3.0 SDCMS version: download source_xhtml.htm Source code - Download Pcook CMS bubble guest v3.0 SDCMS version Source code - Type:.htm
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <link href="style/editor.css" rel="stylesheet" type="text/css">
  5. <link href="style/istoolbar.css" rel="stylesheet" type="text/css">
  6.  
  7. <script language="javascript" src="istoolbar.js"></script>
  8. <script>
  9.   var sLangDir=dialogArguments.oUtil.langDir;
  10.   document.write("<scr"+"ipt src='language/"+sLangDir+"/source_html.js'></scr"+"ipt>");
  11. </script>
  12. <script>writeTitle()</script>
  13. <script>
  14. var sBaseHREF="";
  15. var sBodyHeader;
  16. var sBodyFooter;
  17. var sBodyTag;
  18. function doCmd(sCmd,sOption)
  19.   {
  20.   var oSel=idSource.document.selection.createRange();
  21.   var sType=idSource.document.selection.type;
  22.   var oTarget=(sType=="None"?idSource.document:oSel);
  23.   oTarget.execCommand(sCmd,false,sOption);
  24.   }
  25. function bodyOnUnload()
  26.   {
  27.   var oEditor=dialogArguments.oUtil.oEditor;
  28.   var obj = dialogArguments.oUtil.obj;
  29.   sHTML=oEditor.document.documentElement.outerHTML;
  30.   sHTML=obj.docType+sBaseHREF+sHTML;
  31.   obj.putHTML(sHTML);
  32.  
  33.   //*** RUNTIME STYLES ***
  34.   obj.runtimeBorder(false);
  35.   obj.runtimeStyles();
  36.   //***********************
  37.   }
  38. function bodyOnLoad()
  39.   {
  40.   var oEditor=dialogArguments.oUtil.oEditor;
  41.   try{var oSel=oEditor.document.selection.createRange();}
  42.   catch(e){btnApply.disabled=true;btnOk.disabled=true;return;}
  43.   var obj = dialogArguments.oUtil.obj;
  44.  
  45.   //selThis (tdk perlu check focus, krn sdh di setActiveEditor
  46.   if (oSel.parentElement)oElement=oSel.parentElement();
  47.   else oElement=oSel.item(0);
  48.  
  49.   //base handling
  50.   sHTML=oEditor.document.documentElement.outerHTML;
  51.   var arrTmp=sHTML.match(/<BASE([^>]*)>/ig);
  52.   if(arrTmp!=null)sBaseHREF=arrTmp[0];
  53.   for(var i=0;i<oEditor.document.all.length;i++)
  54.    if(oEditor.document.all[i].tagName=="BASE")oEditor.document.all[i].removeNode();
  55.  for(var i=0;i<oEditor.document.all.length;i++)
  56.    if(oEditor.document.all[i].tagName=="BASE")oEditor.document.all[i].removeNode();
  57.  //~~~~~~~~~~~~~
  58.  
  59.  //Save sBodyHeader, sBodyFooter, sBodyTag
  60.  var s=oEditor.document.documentElement.outerHTML;
  61.  
  62.  var arrTmp=s.split("<BODY");
  63.  sBodyHeader=arrTmp[0];
  64.  s=arrTmp[1];
  65.  arrTmp=s.split("</BODY>");
  66.   sBodyFooter=arrTmp[1];
  67.   s=oEditor.document.documentElement.outerHTML;
  68.   s=s.substr(s.indexOf("<BODY"));
  69.  s=s.substr(0,s.indexOf(">")+1);
  70.   sBodyTag=s;
  71.  
  72.   //XHTML inside BODY tag
  73.   sBodyContent=recur(oEditor.document.body,"");
  74.  
  75.   if(sBodyContent.substr(0,4)=="<br>")sBodyContent=sBodyContent.substr(4);//remove <br> if it is added by lineBreak2()
  76.  
  77.   //Display
  78.   idSource.document.body.innerHTML=sBodyContent;
  79.   idSource.document.body.style.cssText="overflow-x:scroll;overflow-y:scroll;white-space:nowrap";
  80.  
  81.   //Format
  82.   idSource.document.body.contentEditable=true;
  83.   idSource.document.body.clearAttributes;
  84.   idSource.document.body.style.marginTop='4';
  85.   idSource.document.body.style.marginLeft='10';
  86.   idSource.document.body.style.fontFamily='Tahoma';
  87.   idSource.document.body.style.fontSize='11px';
  88.   idSource.document.body.style.color='black';
  89.   idSource.document.body.style.background='white';
  90.   idSource.document.body.onkeydown = new Function("doKeyPress(idSource.event)");
  91.   idSource.focus();
  92.  
  93.   doWrap();
  94.  
  95.   //selThis
  96.   for(var i=0;i<idSource.document.all.length;i++)
  97.    {
  98.    if(idSource.document.all[i].getAttribute("selThis")=="selThis")
  99.      {
  100.      var oSelRange = idSource.document.body.createTextRange();
  101.      oSelRange.moveToElementText(idSource.document.all[i]);
  102.      oSelRange.select();
  103.      }
  104.    }
  105.  }
  106. function doKeyPress(evt)
  107.  {
  108.  if (evt.keyCode==13)
  109.    {
  110.    var thisSel = document.selection.createRange();
  111.    thisSel.pasteHTML('<br>');
  112.     evt.cancelBubble = true;
  113.     evt.returnValue = false;
  114.     thisSel.select();
  115.     thisSel.moveEnd("character", 1);
  116.     thisSel.moveStart("character", 1);
  117.     thisSel.collapse(false);
  118.     return false;
  119.     idSource.focus();
  120.     }
  121.   if (evt.ctrlKey)
  122.     {
  123.     if(evt.keyCode==65)doCmd("SelectAll");
  124.     }
  125.   }
  126.  
  127. function doUpdate()
  128.   {
  129.   dialogArguments.oUtil.obj.saveForUndo();
  130.  
  131.   var obj = dialogArguments.oUtil.obj;
  132.  
  133.   var sBodyContent = idSource.document.body.innerText;
  134.   sHTML=obj.docType+sBaseHREF+sBodyHeader+sBodyTag+sBodyContent+"</body>"+sBodyFooter;
  135.   obj.putHTML(sHTML);
  136.  
  137.   //*** RUNTIME STYLES ***
  138.   obj.runtimeBorder(false);
  139.   obj.runtimeStyles();
  140.   //***********************
  141.   }
  142.  
  143. /************************
  144.   HTML to XHTML (formatted)
  145. ************************/
  146. function lineBreak2(tag) //[0]<TAG>[1]text[2]</TAG>
  147.   {
  148.   arrReturn = ["<br>","",""];
  149.   if( tag=="A"||tag=="B"||tag=="CITE"||tag=="CODE"||tag=="EM"||
  150.     tag=="FONT"||tag=="I"||tag=="SMALL"||tag=="STRIKE"||tag=="BIG"||
  151.     tag=="STRONG"||tag=="SUB"||tag=="SUP"||tag=="U"||tag=="SAMP"||
  152.     tag=="S"||tag=="VAR"||tag=="BASEFONT"||tag=="KBD"||tag=="TT"||tag=="SPAN")
  153.     arrReturn=["","",""];
  154.  
  155.   if( tag=="TEXTAREA"||tag=="TABLE"||tag=="THEAD"||tag=="TBODY"||
  156.     tag=="TR"||tag=="OL"||tag=="UL"||tag=="DIR"||tag=="MENU"||
  157.     tag=="FORM"||tag=="SELECT"||tag=="MAP"||tag=="DL"||tag=="HEAD"||
  158.     tag=="BODY"||tag=="HTML")
  159.     arrReturn=["<br>","","<br>"];
  160.  
  161.   if( tag=="STYLE"||tag=="SCRIPT")
  162.     arrReturn=["<br>","",""];
  163.  
  164.   if(tag=="BR"||tag=="HR")
  165.     arrReturn=["","<br>",""];
  166.  
  167.   return arrReturn;
  168.   }
  169. function fixAttr(s)
  170.   {
  171.   s = String(s).replace(/&/g, "&amp;amp;");//harus di awal
  172.   s = String(s).replace(/</g, "&amp;lt;");
  173.  //s = String(s).replace(/>/g, "&amp;gt;");//tdk apa2
  174.   s = String(s).replace(/"/g, "&amp;quot;");
  175.   //s = String(s).replace(/'/g, "&amp;apos;");//tdk apa2
  176.   return s;
  177.   }
  178. function fixVal(s)
  179.   {
  180.   s = String(s).replace(/&/g, "&amp;amp;");//harus di awal
  181.   s = String(s).replace(/</g, "&amp;lt;");
  182.  var x = escape(s);
  183.  x = unescape(x.replace(/\%A0/gi, "-*REPL*-"));
  184.  //x = unescape(x.replace(/\%A0/gi, "-*REPL*-").replace(/\%20/gi, "-*REPL*-"));
  185.  
  186.  var obj = dialogArguments.oUtil.obj;
  187.  if(obj.preserveSpace)
  188.    s = x.replace(/-\*REPL\*-/gi, "&amp;nbsp;");//Preserve Space
  189.  else
  190.    s = x.replace(/-\*REPL\*-/gi, "&nbsp;");
  191.  
  192.  return s;
  193.  }
  194. function recur(oEl,sTab)
  195.  {
  196.  var sHTML="";
  197.  for(var i=0;i<oEl.childNodes.length;i++)
  198.    {
  199.    var oNode=oEl.childNodes(i);
  200.    
  201.    if(oNode.parentNode!=oEl)continue;
  202.    
  203.    if(oNode.nodeType==1)//tag
  204.      {
  205.      var sTagName = oNode.nodeName;
  206.            var sCloseTag = oNode.outerHTML;
  207.            if (sCloseTag.indexOf("<?xml:namespace") > -1) sCloseTag=sCloseTag.substr(sCloseTag.indexOf(">")+1);
  208.             sCloseTag = sCloseTag.substring(1, sCloseTag.indexOf(">"));
  209.             if (sCloseTag.indexOf(" ")>-1) sCloseTag=sCloseTag.substring(0, sCloseTag.indexOf(" "));
  210.      
  211.       var bDoNotProcess=false;
  212.       if(sTagName.substring(0,1)=="/")
  213.         {
  214.         bDoNotProcess=true;//do not process
  215.         }
  216.       else
  217.         {
  218.         /*** tabs ***/
  219.         var sT= sTab;
  220.         sHTML+= lineBreak2(sTagName)[0];  
  221.         if(lineBreak2(sTagName)[0] !="") sHTML+= sT;//If new line, use base Tabs
  222.         /************/
  223.         }
  224.  
  225.       if(bDoNotProcess)
  226.         {
  227.         ;//do not process
  228.         }
  229.       else if(sTagName=="OBJECT" || sTagName=="EMBED")
  230.         {  
  231.         s=oNode.outerHTML;
  232.  
  233.         s=s.replace(/\"[^\"]*\"/ig,function(x){          
  234.             x=x.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/'/g, "&apos;").replace(/\s+/ig,"#_#").replace(/&amp;amp;/gi,"&amp;");
  235.             return x});
  236.         s=s.replace(/<([^ >]*)/ig,function(x){return x.toLowerCase()})  
  237.         s=s.replace(/ ([^=]+)=([^"' >]+)/ig," $1=\"$2\"");//new
  238.        
  239.         s=s.replace(/ ([^=]+)=/ig,function(x){return x.toLowerCase()});
  240.         s=s.replace(/#_#/ig," ");
  241.  
  242.         s=s.replace(/<param([^>]*)>/ig,"\n<param$1 />").replace(/\/ \/>$/ig," \/>");//no closing tag
  243.        
  244.         if(sTagName=="EMBED")
  245.           if(oNode.innerHTML=="")
  246.             s=s.replace(/>$/ig," \/>").replace(/\/ \/>$/ig,"\/>");//no closing tag
  247.        
  248.         s=s.replace(/<param name=\"Play\" value=\"0\" \/>/,"<param name=\"Play\" value=\"-1\" \/>")
  249.        
  250.         sSelThis="";//selThis
  251.         if(oElement==oNode)sSelThis=" selThis='selThis'"        
  252.        
  253.         /*** format ***/ //selThis
  254.         sHTML+="<span style='color:#555555;background:#f7f7f7'><xmp"+sSelThis+" style='font-family:tahoma;margin-top:0px;margin-bottom:0px;'>"+s+"</xmp></span>";
  255.         /**************/
  256.         }
  257.       else if(sTagName=="TITLE")
  258.         {
  259.         //s="<title>"+oNode.innerHTML+"</title>";
  260.  
  261.         /*** format ***/      
  262.         sHTML+="<font color='#0000cc'>&lt;<\/font><font color='#8b4513'>title</font>"+
  263.           "<font color='#0000cc'>&gt;<\/font>" + oNode.innerHTML +
  264.           "<font color='#0000cc'>&lt;/</font><font color='#8b4513'>title</font>"+
  265.           "<font color='#0000cc'>&gt;</font>";        
  266.         /**************/
  267.         }
  268.       else
  269.         {
  270.         if(sTagName=="AREA")
  271.           {
  272.           var sCoords=oNode.coords;
  273.           var sShape=oNode.shape;
  274.           }
  275.  
  276.         var oNode2=oNode.cloneNode();
  277.         if (oNode.checked) oNode2.checked=oNode.checked;
  278.         if (oNode.selected) oNode2.selected=oNode.selected;
  279.         s=oNode2.outerHTML.replace(/<\/[^>]*>/,"");
  280.        
  281.         if(sTagName=="STYLE")
  282.           {
  283.           var arrTmp=s.match(/<[^>]*>/ig);
  284.           s=arrTmp[0];
  285.           }      
  286.  
  287.         s=s.replace(/\"[^\"]*\"/ig,function(x){
  288.             //x=x.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/'/g, "&apos;").replace(/\s+/ig,"#_#");
  289.             x=x.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\s+/ig,"#_#");
  290.             return x});
  291.         s=s.replace(/<([^ >]*)/ig,function(x){return x.toLowerCase()})            
  292.         s=s.replace(/ ([^=]+)=([^" >]+)/ig," $1=\"$2\"");
  293.         s=s.replace(/ ([^=]+)=/ig,function(x){return x.toLowerCase()});
  294.         s=s.replace(/#_#/ig," ");
  295.  
  296.         //single attribute
  297.         s=s.replace(/(<hr[^>]*)(noshade)/ig,"$1noshade=\"noshade\"");
  298.         s=s.replace(/(<input[^>]*)(checked)/ig,"$1checked=\"checked\"");
  299.         s=s.replace(/(<select[^>]*)(multiple)/ig,"$1multiple=\"multiple\"");
  300.         s=s.replace(/(<option[^>]*)(selected)/ig,"$1selected=\"true\"");
  301.         s=s.replace(/(<input[^>]*)(readonly)/ig,"$1readonly=\"readonly\"");
  302.         s=s.replace(/(<input[^>]*)(disabled)/ig,"$1disabled=\"disabled\"");
  303.         s=s.replace(/(<td[^>]*)(nowrap )/ig,"$1nowrap=\"nowrap\" ");
  304.         s=s.replace(/(<td[^>]*)(nowrap\>)/ig,"$1nowrap=\"nowrap\"\>");
  305.          
  306.         s=s.replace(/ contenteditable=\"true\"/ig,"");
  307.  
  308.         if(sTagName=="AREA")
  309.           {
  310.           s=s.replace(/ coords=\"0,0,0,0\"/ig," coords=\""+sCoords+"\"");
  311.           s=s.replace(/ shape=\"RECT\"/ig," shape=\""+sShape+"\"");
  312.           }
  313.    
  314.         var bClosingTag=true;
  315.         if(sTagName=="IMG"||sTagName=="BR"||
  316.           sTagName=="AREA"||sTagName=="HR"||
  317.           sTagName=="INPUT"||sTagName=="BASE"||
  318.           sTagName=="LINK"||sTagName=="META")//no closing tag
  319.           {
  320.           s=s.replace(/>$/ig," \/>").replace(/\/ \/>$/ig,"\/>");//no closing tag
  321.           bClosingTag=false;      
  322.           }
  323.  
  324.         sSelThis="";//selThis
  325.         if(oElement==oNode)sSelThis=" selThis='selThis'"
  326.          
  327.         /*** format ***/  //selThis
  328.         sA1="<span"+sSelThis+"><font color='#0000cc'>&lt;<\/font><font color='#8b4513'>"
  329.         sA2="<\/font>"
  330.         sA3="<font color='#0000cc'>&gt;<\/font>"    
  331.         sA4="<font color='#0000cc'>/&gt;<\/font>"      
  332.         s=s.replace(/<([^ >]*)([^ \/>]*)/ig,sA1+"$1"+sA2+"$2");
  333.         //s=s.replace(/\/>$/ig,sA4);//if there is no closing tag
  334.         s=s.replace(/>$/ig,sA3);
  335.         /**************/
  336.  
  337.         sHTML+=s;
  338.          
  339.         if(!bClosingTag)sHTML+="</span>";//selThis
  340.            
  341.         /*** tabs ***/
  342.         if(sTagName!="TEXTAREA")sHTML+= lineBreak2(sTagName)[1];
  343.         if(sTagName!="TEXTAREA")if(lineBreak2(sTagName)[1] !="") sHTML+= sT;//If new line, use base Tabs
  344.         /************/  
  345.          
  346.         if(bClosingTag)
  347.           {
  348.           /*** CONTENT ***/
  349.           s=oNode.outerHTML                
  350.           if(sTagName=="SCRIPT")
  351.             {
  352.             s = s.replace(/<script([^>]*)>[\n+\s+\t+]*/ig,"<script$1>");//clean spaces
  353.             s = s.replace(/[\n+\s+\t+]*<\/script>/ig,"<\/script>");//clean spaces
  354.             s = s.replace(/<script([^>]*)>\/\/<!\[CDATA\[/ig,"");
  355.            s = s.replace(/\/\/\]\]><\/script>/ig,"");
  356.             s = s.replace(/<script([^>]*)>/ig,"");
  357.             s = s.replace(/<\/script>/ig,"");        
  358.             s = s.replace(/^\s+/,'').replace(/\s+$/,'');            
  359.             /*** format ***/
  360.             sHTML+="<div><span style='color:#828282;'>//&lt;![CDATA[<xmp style='font-family:tahoma;margin-top:0px;margin-bottom:0px;'>"+s+"</xmp>//]]&gt;</span></div>";
  361.             /**************/
  362.             }
  363.           if(sTagName=="STYLE")
  364.             {      
  365.             s = s.replace(/<style([^>]*)>[\n+\s+\t+]*/ig,"<style$1>");//clean spaces
  366.             s = s.replace(/[\n+\s+\t+]*<\/style>/ig,"<\/style>");//clean spaces        
  367.             s = s.replace(/<style([^>]*)><!--/ig,"");
  368.            s = s.replace(/--><\/style>/ig,"");
  369.             s = s.replace(/<style([^>]*)>/ig,"");
  370.             s = s.replace(/<\/style>/ig,"");          
  371.             s = s.replace(/^\s+/,"").replace(/\s+$/,"");      
  372.             /*** format ***/
  373.             sHTML+="<div><span style='color:#828282;'>&lt;!--<xmp style='font-family:tahoma;margin-top:0px;margin-bottom:0px;'>"+s+"</xmp>--&gt;</span></div>";
  374.             /**************/
  375.             }
  376.           if(sTagName=="DIV"||sTagName=="P")
  377.             {
  378.             if(oNode.innerHTML==""||oNode.innerHTML=="&nbsp;")
  379.               {
  380.               sHTML+="&amp;nbsp;";
  381.               }
  382.             else sHTML+=recur(oNode,sT+"&nbsp;&nbsp;");
  383.             }
  384.           else
  385.             {
  386.             sHTML+=recur(oNode,sT+"&nbsp;&nbsp;");  
  387.             }        
  388.              
  389.           /*** tabs ***/
  390.           if(sTagName!="TEXTAREA")sHTML+= lineBreak2(sTagName)[2];
  391.           if(sTagName!="TEXTAREA")if(lineBreak2(sTagName)[2] !="") sHTML+= sT;//If new line, use base Tabs
  392.           /************/
  393.              
  394.           /*** format ***/ //selThis
  395.           if (sCloseTag.indexOf(":") >= 0)  //deteksi jika tag tersebut adalah custom tag.
  396.             {
  397.             sHTML+="<font color='#0000cc'>&lt;/</font><font color='#8b4513'>" + sCloseTag.toLowerCase() + "</font><font color='#0000cc'>&gt;</font></span>";
  398.             }
  399.           else
  400.             {
  401.             sHTML+="<font color='#0000cc'>&lt;/</font><font color='#8b4513'>" + sTagName.toLowerCase() + "</font><font color='#0000cc'>&gt;</font></span>";
  402.             }
  403.          
  404.           /**************/
  405.           }    
  406.         }    
  407.       }
  408.     else if(oNode.nodeType==3)//text
  409.       {
  410.       sHTML+= fixVal(oNode.nodeValue);//Info: "&nbsp" => " " dan kalau di depan "&nbsp;AB&nbsp;C" => "AB C"
  411.       }
  412.     else if(oNode.nodeType==8)
  413.       {
  414.       if(oNode.outerHTML.substring(0,2)=="<"+"%")
  415.        {//server side script
  416.        sTmp=(oNode.outerHTML.substring(2))
  417.        sTmp=sTmp.substring(0,sTmp.length-2)
  418.        sTmp=sTmp.replace(/^\s+/,"").replace(/\s+$/,"");
  419.        sHTML+= "<div><span style='background:yellow'>&lt;%<xmp style='font-family:tahoma;margin-top:0px;margin-bottom:0px;'>"+sTmp+"</xmp>%&gt;</span></div>";
  420.         }
  421.       else
  422.         {//comments
  423.         sTmp=oNode.nodeValue;
  424.         sTmp = sTmp.replace(/^\s+/,"").replace(/\s+$/,"");
  425.         sHTML+= "<div><span style='color:#828282;'>&lt;!--<xmp style='font-family:tahoma;margin-top:0px;margin-bottom:0px;'>"+sTmp+"</xmp>--&gt;</span></div>";
  426.         }
  427.       }
  428.     else
  429.       {
  430.       ;//Not Processed
  431.       }
  432.  
  433.     }
  434.   return sHTML;
  435.   }
  436. function doWrap()
  437.   {
  438.   if(inpWrap.checked==true)
  439.     {  
  440.     idSource.document.body.style.whiteSpace="normal";//Wrap Text
  441.     }
  442.   else
  443.     {
  444.     idSource.document.body.style.whiteSpace="nowrap";
  445.     }
  446.   }
  447.  
  448. //*******************
  449. function setupToolbar()
  450.   {
  451.   var obj = dialogArguments.oUtil.obj;
  452.   var tb=new ISToolbar("srcEdt");
  453.   tb.onClick=function(id) {tbAction(tb, id);};
  454.   tb.iconPath=obj.iconPath;
  455.   tb.btnWidth=obj.iconWidth;
  456.   tb.btnHeight=obj.iconHeight;
  457.  
  458.   tb.addButton("btnCut","btnCut.gif",getTxt("Cut"));
  459.   tb.addButton("btnCopy","btnCopy.gif",getTxt("Copy"));
  460.   tb.addButton("btnPaste","btnPaste.gif",getTxt("Paste"));
  461.   tb.addSeparator();  
  462.   tb.addButton("btnUndo","btnUndo.gif",getTxt("Uedo"));
  463.   tb.addButton("btnRedo","btnRedo.gif",getTxt("Redo"));
  464.   tb.addSeparator();  
  465.   tb.addButton("btnSearch","btnSearch.gif",getTxt("Search"));
  466.   idToolbar.innerHTML=tb.render();
  467.   }
  468.  
  469. function tbAction(tb, id)
  470.   {
  471.   switch(id)
  472.     {
  473.     case "btnCut": doCmd('Cut'); break;
  474.     case "btnCopy": doCmd('Copy'); break;
  475.     case "btnPaste": doCmd('Paste'); break;
  476.     case "btnUndo": doCmd('Undo'); break;
  477.     case "btnRedo": doCmd('Redo'); break;
  478.     case "btnSearch": modelessDialogShow('search2.htm',375,163); break;
  479.     }
  480.  
  481.   }
  482. //*******************
  483. function modelessDialogShow(url,width,height)
  484.   {
  485.   window.showModelessDialog(url,window,
  486.     "dialogWidth:"+width+"px;dialogHeight:"+height+"px;edge:Raised;center:1;help:0;resizable:1;");
  487.   }
  488. </script>
  489. </head>
  490. <body onunload="bodyOnUnload()" onload="setupToolbar();loadTxt();bodyOnLoad();" style="overflow:hidden;margin:0;background: #f4f4f4;">
  491.  
  492. <table width="100%" height="100%" align="center" cellpadding="0" cellspacing="0">
  493. <tr>
  494. <td id="idToolbar">
  495.  
  496. </td>
  497. </tr>
  498. <tr>
  499. <td style="height:100%">
  500.   <iframe style="width:100%;height:100%;" src="blank.gif"  name="idSource" id="idSource" contentEditable="true"></iframe>
  501. </td>
  502. </tr>
  503. <tr>
  504. <td class="dialogFooter" style="padding:13;padding-top:7;padding-bottom:7;" align="right" valign="right">
  505.   <table cellpadding=1 cellspacing=0>
  506.   <td width="100%">
  507.     &nbsp;<input type="checkbox" ID="inpWrap" NAME="inpWrap" class="inpChk" onclick="doWrap()" checked> <span id="txtLang" name="txtLang">Wrap Text</span>
  508.   </td>
  509.   <td>
  510.     <input type="button" name="btnCancel" id="btnCancel" value="cancel" onclick="self.close()" class="inpBtn" onmouseover="this.className='inpBtnOver';" onmouseout="this.className='inpBtnOut'">
  511.   </td>
  512.   <td>
  513.     <input type="button" name="btnApply" id="btnApply" value="apply" onclick="doUpdate();bodyOnLoad()" class="inpBtn" onmouseover="this.className='inpBtnOver';" onmouseout="this.className='inpBtnOut'">
  514.   </td>
  515.   <td>
  516.     <input type="button" name="btnOk" id="btnOk" value=" ok " onclick="doUpdate();self.close()" class="inpBtn" onmouseover="this.className='inpBtnOver';" onmouseout="this.className='inpBtnOut'">
  517.   </td>
  518.   </table>
  519. </td>
  520. </tr>
  521. </table>
  522.  
  523. </body>
  524. </html>
downloadsource_xhtml.htm Source code - Download Pcook CMS bubble guest v3.0 SDCMS version Source code
Related Source Codes/Software:
Oo 126 CMS movie site system - This procedure ASP + ACC/ASP + SQL, using new kern... 2016-09-21
IDC sales web site - Beautiful IDC sales web site source code 2016-09-21
NPOINT virtual host v1.7.0 formal version management system - The system main function is introduced 2016-09-21
Classified information network business in suzhou - Overall module: classification of supply and deman... 2016-09-21
Jie Yang v0.6.3 article system - System functions: 1, the system settings A confi... 2016-09-21
Age design website information management system SDCMS v1.1 SP1 - SDCMS is designed to build the information managem... 2016-09-21
Age design website information management system SDCMS v1.1 SP1 - SDCMS is designed to build the information managem... 2016-09-21
C9 v2.1.1 static post system - Program USES ASP + ACC structure design and develo... 2016-09-21
Imitation green download station perfect version - Before increased | software home page, on the basi... 2016-09-21
Subdomain hosting edition v1.9 s taobao, pat - The background site admin 2016-09-21
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top