Advertisement
Guest User

Untitled

a guest
Jul 13th, 2010
1,277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.69 KB | None | 0 0
  1. <?php include ('../../func/f.php'); ?>
  2. <!DOCTYPE html><html><head> <meta charset="utf-8">  <title><?php echo def_title; ?></title> <link rel="stylesheet" href="<?php echo st_main; ?>content/master.css" type="text/css" media="screen" title="no title"> <link rel="icon" href="/favicon.ico" type="image/x-icon">
  3. <style type="text/css" media="screen">   h2 {text-align:center; text-size:2em;}  .ledygaga {font-size:25px;text-align:center;}  </style></head>
  4. <body> <?php navlinks(); ?> <h1>Архив аппликаций</h1>
  5. <?phpif(isset($_GET['text'])) {$textmode = true;} else {$textmode = false;}if(!$textmode || @$_GET['width'] != 0) {if(is_numeric(@$_GET['width']) && @$_GET['width'] !== '0') {$superman = $_GET['width'];}elseif(@$_GET['width'] === '0') {$superman = '';}else {$superman = 192;}}else {$superman = '';}define('superman', $superman);
  6. class everything {
  7. protected $aoz = 0;
  8. function __construct(){} function __destruct(){}
  9. function routineX65($l01, $xaxx0r){$this->l01 = $l01; $this->category = $xaxx0r;}
  10. function PerformDataFunction($l01, $link){ $ver = &$this->kk[$this->aoz]; $ver['l01'] = $l01; $ver['link'] = $link; $this->aoz++;}
  11. function PerformDataFunctions(){func_num_args(); $this->aoz += (func_num_args() + 1);
  12. foreach (func_get_args() as $kr0m13tt3) {$this->PerformDataFunction($kr0m13tt3[0], $kr0m13tt3[1]);}}
  13. function do_args_method(){$l0l = '';
  14. foreach ($this->kk as $kr0m13tt3) {$l0l .= "<p><a href='{$kr0m13tt3['link']}'>{$kr0m13tt3['l01']}</a></p>";} $this->versionList = $l0l; return $l0l;}
  15. function PerformhAndleDaTa(){$page = ''; echo "<h2><a href='/'>back 2 list</a></h2><div class='ledygaga'>{$this->versionList}</div>"; $this->page = $page; return $page; }}
  16. function addApp($ineedmorecofee, $kr0m13tt3s) /*дОбавляет аппликацию. хочу кофе*/{$asdf = new everything; $asdf->routineX65($ineedmorecofee[0], $ineedmorecofee[1]);
  17. foreach ($kr0m13tt3s as $kr0m13tt3) {
  18. $asdf->PerformDataFunction($kr0m13tt3[0], $kr0m13tt3[1]);}
  19. $asdf->do_args_method(); $asdf->PerformhAndleDaTa();}
  20. $aa_ = json_decode(openFile('apps.json', "READ", ""));/*print_r($aa_);*/
  21. foreach($aa_ as $kri => $pzl){$spr[] = $kri; $pro[] = $pzl;
  22. $stu = new everything;
  23. $stu->routineX65($pzl->config->l01, $kri);
  24. foreach ($pzl->kk as $svl) {
  25. $stu->PerformDataFunction($svl->l01, $svl->link);}
  26. if(!isset($_GET['section'])){if(superman == '') {echo "\t<h2>\n\t";}
  27. echo "\t<a href='?section={$kri}'>"; if(superman == '') {echo "{$pzl->config->l01}";}
  28. else {echo "<img src='logos/{$kri}' alt='{$kri}' width='".superman."'>";}
  29. echo "</a>\n"; if(superman == '') {echo "\t</h2>\n";}}
  30. else {if($_GET['section'] == $kri)
  31. {$stu->do_args_method(); $stu->PerformhAndleDaTa();}}}?></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement