index.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns:wb="http://open.weibo.com/wb" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title></title>
  5. <!--强制ie7,ie8 innerText换行符为空格,不好办-->
  6. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  7. <meta http-equiv="pragma" content="no-cache" />
  8. <meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
  9. <meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT" />
  10. <meta name="Keywords" content="在线编程|云编程|在线HTML|在线HTML5" />
  11. <meta name="description" content="在线编程|云编程|javascript|html5。,无需安装、登录即可使用!国内首款在线编程平台,能带你快速学习Javascript编程,支持在线学习javascript,html5,css。后期会推出在线C语言,在线PHP等语言。。" />
  12. <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
  14. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  15. <meta property="wb:webmaster" content="31656711026d7228" />
  16. <meta property="qc:admins" content="103224276361473636" />
  17. <meta name="baidu-tc-cerfication" content="2380c76f3aa8a080de8fda7e2659a58b" />
  18. <script type="text/javascript"> document.domain = "1473.cn";</script>
  19. <!--引用1473的样式表-->
  20. <link href="http://www.1473.cn/uform.css" rel="stylesheet" type="text/css" />
  21. <!--js命名空间 U.CD CSS命名空间 UCD_-->
  22. <!--直接引用1473的js文件-->
  23. <script src="http://www.1473.cn/uform.js" type="text/javascript"></script>
  24. <script src="http://www.1473.cn/uformd.js" type="text/javascript"></script>
  25. <!--主样式表-->
  26. <link href="./css/UCD.css" rel="stylesheet" type="text/css" />
  27. <!--上部菜单样式表-->
  28. <link href="./css/UCD_TOP.css" rel="stylesheet" type="text/css" />
  29. <!--左边控件样式表-->
  30. <link href="./css/UCD_Left.css" rel="stylesheet" type="text/css" />
  31. <!--中间代码窗口样式表-->
  32. <link href="./css/UCD_Center.css" rel="stylesheet" type="text/css" />
  33. <!--右边树的样式表-->
  34. <link href="./css/UCD_Right.css" rel="stylesheet" type="text/css" />
  35. <!--示例项目样式-->
  36. <link href="./css/UCD_SL.css" rel="stylesheet" type="text/css" />
  37. <!--运行时代码窗口的样式表-->
  38. <link href="./css/UCD_Run.css" rel="stylesheet" type="text/css" />
  39. <!--引用外部项目时的css样式表-->
  40. <link href="./css/UCD_Out.css" rel="stylesheet" type="text/css" />
  41. <!--引用1473的图片效果CSS-->
  42. <link href="css/UJ.css" rel="stylesheet" type="text/css" />
  43. <!--布局js文件-->
  44. <script src="./js/U.CD.Layout.js" type="text/javascript"></script>
  45. <!--运行时js文件-->
  46. <script src="./js/U.CD.Run.js" type="text/javascript"></script>
  47. <!--主js文件-->
  48. <script src="./js/U.CD.js" type="text/javascript"></script>
  49. <!--上部菜单栏js文件-->
  50. <script src="./js/U.CD.Top.js" type="text/javascript"></script>
  51. <!--左边控件js文件-->
  52. <script src="./js/U.CD.Left.js" type="text/javascript"></script>
  53. <!--用户登录注册等js-->
  54. <script src="./js/U.CD.U.js" type="text/javascript"></script>
  55. <!--右边树js文件-->
  56. <script src="./js/U.CD.Right.js" type="text/javascript"></script>
  57. <!--各种控件代码-->
  58. <script src="./js/U.CD.CL.js" type="text/javascript"></script>
  59. <!--代码区域js文件-->
  60. <script src="./js/U.CD.Code.js" type="text/javascript"></script>
  61. <!--代码提示js文件-->
  62. <script src="./js/U.CD.Tips.js" type="text/javascript"></script>
  63. <!--示例项目区域-->
  64. <script src="./js/U.CD.SL.js" type="text/javascript"></script>
  65. <!--文件类型,如果Html js等。-->
  66. <script src="./js/U.CD.FileType.js" type="text/javascript"></script>
  67. <!--url重新登。-->
  68. <script src="./js/U.CD.Url.js" type="text/javascript"></script>
  69. <!--其他杂项-->
  70. <script src="./js/U.CD.Other.js" type="text/javascript"></script>
  71. <!--C语言错误处理-->
  72. <script src="./js/U.CD.CError.js" type="text/javascript"></script>
  73. <!--引用1473主项目功能-->
  74. <script src="./js/U.CD.OutApp.js" type="text/javascript"></script>
  75. <!--终端-->
  76. <script src="./js/U.CD.Wetty.js" type="text/javascript"></script>
  77. </head>
  78. <body oncontextmenu="return false">
  79. <div id="UCD_Contain">
  80. <!--上部菜单-->
  81. <div id="UCD_TOP">
  82. <img class="UCD_TOP_A" onclick="U.CD.OU.CHDesk('d')" alt="云编程" src="http://www.1473.cn/img/cloudlogo.png" />
  83. <div class="UCD_TOP_List">
  84. <!--<div class=" UCD_TOP_List brand">
  85. 首页</div>-->
  86. <div class="UCD_TOP_List_C" id="UCD_TOP_L_XJ" onclick="U.CD.R.NewPro()">
  87. 新建项目</div>
  88. <div class="UCD_TOP_List_C" onclick="U.CD.R.NewFile()">
  89. 新建文件</div>
  90. <div class="UCD_TOP_List_C" onclick="U.CD.LO.HEToolbar()">
  91. 工具箱</div>
  92. <div class="UCD_TOP_List_C" onclick="U.CD.LO.OCZY()">
  93. 资源管理器</div>
  94. <!--<div class="UCD_TOP_List_C" id="UCD_TOP_L_CZ" onclick="U.CD.T.ReDo()">
  95. 重做</div>-->
  96. <div class="UCD_TOP_List_C" onclick="U.CD.R.OpenRun()">
  97. 运行</div>
  98. <div id="UCD_TOP_SY" class="UCD_TOP_List_C" onclick="U.CD.T.SY()">
  99. 切换语言</div>
  100. <div id="Div1" class="UCD_TOP_List_C" onclick="U.CD.T.SuccessfulCase()">
  101. 成功案例</div>
  102. <div class="UCD_TOP_List_C" onclick="U.CD.OU.Forum()">
  103. 论坛</div>
  104. <div class="UCD_TOP_List_C" id="UCD_TOP_L_BC">
  105. 保存
  106. </div>
  107. <div class="UCD_TOP_List_C" onclick="U.CD.Wetty.Init()">
  108. 终端
  109. </div>
  110. </div>
  111. <div id="UCD_TOP_AL">
  112. </div>
  113. <div id="UCD_TOP_L">
  114. <div id="UCD_TOP_L_DL" onclick="U.CD.U.LoginApply() ">
  115. 登陆</div>
  116. </div>
  117. </div>
  118. <!--下部内容-->
  119. <div id="UCD_Bottom">
  120. <!--左边工具栏-->
  121. <div class="UCD_TT" style="display: block;" id="UCD_TT">
  122. <div class="UCD_TT_L">
  123. <div class="UCD_TT_L_T">
  124. <span>云</span> <span>端</span> <span>示</span><span>例</span>
  125. </div>
  126. <div class="UCD_TT_L_T" onclick="U.CD.LO.HEToolbar()">
  127. <span>工</span> <span>具</span> <span>箱</span></div>
  128. </div>
  129. <div class="UCD_TT_R" id="UCD_TT_R">
  130. <div class="UCD_TT_T">
  131. <div id="UCD_TT_T_N">
  132. C语言</div>
  133. <div class="UCD_TT_T_X" onclick="U.CD.LO.HEToolbar()">
  134. </div>
  135. </div>
  136. <div id="UCD_TT_Z">
  137. <!--<div class="UCD_TT_B_G"><iframe src="proxy.html?id=897887" width="125" height="125" scrolling="no" frameborder="0" style="display:block;margin:0"></iframe></div>-->
  138. </div>
  139. </div>
  140. </div>
  141. <!--分割线-->
  142. <!--<div class="UCD_Split">
  143. <div title="展开" onclick="U.CD.LO.HEToolbar(this)" class="UCD_Split_BT">
  144. </div>
  145. </div>-->
  146. <!--代码和效果展示区域-->
  147. <div id="UCD_CT" class="UCD_CT">
  148. <!--代码切换选项卡-->
  149. <div id="UCD_CT_Top_Tab">
  150. <ul>
  151. </ul>
  152. </div>
  153. <!--代码和代码预览窗口-->
  154. <div id="UCD_CT_CT">
  155. <!--具体代码以及行号-->
  156. <div id="UCD_CT_HH_Code">
  157. <!--代码行号-->
  158. <div id="UCD_CT_HH_CT">
  159. </div>
  160. <!--具体代码-->
  161. <div id="UCD_CT_Code">
  162. <div id="UCD_CT_Code_CT" spellcheck="false" contenteditable="true">
  163. </div>
  164. </div>
  165. </div>
  166. <!--代码预览窗口-->
  167. <div id="UCD_CT_IF">
  168. <div class="UCD_CT_IF_T">
  169. <!-- <div class="UCD_CT_IF_T_RE">
  170. 输出窗口</div>-->
  171. <div class="UCD_CT_IF_T_CM">
  172. <div id="UCD_CT_IF_PL">
  173. 评论</div>
  174. <div onclick="U.CD.R.Help()">
  175. 帮助</div>
  176. <!--<div onclick="U.CD.CD.ExecIF($('#UCD_CT_Code_CT')[0])">设计窗口运行</div>
  177. <div onclick="U.CD.R.OpenRun()">新窗口运行</div>-->
  178. </div>
  179. </div>
  180. <!--<iframe src="RS.htm" scrolling="yes" frameborder="0" width="100%" name="UCD_CT_SM_IF" id="UCD_CT_SM_IF"></iframe>-->
  181. <div style="overflow: scroll; width: 100%; -moz-user-select: -moz-all; -webkit-user-select: auto;"
  182. onselectstart="U.M.StopBubble(); return true;" id="UCD_CT_SM_IF">
  183. </div>
  184. </div>
  185. </div>
  186. <!--保存和视图-->
  187. <div id="UCD_CT_BT">
  188. <div class="UCD_CT_BT_Com" onclick="U.CD.LO.View()">
  189. 输出</div>
  190. <div class="UCD_CT_BT_Com" onclick="U.CD.LO.Split()">
  191. 拆分</div>
  192. <div class="UCD_CT_BT_Com" onclick="U.CD.LO.Code()">
  193. 代码</div>
  194. </div>
  195. </div>
  196. <!--右边建立项目、文件夹、文件-->
  197. <div id="UCD_RTree" style="display: none;">
  198. </div>
  199. </div>
  200. <!--新建文件件和文件面板,这个也可以独立成一个控件,现在是在1473主项目中拷贝的上传文件的样式。-->
  201. <div id="UCD_RT_FUP" class="UCD_RT_FUP Radius5" style="display: none;">
  202. <div class="UCD_RT_FUPH" onmousedown="U.M.StopBubble();U.D.DragMouseDown(this.parentNode);">
  203. <div class="UCD_RT_FUPHT">
  204. 云编程命令接口窗口</div>
  205. <div title="关闭" class="UCD_RT_DiskGE UDK_UP_TC" onclick="U.D.WindowMin(this.parentNode.parentNode);"
  206. onmousedown="U.M.StopBubble()">
  207. </div>
  208. </div>
  209. <div class="UCD_RT_FUPC">
  210. <div id="UCD_RT_FUPCT">
  211. </div>
  212. <div id="UCD_RT_FUPCC" class="UCD_RT_FUPCC">
  213. </div>
  214. </div>
  215. <!--<div class="UCD_RT_FUPW">
  216. <div class="UCD_RT_FUPWT">
  217. 提示:选取上面的命令行进入相应功能!
  218. </div>
  219. </div>-->
  220. </div>
  221. <!--示例项目-->
  222. <div id="UCD_SL" style="display: none;">
  223. <div class="UCD_SL_T" onmousedown="U.M.StopBubble();U.D.DragMouseDown(this.parentNode);">
  224. <div class="UCD_RT_FUPHT">
  225. 成功案例
  226. </div>
  227. <div title="关闭" class="UCD_SL_T_X" onclick="U.D.WindowMin(this.parentNode.parentNode);"
  228. onmousedown="U.M.StopBubble()">
  229. ×
  230. </div>
  231. </div>
  232. </div>
  233. <div id="UCD_L_C" class="Radius5" style="display: none">
  234. <div class="UCD_L_C_T" onmousedown="U.M.StopBubble();U.D.DragMouseDown(this.parentNode);">
  235. <div class="UCD_RT_FUPHT">
  236. 云编程语言切换窗口
  237. </div>
  238. <div title="关闭" class="UCD_SL_T_X" onclick="U.D.WindowMin(this.parentNode.parentNode);"
  239. onmousedown="U.M.StopBubble()">
  240. x
  241. </div>
  242. </div>
  243. <div class="UCD_SL_C_N">
  244. <p>
  245. 请选择你所要进行切换的语言:</p>
  246. <div class="UCD_L_C_L">
  247. <div onclick="U.CD.CL.Change('C')">
  248. C语言
  249. </div>
  250. <div onclick="U.CD.CL.Change('PHP')">
  251. PHP
  252. </div>
  253. <div onclick="U.CD.CL.Change('Python')">
  254. Python
  255. </div>
  256. <div onclick="U.CD.CL.Change('Nodejs')">
  257. Nodejs
  258. </div>
  259. <div onclick="U.CD.CL.Change('Ruby')">
  260. Ruby
  261. </div>
  262. <div onclick="U.CD.CL.Change('Perl')">
  263. Perl
  264. </div>
  265. <div onclick="U.CD.CL.Change('Lisp')">
  266. Lisp
  267. </div>
  268. <div onclick="U.CD.CL.Change('Net')">
  269. Net
  270. </div>
  271. <div onclick="U.CD.CL.Change('Html5')">
  272. 前端
  273. </div>
  274. </div>
  275. </div>
  276. </div>
  277. <!--发布项目样式区域-->
  278. <div id="UCD_FB" class="UCD_RT_FUP Radius5">
  279. <!-- <div class="UCD_RT_FUPH" onmousedown="U.M.StopBubble();U.D.DragMouseDown(this.parentNode);">
  280. <div class="UCD_RT_FUPHT">
  281. 发布项目窗口</div>
  282. <div title="关闭" class="UCD_RT_DiskGE UDK_UP_TC" onclick="U.D.WindowMin(this.parentNode.parentNode);"
  283. onmousedown="U.M.StopBubble()">
  284. </div>
  285. </div>-->
  286. <div class="UCD_FB_N">
  287. <div id="UCD_FB_N_T">
  288. </div>
  289. <div id="UCD_FB_N_N" class="UCD_FB_N_N">
  290. <div class="UCD_FB_N_N_N">
  291. <span style="margin-top: -230px;">项目名称:</span><input type="text" id="UCD_FB_N_N_Name" />
  292. </div>
  293. <div class="UCD_FB_N_B">
  294. <span>项目简介:</span><textarea id="UCD_FB_N_N_T"></textarea>
  295. </div>
  296. <div class="UCD_FB_N_CK">
  297. <div>
  298. 项目类型:
  299. </div>
  300. <div id="UCD_FB_N_CK_CK">
  301. <input type="radio" checked="checked" />
  302. </div>
  303. </div>
  304. <div class="UCD_FB_NR">
  305. <div class="UCD_FB_NR_L">
  306. <div class="UCD_FB_N_N_N">
  307. <span>项目图片:</span><input type="file" value="上传图片" id="UCD_FB_N_N_I" name="UCD_FB_N_N_I"
  308. multiple="true" accept="image/gif,image/jpeg,image/png" onchange="U.CD.O.UPFile(this)" />
  309. </div>
  310. <div class="UCD_FB_N_N_N">
  311. <span>项目价格:</span><input type="text" id="UCD_FB_N_N_P" />
  312. </div>
  313. <div class="UCD_FB_N_N_N">
  314. <div class="UCD_FB_N_N_N_F">
  315. </div>
  316. <input id="UCD_FB_N_N_N_S" type="submit" value="点此发布" />
  317. </div>
  318. </div>
  319. <div class="UCD_FB_NR_R">
  320. <img alt="云操作系统" id="UCD_FB_NR_IMG" title="http://www.1473.cn/img/qqew.jpg" src="http://www.1473.cn/img/qqew.jpg" />
  321. </div>
  322. </div>
  323. </div>
  324. </div>
  325. <div class="UCD_RT_FUPW">
  326. <div class="UCD_RT_FUPWT">
  327. 提示:选取上面的命令行进入相应功能!
  328. </div>
  329. </div>
  330. </div>
  331. <!--登录注册区域-->
  332. <!--<div id="UCD_LR" class="UCD_LR Radius5" style="display: none;">
  333. <div class="UCD_SL_T" onmousedown="U.M.StopBubble();U.D.DragMouseDown(this.parentNode);">
  334. <div class="UCD_RT_FUPHT">
  335. 云注册 云登录</div>
  336. <div title="关闭" class="UCD_SL_T_X" onclick="U.CD.U.CloseW(this);" onmousedown="U.M.StopBubble()">
  337. X
  338. </div>
  339. </div>
  340. <div class="UCD_LR_N">
  341. <iframe src="http://d.1473.cn/U_LR_I.htm" scrolling="no" frameborder="0" width="746"
  342. height="350" name="UCD_LR_I" id="UCD_LR_I"></iframe>
  343. </div>
  344. </div>-->
  345. <!--全局LoadingDiv-->
  346. <div id="UCD_LD">
  347. <span>初始化数据,请稍候。。。</span> <span class="UCD_LD_Reload" onclick="this.parentNode.style.display='none'">
  348. X </span>
  349. </div>
  350. <!--语言切换-->
  351. <div id="UCD_L">
  352. <div class="UCD_L_H" onmousedown="U.M.StopBubble();U.D.DragMouseDown(this.parentNode);">
  353. <div class="UCD_L_H_L">
  354. 编程语言切换面板</div>
  355. <div class="UCD_L_H_X" onclick="U.CD.CL.CloseChange(this)" onmousedown="U.M.StopBubble()">
  356. X</div>
  357. </div>
  358. <div class="UCD_L_C">
  359. <div class="UCD_L_C_T">
  360. 无需安装linux环境!无需复杂的配置!瞬间切换语言环境!</div>
  361. <div class="UCD_L_C_L">
  362. <div onclick="U.CD.CL.Change('C')">
  363. C语言</div>
  364. <div onclick="U.CD.CL.Change('PHP')">
  365. PHP</div>
  366. <div onclick="U.CD.CL.Change('Python')">
  367. Python</div>
  368. <div onclick="U.CD.CL.Change('Nodejs')">
  369. Nodejs</div>
  370. <div onclick="U.CD.CL.Change('Ruby')">
  371. Ruby</div>
  372. <div onclick="U.CD.CL.Change('Perl')">
  373. Perl</div>
  374. <div onclick="U.CD.CL.Change('Lisp')">
  375. Lisp</div>
  376. <div onclick="U.CD.CL.Change('Net')">
  377. Net</div>
  378. <div onclick="U.CD.CL.Change('Html5')">
  379. 前端</div>
  380. </div>
  381. <div class="UCD_LCC">
  382. <div onclick="U.CD.SL.LangSL('C')" style="margin-left: 30px;">
  383. C示例</div>
  384. <div onclick="U.CD.SL.LangSL('PHP')">
  385. PHP示例</div>
  386. <div onclick="U.CD.SL.LangSL('Net')">
  387. Net示例</div>
  388. <div onclick="U.CD.SL.LangSL('Python')">
  389. Python示例</div>
  390. <div onclick="U.CD.SL.LangSL('Nodejs')">
  391. Nodejs示例</div>
  392. <div onclick="U.CD.SL.LangSL('Ruby')">
  393. Ruby示例</div>
  394. <div onclick="U.CD.SL.LangSL('Perl')">
  395. Perl示例</div>
  396. <div onclick="U.CD.SL.LangSL('Lisp')">
  397. Lisp示例</div>
  398. </div>
  399. <div id="UCD_L_C_GG">
  400. </div>
  401. </div>
  402. </div>
  403. </div>
  404. <!--调用1473主域内容测试-->
  405. <!--<iframe src="http://www.1473.cn" id="UCD_M" name="UCD_M"
  406. width="0" height="0"></iframe> <div id="UCD_M1473"></div>-->
  407. </body>
  408. </html>
  409. <script>
  410. var _hmt = _hmt || [];
  411. (function () {
  412. var hm = document.createElement("script");
  413. hm.src = "https://hm.baidu.com/hm.js?34d86e4f882eb037cfeb64edfe9101e9";
  414. var s = document.getElementsByTagName("script")[0];
  415. s.parentNode.insertBefore(hm, s);
  416. })();
  417. </script>