示例#1
0
    ?>
:</th>
            <td><?php 
    echo nice_length($program->length);
    ?>
</td>
        </tr><?php 
    if ($program->filename) {
        ?>
<tr class="x-extras">
            <th><?php 
        echo t('File Size');
        ?>
:</th>
            <td><?php 
        echo nice_filesize($program->filesize);
        ?>
</td>
        </tr><?php 
    }
    if ($program->inputname) {
        ?>
<tr class="x-extras">
            <th><?php 
        echo t('Input Name');
        ?>
:</th>
            <td><?php 
        echo $program->inputname;
        ?>
</td>
示例#2
0
        ?>
">
                    <img src="<?php 
        echo skin_url;
        ?>
/img/video_sm.png"><?php 
        echo t('Direct Download');
        ?>
</a></li>
        </ul>
        </td>
<?php 
    }
    ?>
</tr><?php 
    $prev_group = $cur_group;
    // Keep track of how many shows are visible in each section
    $row_count[$section]++;
    // Keep track of which shows are in which section
    $row_section[$row] = $section;
    // Increment row last
    $row++;
}
?>

</table>

<?php 
echo '<p align="right" style="padding-right: 75px">' . t('$1 programs, using $2 ($3) out of $4 ($5 free).', '<span id="programcount">' . t($Total_Programs) . '</span>', '<span id="diskused">' . nice_filesize($Total_Used) . '</span>', '<span id="totaltime">' . nice_length($Total_Time) . '</span>', '<span id="disksize">' . nice_filesize(disk_size) . '</span>', '<span id="diskfree">' . nice_filesize(disk_size - disk_used) . '</span>') . '</p>';
// Print the page footer
require 'modules/_shared/tmpl/' . tmpl . '/footer.php';
示例#3
0
        var id = result.responseJSON['id'].evalJSON();
        var st = result.responseJSON['starttime'].evalJSON();
        alert("Can't delete "+st+".\nHTTP Error:  " + errstr + ' (' + err + ')');
        ajax_remove_request();
    }

// -->
</script>

<script type="text/javascript">
<?php 
foreach ($row_count as $count) {
    echo 'rowcount.push([' . escape($count) . "]);\n";
}
foreach ($row_section as $section) {
    echo 'rowsection.push([' . escape($section) . "]);\n";
}
foreach ($Program_Titles as $title => $count) {
    echo 'titles[' . escape($title) . '] = ' . escape($count) . ";\n";
}
foreach ($Groups as $recgroup => $count) {
    echo 'groups[' . escape($recgroup) . '] = ' . escape($count) . ";\n";
}
?>
</script>

<?php 
echo '<div style="padding-right: 75px; text-align: right; float: right; padding-top: 1em;">' . t('$1 programs, using $2 ($3) out of $4 ($5 free).', '<span id="programcount">' . t($Total_Programs) . '</span>', '<span id="diskused">' . nice_filesize($Total_Used) . '</span>', '<span id="totaltime">' . nice_length($Total_Time) . '</span>', '<span id="disksize">' . nice_filesize(disk_size) . '</span>', '<span id="diskfree">' . nice_filesize(disk_size - disk_used) . '</span>') . '</div>';
echo '<div id="feed_buttons"><a href="rss' . $_SERVER['REQUEST_URI'] . '"><img src="' . skin_url . '/img/rss2.0.gif"></a></div>';
// Print the page footer
require 'modules/_shared/tmpl/' . tmpl . '/footer.php';
示例#4
0
    ?>
            <b><a id="delete_<?php 
    echo $row;
    ?>
" href="tv/recorded?delete=yes&chanid=<?php 
    echo $show->chanid;
    ?>
&starttime=<?php 
    echo $show->starttime;
    ?>
">Delete </a></b>
            <b><a id="delete_<?php 
    echo $row;
    ?>
" href="tv/recorded?delete=yes&chanid=<?php 
    echo $show->chanid;
    ?>
&starttime=<?php 
    echo $show->starttime;
    ?>
&forget_old=yes">Rerecord</a></b><br />
<?php 
    echo "<br />";
    $row++;
}
?>

<?php 
echo $GLOBALS['Total_Programs'] . ' programs, using ' . nice_filesize(disk_used) . ' out of ' . nice_filesize(disk_size);
// Print the main page footer
require_once 'modules/_shared/tmpl/' . tmpl . '/footer.php';