بسم الله الرحمن الرحيم
السلام عليكم
أود أن أسأل سؤال فقط هل يمكن تحويل هذا البلوك كي يعمل على شكل أجاكس لأن المعتمد فيه هو
كود PHP:
<marquee behavior='scroll' direction='lift' height='150'scrollamount='3' scrolldelay='0' onmouseover='this.stop()' onmouseout='this.start()'>
وأرجو الإيفادة بارك الله فيكم
وهذه هو البلوك "للنيوك"
كود PHP:
<?php
#######################################################################
# Block for PHP-Nuke
#-------------------------
# HTTP Video Stream Latest 10
#-------------------------
#
# Version 1.0
# Copyright (c) 2005 by:
# Brady
# http://www.scottswebsite.co.uk
#
#
# Shows Latest 10 videos posted to the module HTTP_Video_Stream
#
######################################################################
if (eregi("block-HTTP_Video_Stream.php",$_SERVER['PHP_SELF'])) {
Header("Location: ../index.php");
die();
}
global $db, $prefix, $currentlang;
if ($currentlang) {
if (file_exists("modules/Video_Stream/lang-block/lang-$currentlang.php")) {
include_once("modules/Video_Stream/lang-block/lang-$currentlang.php");
} else {
include_once("modules/Video_Stream/lang-block/lang-english.php");
}
} else {
include_once("modules/Video_Stream/lang-block/lang-english.php");
}
$settings = $db->sql_query("SELECT * FROM ".$prefix."_video_stream_settings WHERE id=1");
$srow = $db->sql_fetchrow($settings);
$ratingshow = $srow['ratingV'];
$result = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY id DESC LIMIT 0,10");
$content = "<marquee behavior='scroll' direction='lift' height='150'scrollamount='3' scrolldelay='0' onmouseover='this.stop()' onmouseout='this.start()'>";
while($row = $db->sql_fetchrow($result)) {
$content .= "<a href=\"modules.php?name=Video_Stream&page=watch&id=".$row['id']."\"><img src=".$row['imgurl']." border=\"0\" width=152 height=152 alt=".$row['vidname']."></a> ";
}
$content .= "</marquee>";
?>
والسلام عليكم ورحمة الله