BVB Source Codes

Shandong kernel enterprise stand the source code Show media_add.htm Source code

Return Download Shandong kernel enterprise stand the source code: download media_add.htm Source code - Download Shandong kernel enterprise stand the source code Source code - Type:.htm
  1. <html>
  2. <head>
  3. <meta http-equiv='Content-Type' content='text/html; charset=gb2312' />
  4. <title>上传新文件</title>
  5. <link href='img/base.css' rel='stylesheet' type='text/css' />
  6. <style>
  7. .coolbg2
  8. {
  9.   border: 1px solid #000000;
  10.   background-color: #F2F5E9;
  11.   height:18px;
  12. }
  13. </style>
  14. <script language='javascript'>
  15. function CheckSubmit()
  16. {
  17.         if(document.form1.title.value==""){
  18.                 alert("请设定媒体标题!");
  19.                 document.form1.title.focus();
  20.                 return false;
  21.         }
  22. }
  23. var startNum = 6;
  24. function MakeUpload()
  25. {
  26.    var upfield = document.getElementById("uploadfield");
  27.    var endNum =  Number(document.form1.picnum.value)+startNum;
  28.    if(endNum>40) endNum = 40;
  29.    for(startNum;startNum<=endNum;startNum++){
  30.            upfield.innerHTML += "<input type='file' name='upfile"+startNum+"' style='width:300px' size='30' class='pubinputs' /><br/>";
  31.    }
  32. }
  33. function ResetUpload()
  34. {
  35.    var upfield = document.getElementById("uploadfield");
  36.    upfield.innerHTML = "";
  37.    startNum = 2;
  38. }
  39. </script>
  40. </head>
  41. <body background='img/allbg.gif' leftmargin='8' topmargin='8'>
  42. <table width="98%" align="center" border="0" cellpadding="3" cellspacing="1" bgcolor="#D1DDAA">
  43.   <tr>
  44.     <td height="28" background='img/tbg.gif'>
  45.         <table width="98%" border="0" cellpadding="0" cellspacing="0">
  46.         <tr>
  47.           <td width="2%" align="center" valign="middle"><img src="img/item_tt2.gif" width="7" height="15" /></td>
  48.           <td width="44%"><strong>上传新文件:</strong></td>
  49.           <td width="54%" align="right">[<a href='media_main.php'><u>附件/媒体数据管理</u></a>]</td>
  50.         </tr>
  51.       </table>
  52.      </td>
  53.   </tr>
  54.   <tr>
  55.     <td height="19" bgcolor="#ffffff">
  56.          <img src="img/help.gif" border="0" />
  57.         提示:图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)。
  58.     </td>
  59.   </tr>
  60.   <tr>
  61.     <td height="69" align="center" valign="top" bgcolor="#FFFFFF">
  62.         <table width="100%" border="0" cellpadding="0" cellspacing="0">
  63.         <form enctype="multipart/form-data" name='form1' action="media_add.php" method="POST" onSubmit="return CheckSubmit();">
  64.           <input type="hidden" name="dopost" value="upload" />
  65.           <tr>
  66.             <td width="15%" height="30" align="center" bgcolor="#FFFFFF"  class='bline'>媒体类型:</td>
  67.             <td width="85%" height="25" bgcolor="#FFFFFF"  class='bline'>
  68.                 <input name="mediatype" type="radio" class="np" value="1" checked='1' />
  69.               图片
  70.               <input type="radio" name="mediatype" class="np" value="2" />
  71.               FLASH
  72.               <input type="radio" name="mediatype" class="np" value="3" />
  73.               视频/音频
  74.               <input type="radio" name="mediatype" class="np" value="4" />
  75.               附件/其它
  76.             </td>
  77.           </tr>
  78.           <tr>
  79.             <td height="30" align="center" bgcolor="#FFFFFF"  class='bline'>说明标题:</td>
  80.             <td height="25" bgcolor="#FFFFFF"  class='bline'>
  81.                 <input name="title" type="text" id="title" size="30" style="width:300px" />
  82.             </td>
  83.           </tr>
  84.           <tr>
  85.             <td height="30" align="center" bgcolor="#FFFFFF"  class='bline'>参数说明:</td>
  86.             <td height="30" bgcolor="#FFFFFF"  class='bline' colspan='2'>
  87.                 图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义
  88.             </td>
  89.           </tr>
  90.           <tr>
  91.             <td height="30" align="center" bgcolor="#FFFFFF" class='bline'>附加参数:</td>
  92.             <td height="25" bgcolor="#FFFFFF" class='bline'>宽:
  93.               <input name="mediawidth" type="text" id="mediawidth" size="5" />
  94.               (像素) 高:
  95.               <input name="mediaheight" type="text" id="mediaheight" size="5" />
  96.               (像素) 播放时间:
  97.               <input name="playtime" type="text" id="mediawidth3" size="5" />
  98.               (分钟)</td>
  99.           </tr>
  100.           <tr>
  101.             <td height="30" align="center" bgcolor="#FFFFFF"  class='bline'>上传文件:</td>
  102.             <td bgcolor="#FFFFFF"  class='bline'>数量:
  103.               <input name="picnum" type="text" id="picnum" value="5" size="6" />
  104.               <input type="button" name="Submit" value="增加" onClick="MakeUpload()" />
  105.                                &nbsp;
  106.               <input type="button" name="Submit" value="恢复" onClick="ResetUpload()" />
  107.                               </td>
  108.           </tr>
  109.           <tr>
  110.             <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
  111.             <td bgcolor="#FFFFFF">
  112.                         <input name="upfile1" type="file" id="upfile1" style='width:300px' size='30' class='pubinputs' /><br/>
  113.                         <input name="upfile2" type="file" id="upfile2" style='width:300px' size='30' class='pubinputs' /><br/>
  114.                         <input name="upfile3" type="file" id="upfile3" style='width:300px' size='30' class='pubinputs' /><br/>
  115.                         <input name="upfile4" type="file" id="upfile4" style='width:300px' size='30' class='pubinputs' /><br/>
  116.                         <input name="upfile5" type="file" id="upfile5" style='width:300px' size='30' class='pubinputs' /><br/>
  117.             <span id='uploadfield'></span>
  118.                          </td>
  119.           </tr>
  120.           <tr>
  121.             <td height="50" colspan="2" bgcolor="#FFFFFF">
  122.                 <table width="60%" border="0" cellspacing="0" cellpadding="0">
  123.                 <tr>
  124.                   <td align="center">
  125.                                              <input class="np" name="imageField" type="image" src="img/button_save.gif" width="60" height="22" border="0" />
  126.                   </td>
  127.                 </tr>
  128.               </table>
  129.              </td>
  130.           </tr>
  131.         </form>
  132.       </table>
  133.       </td>
  134.   </tr>
  135. </table>
  136.         </body>
  137. </html>
