صفحة 1 من 1
????? ???? video bbcode
مرسل: الاثنين نوفمبر 02, 2009 12:57 am
بواسطة Masrawy
????? ???? video bbcode
??? ?????? ??? ????? ??? ???? ????? ???? ????? ???? ??? ?? 5 ???? ?????? ????? ???? ??????? ?? ??????
?? ???? ????? ???? ?? ???? ?????? ????? ?????? ??? ?? ???? ?????
????? ???? ??????? ??? ??? ??? ????
http://www.phpbb.com/community/viewtopi ... &start=735
????? ???? video bbcode
مرسل: الاثنين نوفمبر 02, 2009 1:00 pm
بواسطة Masrawy
???? ????? ???? ?? ??????? ????? ??????? ??? ????? ??????
??? ??? ??? ???? ???? ?
http://
?? ???? ?????? ?????? ????
كود: تحديد الكل
<?php
foreach ($_GET as $key => $item){
if ($key!='link' and $key!='debug'){
$_GET['link'].='&'.$key.'='.$item;
}
}
If ($_GET['link']){
If ($_GET['debug']) echo '<script>';
echo "window.document.write('".preg_replace('/<\/script>/', '</scr\'+\'ipt>', addslashes(get_video($_GET['link'])))."');";
If ($_GET['debug']) echo '</script>';
}
function get_video($link){
$values = array (
//http://www.youtube.com/watch?v=OygxkgewEhU
array('/youtube\.com.*v=([^&]*)/i', '<embed src="http://www.youtube.com/v/{ID_VIDEO}&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed>'),
);
foreach ($values as $value){
if (preg_match($value[0], $link, $matches)){
$id_video=$matches[1];
return preg_replace_callback('/{.*?}/', create_function('$matches', 'switch (true){
case preg_match("/\{ID_VIDEO\}/", $matches[0]):
return "'.$id_video.'";
break;
case preg_match("/\{LINK\}/", $matches[0]):
return "'.$link.'";
break;
case preg_match("/\{DOWNLOAD(.*?)%(.*?)%(.*?)\}/", $matches[0], $matches2):
if (empty($matches2[1])) $matches2[1]="'.$link.'";
preg_match($matches2[2], file_get_contents(str_replace(" ","+",$matches2[1])), $matches3);
if (empty($matches2[3])){
return $matches3[1];
}else{
$t=$matches3[1];
foreach(explode("|", $matches2[3]) as $e){
eval(\'$t=\'.$e.\'($t);\');
}
return $t;
}
break;
}
return $matches[0];'), $value[1]);
}
}
return 'Error, site not recognized';
}
?>
????? ???? video bbcode
مرسل: الاثنين نوفمبر 02, 2009 2:54 pm
بواسطة Masrawy
????? ???? video bbcode
مرسل: الاثنين نوفمبر 02, 2009 4:32 pm
بواسطة Garebooo
???? ??? ?????? ???? ????? ??? ????????
????? ???? video bbcode
مرسل: الاثنين نوفمبر 02, 2009 4:54 pm
بواسطة Masrawy
Garebooo كتب:???? ??? ?????? ???? ????? ??? ????????
?? ??? ??? ???? ???? ???????? ?????? ?????? ????? ?? ?????? ??? ?? ??????

????? ???? video bbcode
مرسل: الثلاثاء نوفمبر 03, 2009 3:13 am
بواسطة Garebooo
كود: تحديد الكل
<?php
foreach ($_GET as $key => $item){
if ($key!='link' and $key!='debug'){
$_GET['link'].='&'.$key.'='.$item;
}
}
If ($_GET['link']){
If ($_GET['debug']) echo '<script>';
echo "window.document.write('".preg_replace('/<\/script>/', '</scr\'+\'ipt>', addslashes(get_video($_GET['link'])))."');";
If ($_GET['debug']) echo '</script>';
}
function get_video($link){
$values = array (
//http://www.youtube.com/watch?v=OygxkgewEhU
array('/youtube\.com.*v=([^&]*)/i', '<embed src="www.youtube.com/v/{ID_VIDEO}&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed>'),
);
foreach ($values as $value){
if (preg_match($value[0], $link, $matches)){
$id_video=$matches[1];
return preg_replace_callback('/{.*?}/', create_function('$matches', 'switch (true){
case preg_match("/\{ID_VIDEO\}/", $matches[0]):
return "'.$id_video.'";
break;
case preg_match("/\{LINK\}/", $matches[0]):
return "'.$link.'";
break;
case preg_match("/\{DOWNLOAD(.*?)%(.*?)%(.*?)\}/", $matches[0], $matches2):
if (empty($matches2[1])) $matches2[1]="'.$link.'";
preg_match($matches2[2], file_get_contents(str_replace(" ","+",$matches2[1])), $matches3);
if (empty($matches2[3])){
return $matches3[1];
}else{
$t=$matches3[1];
foreach(explode("|", $matches2[3]) as $e){
eval(\'$t=\'.$e.\'($t);\');
}
return $t;
}
break;
}
return $matches[0];'), $value[1]);
}
}
return 'Error, site not recognized';
}
?>
?????? ????? ???? ???????
????? ???? video bbcode
مرسل: الثلاثاء نوفمبر 03, 2009 1:37 pm
بواسطة Masrawy
Garebooo كتب:كود: تحديد الكل
<?php
foreach ($_GET as $key => $item){
if ($key!='link' and $key!='debug'){
$_GET['link'].='&'.$key.'='.$item;
}
}
If ($_GET['link']){
If ($_GET['debug']) echo '<script>';
echo "window.document.write('".preg_replace('/<\/script>/', '</scr\'+\'ipt>', addslashes(get_video($_GET['link'])))."');";
If ($_GET['debug']) echo '</script>';
}
function get_video($link){
$values = array (
//http://www.youtube.com/watch?v=OygxkgewEhU
array('/youtube\.com.*v=([^&]*)/i', '<embed src="www.youtube.com/v/{ID_VIDEO}&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed>'),
);
foreach ($values as $value){
if (preg_match($value[0], $link, $matches)){
$id_video=$matches[1];
return preg_replace_callback('/{.*?}/', create_function('$matches', 'switch (true){
case preg_match("/\{ID_VIDEO\}/", $matches[0]):
return "'.$id_video.'";
break;
case preg_match("/\{LINK\}/", $matches[0]):
return "'.$link.'";
break;
case preg_match("/\{DOWNLOAD(.*?)%(.*?)%(.*?)\}/", $matches[0], $matches2):
if (empty($matches2[1])) $matches2[1]="'.$link.'";
preg_match($matches2[2], file_get_contents(str_replace(" ","+",$matches2[1])), $matches3);
if (empty($matches2[3])){
return $matches3[1];
}else{
$t=$matches3[1];
foreach(explode("|", $matches2[3]) as $e){
eval(\'$t=\'.$e.\'($t);\');
}
return $t;
}
break;
}
return $matches[0];'), $value[1]);
}
}
return 'Error, site not recognized';
}
?>
?????? ????? ???? ???????
???? ??? ????? ?? ???? ??? ?? ??? ??????? ?????? ???? ???? ?????? ?? ???? ?????????? ???? ????????? ??? ?? ?? ?? ??????
????? ???? video bbcode
مرسل: الأربعاء نوفمبر 04, 2009 1:40 pm
بواسطة Masrawy
?? ???? ???? ???? ????? ????? ???? ????? ?? ??????
??? ?? ???? ??? ???? ??????
????? ???? video bbcode
مرسل: السبت ديسمبر 12, 2009 8:51 am
بواسطة holyland
???? ??? ????? ?? ???? ??? ?? ??? ??????? ?????? ???? ???? ?????? ?? ???? ?????????? ???? ????????? ??? ?? ?? ?? ??????
????? ??? ???? ??? ???????
????? ??? ??? ????? ?? ??? ??????? ??? ?? ??????? ??? ????????? ?? ????
?????