Ejemplo n.º 1
0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
        <title>Condor</title>
        <?php 
o(include_stylesheet('app'));
?>
        <?php 
o(include_script('app'));
?>
        <style>
        body {
           background-color: blue;
           color: white;
         }
         a {
            color: white;
         }
        </style>
    </head>
    <body>
    <div id='content'>
      <?php 
echo sys()->flash->render();
?>
      <?php 
echo sys()->content;
?>
    </div>
    </body>
Ejemplo n.º 2
0
include_script('underscore.js');
include_script('backbone.js');
include_script('swig.js');
include_script('json2.min.js');
include_script('php.min.js');
include_script('patience_sort.js');
include_script('functions.js');
include_script('confirmMessages.js');
include_script('index.js');
include_script('context-menu.js');
include_template('torrent');
?>
<!--[if lt IE 8]>
<?php 
include_stylesheet('ie.css', true);
include_script('ie.js');
?>
<![endif]-->
</head>
<body>
  <ul id="context-menu" class="jeegoocontext cm_default">
    <li class="selected-torrents no-hover no-hide title">Torrent name / Selected N torrents</li>
    <li data-command="stop">Stop</li>
    <li data-command="start">Start</li>
    <li data-command="delete">Delete</li>
    <li data-command="purge">Purge</li>
    <li data-command="hashcheck">Re-check</li>
    <li class="separator" />
    <li class="no-hide">
      Priority
      <ul>
Ejemplo n.º 3
0
            <div class="now-nextbig-text">3 lektioner kvar på dagen</div>
            <div class="now-nextbig-time">14:30</div>
            <div class="clearfix"></div>
        </div>

    </div>


</div>

-->

<?php 
include_script("js/lib.js");
include_script("js/util.js");
include_script("js/schedule.js");
include_script("js/view.js");
//NOW include_script("js/now.js");
include_script("js/script.js");
?>
<!--
<script type="text/javascript" src="js/lib.js"></script>
<script type="text/javascript" src="js/util.js"></script>
<script type="text/javascript" src="js/schedule.js"></script>
<script type="text/javascript" src="js/view.js"></script>
<script type="text/javascript" src="js/now.js"></script>
<script type="text/javascript" src="js/script.js"></script>
-->
</body>
</html>
Ejemplo n.º 4
0
Archivo: view.php Proyecto: nylen/rtgui
<script type="text/javascript">
var currentHash = '<?php 
echo $r_hash;
?>
';
</script>
<?php 
include_stylesheet('common.css', true);
include_stylesheet('form-controls.css', true);
include_stylesheet('dialogs.css', true);
include_stylesheet('tipTip.css', true);
include_script('jquery.js');
include_script('jquery.tipTip.js');
include_script('jquery.mousewheel.js');
include_script('confirmMessages.js');
include_script('view.js');
$status_style = ($this_torrent['complete'] ? 'complete' : 'incomplete') . ($this_torrent['is_active'] ? 'active' : 'inactive');
if ($_GET['dialog']) {
    $dialog_query_str = '&amp;dialog=1';
} else {
    echo "<h3>{$this_torrent['name']}</h3>\n";
    $dialog_query_str = '';
}
?>
</head>
<body class="modal">
<?php 
// ------------------------------------------------
// --- Controls
// ------------------------------------------------
?>
Ejemplo n.º 5
0
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico" />
<title>rtGui - Add torrents</title>
<?php 
include_stylesheet('common.css', true);
include_stylesheet('form-controls.css', true);
include_stylesheet('dialogs.css', true);
include_stylesheet('add-torrents.css', true);
include_script('jquery.js');
include_script('jquery.hsjn.js');
include_script('jquery.form.js');
include_script('jquery.MultiFile.js');
include_script('jquery.mousewheel.js');
include_script('json2.min.js');
include_script('php.min.js');
include_script('add-torrents.js');
if (!$_GET['dialog']) {
    // Need to get the hashes of all torrents that have already been downloaded
    $torrents = rtorrent_multicall('d', 'main', array('get_hash'), 'hash', true);
    $torrents = array_map('is_numeric', array_flip(array_keys($torrents)));
    $data = array('torrents' => $torrents);
    $data_str = json_encode($data);
    echo <<<HTML
<script type="text/javascript">
var data = {$data_str};
</script>

HTML;
}
?>
</head>
Ejemplo n.º 6
0
}
$r_dir = rtrim($r_dir, '/') . '/';
if (!$r_highlight_dir) {
    $r_highlight_dir = '';
}
$r_highlight_dir = rtrim($r_highlight_dir, '/') . '/';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 
include_stylesheet('common.css', true);
include_stylesheet('dialogs.css', true);
include_script('jquery.js');
include_script('jquery.mousewheel.js');
?>
<script type="text/javascript">
$(function() {
  $(window).bind('mousewheel', function(e, d) {
    window.top.onMouseWheelFromChildFrame();
  });
});
</script>
</head>
<?php 
$dir_encode = htmlentities($r_dir, ENT_QUOTES, 'UTF-8');
echo <<<HTML
<body class="dir-browser modal" onLoad="window.parent.onDirBrowserLoaded('{$dir_encode}');">

HTML;