Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
filelist_common_header.php
Package: Generateur_v13.rar [view]
Upload User: feiyaoda
Upload Date: 2016-11-21
Package Size: 9556k
Code Size: 4k
Category:
WEB Mail
Development Platform:
PHP
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="<?php echo $_INT['theme_path'].'pat_style.css'; ?>">
- <script language="JavaScript">
- <!--
- var selected_bg_color = "<?php echo $_INI[selected_item_color]; ?>";
- var Nom;
- var ie;
- var ns;
- var op;
- var ver;
- Nom = navigator.appName;
- ver = navigator.appVersion;
- ns = (Nom == 'Netscape') ? 1:0 ;
- ie = (Nom == 'Microsoft Internet Explorer') ? 1:0 ;
- op = (Nom == 'Opera') ? 1:0 ;
- function switch_selected_state(element_number,tr_obj)
- {
- var theForm;
- var theField;
- theField = document.data_container_element_table.elements[element_number];
- state = theField.value;
- newstate = 1 - state;
- theField.value = newstate;
- }
- /***************************************************************
- *
- * this function always check that backgroung correspond to
- * form status : if element is selected or not
- *
- ***************************************************************/
- function getElById(idVal)
- {
- if (document.getElementById != null)
- return document.getElementById(idVal);
- if (document.all != null)
- return document.all[idVal];
- alert("Problem getting element by id");
- return null;
- }
- function update_visual()
- {
- total_elmnt = document.data_container_element_table.total_elements.value;
- for (i=0;i<total_elmnt;i++)
- {
- Obj = getElById('element_name_'+i);
- current_state = document.data_container_element_table.elements[(i*2)].value + 0;
- current_state = parseInt(current_state);
- if (current_state != 0)
- {
- Obj.style.backgroundColor = selected_bg_color;
- }
- else
- {
- Obj.style.backgroundColor = '';
- }
- }
- // refresh rate in ms
- setTimeout("update_visual()",200);
- }
- /****************************************************************
- *
- * RIGHT CLICK HANDLER
- *
- ****************************************************************/
- function buttoncheck(e)
- {
- //ie
- if(document.all && event.button==2)
- showwindow();
- //ns
- if(document.layers && e.which==3)
- showwindow();
- <?php if ($_INI['disable_context_menu']) echo "return false;n"; ?>
- }
- function showwindow()
- {
- //ie
- if(document.all)
- document.all.rcMenu.style.visibility = "visible";
- //ns
- if(document.layers)
- document.rcMenu.visibility = "visible";
- return false;
- }
- function closewindow()
- {
- //ie
- if(document.all)
- document.all.rcMenu.style.visibility = "hidden";
- //ns
- if(document.layers)
- document.rcMenu.visibility = "hidden";
- }
- // CAPTURE of Right Click
- if(document.layers)
- {
- document.captureEvents(Event.MOUSEDOWN);
- }
- document.onmousedown = buttoncheck;
- // ie >= 5
- document.oncontextmenu = function() { showwindow(); <?php if ($_INI['disable_context_menu']) echo "return false;n"; ?> }
- /****************************************************************
- *
- * RIGHT CLICK ACTIONS => all rc_ functions
- *
- ****************************************************************/
- function rc_copy()
- {
- parent.thetoolbar.document.action_copy();
- closewindow();
- return false;
- }
- function rc_paste()
- {
- parent.thetoolbar.document.action_paste();
- closewindow();
- return false;
- }
- // -->
- </script>
- </head>
- <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="update_visual()">
- <?php page_type('filelist'); ?>
- <!-- RIGHT CLICK menu -->
- <div id="rcMenu" style="position:absolute; top:10px; left:220px; visibility:hidden">
- <form action="execute.php" method=POST name=rightclick>
- <input type=hidden name=action>
- <input type=hidden name=buffer_copy>
- <input type=hidden name=buffer_selection>
- <input type=hidden name=source_folder>
- <input type=hidden name=source_type>
- <input type=hidden name=target_folder value="<?php echo urlencode($_GET['path']) ?>">
- <input type=hidden name=target_type value="<?php echo $current_target_type; ?>">
- </form>
- </div>