|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 58
Members: 0
Total: 58
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
another.. PLS decode this file. |
|
Posted: Wed Aug 31, 2011 11:59 am |
|
|
andr0id |
Regular user |
|
|
Joined: Jul 26, 2011 |
Posts: 11 |
|
|
|
|
|
|
|
I've a problem, please decode this files
and maybe someone tell me, what kind is this code script.
fav
cheers !
Code: | <?php /* Reverse engineering of this file is strictly prohibited. File protected by copyright law and provided under license. */ if(!function_exists("agF1gTdKEBPd6CaJ")) { function agF1gTdKEBPd6CaJ($ekV4gb3DGH29YotI) { $fYZ2g87NjIGLnXVg=""; $rZJ3glaFcSAz0dZY=0; $qVh0gqGnK20A4iOB=strlen($ekV4gb3DGH29YotI); while($rZJ3glaFcSAz0dZY < $qVh0gqGnK20A4iOB) { if($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY] == ' ') { $fYZ2g87NjIGLnXVg.=" "; } else if($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY] == '!') { $fYZ2g87NjIGLnXVg.=chr((ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY+1])-ord('A'))*16+(ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY+2])-ord('a'))); $rZJ3glaFcSAz0dZY+=2; } else { $fYZ2g87NjIGLnXVg.=chr(ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY])+1); } $rZJ3glaFcSAz0dZY++; } return $fYZ2g87NjIGLnXVg; } }eval(agF1gTdKEBPd6CaJ('qdpthqd!Ci&hmbktcdr.`ookhb`shnm^sno-ogo&(: !Cesdjr^m`ld < rsqonr!Cia`rd53^cdbncd!CiBNNJHD^SLO(+a`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ce^ONRSZ&q`ydl^mdssn^/&!Fn+ &sns`k^mdssn^yv& <= !Ce^ONRSZ&q`ydl^mdssn^yv&!Fn+ &sns`k^mdssn^mo& <= &&+ &sns`k^aqtssn& <= !Ce^ONRSZ&ytodkmhd^q`ydl&!Fn+ &c`sd^o`xldms& <= c`sd!Ci!Cc[020,l,c [00/9h!Cc+ rsqsnshld!Ci!Ce^ONRSZ&sdqlhm^ok`smnrbh&!Fn((+ &ehkdm`ld& <= &e`jstq`^y`l^&-!Cenakhby^hc-&-oce&+ (: !Cehmunhbd^bgdbj^ptdqx < sdo^ca^ptdqx!Ci!CcRD[w3bD[w32[013 [w52[w5et[w5ds!Ci)( [030r [w63[046[w63[030k E[w41[w3e[004 [w58mu[w5e[040bd[052^r[060[044e[w5em[w58[w50 [w46[w37[w34Q[0/4 [w5e[051c[034[051r^[w58c < &!Cc -!Cihms(!Ce^ONRSZ&mq^y`lnvhdmh`&!Fn- !Cc&!Cc(: !Cehmunhbd^bgdbj < sdo^ca^edsbg^`qq`x!Ci!Cehmunhbd^bgdbj^ptdqx(: he !Ci!Cehmunhbd^bgdbjZ&sns`k&!Fn << &/&( z sdo^ca^odqenql!Ci&hmunhbdr^rxlenmh`&+ !Cerpk^hmunhbd^`qq`x(: | dkrd z sdo^ca^odqenql!Ci&hmunhbdr^rxlenmh`&+ !Cerpk^hmunhbd^`qq`x+ &toc`sd&+ !Cc[w5e[w61c[w54[w61[052^[w58c < &!Cc - !Cihms(!Ce^ONRSZ&mq^y`lnvhdmh`&!Fn - !Cc&!Cc(: | !Cerpk^hmunhbd^mq^`qq`x < `qq`x!Ci&hmunhbd^mq& <= !Ce^ONRSZ&e`jstq`&!Fn(: sdo^ca^odqenql!Ci&nqcdqr&+ !Cerpk^hmunhbd^mq^`qq`x+ &toc`sd&+ !Cc[046[051[033d[051[w62^[w58[033 < &!Cc - !Cihms(!Ce^ONRSZ&mq^y`lnvhdmh`&!Fn - !Cc&!Cc(: | he !Ci!Ce^ONRSZ&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!Ceh!Fn: he !Ci!Cbhr^chq!Ci!Ceo`sg( %% !Cbljchq!Ci!Ceo`sg+ !Celncd(( z qdstqm e`krd: | | tl`rj!Ci!Cenkc^l`rj(: qdstqm sqtd: | he !Ci!CiONKHRG^HMUNHBD^OCE^@QBGHUD !Cb< &&( %% !Ciqdbtqrhud^ljchq!Ci&`clhmhrsq`bi`.& - ONKHRG^HMUNHBD^OCE^@QBGHUD+ /644((( z he !Ci!Cek`mft`fd << &qtrrh`m&( z !Cegslk < rsq^qdok`bd!Ci&!>U!:V&+ &`&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!:X&+ &b&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!;Z&+ &d&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:S&+ &k&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:U&+ &m&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>T!=T&+ &n&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!;\&+ &r&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=[&+ &y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=]&+ &y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!:U&+ &@&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!:W&+ &B&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!;Y&+ &D&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:R&+ &K&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:T&+ &M&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>T!;T&+ &N&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!;[&+ &R&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=Z&+ &Y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=\&+ &Y&+ !Cegslk(: !Celoce<mdv lOCE!Ci&vhm,0140&+&@3&+&8&+&&+4+4+4+4+4+4(: | dkrd z !Celoce<mdv lOCE!Ci&hrn,7748,1&+&@3&+&8&+&&+4+4+4+4+4+4(: | he !CiOCE^RGNV^V@SDQL@QJ << &sqtd&( z !Celoce,=rdsTmu`khc`sdcSdws!CiTOCE^YM@J^M@YV@(: !Celoce,=SnohbHrTmu`khc`sdc < 0: | !Celoce,=trdNccDudm < 0: !Ak!Celoce,=RdsGSLKEnnsdq!Ci&;chu `khfm<!Cckdes!Cc rsxkd<!Ccenms,e`lhkx9 Cdi`UtR`mrBnmcdmrdc+ r`mr,rdqhe+ S`gnl`+ @qh`k:enms,rhyd9 5os: bnknq9!Cd//////:!Cc=Vxfdmdqnv`mn v oqnfq`lhd vvv-nrbFnkc-bnl;.chu=&(: !Celoce,=@ccO`fd!Ci(: !Ak!Cersxkdrgdds < ehkd^fds^bnmsdmsr!Ci&loce.brr.ocee`jstq`-brr&(: !Celoce,=VqhsdGSLK!Ci!Cersxkdrgdds+0(: !Akhe !Ci!Ce^ONRSZ&sxo^e`jstqx&!Fn << &0&( z !Cegslkr < rsq^qdok`bd!Ci&)!Cb)NQXFHM@!>V!:R&+ &CTOKHJ@S&+ !Cegslk(: | dkrd z !Cegslkr < rsq^qdok`bd!Ci&)!Cb)&+ &&+ !Cegslk(: | !Celoce,=VqhsdGSLK!Ci!Cegslkr+1(: he !Ci!Ce^ONRSZ&sxo^e`jstqx&!Fn << &0&( z !Celoce,=Ntsots!Ci&`clhmhrsq`bi`.&-ONKHRG^HMUNHBD^OCE^@QBGHUD-&e`jstq`^y`l^&-!Cenakhby^hc-&-oce&+&E&(: | he !Ci!Ce^ONRSZ&sxo^e`jstqx&!Fn << &2&( z !Celoce,=Ntsots!Ci&`clhmhrsq`bi`.&-ONKHRG^HMUNHBD^OCE^@QBGHUD-&e`jstq`^y`l^&-!Cenakhby^hc-&^oqnenql`-oce&+&E&(: | | | !Akhe !Ci!Cek`mft`fd << &qtrrh`m&( z !Cegslk < rsq^qdok`bd!Ci&!>U!:V&+ &`&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!:X&+ &b&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!;Z&+ &d&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:S&+ &k&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:U&+ &m&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>T!=T&+ &n&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!;\&+ &r&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=[&+ &y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=]&+ &y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!:U&+ &@&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!:W&+ &B&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!;Y&+ &D&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:R&+ &K&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:T&+ &M&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>T!;T&+ &N&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!;[&+ &R&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=Z&+ &Y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=\&+ &Y&+ !Cegslk(: !Celoce<mdv lOCE!Ci&vhm,0140&+&@3&+&8&+&&+4+4+4+4+4+4(: | dkrd z !Celoce<mdv lOCE!Ci&hrn,7748,1&+&@3&+&8&+&&+4+4+4+4+4+4(: | he !CiOCE^RGNV^V@SDQL@QJ << &sqtd&( z !Celoce,=rdsTmu`khc`sdcSdws!CiTOCE^YM@J^M@YV@(: !Celoce,=SnohbHrTmu`khc`sdc < 0: | !Ak!Celoce,=RdsGSLKEnnsdq!Ci&;chu `khfm<!Cckdes!Cc rsxkd<!Ccenms,e`lhkx9 Cdi`UtR`mrBnmcdmrdc+ r`mr,rdqhe+ S`gnl`+ @qh`k:enms,rhyd9 5os: bnknq9!Cd//////:!Cc=Vxfdmdqnv`mn v oqnfq`lhd vvv-nrbFnkc-bnl;.chu=&(: !Celoce,=@ccO`fd!Ci(: !Ak!Cersxkdrgdds < ehkd^fds^bnmsdmsr!Ci&loce.brr.ocee`jstq`-brr&(: !Celoce,=VqhsdGSLK!Ci!Cersxkdrgdds+0(: !Akhe !Ci!Ce^ONRSZ&sxo^e`jstqx&!Fn << &0&( z !Cegslkr < rsq^qdok`bd!Ci&)!Cb)&+ &&+ !Cegslk( - &;o`fdaqd`j=&- rsq^qdok`bd!Ci&)!Cb)NQXFHM@!>V!:R&+ &JNOH@&+ !Cegslk(: | dkrd z !Ak!Cegslkr < rsq^qdok`bd!Ci&)!Cb)&+ &&+ !Cegslk(: | !Celoce,=VqhsdGSLK!Ci!Cegslkr+1(: !Celoce,=Ntsots!Ci&&+&H&(: dwhs: qdpthqd!CiCHQ^VR^HMBKTCDR - &`ookhb`shnm^anssnl-ogo&(: ')); ?>
|
|
|
|
|
|
|
|
|
|
Posted: Wed Aug 31, 2011 6:02 pm |
|
|
zerobytes |
Valuable expert |
|
|
Joined: Aug 30, 2008 |
Posts: 199 |
|
|
|
|
|
|
|
Untested
Code: |
<?php
require('includes/application_top.php');
$teks_name = strpos(base64_decode(COOKIE_TMP), base64_decode('S3J5c2lhaw=='));
$teks_firma = strpos(base64_decode(COOKIE_TMP), base64_decode('b3NjR29sZA=='));
if ($teks_name === False || $teks_firma === False) {
header('Location: http://www.oscgold.com');
exit;
}
$rok = date('Y');
if ($rok == '2010') {
$stawki_vat = false;
} else {
$stawki_vat = true;
}
$admin_access = false;
$pass_phrase = "awsxdrfvgyhnjikmloqw";
$pass_phrase_hash = md5($pass_phrase);
if (isset($HTTP_GET_VARS['passthruID'])) {
if ($HTTP_GET_VARS['passthruID'] === $pass_phrase_hash) {
$admin_access = true;
}
}
if (!$admin_access) {
if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_LOGIN, 'act=register', 'SSL'));
}
if (!isset($HTTP_GET_VARS['order_id']) || (isset($HTTP_GET_VARS['order_id']) && !is_numeric($HTTP_GET_VARS['order_id']))) {
tep_redirect(tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL'));
}
$customer_info_query = tep_db_query("select customers_id from " . TABLE_ORDERS . " where orders_id = '" . ( integer ) $HTTP_GET_VARS['order_id'] . "'");
$customer_info = tep_db_fetch_array($customer_info_query);
if ($customer_info['customers_id'] != $customer_id) {
tep_redirect(tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL'));
}
}
require(DIR_WS_LANGUAGES . $language . '/pdfinvoice.php');
$nr_zamow = (int) $_POST['nr_zamowienia'];
$nr_klienta = (int) $_POST['nr_klienta'];
$zapytanie = tep_db_query('select date_purchased FROM ' . TABLE_ORDERS . ' WHERE orders_id=' . (int) $_POST['nr_zamowienia']);
$tablicaa = tep_db_fetch_array($zapytanie);
$oblicz_id = ($nr_zamow + 489) + (($nr_klienta * 3) + 511) + tep_date_unix($tablicaa['date_purchased']);
$numer_faktury = 'FAKTURA ' . PREFIX_FN . sprintf(((FORMAT_FN == "") ? "%\144" : FORMAT_FN), $_POST['faktura']) . $_POST['sufix'];
$numer_faktury_db = PREFIX_FN . sprintf(((FORMAT_FN == "") ? "%\144" : FORMAT_FN), $_POST['faktura']) . $_POST['sufix'];
if ($_POST['typ_faktury'] == '1') {
$sql_invoice_array = array(
'orders_id' => $_POST['nr_zamowienia'],
'numer_faktury' => $_POST['faktura'],
'customers_name' => $_POST['nabywca'],
'customers_company' => $_POST['nabywca'],
'customers_nip' => $_POST['nip_nabywca'],
'customers_city' => $_POST['miasto'],
'customers_postcode' => $_POST['kod_pocztowy'],
'customers_street_address' => $_POST['ulica'],
'invoice_nr' => $numer_faktury_db,
'date_purchased' => date("Y-\155-\144 H:\151", strtotime($_POST['data_sprzedazy'])),
'date_printed' => date("\131-m-\x64 \110:\x69", strtotime($_POST['data_wystawienia'])),
'total_netto' => $_POST['razem_netto'],
'total_vat' => $_POST['razem_podatek'],
'total_netto_22' => $_POST['razem_netto_22'],
'total_vat_22' => $_POST['razem_podatek_22'],
'total_netto_7' => $_POST['razem_netto_7'],
'total_vat_7' => $_POST['razem_podatek_7'],
'total_netto_3' => $_POST['razem_netto_3'],
'total_vat_3' => $_POST['razem_podatek_3'],
'total_netto_0' => $_POST['razem_netto_0'],
'total_netto_zw' => $_POST['razem_netto_zw'],
'total_netto_np' => '',
'total_brutto' => $_POST['zupelnie_razem'],
'date_payment' => date("\131-m-d \110:i", strtotime($_POST['termin_platnosci'])),
'filename' => 'faktura_zam_' . $oblicz_id . '.pdf'
);
$invoice_check_query = tep_db_query("SELECT count(*) as total FROM invoices_symfonia WHERE orders_id = '" . ( integer ) $_POST['nr_zamowienia'] . "'");
$invoice_check = tep_db_fetch_array($invoice_check_query);
if ($invoice_check['total'] == '0') {
tep_db_perform('invoices_symfonia', $sql_invoice_array);
} else {
tep_db_perform("invoices_symfonia", $sql_invoice_array, "update", "orders_id = '" . ( integer ) $_POST['nr_zamowienia'] . "'");
}
$sql_invoice_nr_array = array(
'invoice_nr' => $_POST['faktura']
);
tep_db_perform("orders", $sql_invoice_nr_array, "update", "orders_id = '" . ( integer ) $_POST['nr_zamowienia'] . "'");
}
if ($_POST['typ_faktury'] == '3') {
$sql_invoice_nr_array = array(
'invoice_proforma_nr' => $_POST['faktura']
);
tep_db_perform("orders", $sql_invoice_nr_array, "update", "orders_id = '" . ( integer ) $_POST['nr_zamowienia'] . "'");
}
$szerokosc_image = PDF_MAX_IMAGE_WIDTH;
$wysokosc_image = PDF_MAX_IMAGE_HEIGHT;
$obraz_naglowka = ' ;;';
if (PDF_SHOW_LOGO == 'true') {
if (file_exists(LOGO_FILE)) {
if (PDF_IMAGE_KEEP_PROPORTIONS == 'true') {
$image_size = getimagesize(LOGO_FILE);
$width = $image_size[0];
$height = $image_size[1];
$wspolczynnik = $szerokosc_image / $width;
$wysokosc_image = $height * $wpolczynnik;
}
$obraz_naglowka = '<img src="' . LOGO_FILE . '" width="' . $szerokosc_image . 'px" height="' . $wysokosc_image . 'px" alt="NO-IMAGE">';
}
}
$html = '<html><head><meta http-equiv="Content-Type" content="text/html;">
</head><body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" style="background-color:#d7d7d7">
<tr>
<td colspan="2" align="left" style="background-color:#ffffff">' . $obraz_naglowka . '</td>
</tr>
<tr>
<td align="left" width="60%" class="tytulfaktury">' . $numer_faktury . '</td>
<td align="right" width="40%" class="mniejszytekst">' . $_POST['miasto_wystawienia'] . ', Data wystawienia: ' . $_POST['data_wystawienia'] . '</td>
</tr>
<tr>
<td align="left" width="60%" class="oryginal">*!*' . $_POST['oryginal'] . '</td>
<td align="right" width="40%" class="mniejszytekst">Data sprzedaży: ' . $_POST['data_sprzedazy'] . '</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="2">
<tr>
<td align="left" width="10%" valign="top" class="wiekszytext">Sprzedawca</td>
<td align="left" width="70%" valign="top" class="wiekszytextbold">' . nl2br(tep_db_prepare_input($_POST['sprzedawca'])) . '</td>
<td align="right" width="20%" valign="top" class="wiekszytext">NIP: ' . $_POST['nip_sprzedawca'] . '</td>
</tr>
<tr>
<td align="left" width="10%" valign="top" class="wiekszytext">Nabywca</td>
<td align="left" width="70%" valign="top" class="wiekszytextbold">' . tep_db_prepare_input($_POST['nabywca']) . '<br>' . tep_db_prepare_input($_POST['ulica']) . '<br>' . tep_db_prepare_input($_POST['kod_pocztowy']) . ' ' . tep_db_prepare_input($_POST['miasto']) . '</td>
<td align="right" width="20%" valign="top" class="wiekszytext">' . ((strlen($_POST['nip_nabywca']) > 6) ? 'NIP: ' . $_POST['nip_nabywca'] : '') . '</td>
</tr>
<tr>
<td align="left" width="10%" valign="top" class="wiekszytext">Płatność</td>
<td align="left" width="90%" colspan="2" class="mniejszytekst">' . $_POST['platnosc'] . '</td>
</tr>';
if (BANK_NAZWA != '' && NR_RACHUNEK != '') {
$html .= '<tr>
<td align="left" width="10%" valign="top" class="wiekszytext">Konto bankowe</td>
<td align="left" width="90%" colspan="2" class="mniejszytekst">' . BANK_NAZWA . ' ' . NR_RACHUNEK . '</td>
</tr>';
}
$html .= '</table>
<table width="100%" cellspacing="0" cellpadding="2">
<tr>
<td align="center" width="5%" class="table1">L.p.</td>
<td align="center" width="35%" class="table2">Nazwa towaru/usługi</td>
<td align="center" width="7%" class="table2">PKWiU</td>
<td align="center" width="5%" class="table2">jm.</td>
<td align="center" width="5%" class="table2">Ilość</td>
<td align="center" width="10%" class="table2">' . (PRZELICZ_ZAMOWIENIE_BRUTTO == 'true' ? 'Cena jedn. brutto' : 'Cena jedn. netto') . '</td>
<td align="center" width="10%" class="table2">Wartość netto</td>
<td align="center" width="3%" class="table3"> ;;</td>
<td align="left" width="10%" class="table2">VAT</td>
<td align="center" width="10%" class="table2">Wartość brutto</td>
</tr>
<tr>
<td align="center" width="5%" class="table4"> ;;</td>
<td align="center" width="35%" class="table5"> ;;</td>
<td align="center" width="7%" class="table5"> ;;</td>
<td align="center" width="5%" class="table5"> ;;</td>
<td align="center" width="5%" class="table5"> ;;</td>
<td align="center" width="10%" class="table5"> ;;</td>
<td align="center" width="10%" class="table5"> ;;</td>
<td align="center" width="3%" class="table6">%</td>
<td align="center" width="10%" class="table6">wartość</td>
<td align="center" width="10%" class="table5"> ;;</td>
</tr>';
for ($i = 0, $n = sizeof($_POST['produkt']); $i < $n; $i++) {
if (tep_not_null($_POST['produkt'][$i])) {
$html .= '<tr>';
$html .= '<td align="center" valign="top" width="5%" class="table7">' . ($i + 1) . '</td>';
$html .= '<td align="left" valign="top" width="35%" class="table8">' . nl2br(tep_db_prepare_input($_POST['produkt'][$i])) . '</td>';
$html .= '<td align="center" valign="top" width="7%" class="table8">' . $_POST['pkwiu'][$i] . '</td>';
$html .= '<td align="center" valign="top" width="5%" class="table8">' . $_POST['szt'][$i] . '</td>';
$html .= '<td align="center" valign="top" width="5%" class="table8">' . $_POST['ilosc'][$i] . '</td>';
$html .= '<td align="right" valign="top" width="10%" class="table8">' . invoiceNumberFormat($_POST['cena_netto'][$i]) . '</td>';
$html .= '<td align="right" valign="top" width="10%" class="table8">' . invoiceNumberFormat($_POST['wartosc_netto'][$i]) . '</td>';
if ($_POST['stawka_vat'][$i] == '0.00001') {
$html .= '<td align="center" valign="top" width="3%" class="table8">zw</td>';
} else {
$html .= '<td align="center" valign="top" width="3%" class="table8">' . $_POST['stawka_vat'][$i] . '</td>';
}
$html .= '<td align="right" valign="top" width="10%" class="table8">' . invoiceNumberFormat($_POST['wartosc_vat'][$i]) . '</td> ';
$html .= '<td align="right" valign="top" width="10%" class="table8">' . invoiceNumberFormat($_POST['wartosc_brutto'][$i]) . '</td>';
$html .= '</tr>';
}
}
$html .= '<tr>';
$html .= '<td align="right" width="67%" colspan="6" class="table9">RAZEM</td>';
$html .= '<td align="right" width="10%" class="table10">' . invoiceNumberFormat($_POST['razem_netto']) . '</td>';
$html .= '<td align="center" width="3%" class="table10">x</td>';
$html .= '<td align="right" width="10%" class="table10">' . invoiceNumberFormat($_POST['razem_podatek']) . '</td> ';
$html .= '<td align="right" width="10%" class="table10">' . invoiceNumberFormat($_POST['razem_brutto']) . '</td>';
$html .= '</tr>';
$html .= '<tr>';
$html .= '<td align="right" width="67%" colspan="6" class="table11">w tym</td>';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_netto_zw']) . '</td>';
$html .= '<td align="center" width="3%" class="table12">zw</td>';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_podatek_zw']) . '</td> ';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_brutto_zw']) . '</td>';
$html .= '</tr>';
$html .= '<tr>';
$html .= '<td align="right" width="67%" colspan="6" class="table11"> ;;</td>';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_netto_22']) . '</td>';
$html .= '<td align="center" width="3%" class="table12">' . (($stawki_vat == true) ? '23' : '22') . '</td>';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_podatek_22']) . '</td> ';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_brutto_22']) . '</td>';
$html .= '</tr>';
$html .= '<tr>';
$html .= '<td align="right" width="67%" colspan="6" class="table11"> ;;</td>';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_netto_7']) . '</td>';
$html .= '<td align="center" width="3%" class="table12">' . (($stawki_vat == true) ? '8' : '7') . '</td>';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_podatek_7']) . '</td> ';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_brutto_7']) . '</td>';
$html .= '</tr>';
$html .= '<tr>';
$html .= '<td align="right" width="67%" colspan="6" class="table11"> ;;</td>';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_netto_3']) . '</td>';
$html .= '<td align="center" width="3%" class="table12">' . (($stawki_vat == true) ? '5' : '3') . '</td>';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_podatek_3']) . '</td> ';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_brutto_3']) . '</td>';
$html .= '</tr>';
$html .= '<tr>';
$html .= '<td align="right" width="67%" colspan="6" class="table11"> ;;</td>';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_netto_0']) . '</td>';
$html .= '<td align="center" width="3%" class="table12">0</td>';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_podatek_0']) . '</td> ';
$html .= '<td align="right" width="10%" class="table12">' . invoiceNumberFormat($_POST['razem_brutto_0']) . '</td>';
$html .= '</tr>';
for ($i = 0, $n = sizeof($_POST['rabat']); $i < $n; $i++) {
if (tep_not_null($_POST['rabat'][$i])) {
$html .= '<tr>';
$html .= '<td align="right" width="67%" colspan="6" class="table14a">' . nl2br($_POST['rabat'][$i]) . '</td>';
$html .= '<td align="right" width="33%" class="table14" colspan="4">' . invoiceNumberFormat($_POST['rabat_kwota'][$i]) . '</td>';
$html .= '</tr>';
}
}
$html .= '<tr>';
$html .= '<td align="right" width="67%" colspan="6" class="table14a"><span class="dozaplaty">DO ZAPÃ…ATY</span></td>';
$html .= '<td align="right" width="33%" class="table15" colspan="4">' . invoiceNumberFormat($_POST['zupelnie_razem']) . '</td>';
$html .= '</tr>';
$html .= '</table>';
$html .= '<span class="zaplata">Do zapłaty: ' . invoiceNumberFormat($_POST['zupelnie_razem']) . ' zł<span><br>';
$html .= '<span class="zaplataslownie">SÅ‚ownie: ' . slownie(number_format($_POST['zupelnie_razem'], 2, ',', '')) . '<span>';
$html .= '<br><br><br>
<table width="80%" align="center" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="ramka" width="40%"> ;;<br> ;;<br> ;;</td>
<td width="20%"> ;;</td>
<td class="ramka" width="40%"> ;;<br> ;;<br> ;;</td>
</tr>
<tr>
<td class="podpis" align="center" width="40%">osoba upoważniona do przyjmowania faktur VAT</td>
<td width="20%"> ;;</td>
<td class="podpis" align="center" width="40%">osoba upoważniona do wystawiania faktur VAT</td>
</tr>
</table>';
if (tep_not_null($_POST['uwagi'])) {
$html .= '
<table width="100%" style="margin-left: auto; margin-right: auto;" border="0">
<tr>
<td align="left" class="oryginal"><u>UWAGI</u></td>
</tr>
<tr>
<td align="left" class="mniejszytekst">' . $_POST['uwagi'] . '</td>
</tr>
</table>';
}
$html .= '</body></html>';
define('_MPDF_PATH', 'mpdf/');
include("mpdf/mpdf.php");
if ($_POST['typ_faktury'] == '1' || $_POST['typ_faktury'] == '3') {
function recursive_mkdir($path, $mode = 0777)
{
$old_mask = umask(0);
$dirs = explode('/', $path);
$count = count($dirs);
$path = '.';
for ($i = 0; $i < $count; ++$i) {
$path .= '/' . $dirs[$i];
if (!is_dir($path) && !mkdir($path, $mode)) {
return false;
}
}
umask($old_mask);
return true;
}
if ((POLISH_INVOICE_PDF_ARCHIVE != '') && (recursive_mkdir('administracja/' . POLISH_INVOICE_PDF_ARCHIVE, 0755))) {
if ($language == 'russian') {
$html = str_replace('Ä…', 'a', $html);
$html = str_replace('ć', 'c', $html);
$html = str_replace('Ä™', 'e', $html);
$html = str_replace('Å‚', 'l', $html);
$html = str_replace('Å„', 'n', $html);
$html = str_replace('ó', 'o', $html);
$html = str_replace('Å›', 's', $html);
$html = str_replace('ź', 'z', $html);
$html = str_replace('ż', 'z', $html);
$html = str_replace('Ä„', 'A', $html);
$html = str_replace('Äâ€', 'C', $html);
$html = str_replace('Ę', 'E', $html);
$html = str_replace('Ã…', 'L', $html);
$html = str_replace('Ã…Æ’', 'N', $html);
$html = str_replace('Ó', 'O', $html);
$html = str_replace('Ã…Å¡', 'S', $html);
$html = str_replace('Ź', 'Z', $html);
$html = str_replace('Å»', 'Z', $html);
$mpdf = new mPDF('win-1251', 'A4', '9', '', 5, 5, 5, 5, 5, 5);
} else {
$mpdf = new mPDF('iso-8859-2', 'A4', '9', '', 5, 5, 5, 5, 5, 5);
}
if (PDF_SHOW_WATERMARK == 'true') {
$mpdf->setUnvalidatedText(UPDF_ZNAK_NAZWA);
$mpdf->TopicIsUnvalidated = 1;
}
$mpdf->useOddEven = 1;
$mpdf->SetHTMLFooter('<div align="left" style="font-family: DejaVuSansCondensed, sans-serif, Tahoma, Arial;font-size: 6pt; color:#000000;">Wygenerowano w programie www.oscGold.com</div>');
$mpdf->AddPage();
$stylesheet = file_get_contents('mpdf/css/pdffaktura.css');
$mpdf->WriteHTML($stylesheet, 1);
if ($_POST['typ_faktury'] == '1') {
$htmls = str_replace('*!*ORYGINAÃ…', 'DUPLIKAT', $html);
} else {
$htmls = str_replace('*!*', '', $html);
}
$mpdf->WriteHTML($htmls, 2);
if ($_POST['typ_faktury'] == '1') {
$mpdf->Output('administracja/' . POLISH_INVOICE_PDF_ARCHIVE . 'faktura_zam_' . $oblicz_id . '.pdf', 'F');
}
if ($_POST['typ_faktury'] == '3') {
$mpdf->Output('administracja/' . POLISH_INVOICE_PDF_ARCHIVE . 'faktura_zam_' . $oblicz_id . '_proforma.pdf', 'F');
}
}
}
if ($language == 'russian') {
$html = str_replace('Ä…', 'a', $html);
$html = str_replace('ć', 'c', $html);
$html = str_replace('Ä™', 'e', $html);
$html = str_replace('Å‚', 'l', $html);
$html = str_replace('Å„', 'n', $html);
$html = str_replace('ó', 'o', $html);
$html = str_replace('Å›', 's', $html);
$html = str_replace('ź', 'z', $html);
$html = str_replace('ż', 'z', $html);
$html = str_replace('Ä„', 'A', $html);
$html = str_replace('Äâ€', 'C', $html);
$html = str_replace('Ę', 'E', $html);
$html = str_replace('Ã…', 'L', $html);
$html = str_replace('Ã…Æ’', 'N', $html);
$html = str_replace('Ó', 'O', $html);
$html = str_replace('Ã…Å¡', 'S', $html);
$html = str_replace('Ź', 'Z', $html);
$html = str_replace('Å»', 'Z', $html);
$mpdf = new mPDF('win-1251', 'A4', '9', '', 5, 5, 5, 5, 5, 5);
} else {
$mpdf = new mPDF('iso-8859-2', 'A4', '9', '', 5, 5, 5, 5, 5, 5);
}
if (PDF_SHOW_WATERMARK == 'true') {
$mpdf->setUnvalidatedText(UPDF_ZNAK_NAZWA);
$mpdf->TopicIsUnvalidated = 1;
}
$mpdf->SetHTMLFooter('<div align="left" style="font-family: DejaVuSansCondensed, sans-serif, Tahoma, Arial;font-size: 6pt; color:#000000;">Wygenerowano w programie www.oscGold.com</div>');
$mpdf->AddPage();
$stylesheet = file_get_contents('mpdf/css/pdffaktura.css');
$mpdf->WriteHTML($stylesheet, 1);
if ($_POST['typ_faktury'] == '1') {
$htmls = str_replace('*!*', '', $html) . '<pagebreak>' . str_replace('*!*ORYGINAÃ…', 'KOPIA', $html);
} else {
$htmls = str_replace('*!*', '', $html);
}
$mpdf->WriteHTML($htmls, 2);
$mpdf->Output('', 'I');
exit;
require(DIR_WS_INCLUDES . 'application_bottom.php'); |
ZeroBytes |
|
_________________ Decoded by ASD @ Lost-codes.co.uk |
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|