Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <? $GLOBALS['GLBL'] = Array(
- base64_decode('c3RyX3Jlc' . 'G' . 'xhY2U='),
- base64_decode('ZmlsZV9nZXR' . 'f' . 'Y' . '29udGVudH' . 'M='),
- base64_decode('a' . 'HRtbHNwZWNp' . 'YWxj' . 'aGF' . 'yc19k' . 'Z' . 'WNvZGU='),
- base64_decode('' . 'c' . '3Ry' . 'X' . '3J' . 'lcGxhY' . '2U='),
- base64_decode('c3RyX' . '3J' . 'lcGxhY2U='),
- base64_decode('ZmlsZV9' . 'nZXRfY29udGV' . 'udHM='),
- base64_decode('' . 'c3R' . 'yX3Jl' . 'cGx' . 'h' . 'Y' . '2U='),
- base64_decode('c3RyX' . '3JlcGxhY2U' . '='),
- base64_decode('c3R' . 'yX3' . 'Jlc' . 'GxhY2U' . '='),
- base64_decode('' . 'Y291bnQ='),
- base64_decode('' . 'c3Ry' . 'X' . '3J' . 'lcGxhY2' . 'U='),
- base64_decode('ZGF' . '0ZQ=='),
- base64_decode('' . 'dGltZQ=='),
- base64_decode('' . 'Y291bnQ='),
- base64_decode('' . 'c3Ry' . 'X3JlcGxhY2U='),
- base64_decode('aHRtbHNwZWN' . 'pYW' . 'xjaGFyc' . '1' . '9kZW' . 'NvZGU='),
- base64_decode('ZXhwbG9' . 'kZ' . 'Q=' . '='),
- base64_decode('c' . '3R' . 'yX3JlcG' . 'xhY2U' . '='),
- base64_decode('' . 'dHJpbQ=='),
- base64_decode('ZXhwbG9k' . 'ZQ' . '=='),
- base64_decode('Y291' . 'bnQ='),
- base64_decode('' . 'aGVh' . 'ZG' . 'Vy'),
- base64_decode('aGVh' . 'Z' . 'GVy'),
- base64_decode('' . 'aGVhZ' . 'GVy'),
- base64_decode('aG' . 'VhZG' . 'V' . 'y'),
- base64_decode('c' . '3' . 'Ryd' . 'G90a' . 'W' . '1l'),
- base64_decode('' . 'ZGF0Z' . 'Q=='),
- base64_decode('ZXhwbG9kZQ=='),
- base64_decode('Y' . '291b' . 'nQ='),
- base64_decode('Y2' . '91' . 'bnQ='),
- base64_decode('' . 'ZmlsZV9' . 'nZ' . 'XRf' . 'Y29udGVu' . 'dHM='),
- base64_decode('c3R' . 'yX3J' . 'lc' . 'GxhY2' . 'U='),
- base64_decode('c3' . 'R' . 'yX3JlcGxhY' . '2' . 'U='),
- base64_decode('' . 'c' . '3RyX3JlcGxhY' . '2U='),
- base64_decode('c3RyX3' . 'JlcG' . 'xhY' . '2U='),
- base64_decode('c3' . 'RyX3Jl' . 'cG' . 'xhY2U' . '='),
- base64_decode('c3Ry' . 'X3JlcGxhY' . '2U='),
- base64_decode('ZmlsZV9nZXRfY' . '29u' . 'dGV' . 'udHM='),
- base64_decode('c3R' . 'yX3JlcGxhY' . '2' . 'U' . '='),
- base64_decode('Z' . 'Xhw' . 'bG9k' . 'Z' . 'Q=='),
- base64_decode('' . 'c3RyX' . '3JlcGxhY2U='),
- base64_decode('c' . '3Ry' . 'X' . '3JlcG' . 'xhY' . '2U='),
- base64_decode('c3RyX' . '3' . 'J' . 'lc' . 'Gx' . 'hY' . '2U='),
- base64_decode('c3RyX3J' . 'l' . 'cGxh' . 'Y2U='),
- base64_decode('c3R' . 'yX3JlcG' . 'xhY' . '2' . 'U='),
- base64_decode('c3' . 'RyX3' . 'JlcGxhY2' . 'U='),
- base64_decode('c3' . 'Ry' . 'X3JlcGxhY2U='),
- base64_decode('c3' . 'RyX3J' . 'l' . 'cGx' . 'hY2U='),
- base64_decode('c3' . 'RyX3JlcGxhY2U='),
- base64_decode('Y' . '2' . '91bn' . 'Q='),
- base64_decode('bXlzcW' . 'xfcXVlcnk' . '='),
- base64_decode('Z2' . 'V0aW1' . 'hZ2Vz' . 'aXpl'),
- base64_decode('aW1h' . 'Z2VjcmVh' . 'dGVmcm' . '9tcG5n'),
- base64_decode('aW' . '1hZ2Vj' . 'cmVhdGV' . 'm' . 'cm9' . 'tZ' . '2lm'),
- base64_decode('' . 'aW1hZ2Vj' . 'cmVhdGVmcm9' . 'tan' . 'BlZw=' . '='),
- base64_decode('c2l6ZW9' . 'm'),
- base64_decode('aW1hZ2Vj' . 'cmV' . 'hdGV0c' . 'nV' . 'lY29sb3I='),
- base64_decode('aW1hZ2VjcmVhdGV0cnVl' . 'Y29sb3I='),
- base64_decode('aW1' . 'hZ' . '2' . 'Vj' . 'c' . 'mVhdGV0cn' . 'Vl' . 'Y' . '29' . 'sb3I='),
- base64_decode('aW1hZ2' . 'Vjb2x' . 'vcmFsbG' . '9jYX' . 'Rl'),
- base64_decode('aW1h' . 'Z2Vjb2xvcm' . 'FsbG9' . 'jYXR' . 'l'),
- base64_decode('' . 'aW1hZ2Vjb2xvcmFs' . 'bG9jYXRl'),
- base64_decode('aW' . '1' . 'hZ2Vma' . 'Wxs'),
- base64_decode('a' . 'W1hZ2Vma' . 'Wxs'),
- base64_decode('' . 'aW' . '1' . 'hZ2VmaWxs'),
- base64_decode('a' . 'W' . '1hZ' . '2V' . 'hbH' . 'BoYWJs' . 'ZW5' . 'kaW5' . 'n'),
- base64_decode('a' . 'W1h' . 'Z2' . 'Vhb' . 'HBoYWJsZ' . 'W5ka' . 'W' . '5n'),
- base64_decode('' . 'aW1hZ2VhbHBoYWJs' . 'ZW5kaW5' . 'n'),
- base64_decode('aW' . '1hZ2Vz' . 'YXZl' . 'Y' . 'WxwaGE='),
- base64_decode('a' . 'W1hZ2' . 'VzYXZlY' . 'WxwaGE' . '='),
- base64_decode('aW1hZ2VzY' . 'XZlYWxwaGE='),
- base64_decode('aW1' . 'hZ2Vjb3B5' . 'cmVzaXplZ' . 'A=' . '='),
- base64_decode('' . 'a' . 'W1hZ2V' . 'j' . 'b3B5cm' . 'VzaXplZA=='),
- base64_decode('aW1h' . 'Z2Vjb3B5' . 'cmVzaXplZA=='),
- base64_decode('aW1hZ2Vyb3RhdGU='),
- base64_decode('aW' . '1hZ2' . 'Vyb3RhdG' . 'U='),
- base64_decode('' . 'a' . 'W1hZ' . '2Vyb3RhdGU='),
- base64_decode('d' . 'GltZQ' . '=='),
- base64_decode('ZGF0ZQ=' . '='),
- base64_decode('ZGF0ZQ' . '=='),
- base64_decode('ZGF' . '0ZQ=' . '='),
- base64_decode('ZGF0ZQ=='),
- base64_decode('ZGF0Z' . 'Q' . '=='),
- base64_decode('aW1' . 'h' . 'Z2' . 'VqcGVn'),
- base64_decode('' . 'a' . 'W' . '1hZ2VqcGV' . 'n'),
- base64_decode('' . 'a' . 'W1' . 'hZ2VqcGVn'),
- base64_decode('Y29weQ=='),
- base64_decode('aW1hZ' . '2' . 'Vwbmc='),
- base64_decode('aW1hZ2Vwbmc='),
- base64_decode('aW1hZ2Vqc' . 'G' . 'Vn'),
- base64_decode('' . 'aW1h' . 'Z2Vq' . 'cG' . 'Vn'),
- base64_decode('a' . 'W1hZ2V' . 'ze' . 'A=' . '='),
- base64_decode('' . 'aW' . '1hZ' . '2VzeQ=='),
- base64_decode('Z' . 'mlsZX' . 'NpemU' . '='),
- base64_decode('aW1hZ2Vq' . 'cGVn'),
- base64_decode('aW1h' . 'Z2Vqc' . 'GVn'),
- base64_decode('aW1' . 'hZ' . '2Vwbm' . 'c='),
- base64_decode('' . 'aW1h' . 'Z2V' . 'qc' . 'GVn'),
- base64_decode('' . 'ZGF0ZQ=='),
- base64_decode('c3ByaW50Z' . 'g' . '=='),
- base64_decode('c' . 'mFuZA=='),
- base64_decode('cm' . 'Fu' . 'Z' . 'A' . '=='),
- base64_decode('c2V0' . 'Y29v' . 'a2ll'),
- base64_decode('d' . 'GltZQ=='),
- base64_decode('c3Vic3Ry'),
- base64_decode('c3' . 'Vic3R' . 'y'),
- base64_decode('c3RybGVu'),
- base64_decode('' . 'aXN' . 'fbnVtZXJpY' . 'w=' . '='),
- base64_decode('Z' . 'G' . 'F0' . 'ZQ=='),
- base64_decode('c3RydG' . '9' . '0' . 'aW1l'),
- base64_decode('ZXhw' . 'bG9k' . 'ZQ=='),
- base64_decode('' . 'dW5saW' . '5r'),
- base64_decode('dW5sa' . 'W5r'),
- base64_decode('dW5saW5r'),
- base64_decode('' . 'Z' . 'GVsZXRl'),
- base64_decode('aG' . 'VhZGV' . 'y'),
- base64_decode('Y' . '291bnQ='),
- base64_decode('' . 'Zm' . 'lsZ' . 'V9n' . 'Z' . 'XRfY29udGVudHM='),
- base64_decode('c3R' . 'yX3' . 'Jlc' . 'Gx' . 'hY2U='),
- base64_decode('c3' . 'RyX3JlcGxhY2U='),
- base64_decode('ZXhwbG9kZ' . 'Q' . '=='),
- base64_decode('c3V' . 'ic3' . 'Ry'),
- base64_decode('c3R' . 'yX3JlcGxh' . 'Y' . '2' . 'U='),
- base64_decode('' . 'c3Ry' . 'dG9' . '0' . 'aW1' . 'l'),
- base64_decode('c3RyX3Jl' . 'cG' . 'xhY2U='),
- base64_decode('' . 'c3RyX3JlcGxhY2U='),
- base64_decode('Y' . '291bnQ='),
- base64_decode('c3RyX3JlcG' . 'xhY2' . 'U='),
- base64_decode('Zmls' . 'ZV9nZXRf' . 'Y29udGVudHM='),
- base64_decode('c' . '3' . 'R' . 'y' . 'X3JlcG' . 'xhY2' . 'U='),
- base64_decode('c3RyX3Jlc' . 'Gxh' . 'Y' . '2U='),
- base64_decode('aXNfbnVtZXJp' . 'Yw=='),
- base64_decode('' . 'c3RyX' . '3JlcG' . 'x' . 'hY' . '2U='),
- base64_decode('' . 'c' . '3RyX3JlcGxh' . 'Y2U='),
- base64_decode('a' . 'X' . 'N' . 'f' . 'YXJyYXk='),
- base64_decode('' . 'c' . '3Ry' . 'X' . '3J' . 'l' . 'cG' . 'xhY2U='),
- base64_decode('c3Vic3' . 'Ry'),
- base64_decode('' . 'c3R' . 'y' . 'X3JlcGxhY' . '2U='),
- base64_decode('ZXhw' . 'bG9kZQ=='),
- base64_decode('' . 'c3' . 'RycG9' . 'z'),
- base64_decode('c3RycG9z'),
- base64_decode('ZGF0' . 'ZQ=='),
- base64_decode('' . 'c3Ryd' . 'G90aW1l'),
- base64_decode('Z' . '2V0' . 'aW1hZ2Vza' . 'X' . 'pl'),
- base64_decode('bXl' . 'z' . 'c' . 'W' . 'xfcXV' . 'lcnk='),
- base64_decode('dGltZQ=='),
- base64_decode('c2V0Y29va2ll'),
- base64_decode('dGltZQ=='),
- base64_decode('cG' . 'F' . 'yc2VfdXJs'),
- base64_decode('' . 'Y2' . '91b' . 'nQ='),
- base64_decode('aXA' . 'ybG9uZ' . 'w=' . '='),
- base64_decode('ZG' . 'F0Z' . 'Q=='),
- base64_decode('aGVhZ' . 'GVy'),
- base64_decode('c' . 'mVhZ' . 'GZpb' . 'GU='),
- base64_decode('aGVhZGVy'),
- base64_decode('cmVhZGZpbGU='),
- base64_decode('aW1hZ2Vjc' . 'mV' . 'h' . 'dGVm' . 'cm9' . 't' . 'cG5n'),
- base64_decode('aW1hZ' . '2V0dG' . 'Z' . '0' . 'ZXh0'),
- base64_decode('aW' . '1hZ2V' . 'jb3B5'),
- base64_decode('aW1hZ2V' . 'zeQ=='),
- base64_decode('aW1hZ2' . 'VzeA' . '=='),
- base64_decode('ZmlsZV9' . 'nZ' . 'X' . 'RfY29' . 'udGVudHM='),
- base64_decode('c3RyX' . '3JlcGx' . 'h' . 'Y2U='),
- base64_decode('c' . '3' . 'RyX3JlcGxhY2U='),
- base64_decode('a' . 'G' . 'Vh' . 'ZGVy'),
- base64_decode('Y' . '291bn' . 'Q='),
- base64_decode('ZmlsZV9n' . 'ZX' . 'R' . 'fY29udGVudH' . 'M='),
- base64_decode('' . 'ZXhwbG9kZQ' . '=' . '='),
- base64_decode('' . 'c3Vic3Ry'),
- base64_decode('' . 'c3R' . 'yX3' . 'JlcGx' . 'hY2U='),
- base64_decode('c3' . 'RydG90aW1l'),
- base64_decode('c3R' . 'yX3' . 'JlcGxhY2U='),
- base64_decode('c3RyX3Jlc' . 'Gx' . 'h' . 'Y2U='),
- base64_decode('c3R' . 'y' . 'X3JlcGxh' . 'Y2U='),
- base64_decode('Y291b' . 'n' . 'Q='),
- base64_decode('ZmlsZV9nZXRfY' . '29udGV' . 'ud' . 'HM='),
- base64_decode('c3RyX' . '3Jl' . 'cGxhY2U='),
- base64_decode('aGVhZG' . 'Vy'),
- base64_decode('bXRf' . 'cmFu' . 'ZA' . '=='),
- base64_decode('Y' . '2' . 'hy'),
- base64_decode('b' . 'XRfcmFuZA=='),
- base64_decode('' . 'Y2hy'),
- base64_decode('bXRf' . 'cmFuZA=='),
- base64_decode('Y2hy'),
- base64_decode('bXRfcmFuZA=='),
- base64_decode('' . 'b3Blbm' . 'Rpc' . 'g=='),
- base64_decode('' . 'Y2xvc' . '2Vk' . 'aXI='),
- base64_decode('' . 'b' . 'WtkaXI='),
- base64_decode('aHRtbHNwZ' . 'W' . 'NpY' . 'Wxja' . 'GFy' . 'c' . 'w' . '=='),
- base64_decode('c' . '3RyaXBzbGFzaGV' . 'z'),
- base64_decode('' . 'a' . 'HRtbHNw' . 'ZWNpY' . 'WxjaGFycw=='),
- base64_decode('c3RyaXBzbGFzaGV' . 'z'),
- base64_decode('c3RyX3JlcGxhY2U='),
- base64_decode('' . 'c3' . 'Ry' . 'aXBfdGFncw=='),
- base64_decode('c3Ry' . 'aXBzbGFzaGVz'),
- base64_decode('c' . '3Ry' . 'X3JlcGxhY2' . 'U='),
- base64_decode('c3RyX3JlcGxhY2U='),
- base64_decode('cHJlZ1' . '9yZXBsYWN' . 'l'),
- base64_decode('dHJp' . 'bQ=='),
- base64_decode('cH' . 'JlZ1' . '9' . 'yZ' . 'XBsYW' . 'Nl'),
- base64_decode('c3Ryb' . 'GVu'),
- base64_decode('c3ByaW5' . '0Zg=='),
- base64_decode('c' . '3B' . 'ya' . 'W50' . 'Zg=='),
- base64_decode('ZGF0ZQ=='),
- base64_decode('c3Ryd' . 'G90aW1l'),
- base64_decode('' . 'ZGF' . '0ZQ' . '=' . '='),
- base64_decode('dGltZQ=='),
- base64_decode('ZGF0ZQ' . '=='),
- base64_decode('c3RydG' . '90' . 'aW1l'),
- base64_decode('' . 'Z' . 'GF0ZQ=='),
- base64_decode('' . 'c3RydG90aW1' . 'l'),
- base64_decode('ZGF0ZQ=='),
- base64_decode('' . 'c' . '3R' . 'ydG90aW1l'),
- base64_decode('' . 'ZGF0ZQ=' . '='),
- base64_decode('c3' . 'RydG' . '9' . '0a' . 'W1' . 'l'),
- base64_decode('ZG' . 'F0' . 'ZQ=' . '='),
- base64_decode('c3' . 'RydG' . '9' . '0' . 'aW1l'),
- base64_decode('ZGF0' . 'ZQ=='),
- base64_decode('c3' . 'R' . 'ydG' . '90a' . 'W' . '1l'),
- base64_decode('' . 'ZGF0ZQ' . '=='),
- base64_decode('c3R' . 'yd' . 'G90aW1l')
- );
- ?>
- <?php
- $file_cont = <<<'FILE'
- function content()
- {
- $content = $this->create_content();
- $content = $GLOBALS['GLBL'][0](FUNGL(0), $content, $GLOBALS['GLBL'][1](PATH . FUNGL(1)));
- $assoc = $this->select_assoc(FUNGL(2), FUNGL(3), FUNGL(4), FUNGL(5), FUNGL(6), round(0));
- foreach ($assoc as $k => $v) {
- if ($k != FUNGL(7))
- $$k = $v;
- }
- $assoc = $this->select_assoc(FUNGL(8), FUNGL(9), FUNGL(10), FUNGL(11), FUNGL(12), round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2));
- foreach ($assoc as $ass) {
- $counters .= $GLOBALS['GLBL'][2]($ass[FUNGL(13)], ENT_QUOTES);
- }
- $content = $GLOBALS['GLBL'][3](FUNGL(14), $GLOBALS['GLBL'][4](FUNGL(15), $counters, $GLOBALS['GLBL'][5](PATH . FUNGL(16))), $content);
- $assoc = $this->select_assoc(FUNGL(17), FUNGL(18), FUNGL(19), FUNGL(20), FUNGL(21), round(0 + 0.5 + 0.5));
- foreach ($assoc as $ass) {
- $menu .= FUNGL(22) . $ass[FUNGL(23)] . FUNGL(24) . $ass[FUNGL(25)] . FUNGL(26);
- }
- include_once(PATH . FUNGL(27));
- $content = $GLOBALS['GLBL'][6](FUNGL(28), $menu, $content);
- $content = $GLOBALS['GLBL'][7](FUNGL(29), $logo, $content);
- $content = $GLOBALS['GLBL'][8](FUNGL(30), $copirights, $content);
- if ($_REQUEST[FUNGL(31)]) {
- $page = $_REQUEST[FUNGL(32)];
- if ($page == FUNGL(33)) {
- $title = FUNGL(34) . $title;
- $description = FUNGL(35) . $description;
- $keywords = FUNGL(36) . $keywords;
- } elseif ($page == FUNGL(37)) {
- $title = FUNGL(38) . $title;
- $description = FUNGL(39) . $description;
- $keywords = FUNGL(40) . $keywords;
- }
- }
- $assoc = $this->$GLOBALS['GLBL'][9](FUNGL(41), FUNGL(42));
- $content = $GLOBALS['GLBL'][10](FUNGL(43), $assoc, $content);
- $date = $GLOBALS['GLBL'][11](FUNGL(44), $GLOBALS['GLBL'][12]() - round(0 + 28200 + 28200 + 28200));
- $assoc = $this->$GLOBALS['GLBL'][13](FUNGL(45), "date>='$date'");
- $content = $GLOBALS['GLBL'][14](FUNGL(46), $assoc, $content);
- return $content;
- }
- function create_content()
- {
- $page = $_REQUEST[FUNGL(47)];
- switch ($page) {
- case FUNGL(48):
- $content = $this->first_page();
- break;
- case FUNGL(49):
- $content = $this->my_images();
- break;
- case FUNGL(50):
- $content = $this->show_file();
- break;
- case FUNGL(51):
- $content = $this->images();
- break;
- case FUNGL(52):
- $content = $this->user_recovery();
- break;
- default:
- $content = $this->pages($page);
- break;
- }
- return $content;
- }
- function pages($page)
- {
- $assoc = $this->select_assoc(FUNGL(53), FUNGL(54), "url='$page'", FUNGL(55), FUNGL(56), round(0));
- if ($assoc[FUNGL(57)])
- return FUNGL(58) . $assoc[FUNGL(59)] . FUNGL(60) . $GLOBALS['GLBL'][15]($assoc[FUNGL(61)], ENT_QUOTES) . FUNGL(62);
- else
- return FUNGL(63);
- exit;
- }
- function first_page()
- {
- $send = $_REQUEST[FUNGL(64)];
- $names = FUNGL(65);
- if (!$send) {
- $content = $this->fp();
- } elseif ($send == round(0 + 0.25 + 0.25 + 0.25 + 0.25) or $send == round(0 + 1 + 1)) {
- if ($send == round(0 + 1)) {
- for ($i = round(0 + 0.5 + 0.5); $i <= round(0 + 10); $i++) {
- if ($_FILES[FUNGL(66) . $i][FUNGL(67)]) {
- $names = $this->img_create($_FILES[FUNGL(68) . $i][FUNGL(69)], $_FILES[FUNGL(70) . $i][FUNGL(71)], $names, round(0));
- }
- }
- } elseif ($send == round(0 + 0.4 + 0.4 + 0.4 + 0.4 + 0.4)) {
- $files = $_REQUEST[FUNGL(72)];
- if ($files) {
- $files = $GLOBALS['GLBL'][16](FUNGL(73), $files);
- $n = round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333);
- foreach ($files as $file) {
- $file = $GLOBALS['GLBL'][17](FUNGL(74), FUNGL(75), $file);
- $file = $GLOBALS['GLBL'][18]($file);
- if ($n <= round(0 + 2 + 2 + 2 + 2 + 2)) {
- $file_name = $GLOBALS['GLBL'][19](FUNGL(76), $file);
- $file_name = $file_name[$GLOBALS['GLBL'][20]($file_name) - round(0 + 0.25 + 0.25 + 0.25 + 0.25)];
- $names = $this->img_create($file, $file_name, $names, round(0 + 0.5 + 0.5));
- $n++;
- } else {
- break;
- }
- }
- } else {
- $GLOBALS['GLBL'][21](FUNGL(77));
- exit;
- }
- } else {
- $GLOBALS['GLBL'][22](FUNGL(78));
- exit;
- }
- $this->update_images_count();
- if ($names)
- $GLOBALS['GLBL'][23](FUNGL(79));
- else
- $GLOBALS['GLBL'][24](FUNGL(80));
- exit;
- } elseif ($send == FUNGL(81)) {
- $content = $this->fp() . FUNGL(82);
- $uid = $_COOKIE[FUNGL(83)];
- if ($uid) {
- $assoc = $this->select_assoc(FUNGL(84), FUNGL(85), "uid='$uid'", FUNGL(86), FUNGL(87), round(0));
- $date = $GLOBALS['GLBL'][25]($assoc[FUNGL(88)]) - round(0 + 5);
- $assoc = $this->select_assoc(FUNGL(89), FUNGL(90), "uid='$uid' and date>='" . $GLOBALS['GLBL'][26](FUNGL(91), $date) . FUNGL(92), FUNGL(93), FUNGL(94), round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333));
- $v1 = array();
- $v2 = array();
- $v3 = array();
- $v4 = array();
- $v5 = array();
- $v6 = array();
- $img = array();
- $alt = array();
- $url = FUNGL(95) . $_SERVER[FUNGL(96)];
- $url_folder = $url . FUNGL(97);
- foreach ($assoc as $ass) {
- $filename = $ass[FUNGL(98)];
- $ext = $GLOBALS['GLBL'][27](FUNGL(99), $filename);
- $ext = FUNGL(100) . $ext[$GLOBALS['GLBL'][28]($ext) - round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333)];
- $filename = $this->encode_filename($filename, $ass[FUNGL(101)]);
- $url_file = $url_folder . $filename . $ext;
- $img[] = $filename . $ext;
- $alt[] = $ass[FUNGL(102)];
- $v1[] = $url_folder . $filename . $ext;
- $v2[] = FUNGL(103) . $url . FUNGL(104) . $url_file . FUNGL(105);
- $sdf = ($ext == FUNGL(106) ? FUNGL(107) : $ext);
- $v3[] = FUNGL(108) . $url . FUNGL(109) . $filename . $ext . FUNGL(110) . $url_folder . $filename . FUNGL(111) . $sdf . FUNGL(112);
- $v4[] = FUNGL(113) . $url_file . FUNGL(114);
- $v5[] = FUNGL(115) . $url . FUNGL(116) . $filename . $ext . FUNGL(117) . $url_folder . $filename . FUNGL(118) . $sdf . FUNGL(119) . $ass[FUNGL(120)] . FUNGL(121) . $ass[FUNGL(122)] . FUNGL(123);
- $v6[] = FUNGL(124) . $url_folder . $filename . FUNGL(125) . $sdf . FUNGL(126);
- }
- if ($GLOBALS['GLBL'][29]($assoc) > round(0 + 0.25 + 0.25 + 0.25 + 0.25)) {
- $vv = FUNGL(127);
- $content .= $GLOBALS['GLBL'][30](PATH . FUNGL(128));
- foreach ($v1 as $v) {
- $vv .= $v . FUNGL(129);
- }
- $content = $GLOBALS['GLBL'][31](FUNGL(130), $vv, $content);
- $vv = FUNGL(131);
- foreach ($v2 as $v) {
- $vv .= $v . FUNGL(132);
- }
- $content = $GLOBALS['GLBL'][32](FUNGL(133), $vv, $content);
- $vv = FUNGL(134);
- foreach ($v3 as $v) {
- $vv .= $v . FUNGL(135);
- }
- $content = $GLOBALS['GLBL'][33](FUNGL(136), $vv, $content);
- $vv = FUNGL(137);
- foreach ($v4 as $v) {
- $vv .= $v . FUNGL(138);
- }
- $content = $GLOBALS['GLBL'][34](FUNGL(139), $vv, $content);
- $vv = FUNGL(140);
- foreach ($v5 as $v) {
- $vv .= $v . FUNGL(141);
- }
- $content = $GLOBALS['GLBL'][35](FUNGL(142), $vv, $content);
- $vv = FUNGL(143);
- foreach ($v6 as $v) {
- $vv .= $v . FUNGL(144);
- }
- $content = $GLOBALS['GLBL'][36](FUNGL(145), $vv, $content);
- }
- $num = round(0);
- foreach ($v1 as $k => $v) {
- $num++;
- $content .= $GLOBALS['GLBL'][37](PATH . FUNGL(146));
- $content = $GLOBALS['GLBL'][38](FUNGL(147), $num, $content);
- $ss = $GLOBALS['GLBL'][39](FUNGL(148), $img[$num - round(0 + 0.5 + 0.5)]);
- $content = $GLOBALS['GLBL'][40](FUNGL(149), $img[$num - round(0 + 0.5 + 0.5)], $content);
- if ($ss[round(0 + 1)] == FUNGL(150))
- $ss[round(0 + 0.25 + 0.25 + 0.25 + 0.25)] = FUNGL(151);
- $ss = $ss[round(0)] . FUNGL(152) . $ss[round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333)];
- $content = $GLOBALS['GLBL'][41](FUNGL(153), $ss, $content);
- $content = $GLOBALS['GLBL'][42](FUNGL(154), $alt[$num - round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2)], $content);
- $content = $GLOBALS['GLBL'][43](FUNGL(155), $v1[$num - round(0 + 0.5 + 0.5)], $content);
- $content = $GLOBALS['GLBL'][44](FUNGL(156), $v2[$num - round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2)], $content);
- $content = $GLOBALS['GLBL'][45](FUNGL(157), $v3[$num - round(0 + 1)], $content);
- $content = $GLOBALS['GLBL'][46](FUNGL(158), $v4[$num - round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333)], $content);
- $content = $GLOBALS['GLBL'][47](FUNGL(159), $v5[$num - round(0 + 0.25 + 0.25 + 0.25 + 0.25)], $content);
- $content = $GLOBALS['GLBL'][48](FUNGL(160), $v6[$num - round(0 + 1)], $content);
- }
- }
- }
- return $content;
- }
- function update_images_count()
- {
- if ($this->user_in_account()) {
- $cnt = $this->$GLOBALS['GLBL'][49](FUNGL(161), FUNGL(162) . $_SESSION[FUNGL(163)]);
- $query = FUNGL(164) . DB_PREFIX . FUNGL(165) . $cnt . FUNGL(166) . $_SESSION[FUNGL(167)];
- @$GLOBALS['GLBL'][50]($query);
- }
- }
- function img_create($file, $file_name, $names, $type)
- {
- $folder_images = PATH . FUNGL(168);
- $type_alt = $this->input_form($_REQUEST[FUNGL(169)], round(0 + 1), FUNGL(170));
- $text_alt = $this->input_form($_REQUEST[FUNGL(171)], round(0 + 0.25 + 0.25 + 0.25 + 0.25), FUNGL(172));
- $preview_x = $this->input_form($_REQUEST[FUNGL(173)], round(0 + 3 + 3), round(0 + 34 + 34 + 34 + 34 + 34));
- $new_size = (isset($_REQUEST[FUNGL(174)]) ? round(0 + 1) : FUNGL(175));
- $new_size_size_x = $this->input_form($_REQUEST[FUNGL(176)], round(0 + 2 + 2 + 2), round(0 + 250 + 250));
- $new_rotate = (isset($_REQUEST[FUNGL(177)]) ? round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333) : FUNGL(178));
- $new_rotate_rotate = $this->input_form($_REQUEST[FUNGL(179)], round(0 + 1.2 + 1.2 + 1.2 + 1.2 + 1.2), round(0));
- $optimization = (isset($_REQUEST[FUNGL(180)]) ? round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333) : FUNGL(181));
- $optimization_value = $this->input_form($_REQUEST[FUNGL(182)], round(0 + 6), round(0 + 75));
- $category = $this->input_form($_REQUEST[FUNGL(183)], round(0 + 1.2 + 1.2 + 1.2 + 1.2 + 1.2), round(0 + 0.5 + 0.5));
- $uid = $this->uid();
- $size = @$GLOBALS['GLBL'][51]($file);
- if ($size) {
- switch ($size[FUNGL(184)]) {
- case FUNGL(185):
- $rassh = FUNGL(186);
- break;
- case FUNGL(187):
- $rassh = FUNGL(188);
- break;
- case FUNGL(189):
- $rassh = FUNGL(190);
- break;
- }
- } else {
- return $names;
- exit;
- }
- if ($rassh == FUNGL(191))
- $im_old = $GLOBALS['GLBL'][52]($file);
- if ($rassh == FUNGL(192))
- $im_old = $GLOBALS['GLBL'][53]($file);
- if ($rassh == FUNGL(193))
- $im_old = $GLOBALS['GLBL'][54]($file);
- if ($rassh != FUNGL(194) and $rassh != FUNGL(195) and $rassh != FUNGL(196) and $rassh != FUNGL(197)) {
- return $names;
- exit;
- }
- if ($GLOBALS['GLBL'][55]($file) >= round(0 + 1250000 + 1250000 + 1250000 + 1250000) or ($size[round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2)] * $size[round(0)]) >= round(0 + 6250000 + 6250000 + 6250000 + 6250000)) {
- return $names;
- exit;
- }
- $galery_x = round(0 + 37.5 + 37.5 + 37.5 + 37.5);
- if ($size[round(0)] < $preview_x) {
- $preview_x = $galery_x = $size[round(0)];
- }
- if ($size[round(0)] != $size[round(0 + 0.5 + 0.5)]) {
- $galery_y = (int) ($galery_x * $size[round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333)] / $size[round(0)]);
- $preview_y = (int) ($preview_x * $size[round(0 + 1)] / $size[round(0)]);
- $new_size_size_y = (int) ($new_size_size_x * $size[round(0 + 0.5 + 0.5)] / $size[round(0)]);
- } else {
- $galery_y = $galery_x;
- $preview_y = $preview_x;
- $new_size_size_y = $new_size_size_x;
- }
- if (!$new_size) {
- $new_size_size_x = $size[round(0)];
- $new_size_size_y = $size[round(0 + 0.5 + 0.5)];
- }
- $im_new = $GLOBALS['GLBL'][56]($new_size_size_x, $new_size_size_y);
- $im_preview = $GLOBALS['GLBL'][57]($preview_x, $preview_y);
- $im_galery = $GLOBALS['GLBL'][58]($galery_x, $galery_y);
- if ($rassh != FUNGL(198)) {
- $backgroundcolor1 = $GLOBALS['GLBL'][59]($im_new, round(0 + 255), round(0 + 63.75 + 63.75 + 63.75 + 63.75), round(0 + 127.5 + 127.5));
- $backgroundcolor2 = $GLOBALS['GLBL'][60]($im_preview, round(0 + 51 + 51 + 51 + 51 + 51), round(0 + 51 + 51 + 51 + 51 + 51), round(0 + 63.75 + 63.75 + 63.75 + 63.75));
- $backgroundcolor3 = $GLOBALS['GLBL'][61]($im_galery, round(0 + 127.5 + 127.5), round(0 + 63.75 + 63.75 + 63.75 + 63.75), round(0 + 255));
- $GLOBALS['GLBL'][62]($im_new, round(0), round(0), $backgroundcolor1);
- $GLOBALS['GLBL'][63]($im_preview, round(0), round(0), $backgroundcolor2);
- $GLOBALS['GLBL'][64]($im_galery, round(0), round(0), $backgroundcolor3);
- }
- if ($rassh == FUNGL(199)) {
- $GLOBALS['GLBL'][65]($im_new, false);
- $GLOBALS['GLBL'][66]($im_preview, false);
- $GLOBALS['GLBL'][67]($im_galery, false);
- $GLOBALS['GLBL'][68]($im_new, true);
- $GLOBALS['GLBL'][69]($im_preview, true);
- $GLOBALS['GLBL'][70]($im_galery, true);
- }
- if ($im_old) {
- $GLOBALS['GLBL'][71]($im_preview, $im_old, round(0), round(0), round(0), round(0), $preview_x, $preview_y, $size[round(0)], $size[round(0 + 0.5 + 0.5)]);
- $GLOBALS['GLBL'][72]($im_new, $im_old, round(0), round(0), round(0), round(0), $new_size_size_x, $new_size_size_y, $size[round(0)], $size[round(0 + 0.5 + 0.5)]);
- $GLOBALS['GLBL'][73]($im_galery, $im_old, round(0), round(0), round(0), round(0), $galery_x, $galery_y, $size[round(0)], $size[round(0 + 1)]);
- if ($new_rotate) {
- $im_preview = $GLOBALS['GLBL'][74]($im_preview, $new_rotate_rotate, round(0));
- $im_new = $GLOBALS['GLBL'][75]($im_new, $new_rotate_rotate, round(0));
- $im_galery = $GLOBALS['GLBL'][76]($im_galery, $new_rotate_rotate, round(0));
- }
- $name = FUNGL(200);
- $name = $this->random_code();
- $date = $GLOBALS['GLBL'][77]();
- if ($this->confirm_dir($folder_images . $GLOBALS['GLBL'][78](FUNGL(201), $date), false)) {
- $folder_images .= $GLOBALS['GLBL'][79](FUNGL(202), $date);
- } else {
- $folder_images .= $GLOBALS['GLBL'][80](FUNGL(203), $date);
- $this->confirm_dir($folder_images, true);
- $folder_images .= $GLOBALS['GLBL'][81](FUNGL(204), $date);
- $this->confirm_dir($folder_images, true);
- $folder_images .= $GLOBALS['GLBL'][82](FUNGL(205), $date);
- $this->confirm_dir($folder_images, true);
- }
- if (!$optimization) {
- if ($rassh == FUNGL(206) or $rassh == FUNGL(207)) {
- $GLOBALS['GLBL'][83]($im_galery, $folder_images . $name . FUNGL(208));
- $GLOBALS['GLBL'][84]($im_new, $folder_images . $name . FUNGL(209));
- $rassh = FUNGL(210);
- }
- if ($rassh == FUNGL(211)) {
- $GLOBALS['GLBL'][85]($im_galery, $folder_images . $name . FUNGL(212));
- $GLOBALS['GLBL'][86]($file, $folder_images . $name . FUNGL(213));
- }
- if ($rassh == FUNGL(214)) {
- $GLOBALS['GLBL'][87]($im_galery, $folder_images . $name . FUNGL(215));
- $GLOBALS['GLBL'][88]($im_new, $folder_images . $name . FUNGL(216));
- }
- } else {
- $GLOBALS['GLBL'][89]($im_galery, $folder_images . $name . FUNGL(217), $optimization_value);
- $GLOBALS['GLBL'][90]($im_new, $folder_images . $name . FUNGL(218), $optimization_value);
- $rassh = FUNGL(219);
- }
- if ($type_alt == FUNGL(220)) {
- $alt = $text_alt;
- $im_preview = $this->add_alt($im_preview, $alt);
- } elseif ($type_alt == FUNGL(221)) {
- $alt = $GLOBALS['GLBL'][91]($im_new) . FUNGL(222) . $GLOBALS['GLBL'][92]($im_new) . FUNGL(223) . (int) ($GLOBALS['GLBL'][93]($folder_images . $name . FUNGL(224) . $rassh) / round(0 + 1000)) . FUNGL(225);
- $im_preview = $this->add_alt($im_preview, $alt);
- } else
- $alt = FUNGL(226);
- if (!$optimization) {
- if ($rassh == FUNGL(227)) {
- $GLOBALS['GLBL'][94]($im_preview, $folder_images . $name . FUNGL(228));
- }
- if ($rassh == FUNGL(229)) {
- $GLOBALS['GLBL'][95]($im_preview, $folder_images . $name . FUNGL(230));
- }
- if ($rassh == FUNGL(231)) {
- $GLOBALS['GLBL'][96]($im_preview, $folder_images . $name . FUNGL(232));
- }
- } else {
- $GLOBALS['GLBL'][97]($im_preview, $folder_images . $name . FUNGL(233), $optimization_value);
- }
- $date = $GLOBALS['GLBL'][98](FUNGL(234), $date);
- $id_user = ($this->user_in_account() ? $_SESSION[FUNGL(235)] : round(0));
- $id_image = $this->insert(FUNGL(236), FUNGL(237), "$id_user|><|$uid|><|$name.$rassh|><|$date|><|$alt|><|$category");
- $name .= $GLOBALS['GLBL'][99](FUNGL(238), $id_image);
- if (!$names)
- $names = $name;
- else
- $names .= FUNGL(239) . $name;
- }
- return $names;
- }
- function uid()
- {
- $uid = $_COOKIE[FUNGL(240)];
- if (!$uid) {
- for ($i = round(0 + 1); $i <= round(0 + 32); $i++) {
- if (!$uid)
- $uid = $GLOBALS['GLBL'][100](round(0 + 0.25 + 0.25 + 0.25 + 0.25), round(0 + 4.5 + 4.5));
- else
- $uid .= $GLOBALS['GLBL'][101](round(0), round(0 + 4.5 + 4.5));
- }
- }
- $GLOBALS['GLBL'][102](FUNGL(241), $uid, $GLOBALS['GLBL'][103]() + round(0 + 31104000));
- return $uid;
- }
- function uid2()
- {
- $uid = $_COOKIE[FUNGL(242)];
- if (!$uid) {
- $this->uid();
- }
- }
- function my_images()
- {
- $uid = $_COOKIE[FUNGL(243)];
- $action = $_REQUEST[FUNGL(244)];
- $p = $_REQUEST[FUNGL(245)];
- if (!$p)
- $p = round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2);
- $l = ($p - round(0 + 0.25 + 0.25 + 0.25 + 0.25)) * IN_PAGE;
- $k = IN_PAGE;
- if ($this->user_in_account()) {
- $user_sql = FUNGL(246) . $_SESSION[FUNGL(247)];
- } else {
- $user_sql = "uid='$uid'";
- }
- if ($uid) {
- if ($action == FUNGL(248)) {
- foreach ($_REQUEST as $k => $v) {
- if ($GLOBALS['GLBL'][104]($k, round(0), round(0 + 0.4 + 0.4 + 0.4 + 0.4 + 0.4)) == FUNGL(249)) {
- $k = $GLOBALS['GLBL'][105]($k, round(0 + 0.66666666666667 + 0.66666666666667 + 0.66666666666667), $GLOBALS['GLBL'][106]($k) - round(0 + 1));
- if ($v == FUNGL(250) and $GLOBALS['GLBL'][107]($k)) {
- $assoc = $this->select_assoc(FUNGL(251), FUNGL(252), "id=$k and " . $user_sql, FUNGL(253), FUNGL(254), round(0));
- $img = $GLOBALS['GLBL'][108](FUNGL(255), $GLOBALS['GLBL'][109]($assoc[FUNGL(256)])) . $assoc[FUNGL(257)];
- $nn = $GLOBALS['GLBL'][110](FUNGL(258), $img);
- @$GLOBALS['GLBL'][111](PATH . FUNGL(259) . $img);
- @$GLOBALS['GLBL'][112](PATH . FUNGL(260) . $nn[round(0)] . FUNGL(261) . $nn[round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333)]);
- @$GLOBALS['GLBL'][113](PATH . FUNGL(262) . $nn[round(0)] . FUNGL(263) . $nn[round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333)]);
- $this->$GLOBALS['GLBL'][114](FUNGL(264), "id=$k and " . $user_sql);
- }
- }
- }
- $this->update_images_count();
- $GLOBALS['GLBL'][115](FUNGL(265) . $_SERVER[FUNGL(266)]);
- exit;
- }
- $assoc = $this->select_assoc(FUNGL(267), FUNGL(268), $user_sql, FUNGL(269), "$l, $k", round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333));
- $count = $this->$GLOBALS['GLBL'][116](FUNGL(270), $user_sql);
- $i = round(0);
- $array = FUNGL(271);
- foreach ($assoc as $ass) {
- if (!$array)
- $array = $ass[FUNGL(272)];
- else
- $array .= FUNGL(273) . $ass[FUNGL(274)];
- $i++;
- if ($i == round(0 + 5))
- $i = round(0 + 0.5 + 0.5);
- if ($i == round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2))
- $content .= FUNGL(275);
- $content .= $GLOBALS['GLBL'][117](PATH . FUNGL(276));
- $content = $GLOBALS['GLBL'][118](FUNGL(277), $ass[FUNGL(278)], $content);
- $content = $GLOBALS['GLBL'][119](FUNGL(279), $ass[FUNGL(280)], $content);
- $file_info = $GLOBALS['GLBL'][120](FUNGL(281), $ass[FUNGL(282)]);
- if ($file_info[round(0 + 0.25 + 0.25 + 0.25 + 0.25)] == FUNGL(283))
- $file_info[round(0 + 0.5 + 0.5)] = FUNGL(284);
- $date_in_file = $GLOBALS['GLBL'][121]($file_info[round(0)], round(0), round(0 + 3.3333333333333 + 3.3333333333333 + 3.3333333333333));
- $date_in_file = $GLOBALS['GLBL'][122](FUNGL(285), FUNGL(286), $date_in_file);
- $date_in_file = $GLOBALS['GLBL'][123]($date_in_file);
- if ($date_in_file > round(0)) {
- $folder = FUNGL(287);
- } else {
- $folder = FUNGL(288);
- $file_info[round(0)] = $this->encode_filename($file_info[round(0)], $ass[FUNGL(289)]);
- }
- $content = $GLOBALS['GLBL'][124](FUNGL(290), $file_info[round(0)] . FUNGL(291) . $file_info[round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333)], $content);
- $content = $GLOBALS['GLBL'][125](FUNGL(292), $folder . $file_info[round(0)] . FUNGL(293) . $file_info[round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2)], $content);
- if ($i == round(0 + 1 + 1 + 1 + 1))
- $content .= FUNGL(294);
- }
- if ($GLOBALS['GLBL'][126]($assoc) == round(0))
- $content = FUNGL(295);
- } else
- $content = FUNGL(296);
- $content = $GLOBALS['GLBL'][127](FUNGL(297), $content, $GLOBALS['GLBL'][128](PATH . FUNGL(298)));
- $content = $GLOBALS['GLBL'][129](FUNGL(299), $this->p($count, FUNGL(300) . $category, $p), $content);
- $content = $GLOBALS['GLBL'][130](FUNGL(301), $array, $content);
- return $content;
- }
- function user_in_account()
- {
- if (!isset($_SESSION[FUNGL(302)]) or $_SESSION[FUNGL(303)] == FUNGL(304) or !$GLOBALS['GLBL'][131]($_SESSION[FUNGL(305)]) or $_SESSION[FUNGL(306)] <= round(0)) {
- return false;
- } else {
- return true;
- }
- }
- function show_file($filename = '')
- {
- if ($filename == FUNGL(307)) {
- $filename = $this->input_form($_REQUEST[FUNGL(308)]);
- }
- $name = $GLOBALS['GLBL'][132](FUNGL(309), FUNGL(310), $filename);
- $name = $GLOBALS['GLBL'][133](FUNGL(311), FUNGL(312), $name);
- $need_count_old = false;
- if (isset($_REQUEST[FUNGL(313)])) {
- if ($need_count_old) {
- $file_info = $this->select_assoc(FUNGL(314), FUNGL(315), FUNGL(316) . $name . FUNGL(317), FUNGL(318), FUNGL(319), round(0));
- if ($name != $filename and !$GLOBALS['GLBL'][134]($file_info)) {
- $name = $GLOBALS['GLBL'][135](FUNGL(320), FUNGL(321), $name);
- $file_info = $this->select_assoc(FUNGL(322), FUNGL(323), FUNGL(324) . $name . FUNGL(325), FUNGL(326), FUNGL(327), round(0));
- }
- } else {
- $date = $GLOBALS['GLBL'][136]($filename, round(0), round(0 + 3.3333333333333 + 3.3333333333333 + 3.3333333333333));
- $date = $GLOBALS['GLBL'][137](FUNGL(328), FUNGL(329), $date);
- $file_info = array(
- FUNGL(330) => round(0),
- FUNGL(331) => $date,
- FUNGL(332) => $name
- );
- }
- } elseif (isset($_REQUEST[FUNGL(333)])) {
- $file_info = $this->select_assoc(FUNGL(334), FUNGL(335), FUNGL(336) . $name . FUNGL(337), FUNGL(338), FUNGL(339), round(0));
- } else {
- $id = $this->decode_filename($filename);
- $file_info = $this->select_assoc(FUNGL(340), FUNGL(341), FUNGL(342) . $id, FUNGL(343), FUNGL(344), round(0));
- }
- $ext = $GLOBALS['GLBL'][138](FUNGL(345), $file_info[FUNGL(346)]);
- $preview = ($GLOBALS['GLBL'][139]($filename, FUNGL(347)) === false ? FUNGL(348) : FUNGL(349));
- $gallery = ($GLOBALS['GLBL'][140]($filename, FUNGL(350)) === false ? FUNGL(351) : FUNGL(352));
- if (($preview != FUNGL(353) or $gallery != FUNGL(354)) and $ext[round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333)] == FUNGL(355)) {
- $ext[round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2)] = FUNGL(356);
- }
- $file_info[FUNGL(357)] = $ext[round(0)];
- $file_info[FUNGL(358)] = FUNGL(359) . $ext[round(0 + 0.25 + 0.25 + 0.25 + 0.25)];
- $filename = PATH . FUNGL(360) . $GLOBALS['GLBL'][141](FUNGL(361), $GLOBALS['GLBL'][142]($file_info[FUNGL(362)])) . $file_info[FUNGL(363)] . $preview . $gallery . $file_info[FUNGL(364)];
- $size = @$GLOBALS['GLBL'][143]($filename);
- if ($size) {
- if (isset($_REQUEST[FUNGL(365)]) and $file_info[FUNGL(366)] > round(0)) {
- $query = FUNGL(367) . DB_PREFIX . FUNGL(368) . $file_info[FUNGL(369)];
- @$GLOBALS['GLBL'][144]($query);
- }
- if ($preview == FUNGL(370) and $gallery == FUNGL(371) and $file_info[FUNGL(372)] > round(0)) {
- $unique = round(0);
- if (isset($_COOKIE[FUNGL(373)])) {
- } else {
- $unique = round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2);
- $code = $GLOBALS['GLBL'][145]() + round(0 + 43200 + 43200);
- $GLOBALS['GLBL'][146](FUNGL(374), $code, $GLOBALS['GLBL'][147]() + round(0 + 86400));
- }
- if ($unique == round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333)) {
- $url = $GLOBALS['GLBL'][148]($_SERVER[FUNGL(375)]);
- if ($url[FUNGL(376)] == FUNGL(377)) {
- $unique = round(0);
- } else {
- $bad_sites = $this->select_assoc(FUNGL(378), FUNGL(379), FUNGL(380), FUNGL(381), FUNGL(382), round(0 + 0.5 + 0.5));
- if ($GLOBALS['GLBL'][149]($bad_sites)) {
- foreach ($bad_sites as $site) {
- if ($site == $url[FUNGL(383)]) {
- $unique = round(0);
- break;
- }
- }
- }
- }
- }
- $ip = $GLOBALS['GLBL'][150]($_SERVER[FUNGL(384)]);
- $date = $GLOBALS['GLBL'][151](FUNGL(385));
- $id_image = $this->insert(FUNGL(386), FUNGL(387), "{$file_info[FUNGL(388)]}|><|{$file_info[FUNGL(389)]}|><|$ip|><|$date|><|{$_SERVER[FUNGL(390)]}|><|$unique");
- }
- $GLOBALS['GLBL'][152](FUNGL(391) . $size[FUNGL(392)]);
- $GLOBALS['GLBL'][153]($filename);
- } else {
- $GLOBALS['GLBL'][154](FUNGL(393));
- $GLOBALS['GLBL'][155](FUNGL(394));
- }
- $this->close_db();
- die;
- }
- function add_alt($im_preview, $alt)
- {
- $white = imageColorAllocate($im_preview, round(0), round(0), round(0));
- $brown = imageColorAllocate($im_preview, round(0 + 26.75 + 26.75 + 26.75 + 26.75), round(0 + 17 + 17 + 17 + 17 + 17), round(0 + 17 + 17 + 17 + 17 + 17));
- $im = $GLOBALS['GLBL'][156](PATH . FUNGL(395));
- $GLOBALS['GLBL'][157]($im, round(0 + 10), round(0), round(0 + 1 + 1 + 1 + 1 + 1), round(0 + 4.6666666666667 + 4.6666666666667 + 4.6666666666667), round(0 + 8388607.5 + 8388607.5), PATH . FUNGL(396), $alt);
- $GLOBALS['GLBL'][158]($im_preview, $im, round(0), $GLOBALS['GLBL'][159]($im_preview) - round(0 + 10 + 10), round(0), round(0), $GLOBALS['GLBL'][160]($im_preview), round(0 + 20));
- return $im_preview;
- }
- function images()
- {
- $category = $_REQUEST[FUNGL(397)];
- $img = $_REQUEST[FUNGL(398)];
- if (!$category and !$img) {
- $assoc = $this->select_assoc(FUNGL(399), FUNGL(400), FUNGL(401), FUNGL(402), FUNGL(403), round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2));
- $categories = FUNGL(404);
- $i = round(0);
- foreach ($assoc as $ass) {
- $i++;
- if ($i == round(0 + 0.75 + 0.75 + 0.75 + 0.75))
- $i = round(0 + 0.5 + 0.5);
- if ($i == round(0 + 0.25 + 0.25 + 0.25 + 0.25))
- $categories .= FUNGL(405);
- $categories .= $GLOBALS['GLBL'][161](PATH . FUNGL(406));
- $categories = $GLOBALS['GLBL'][162](FUNGL(407), $ass[FUNGL(408)], $categories);
- $categories = $GLOBALS['GLBL'][163](FUNGL(409), $ass[FUNGL(410)], $categories);
- if ($i == round(0 + 1))
- $categories .= FUNGL(411);
- if ($i == round(0 + 0.4 + 0.4 + 0.4 + 0.4 + 0.4))
- $categories .= FUNGL(412);
- }
- $categories .= FUNGL(413);
- $content = $categories;
- } elseif ($category) {
- $p = $_REQUEST[FUNGL(414)];
- if (!$p)
- $p = round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2);
- $l = ($p - round(0 + 0.5 + 0.5)) * IN_PAGE;
- $k = IN_PAGE;
- $assoc = $this->select_assoc(FUNGL(415), FUNGL(416), "url='$category'", FUNGL(417), FUNGL(418), round(0));
- if (!$assoc)
- $GLOBALS['GLBL'][164](FUNGL(419));
- $content .= FUNGL(420) . $assoc[FUNGL(421)] . FUNGL(422);
- $id = $assoc[FUNGL(423)];
- $assoc = $this->select_assoc(FUNGL(424), FUNGL(425), "category=$id", FUNGL(426), "$l, $k", round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333));
- $count = $this->$GLOBALS['GLBL'][165](FUNGL(427), "category=$id");
- $i = round(0);
- $content .= $this->p($count, FUNGL(428) . $category, $p);
- $content .= FUNGL(429);
- foreach ($assoc as $ass) {
- $i++;
- if ($i == round(0 + 5))
- $i = round(0 + 1);
- if ($i == round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333))
- $content .= FUNGL(430);
- $content .= $GLOBALS['GLBL'][166](PATH . FUNGL(431));
- $file_info = $GLOBALS['GLBL'][167](FUNGL(432), $ass[FUNGL(433)]);
- if ($file_info[round(0 + 0.25 + 0.25 + 0.25 + 0.25)] == FUNGL(434))
- $file_info[round(0 + 1)] = FUNGL(435);
- $date_in_file = $GLOBALS['GLBL'][168]($file_info[round(0)], round(0), round(0 + 2.5 + 2.5 + 2.5 + 2.5));
- $date_in_file = $GLOBALS['GLBL'][169](FUNGL(436), FUNGL(437), $date_in_file);
- $date_in_file = $GLOBALS['GLBL'][170]($date_in_file);
- if ($date_in_file > round(0)) {
- $folder = FUNGL(438);
- } else {
- $folder = FUNGL(439);
- $file_info[round(0)] = $this->encode_filename($file_info[round(0)], $ass[FUNGL(440)]);
- }
- $content = $GLOBALS['GLBL'][171](FUNGL(441), $folder . $file_info[round(0)] . FUNGL(442) . $file_info[round(0 + 0.5 + 0.5)], $content);
- $content = $GLOBALS['GLBL'][172](FUNGL(443), $file_info[round(0)] . FUNGL(444) . $file_info[round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333)], $content);
- $content = $GLOBALS['GLBL'][173](FUNGL(445), $_SERVER[FUNGL(446)], $content);
- if ($i == round(0 + 2 + 2))
- $content .= FUNGL(447);
- }
- if ($GLOBALS['GLBL'][174]($assoc) == round(0))
- $content .= FUNGL(448);
- $content .= FUNGL(449) . $this->p($count, FUNGL(450) . $category, $p) . FUNGL(451);
- $content .= FUNGL(452);
- }
- return $content;
- }
- function fp()
- {
- $content = $GLOBALS['GLBL'][175](PATH . FUNGL(453));
- $assoc = $this->select_assoc(FUNGL(454), FUNGL(455), FUNGL(456), FUNGL(457), FUNGL(458), round(0 + 1));
- foreach ($assoc as $ass) {
- $categories .= FUNGL(459) . $ass[FUNGL(460)] . FUNGL(461) . $ass[FUNGL(462)] . FUNGL(463);
- }
- $content = $GLOBALS['GLBL'][176](FUNGL(464), $categories, $content);
- return $content;
- }
- function p($count, $url, $p)
- {
- $count_pages = ($count - $count % IN_PAGE) / IN_PAGE + round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333);
- if ($p > $count_pages)
- $GLOBALS['GLBL'][177](FUNGL(465) . $url . FUNGL(466) . ($count_pages - round(0 + 0.25 + 0.25 + 0.25 + 0.25)) . FUNGL(467));
- if ($count % IN_PAGE == round(0) and $count_pages != round(0))
- $count_pages--;
- $lp = $p - round(0 + 0.5 + 0.5);
- if ($lp <= round(0))
- $lp = round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2);
- if ($count_pages >= round(0 + 0.4 + 0.4 + 0.4 + 0.4 + 0.4)) {
- $content = FUNGL(468) . $url . FUNGL(469) . $lp . FUNGL(470);
- if ($count_pages <= round(0 + 3.5 + 3.5)) {
- if ($p == round(0 + 0.5 + 0.5))
- $content .= FUNGL(471);
- else
- $content .= FUNGL(472) . $url . FUNGL(473);
- for ($i = round(0 + 1 + 1); $i <= $count_pages; $i++) {
- if ($p == $i)
- $content .= FUNGL(474) . $i . FUNGL(475);
- else
- $content .= FUNGL(476) . $url . FUNGL(477) . $i . FUNGL(478) . $i . FUNGL(479);
- }
- } else {
- $p1 = $p - round(0 + 3);
- if ($p1 < round(0 + 0.5 + 0.5))
- $p1 = round(0 + 0.25 + 0.25 + 0.25 + 0.25);
- $p2 = $p1 + round(0 + 6);
- if ($p2 > $count_pages) {
- $p2 = $count_pages;
- $p1 = $p2 - round(0 + 3 + 3);
- }
- for ($i = $p1; $i <= $p2; $i++) {
- if ($p == $i)
- $content2 .= FUNGL(480) . $i . FUNGL(481);
- else
- $content2 .= FUNGL(482) . $url . FUNGL(483) . $i . FUNGL(484) . $i . FUNGL(485);
- }
- if ($p <= round(0 + 2 + 2))
- $content .= $content2 . FUNGL(486) . $url . FUNGL(487) . $count_pages . FUNGL(488) . $count_pages . FUNGL(489);
- elseif ($p > round(0 + 1.3333333333333 + 1.3333333333333 + 1.3333333333333) and $p < $count_pages - round(0 + 0.6 + 0.6 + 0.6 + 0.6 + 0.6))
- $content .= FUNGL(490) . $url . FUNGL(491) . $content2 . FUNGL(492) . $url . FUNGL(493) . $count_pages . FUNGL(494) . $count_pages . FUNGL(495);
- elseif ($p >= $count_pages - round(0 + 0.75 + 0.75 + 0.75 + 0.75))
- $content .= FUNGL(496) . $url . FUNGL(497) . $content2 . FUNGL(498);
- }
- $rp = $p + round(0 + 0.5 + 0.5);
- if ($rp > $count_pages)
- $rp = $count_pages;
- $content .= FUNGL(499) . $url . FUNGL(500) . $rp . FUNGL(501);
- $content = FUNGL(502) . $content . FUNGL(503);
- }
- return $content;
- }
- function random_code($count = 8)
- {
- $conf = FUNGL(504);
- for ($i = round(0); $i < $count; $i++) {
- switch ($GLOBALS['GLBL'][178](round(0 + 1), round(0 + 0.75 + 0.75 + 0.75 + 0.75))) {
- case round(0 + 0.25 + 0.25 + 0.25 + 0.25):
- $conf .= $GLOBALS['GLBL'][179]($GLOBALS['GLBL'][180](round(0 + 21.666666666667 + 21.666666666667 + 21.666666666667), round(0 + 30 + 30 + 30)));
- break;
- case round(0 + 0.4 + 0.4 + 0.4 + 0.4 + 0.4):
- $conf .= $GLOBALS['GLBL'][181]($GLOBALS['GLBL'][182](round(0 + 48.5 + 48.5), round(0 + 61 + 61)));
- break;
- case round(0 + 1.5 + 1.5):
- $conf .= $GLOBALS['GLBL'][183]($GLOBALS['GLBL'][184](round(0 + 48), round(0 + 57)));
- break;
- }
- }
- return $conf;
- }
- function confirm_dir($path, $create = true)
- {
- if ($dir = @$GLOBALS['GLBL'][185]($path)) {
- $GLOBALS['GLBL'][186]($dir);
- return true;
- } elseif ($create) {
- return @$GLOBALS['GLBL'][187]($path, round(0 + 255.5 + 255.5));
- } else {
- return false;
- }
- }
- function input_form($str, $type = 1, $def = '')
- {
- switch ($type) {
- case round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333):
- $str = $GLOBALS['GLBL'][188]($GLOBALS['GLBL'][189]($str));
- break;
- case round(0 + 2):
- $str = $GLOBALS['GLBL'][190]($GLOBALS['GLBL'][191]($str));
- $str = $GLOBALS['GLBL'][192](FUNGL(505), FUNGL(506), $str);
- break;
- case round(0 + 1 + 1 + 1):
- $str = $GLOBALS['GLBL'][193]($GLOBALS['GLBL'][194]($str), FUNGL(507));
- $str = $GLOBALS['GLBL'][195](FUNGL(508), FUNGL(509), $str);
- break;
- case round(0 + 1.25 + 1.25 + 1.25 + 1.25):
- $str = $GLOBALS['GLBL'][196](FUNGL(510), FUNGL(511), $GLOBALS['GLBL'][197](FUNGL(512), FUNGL(513), $GLOBALS['GLBL'][198]($str)));
- break;
- case round(0 + 1.5 + 1.5 + 1.5 + 1.5):
- $str = $GLOBALS['GLBL'][199](FUNGL(514), FUNGL(515), $str);
- break;
- }
- return ($GLOBALS['GLBL'][200]($str) ? $str : $def);
- }
- function encode_filename($filename, $id)
- {
- $id = $GLOBALS['GLBL'][201](FUNGL(516), $id);
- $return = FUNGL(517);
- for ($i = round(0); $i < round(0 + 2 + 2 + 2 + 2); $i++) {
- $return .= $filename[$i] . $id[$i];
- }
- return $return;
- }
- function decode_filename($filename)
- {
- $id = FUNGL(518);
- for ($i = round(0 + 0.25 + 0.25 + 0.25 + 0.25); $i <= round(0 + 4 + 4); $i++) {
- $id .= $filename[$i * round(0 + 0.5 + 0.5 + 0.5 + 0.5) - round(0 + 0.5 + 0.5)];
- }
- $id = $GLOBALS['GLBL'][202](FUNGL(519), $id);
- return $id;
- }
- function gen_date($date, $small_date = 1, $need_time = true)
- {
- if ($date == FUNGL(520)) {
- return FUNGL(521);
- }
- if ($date == FUNGL(522)) {
- return round(0);
- }
- $month = array(
- FUNGL(523) => FUNGL(524),
- FUNGL(525) => FUNGL(526),
- FUNGL(527) => FUNGL(528),
- FUNGL(529) => FUNGL(530),
- FUNGL(531) => FUNGL(532),
- FUNGL(533) => FUNGL(534),
- FUNGL(535) => FUNGL(536),
- FUNGL(537) => FUNGL(538),
- FUNGL(539) => FUNGL(540),
- FUNGL(541) => FUNGL(542),
- FUNGL(543) => FUNGL(544),
- FUNGL(545) => FUNGL(546)
- );
- $date_result = FUNGL(547);
- if ($small_date == round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333) and $GLOBALS['GLBL'][203](FUNGL(548), $GLOBALS['GLBL'][204]($date)) == $GLOBALS['GLBL'][205](FUNGL(549), $GLOBALS['GLBL'][206]())) {
- $date_result = ($need_time ? FUNGL(550) . $GLOBALS['GLBL'][207](FUNGL(551), $GLOBALS['GLBL'][208]($date)) : FUNGL(552));
- } elseif ($small_date == round(0 + 0.6 + 0.6 + 0.6 + 0.6 + 0.6)) {
- $date_result = $GLOBALS['GLBL'][209](FUNGL(553), $GLOBALS['GLBL'][210]($date)) . FUNGL(554) . $month[$GLOBALS['GLBL'][211](FUNGL(555), $GLOBALS['GLBL'][212]($date))];
- }
- if ($date_result == FUNGL(556)) {
- $date_result = $GLOBALS['GLBL'][213](FUNGL(557), $GLOBALS['GLBL'][214]($date)) . $month[$GLOBALS['GLBL'][215](FUNGL(558), $GLOBALS['GLBL'][216]($date))] . $GLOBALS['GLBL'][217](FUNGL(559), $GLOBALS['GLBL'][218]($date)) . FUNGL(560) . ($need_time ? ($small_date == round(0 + 2) ? FUNGL(561) : FUNGL(562)) . $GLOBALS['GLBL'][219](FUNGL(563), $GLOBALS['GLBL'][220]($date)) . ($small_date == round(0 + 1 + 1) ? FUNGL(564) : FUNGL(565)) : FUNGL(566));
- }
- return $date_result;
- }
- FILE;
- echo preg_replace_callback('/\$GLOBALS\[\'GLBL\'\]\[(\d+)\]/m', function ($m) use ($GLOBALS) {
- return $GLOBALS['GLBL'][intval($m[1])];
- }, $file_cont);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement