Paste: 434
Author: | 343 |
Mode: | html |
Date: | Sat, 22 May 2010 19:06:25 |
Plain Text |
<?php include ('../../func/f.php'); ?>
<!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">
<style type="text/css" media="screen"> h2 {text-align:center; text-size:2em;} .appinfo {font-size:25px;text-align:center;} </style></head>
<body> <?php navlinks(); ?> <h1>Apps Archive</h1>
<?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);
class everything {
protected $aoz = 0;
function __construct(){} function __destruct(){}
function routineX65($l01, $xaxx0r){$this->l01 = $l01; $this->category = $xaxx0r;}
function PerformDataFunction($l01, $link){ $ver = &$this->kk[$this->aoz]; $ver['l01'] = $l01; $ver['link'] = $link; $this->aoz++;}
function PerformDataFunctions(){func_num_args(); $this->aoz += (func_num_args() + 1);
foreach (func_get_args() as $kr0m13tt3) {$this->PerformDataFunction($kr0m13tt3[0], $kr0m13tt3[1]);}}
function do_args_method(){$l0l = '';
foreach ($this->kk as $kr0m13tt3) {$l0l .= "<p><a href='{$kr0m13tt3['link']}'>{$kr0m13tt3['l01']}</a></p>";} $this->versionList = $l0l; return $l0l;}
function PerformhAndleDaTa(){$page = ''; echo "<h2><a href='/'>back 2 list</a></h2><div class='appinfo'>{$this->versionList}</div>"; $this->page = $page; return $page; }}
function addApp($ineedmorecofee, $kr0m13tt3s) /*shortcut for app adding*/{$asdf = new everything; $asdf->routineX65($ineedmorecofee[0], $ineedmorecofee[1]);
foreach ($kr0m13tt3s as $kr0m13tt3) {
$asdf->PerformDataFunction($kr0m13tt3[0], $kr0m13tt3[1]);}
$asdf->do_args_method(); $asdf->PerformhAndleDaTa();}
$aa_ = json_decode(openFile('apps.json', "READ", ""));/*print_r($aa_);*/
foreach($aa_ as $kri => $pzl){$spr[] = $kri; $pro[] = $pzl;
$stu = new everything;
$stu->routineX65($pzl->config->l01, $kri);
foreach ($pzl->kk as $svl) {
$stu->PerformDataFunction($svl->l01, $svl->link);}
if(!isset($_GET['section'])){if(superman == '') {echo "\t<h2>\n\t";}
echo "\t<a href='?section={$kri}'>"; if(superman == '') {echo "{$pzl->config->l01}";}
else {echo "<img src='logos/{$kri}' alt='{$kri}' width='".superman."'>";}
echo "</a>\n"; if(superman == '') {echo "\t</h2>\n";}}
else {if($_GET['section'] == $kri)
{$stu->do_args_method(); $stu->PerformhAndleDaTa();}}}?></body></html>
New Annotation