Server IP : 108.163.255.210 / Your IP : 3.145.170.164 Web Server : Apache System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : ( 1172) PHP Version : 7.2.34 Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/unilinki/public_html/payroll/admin/ |
Upload File : |
<!Doctype html> <html> <head> <script type='text/javascript' src='https://code.jquery.com/jquery-1.11.0.min.js'></script> <script type='text/javascript'> $(document).ready(function () { console.log("HELLO") function exportTableToCSV($table, filename) { var $headers = $table.find('tr:has(th)') ,$rows = $table.find('tr:has(td)') // Temporary delimiter characters unlikely to be typed by keyboard // This is to avoid accidentally splitting the actual contents ,tmpColDelim = String.fromCharCode(11) // vertical tab character ,tmpRowDelim = String.fromCharCode(0) // null character // actual delimiter characters for CSV format ,colDelim = '","' ,rowDelim = '"\r\n"'; // Grab text from table into CSV formatted string var csv = '"'; csv += formatRows($headers.map(grabRow)); csv += rowDelim; csv += formatRows($rows.map(grabRow)) + '"'; // Data URI var csvData = 'data:application/csv;charset=utf-8,' + encodeURIComponent(csv); $(this) .attr({ 'download': filename ,'href': csvData //,'target' : '_blank' //if you want it to open in a new window }); //------------------------------------------------------------ // Helper Functions //------------------------------------------------------------ // Format the output so it has the appropriate delimiters function formatRows(rows){ return rows.get().join(tmpRowDelim) .split(tmpRowDelim).join(rowDelim) .split(tmpColDelim).join(colDelim); } // Grab and format a row from the table function grabRow(i,row){ var $row = $(row); //for some reason $cols = $row.find('td') || $row.find('th') won't work... var $cols = $row.find('td'); if(!$cols.length) $cols = $row.find('th'); return $cols.map(grabCol) .get().join(tmpColDelim); } // Grab and format a column from the table function grabCol(j,col){ var $col = $(col), $text = $col.text(); return $text.replace('"', '""'); // escape double quotes } } // This must be a hyperlink $("#export").click(function (event) { // var outputFile = 'export' var outputFile = window.prompt("What do you want to name your output file (Note: This won't have any effect on Safari)") || 'export'; outputFile = outputFile.replace('.csv','') + '.csv' // CSV exportTableToCSV.apply(this, [$('#dvData>table'), outputFile]); // IF CSV, don't do event.preventDefault() or return false // We actually need this to be a typical hyperlink }); }); </script> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>REGISTER OF PAYMENT OF WAGES(REVISED)</title> </head> <a href="#" id ="export" role='button' class="btn btn-info pull-right">Save CSV </a> <body style="width:100%;height:100vh;padding:5px;margin:0;"> <div id="dvData"> <table border="1" style="border:1px solid #000;"> <tr> <td colspan="27"><h3>REGISTER OF PAYMENT OF WAGES(REVISED)</h3></td> </tr> <tr> <td style="text-align: center;" colspan="27">--</td> </tr> <tr> <td style="font-weight:bold;" colspan="6">NAME OF THE ESTABLISHMENT</td> <td colspan="21">CONCORD LOGISTICS & SERVICES</td> </tr> <tr> <td style="font-weight:bold;" colspan="6">ADDRESS</td> <td colspan="21">C/O. DR. LAL PATH LABS, AMRIT NAGAR , OPP. AMBALA CLUB, NEAR INCO CHOWK, OLD DELHI ROAD, AMBALA CITY, AMBALA, HARYANA - 134003</td> </tr> <tr> <td style="font-weight:bold;" colspan="6">WAGE PERIOD</td> <td colspan="21">FEBRUARY' 2016</td> </tr> <tr> <td style="text-align: center;" colspan="27">--</td> </tr> <tr> <td style="font-weight:bold;">SL</td> <td style="font-weight:bold;">NAME OF THE WORKER</td> <td style="font-weight:bold;">NO OF</td> <td style="font-weight:bold;" colspan="6">RATE OF WAGES</td> <td style="font-weight:bold;" colspan="6">AMOUNT PAYABLE</td> <td style="font-weight:bold;" colspan="4">DEDUCTION</td> <td style="font-weight:bold;">AMOUNT</td> <td style="font-weight:bold;">SIGNATURE</td> <td style="font-weight:bold;">Employers</td> <td style="font-weight:bold;">Employers</td> <td style="font-weight:bold;">CTC</td> <td style="font-weight:bold;">ESI NO</td> <td style="font-weight:bold;">PF NO</td> <td style="font-weight:bold;">incre</td> </tr> <tr> <td style="font-weight:bold;">NO</td> <td style="font-weight:bold;">FATHER'S NAME</td> <td style="font-weight:bold;">DAYS</td> <td style="font-weight:bold;">BASIC</td> <td style="font-weight:bold;">HRA</td> <td style="font-weight:bold;">WASH.</td> <td style="font-weight:bold;">SPL.</td> <td style="font-weight:bold;">CONV</td> <td style="font-weight:bold;">TOTAL</td> <td style="font-weight:bold;">BASIC</td> <td style="font-weight:bold;">HRA</td> <td style="font-weight:bold;">WASH.</td> <td style="font-weight:bold;">SPL.</td> <td style="font-weight:bold;">CONV</td> <td style="font-weight:bold;">TOTAL</td> <td style="font-weight:bold;text-align: center;">ESI</td> <td style="font-weight:bold;text-align: center;">PF</td> <td style="font-weight:bold;text-align: center;">TOTAL</td> <td style="font-weight:bold;text-align: center;">ADV</td> <td style="font-weight:bold;text-align: center;">PAID</td> <td style="font-weight:bold;text-align: center;">OF THE</td> <td style="font-weight:bold;text-align: center;">ESI</td> <td style="font-weight:bold;text-align: center;">PF</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> </tr> <tr> <td style="text-align: center;">--</td> <td style="font-weight:bold;text-align: center;">DESIGNATION</td> <td style="text-align: center;" colspan="3">--</td> <td style="font-weight:bold; text-align: center;">ALLO</td> <td style="font-weight:bold; text-align: center;">ALLO</td> <td style="font-weight:bold; text-align: center;">ALLO</td> <td style="text-align: center;">--</td> <td style="text-align: center;" colspan="2">--</td> <td style="font-weight:bold;text-align: center;">ALLO</td> <td style="font-weight:bold; text-align: center;">ALLO</td> <td style="font-weight:bold; text-align: center;">ALLO</td> <td style="text-align: center;">--</td> <td style="text-align: center;" colspan="3">--</td> <td style="font-weight:bold;text-align: center;">DED</td> <td style="text-align: center;">--</td> <td style="font-weight:bold;text-align: center;">EMPLOYEE</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> </tr> <tr> <td style="text-align: center;" colspan="27">--</td> </tr> <tr> <td style="text-align: center;">--</td> <td style="">LAKHWINDER SINGH </td> <td style="text-align: center;" colspan="25">--</td> </tr> <tr> <td style="text-align: center;">1</td> <td style="">SH. SARVAN SINGH </td> <td style="text-align: center;">29</td> <td style="text-align: center;">3600</td> <td style="text-align: center;">900</td> <td style="text-align: center;">500</td> <td style="text-align: center;">0</td> <td style="text-align: center;">900</td> <td style="text-align: center;">5900</td> <td style="text-align: center;">3600</td> <td style="text-align: center;">900</td> <td style="text-align: center;">500</td> <td style="text-align: center;">0</td> <td style="text-align: center;">900</td> <td style="text-align: center;">5900</td> <td style="text-align: center;">95</td> <td style="text-align: center;">432</td> <td style="text-align: center;">527</td> <td style="text-align: center;">0</td> <td style="text-align: center;">5373</td> <td style="text-align: center;"></td> <td style="text-align: center;">257</td> <td style="text-align: center;">490</td> <td style="text-align: center;">6647</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> </tr> <tr> <td style="text-align: center;">--</td> <td style="">FIELD EXECUTIVE</td> <td style="text-align: center;" colspan="25">--</td> </tr> <tr> <td style="text-align: center;" colspan="27">--</td> </tr> <tr> <td style="text-align: center;" colspan="27">--</td> </tr> <tr> <td style="font-weight:bold;text-align: center;">--</td> <td style="font-weight:bold;text-align: center;">--</td> <td style="font-weight:bold;text-align: center;">--</td> <td style="font-weight:bold;text-align: center;">3600</td> <td style="font-weight:bold;text-align: center;">9500</td> <td style="font-weight:bold;text-align: center;">4970</td> <td style="font-weight:bold;text-align: center;">0</td> <td style="font-weight:bold;text-align: center;">9500</td> <td style="font-weight:bold;text-align: center;">59970</td> <td style="font-weight:bold;text-align: center;">36000</td> <td style="font-weight:bold;text-align: center;">9500</td> <td style="font-weight:bold;text-align: center;">4970</td> <td style="font-weight:bold;text-align: center;">0</td> <td style="font-weight:bold;text-align: center;">9500</td> <td style="font-weight:bold;text-align: center;">59970</td> <td style="font-weight:bold;text-align: center;">967</td> <td style="font-weight:bold;text-align: center;">4320</td> <td style="font-weight:bold;text-align: center;">5287</td> <td style="font-weight:bold;text-align: center;">1500</td> <td style="font-weight:bold;text-align: center;">53183</td> <td style="text-align: center;">--</td> <td style="font-weight:bold;text-align: center;">2617</td> <td style="font-weight:bold;text-align: center;">4900</td> <td style="font-weight:bold;text-align: center;">67487</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> <td style="text-align: center;">--</td> </tr> </table> </div> </body> </html>