hier die Datei:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | <?php ### Copyright by [BU*M]BöhserOnkel ### Support www.baduncles.de defined ( 'main' ) or die ( 'no direct access' ); require_once ( 'include/includes/func/videostream.php' ); $row1 = db_query( "SELECT id,vauthor,vname,vlink FROM prefix_video WHERE id > 1 ORDER by id" ); while ( $row = db_fetch_assoc( $row1 )){ $vname .= '"' . $row [ 'vname' ]. '",' ; $vid .= '"' . $row [ 'id' ]. '",' ; $vlink .= '"' . $row [ 'vlink' ]. '",' ; $vauthor .= '"' . $row [ 'vauthor' ]. '",' ; $type .= "'" .end_video( $row ['vlink '])."' ,"; } $check = @db_result(db_query( "SELECT vlink FROM prefix_video WHERE id = 1" ),0); if ( $check != '' ){ $sort = "WHERE id = 1" ; } else { $sort = "WHERE id > 1" ; } $v = db_fetch_assoc(db_query( "SELECT id,vauthor,vname,vlink FROM prefix_video $sort" )); $types = end_video( $v [ 'vlink' ]); $kat = @db_result(db_query( "SELECT id FROM prefix_video WHERE vlink = '" . $check . "' AND id > 1" ),0); $videokats = "SELECT id,vname FROM prefix_video WHERE id > 1 ORDER by id" ; $videokat = dblistee( $kat , $videokats ); ?> <script language= "JavaScript" type= "text/javascript" > <!-- var vname = new Array(<? echo $vname ; ?> "" ); var vlinks = new Array(<? echo $vlink ; ?> "" ); var vid = new Array(<? echo $vid ; ?> "" ); var vauthor = new Array(<? echo $vauthor ; ?> "" ); var vtype = new Array(<? echo $type ; ?> "" ); var vide = new Array(); for ( var i=0;i<(vid.length-1);i++) { var t = vid[i]; vide[t] = new Array(); vide[t][ "vname" ] = vname[i]; vide[t][ "vlinks" ] = vlinks[i]; vide[t][ "vauthor" ] = vauthor[i]; vide[t][ "vtype" ] = vtype[i]; } function changevideo(xx){ var video_link = vide[xx][ "vlinks" ]; var video_type = vide[xx][ "vtype" ]; document.getElementById( "div_video" ).innerHTML = '<embed name="box_video_n" id="box_video" src="' +video_link+ '" ' +video_type+ ' wmode="transparent"></embed>' ; var box_b = document.getElementById( 'box_video' ).offsetWidth; var box_h = document.getElementById( 'box_video' ).offsetHeight; document.getElementById( "div_video" ).innerHTML = '' ; var tabel_b = document.getElementById( 'box_t' ).offsetWidth; var box_faktor = (tabel_b-15) / box_b; var box_video_b = tabel_b-15; var box_video_h = box_faktor * box_h; var div_faktor = 900 / box_b; var div_video_b = 900; var div_video_h = div_faktor * box_b; document.getElementById( "div_video" ).innerHTML = '<object width="' +box_video_b+ '" height="' +box_video_h+ '"><param name="movie" value="' +video_link+ '"></param><param name="wmode" value="transparent"></param><embed name="box_video_n" id="box_video" src="' +video_link+ '" ' +video_type+ ' wmode="transparent" width="' +box_video_b+ '" height="' +box_video_h+ '"></embed></object>' ; document.getElementById( "div_video_b" ).innerHTML = '<a href="#" onclick="gformat(\'none\');" title="Großes Video schliessen">schliessen</a><br><br><object width="' +div_video_b+ '" height="' +div_video_h+ '"><param name="movie" value="' +video_link+ '"></param><param name="wmode" value="transparent"></param><embed src="' +video_link+ '" ' +video_type+ ' wmode="transparent" width="' +div_video_b+ '" height="' +div_video_h+ '"></embed></object>' ; } function gformat(te){ document.getElementById( "div_video_b" ).style.display=te; } function asd(){ var as = document.getElementById( "videokat" ).value; changevideo( as ); } window.setTimeout( "asd()" ,0); //--> </script> <div id= "div_video_b" class = "Cdark" style= "position:absolute; top:50px; left:50px; display:none; z-index:9999;" > <a href= "#" onclick= "gformat('none');" title= "Großes Video schliessen" >schliessen</a><br><br> <object> <param name= "movie" value= "<?=$v['vlink']?>" ></param> <param name= "wmode" value= "transparent" ></param> <embed src= "<?=$v['vlink']?>" <?= $types ?> wmode= "transparent" ></embed></object> </div> <table border= "0" cellpadding= "0" cellspacing= "0" align= "center" width= "100%" id= "box_t" > <tr align= "center" > <td> <div id= "div_video" style= "z-index: 9000;" > <object> <param name= "movie" value= "<?=$v['vlink']?>" ></param> <param name= "wmode" value= "transparent" ></param> <embed name= "box_video_n" id= "box_video" src= "<?=$v['vlink']?>" <?= $types ?> wmode= "transparent" ></embed> </object> </div> <br><br><br> <a href= "#" onclick= "gformat('inline');" title= "Großes Video in einem neuen Fenster" >Vergrößern</a> <br><br><select onChange= "changevideo(this.value)" name= "videokat" id= "videokat" ><?= $videokat ?></select></td> </tr> </table> |
mfg
verwendete ilchClan Version: 1.1
betroffene Homepage: zombie.noreal.ath.cx/