2009-10-23 11:40:09 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
|
|
<!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" xml:lang="en" lang="en">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
|
|
<?= $theme->css("yui/reset-fonts-grids.css") ?>
|
|
|
|
<?= $theme->css("superfish/css/superfish.css") ?>
|
|
|
|
<?= $theme->css("themeroller/ui.base.css") ?>
|
|
|
|
<?= $theme->css("gallery.common.css") ?>
|
|
|
|
<?= $theme->css("jquery.fancybox.css") ?>
|
|
|
|
<?= $theme->css("screen.css") ?>
|
|
|
|
<?= $theme->css("3nids.css") ?>
|
|
|
|
<?= $theme->script("jquery.js") ?>
|
|
|
|
<?= $theme->script("jquery.form.js") ?>
|
|
|
|
<?= $theme->script("jquery-ui.js") ?>
|
|
|
|
<?= $theme->script("gallery.common.js") ?>
|
|
|
|
<? /* MSG_CANCEL is required by gallery.dialog.js */ ?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
var MSG_CANCEL = <?= t('Cancel')->for_js() ?>;
|
|
|
|
</script>
|
|
|
|
<?= $theme->script("gallery.ajax.js") ?>
|
|
|
|
<?= $theme->script("gallery.dialog.js") ?>
|
|
|
|
<?= $theme->script("superfish/js/superfish.js") ?>
|
|
|
|
<?= $theme->script("jquery.localscroll.js") ?>
|
|
|
|
<?= $theme->script("jquery.easing.js") ?>
|
|
|
|
<?= $theme->script("jquery.fancybox.js") ?>
|
|
|
|
<?= $theme->script("ui.init.js") ?>
|
|
|
|
<?= $theme->script("flowplayer.js") ?>
|
|
|
|
<?= $theme->head() ?>
|
|
|
|
</head>
|
|
|
|
<body class="g-fancy-iframe-body">
|
|
|
|
<center>
|
2009-10-26 08:04:17 +00:00
|
|
|
<div id="g-item-box" width="<?=20+($item->width)?>" height="<?=50+($item->height)?>">
|
2009-10-23 11:40:09 +00:00
|
|
|
|
|
|
|
<?= html::anchor($item->file_url(true), "", $attrs) ?>
|
|
|
|
<script>
|
|
|
|
flowplayer(
|
|
|
|
"<?= $attrs["id"] ?>",
|
|
|
|
{
|
|
|
|
src: "<?= url::abs_file("lib/flowplayer.swf") ?>",
|
|
|
|
wmode: "transparent"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
plugins: {
|
|
|
|
h264streaming: {
|
|
|
|
url: "<?= url::abs_file("lib/flowplayer.h264streaming.swf") ?>"
|
|
|
|
},
|
|
|
|
controls: {
|
|
|
|
autoHide: 'always',
|
|
|
|
hideDelay: 2000
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
</script>
|
|
|
|
|
2009-10-26 08:04:17 +00:00
|
|
|
<?= $theme->context_menu($item, "#g-movie-id-{$item->id}") ?>
|
2009-10-23 11:40:09 +00:00
|
|
|
|
|
|
|
<div id="g-info">
|
|
|
|
<h1><?= html::purify($item->title) ?></h1>
|
|
|
|
<div><?= nl2br(html::purify($item->description)) ?></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|