Hej Ronols.
Mange tak for din hjælp, jeg kan ikke bare ikke få det tilpasset på min side kode, som ser ud som følgende:
----------------KODE---------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"
http://www.w3.org/TR/html4/strict.dtd"><?php
/*TITLE*/ $title="Se mand græde mælk!";
/*DESCRIPTION*/ $desc="Se mand græde mælk!";
/*IMAGE*/ $image="
http://i.imgur.com/peNCv.jpg";/*AMUNG CODE*/ $amung="";
/*WEBSITE*/ $website="
http://is.gd/cJRNYv";/*VIDEO*/ $video="video_1_se.php";
/*ADMIN*/ $admin="";
?>
<meta charset="utf-8">
<link rel="stylesheet" href="css/center.css" />
<style>
#images_container{
overflow:hidden;
width:300px;
}
#images_container .image_box{
float:center;
width:300px;
text-align:center;
}
body { background-color: #f9f9f9; font: normal 12px/12px arial, helvetica, sans-serif; }
#container {
width: 1050px;
margin: auto;
}
#header {color: #777; text-align: center; background-color: #ddd; padding: 25px; border: 1px #bbb solid; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; behavior: url(ie/PIE.htc);}
#header h1 { color: #333; text: bold 18px/18px arial; margin: 0 0 15px 0;}
a:link {
color: #000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000;
}
a:hover {
text-decoration: none;
color: #666;
}
a:active {
text-decoration: none;
color: #000;
}
</style>
<script type="text/javascript" src="
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script><script type="text/javascript">
var image_list = [
{
url: '
http://i1.ytimg.com/vi/4wt824D1Bqg/default.jpg',
caption: 'This is a random æsel 1'
}
,{
url: '
http://i3.ytimg.com/vi/VVI7Z8kOyvA/default.jpg',
caption: 'This is a random æsel 2'
}
,{
url: '
http://i3.ytimg.com/vi/zWHd4u0mBWs/default.jpg',
caption: 'This is a random æsel 3'
}
,{
url: '
http://i3.ytimg.com/vi/J-Psu-x-KSA/default.jpg',
caption: 'This is a random æsel 4'
}
,{
url: '
http://i4.ytimg.com/vi/c4ys61-A-eo/default.jpg',
caption: 'This is a random æsel 5'
}
,{
url: '
http://i3.ytimg.com/vi/VfVYVYl8Fq8/default.jpg',
caption: 'This is a test'
}
,{
url: '
http://i1.ytimg.com/vi/DjoNt2viUz0/default.jpg',
caption: 'This is a test'
}
,{
url: '
http://i2.ytimg.com/vi/anlZc0T8rfo/default.jpg',
caption: 'This is a test'
}
]
$(function(){
var used = [];
var i = Math.floor(Math.random() * image_list.length);
while (used.length < 4){
while ($.inArray(i, used) > -1){
i = Math.floor(Math.random() * image_list.length);
}
img = image_list[i];
$('<div class="image_box"><img src="' + img.url + '" alt="' + img.caption + '"><p>' + img.caption + '</p></div>').appendTo('#images_container');
used[used.length] = i;
}
});
</script>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/da_DK/all.js#xfbml=1&appId=183731528408925";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div id="container">
<div id="header">
<h1><img src="images/logo_02.gif" alt="" width="397" height="100" longdesc="
http://www.damnfun.dk/index.html"></h1> </div>
<table width="1050" height="87" border="0">
<tr>
<th width="1050" height="68" background="images/menubar_02.gif" scope="row"><div align="left" class="menubar_1"> <a href="index.html">Hjem</a> | <a href="videoer.html">Videoer</a> | <a href="kontakt.html">Kontakt</a></div></th>
</tr>
</table>
</div>
<div style="margin:10px auto; width:1050px; text-align: center; font-size: 12px;">
<table width="300" border="0" align="right">
</table>
<table width="720" height="461" border="0" align="left" bgcolor="#eeecec">
<tr>
<th height="457" scope="row"><table width="720" border="0">
<center>
<tr>
<th height="71" class="kommenter_tekst" style="text-align: center; background-image: url(images/kommentar_03.gif);" scope="row"><?php echo $title;?></th>
</tr>
</center>
</table>
<p>
<object width="640" height="360"><param name="movie" value="
http://www.youtube.com/v/BNteWgUFXXM&rel=0&hl=da_DK&feature=player_embedded&version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="
http://www.youtube.com/v/BNteWgUFXXM&rel=0&hl=da_DK&feature=player_embedded&version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></embed></object>
</p>
<table width="720" border="0">
<tr>
<th scope="row">Synes du videoen var god så smid en kommentar nedenfor</th>
</tr>
</table></th>
</tr>
</table>
<table width="300" height="512" border="0" align="right" bgcolor="#eeecec">
<tr>
<th height="508" scope="row"><table width="300" border="0" bgcolor="#eeecec">
<tr>
<td height="67" class="flere_videoer" style="text-align: center"><p>Flere Videoer</p></td>
</tr>
<tr>
<th height="433" style="text-align: left" scope="row"><p> </p> <div id="images_container"></div></th>
</tr>
</table></th>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="720" border="0" bgcolor="#eeecec">
<tr>
<th width="600" height="153" scope="row"><table width="720" height="76" border="0">
<tr>
<th width="450" height="46" class="kommenter_tekst" style="text-align: center; background-image: url(images/kommentar_03.gif);" scope="row">Skriv en kommentar nedenunder</th>
</tr>
</table>
<table width="720" border="0">
<tr>
<th scope="row"><div class="fb-comments" data-href="<?php echo $website;?>" data-num-posts="6" canpost="true" data-width="640"></div></th>
</tr>
</table>
<p> </p></th>
</tr>
</table>
</div>
<p> </p>
<p> </p>
<table width="1007" border="0" align="center">
<tr>
<td width="997" height="89" background="images/menubar_03.gif"><div align="left" class="menubar_1">
<div align="center"> Copyright by damnfun.dk</div>
</div></td>
</tr>
</table>
<p> </p>
</body>
</html>
<script type="text/javascript">
//interstitial ad
clicksor_enable_inter = true; clicksor_maxad = -1;
clicksor_hourcap = 1; clicksor_showcap = 2;
//default banner house ad url
clicksor_default_url = '';
clicksor_banner_border = ''; clicksor_banner_ad_bg = '';
clicksor_banner_link_color = ''; clicksor_banner_text_color = '';
clicksor_layer_border_color = '';
clicksor_layer_ad_bg = ''; clicksor_layer_ad_link_color = '';
clicksor_layer_ad_text_color = ''; clicksor_text_link_bg = '';
clicksor_text_link_color = ''; clicksor_enable_text_link = false;
</script>
<script type="text/javascript" src="
http://ads.clicksor.com/newServing/showAd.php?nid=1&pid=240853&adtype=&sid=387622"></script><noscript><a href="
http://www.yesadvertising.com">affiliate marketing</a></noscript>
----------------------KODE--------------------------
Håber du kan hjælpe mig det ville være rigtigt dejligt!
mvh. Jeppe S