downloadmedia_add.htm Source code - Download Shandong kernel enterprise stand the source code Source code
Related Source Codes/Software:
Dede V2.2 dance music program - This system is based on DEDE5.7 sp1 production dan... 2016-11-11
Search engine v1.0 eight grams of novels - This program consists of WEB side and collection p... 2016-11-11
A thief free Jacky novel CMS, support for multiple station collection, support pseudo original SEO - A thief free Jacky novel CMS, support for multiple... 2016-11-11
Kunlun lubricating oil companies stand the source code - Just testing, free, source code is very beautiful ... 2016-11-11
Imitation of Chinese stationmaster net source dreams to 5.7 sp1 source code - Exactly the same and the Director of China network... 2016-11-11
Newscoop CMS v4.0.4 multilingual version - Newscoop is a content management system is mainly ... 2016-11-11
Ku978 navigator free send you department (with acquisition module) - Is I purchase the commercial version of this progr... 2016-11-11
Think of concise message this v1.1 - Wisdom of concise message this V1.1 main functions... 2016-11-11
nvidia-docker - Build and run Docker containers leveraging NVIDIA ... 2017-04-08
quickstart - Angular 2 QuickStart - source from the documentati... 2017-04-08
jQuery-Autocomplete - Ajax Autocomplete for jQuery allows you to easily ... 2017-04-08
Android-Best-Practices - Android best practice examples 2017-04-08
Bootstrap-Admin-Template - Metis - Free Bootstrap Admin Dashboard Template ... 2017-04-08
CocoaSPDY - SPDY for iOS and OS X 2017-04-08
parse-dashboard - A dashboard for managing your Parse apps that aren... 2017-04-08
HoloEverywhere - NO LONGER MAINTAINED. DEVELOP FOR 4.X+ DUDE. 2017-04-08
side-comments - [UNMAINTAINED] An interface component to give your... 2017-04-08
SVG-Morpheus - JavaScript library enabling SVG icons to morph fro... 2017-04-08

 Back to top