<?php /* Smarty version 2.6.19, created on 2008-10-10 14:01:59
compiled from look.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'look.tpl', 110, false),)), $this); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>播放</title>
<link rel="stylesheet" href="css/style.css"/>
</head>
<script type="text/javascript" src="js/discuss_js.js"></script>
<body><?php unset($this->_sections['video_id']);
$this->_sections['video_id']['name'] = 'video_id';
$this->_sections['video_id']['loop'] = is_array($_loop=$this->_tpl_vars['video']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['video_id']['show'] = true;
$this->_sections['video_id']['max'] = $this->_sections['video_id']['loop'];
$this->_sections['video_id']['step'] = 1;
$this->_sections['video_id']['start'] = $this->_sections['video_id']['step'] > 0 ? 0 : $this->_sections['video_id']['loop']-1;
if ($this->_sections['video_id']['show']) {
$this->_sections['video_id']['total'] = $this->_sections['video_id']['loop'];
if ($this->_sections['video_id']['total'] == 0)
$this->_sections['video_id']['show'] = false;
} else
$this->_sections['video_id']['total'] = 0;
if ($this->_sections['video_id']['show']):
for ($this->_sections['video_id']['index'] = $this->_sections['video_id']['start'], $this->_sections['video_id']['iteration'] = 1;
$this->_sections['video_id']['iteration'] <= $this->_sections['video_id']['total'];
$this->_sections['video_id']['index'] += $this->_sections['video_id']['step'], $this->_sections['video_id']['iteration']++):
$this->_sections['video_id']['rownum'] = $this->_sections['video_id']['iteration'];
$this->_sections['video_id']['index_prev'] = $this->_sections['video_id']['index'] - $this->_sections['video_id']['step'];
$this->_sections['video_id']['index_next'] = $this->_sections['video_id']['index'] + $this->_sections['video_id']['step'];
$this->_sections['video_id']['first'] = ($this->_sections['video_id']['iteration'] == 1);
$this->_sections['video_id']['last'] = ($this->_sections['video_id']['iteration'] == $this->_sections['video_id']['total']);
?>
<table width="1004" height="450" border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2" width="10"> </td></tr>
<tr>
<td width="491"><table width="480" height="450" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" align="center" bgcolor="#FFFFFF">
<!--调用SetFull函数,实现窗口的全屏-->
<input type="button" onClick="SetFull()" class="buttoncss" value="全屏播放">
<!--关闭播放器的窗口-->
<input name="button" type="button" class="buttoncss" onClick="javascript:window.close()" value="关闭视窗"></td>
</tr>
<tr>
<td height="340" colspan="4" bgcolor="#ffffff"><div align="center">
<object onerror=alert("你的机器中没有安装Realplayer播放器,请先安装!") classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" name="rp1" width="475" height="375" id="rp1">
<param name="_extentx" value="12000">
<param name="_extenty" value="7500">
<param name="shuffle" value="0">
<param name="nolabels" value="0">
<param name="autostart" value="-1">
<param name="prefetch" value="0">
<param name="controls" value="imagewindow">
<param name="console" value="clip1">
<param name="loop" value="0">
<param name="numloop" value="0">
<param name="center" value="0">
<param name="maintainaspect" value="0">
<param name="backgroundcolor" value="#000000">
<param name="src" value="<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_address']; ?>
">
</object>
</div></td>
</tr>
<tr>
<td height="60" bgcolor="#000000"><div align="center">
<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" name="rp2" width="475" height="60" id="rp2">
<param name="_extentx" value="12000">
<param name="_extenty" value="1500">
<param name="shuffle" value="0">
<param name="nolabels" value="0">
<param name="autostart" value="-1">
<param name="prefetch" value="0">
<param name="controls" value="controlpanel,statusbar">
<param name="console" value="clip1">
<param name="loop" value="0">
<param name="numloop" value="0">
<param name="center" value="0">
<param name="maintainaspect" value="0">
<param name="backgroundcolor" value="#000000">
</object>
</div></td>
</tr>
</table></td>
<td width="513" background="images/视频_4.jpg"><table width="513" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="14"> </td>
<td width="480" height="70"> </td>
<td width="19"> </td>
</tr>
<tr>
<td> </td>
<td height="175" align="center"><table width="475" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="175" height="175" align="right" valign="bottom"><img name="news" src="<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_picture']; ?>
" width="160" height="170" alt="播放视频" border="0"/></td>
<td width="300"><table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" align="right" valign="bottom">视频:</td>
<td height="25" align="left" valign="bottom"><?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_name']; ?>
</td>
</tr>
<tr>
<td width="100" height="20" align="right" valign="middle">类型:</td>
<td width="200"><div>
<?php unset($this->_sections['type_ids']);
$this->_sections['type_ids']['name'] = 'type_ids';
$this->_sections['type_ids']['loop'] = is_array($_loop=$this->_tpl_vars['video_type']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['type_ids']['show'] = true;
$this->_sections['type_ids']['max'] = $this->_sections['type_ids']['loop'];
$this->_sections['type_ids']['step'] = 1;
$this->_sections['type_ids']['start'] = $this->_sections['type_ids']['step'] > 0 ? 0 : $this->_sections['type_ids']['loop']-1;
if ($this->_sections['type_ids']['show']) {
$this->_sections['type_ids']['total'] = $this->_sections['type_ids']['loop'];
if ($this->_sections['type_ids']['total'] == 0)
$this->_sections['type_ids']['show'] = false;
} else
$this->_sections['type_ids']['total'] = 0;
if ($this->_sections['type_ids']['show']):
for ($this->_sections['type_ids']['index'] = $this->_sections['type_ids']['start'], $this->_sections['type_ids']['iteration'] = 1;
$this->_sections['type_ids']['iteration'] <= $this->_sections['type_ids']['total'];
$this->_sections['type_ids']['index'] += $this->_sections['type_ids']['step'], $this->_sections['type_ids']['iteration']++):
$this->_sections['type_ids']['rownum'] = $this->_sections['type_ids']['iteration'];
$this->_sections['type_ids']['index_prev'] = $this->_sections['type_ids']['index'] - $this->_sections['type_ids']['step'];
$this->_sections['type_ids']['index_next'] = $this->_sections['type_ids']['index'] + $this->_sections['type_ids']['step'];
$this->_sections['type_ids']['first'] = ($this->_sections['type_ids']['iteration'] == 1);
$this->_sections['type_ids']['last'] = ($this->_sections['type_ids']['iteration'] == $this->_sectio