BVB Source Codes

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

Return Download Shandong kernel enterprise stand the source code: download uploads.htm Source code - Download Shandong kernel enterprise stand the source code Source code - Type:.htm
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  5. <title>附件数据管理 - 会员中心 - <?php echo $cfg_webname; ?></title>
  6. <link href="templets/style/base.css" rel="stylesheet" type="text/css" />
  7. <script type="text/javascript" src="templets/js/j.js"></script>
  8. <script type="text/javascript" src="templets/js/load.js"></script>
  9. <script type="text/javascript" src="templets/js/leftmenu.js"></script>
  10. <script type="text/javascript">  
  11.   function ChangeImage(surl){ document.getElementById('picview').src = surl; }
  12. //获得选中文件的文件名
  13. function getCheckboxItem(){
  14.         var allSel="";
  15.         if(document.form1.aids.value) return document.form1.aids.value;
  16.         for(i=0;i<document.form1.aids.length;i++)
  17.         {
  18.                 if(document.form1.aids[i].checked){
  19.                         if(allSel=="")
  20.                         allSel=document.form1.aids[i].value;
  21.                         else
  22.                         allSel=allSel+","+document.form1.aids[i].value;
  23.                 }
  24.         }
  25.         return allSel;
  26. }
  27.  
  28. function AllSel(){
  29.         for(i=0;i<document.form1.aids.length;i++){
  30.                 document.form1.aids[i].checked = true;
  31.         }
  32. }
  33.  
  34. function NoneSel(){
  35.         for(i=0;i<document.form1.aids.length;i++){
  36.                 document.form1.aids[i].checked = false;
  37.         }
  38. }
  39.  
  40. function DelSel(){
  41.         var nid = getCheckboxItem();
  42.         if(nid==""){
  43.                 alert("请选择项目!\r\n");
  44.                 return ;
  45.         }
  46.         location.href = "archives_do.php?dopost=delUploads&ids="+nid;
  47. }
  48. </script>
  49. </head>
  50. <body>
  51. <div id="main">
  52.     <?php include(DEDEMEMBER."/templets/head.htm"); ?>
  53.   <div id="content" class="w960 clearfix">
  54.     <?php include(DEDEMEMBER."/templets/menu.php");?>
  55.     <div id="mcpmain">
  56.       <div id="appTab">
  57.         <ul>
  58.           <li class="thisTab"><a href="uploads.php">附件管理</a></li>
  59.         </ul>
  60.         <div class="tabOther">
  61.           <form name='forms' method='post' action='uploads_select.php'>
  62.             <input name="keyword" type="text" id="keyword" class="text" value="<?php echo $keyword?>" />
  63.             <select name='mediatype'>
  64.               <option value='0'>文件类型</option>
  65.               <option value='1'<?php if($mediatype==1) echo " selected='1' "; ?>>图片</option>
  66.               <option value='2'<?php if($mediatype==2) echo " selected='1' "; ?>>FLASH</option>
  67.               <option value='3'<?php if($mediatype==3) echo " selected='1' "; ?>>视频/音频</option>
  68.               <option value='4'<?php if($mediatype==4) echo " selected='1' "; ?>>其它附件</option>
  69.             </select>
  70.             <button class="button2 mL10" type="submit">搜索</button>
  71.           </form>
  72.         </div>
  73.       </div>
  74.       <div id="mainCp">
  75.         <h3 class="meTitle">附件数据管理</h3>
  76.         <form name="form1">
  77.         <div class="postForm">
  78.          <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list">
  79.           <thead>
  80.             <tr>
  81.                 <th width="5%"><input name="checkedClick" type="checkbox" value="" id="checkedClick"/></th>
  82.                 <th>文件标题</th>
  83.                 <th width="8%">大小 </th>
  84.                 <th width="10%">类型 </th>
  85.                 <th width="18%">上传时间 </th>
  86.                 <th width="12%">操作</th>
  87.               </tr>
  88.           </thead>
  89.           <tbody>
  90.             {dede:datalist}
  91.             <tr>
  92.               <td><input type='checkbox' name='aids' id='aids<?php echo $fields['aid']?>' value='<?php echo $fields['aid']; ?>' class='np' style="width: 31px;"/></td>
  93.               <td valign="middle"><a href='<?php echo $fields['url']?>' target='_blank'><?php echo GetImageView($fields['url'],$fields['mediatype']); ?>&nbsp; <?php echo $fields['title']; ?> </a></td>
  94.               <td align="center"><?php echo GetFileSize($fields['filesize']); ?></td>
  95.               <td align="center"><?php echo MediaType($fields['mediatype'],$fields['url']); ?></td>
  96.               <td align="center"><?php echo MyDate("Y-m-d H:i",$fields['uptime']); ?></td>
  97.               <td align="center"><a href='uploads_edit.php?aid=<?php echo $fields['aid']; ?>'>更改</a> | <a href='archives_do.php?dopost=delUploads&amp;aid=<?php echo $fields['aid']; ?>'>删除</a> </td>
  98.             </tr>
  99.             {/dede:datalist}
  100.           </tbody>
  101.           <tfoot>
  102.             <tr>
  103.               <td colspan="5"><button class="buttonGary2 mt10" onclick="DelSel();">删除</button>
  104.               <div class="pageList">{dede:pagelist listsize=10/}</div>
  105.               </td>
  106.             </tr>
  107.           </tfoot>
  108.         </table>
  109.        </div>
  110.       </form>
  111.       <!--主操作区域 -->
  112.     </div>
  113.   </div>
  114. </div>
  115. <?php include(DEDEMEMBER."/templets/foot.htm"); ?>
  116. </div>
  117. </body>
  118. </html>
  119.  
downloaduploads.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