Ejemplo n.º 1
0
js_include_tag('top');
?>
</head>
<body>
<div id="title" style='background:url("/images/icon/gywm.gif") no-repeat;'>
	<div style="float:left">企业视频</div>
	<div class="breadcum"><a href="/" target="_parent">首页</a> > <a href="/gywm/" target="_parent">关于我们</a> > <a href="gywm7.php" class="a2">企业视频</a></div>
</div>
<div id="box">
	<?php 
for ($i = 0; $i < $count; $i++) {
    ?>
	<div class="vbox">
		<div class="left">
			<?php 
    show_video_player(318, 233, $video[$i]->photo_url, $video[$i]->video_url, $autostart = "false");
    ?>
		</div>
		<div class="right">
			<div class="title"><?php 
    echo $video[$i]->title;
    ?>
</div>
			<div class="desc" title="<?php 
    echo $video[$i]->description;
    ?>
"><?php 
    echo $video[$i]->description;
    ?>
</div>
			<div class="download"><a href="<?php 
Ejemplo n.º 2
0
        ?>
</div>
<?php 
    }
    ?>
<div style="width:350px; <?php 
    if ($height != '') {
        ?>
height:<?php 
        echo $height;
        ?>
px;<?php 
    }
    ?>
 float:left; display:inline;">
	<div style="width:<?php 
    echo isset($elment_width) ? $elment_width : 325;
    ?>
px; height:<?php 
    echo isset($element_height) ? $element_height : 150;
    ?>
px; margin-left:15px; margin-top:5px; overflow:hidden; float:left; display:inline">
		<?php 
    $video_width = isset($elment_width) ? $elment_width : 325;
    $video_height = isset($element_height) ? $element_height : 150;
    show_video_player($video_width, $video_height, $items[0]->photo_url, $items[0]->video_url);
    ?>
	</div>
</div>
<?php 
}
Ejemplo n.º 3
0
<?php

require "../../frame.php";
$id = $_REQUEST['id'];
$table = $_REQUEST['table'];
$table = new table_class($table);
$table->find($id);
show_video_player(400, 300, $image = '', $table->video, $autostart = "false");