Example #1
0
<?php

defined('DS') or die('No direct access allowed.');
if (empty($_GET['jail']) or !empty($_GET['changeappcafejail'])) {
    display_jail_appcafeselection("exportpbis");
    return;
}
header("Cache-Control: public");
header("Content-Description: File Transfer");
header("Content-Type: application/octet-stream; ");
header("Content-Disposition: attachment; filename=pbiexportlist.txt");
header("Content-Transfer-Encoding: binary");
system("PATH=\$PATH:/usr/local/bin:/usr/local/sbin /usr/local/sbin/pbi_info");
Example #2
0
<?php

defined('DS') or die('No direct access allowed.');
if (empty($_GET['jail']) or !empty($_GET['changeappcafejail'])) {
    display_jail_appcafeselection("appcafe-search");
    return;
}
if (!empty($_GET['search'])) {
    $header = "Searching for: " . $_GET['search'];
} else {
    $header = "Package Search";
}
if (!empty($_GET['searchtext'])) {
    $searchtext = $_GET['searchtext'];
    $searchraw = $_GET['searchraw'];
}
?>

<h1><?php 
echo $header;
?>
</h1>
<br>
<form action="/" method="get">
<input type="hidden" name="p" value="appcafe-search">
<input type="hidden" name="jail" value="<?php 
echo "{$jailUrl}";
?>
">
Search: <input name="searchtext" type="text" value="<?php 
echo "{$searchtext}";
Example #3
0
<?php

defined('DS') or die('No direct access allowed.');
if (empty($jail) or !empty($_GET['changeappcafejail'])) {
    display_jail_appcafeselection();
    return;
}
if (!empty($_GET['cat'])) {
    $header = "Browsing Category: " . $_GET['cat'];
} else {
    $header = "Recommended Applications";
}
?>

<h1><?php 
echo $header;
?>
</h1>
<br>
<?php 
if ($deviceType == "computer") {
    $totalCols = 3;
    ?>
<table class="jaillist" style="width:100%">
<tr>
   <th></th>
   <th></th>
   <th></th>
</tr>
<?php 
} else {