|
|
#1 (permalink) | |||||||||||||
|
Sources/subs.php’de Bul
Kod:
array( 'tag' => 'green', 'before' => '<span style="color: green;">', 'after' => '</span>', ), Kod:
array(
'tag' => 'green',
'before' => '<span style="color: green;">',
'after' => '</span>',
),
array(
'tag' => 'youtube',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<object width="$2" height="$3"><param name="movie" value="http://www.youtube.com/v/$1" ></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'google_video',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<object width="$2" height="$3"><param name="movie" value="http://video.google.com/googleplayer.swf?docId=$1" ></param><embed src="http://video.google.com/googleplayer.swf?docId=$1" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
Kod:
?> Kod:
$txt['youtube'] = 'YouTube'; $txt['google_video'] = 'Google Video'; ?> Kod:
'img' => array('code' => 'img', 'before' => '
[Linkleri Sadece Üyelerimiz
Görebilir...
]', 'description' => $txt[435]),
Kod:
'img' => array('code' => 'img', 'before' => '
[Linkleri Sadece Üyelerimiz
Görebilir...
]', 'description' => $txt[435]),
'youtube' => array('code' => 'youtube', 'before' => '[youtube=425,350]', 'after' => '[/youtube]', 'description' => $txt['youtube']),
'google_video' => array('code' => 'google_video', 'before' => '[google_video=425,350]', 'after' => '[/google_video]', 'description' => $txt['google_video']),
Kod:
// Print a drop down list for all the colors we allow! if (!isset($context['disabled_tags']['color'])) Kod:
// Print a drop down list for all the colors we allow!
// Youtube ve Google_video Pop Modu ivan_
echo '<script language="JavaScript" type="text/javascript">
// <!' . '--
function youtubeINPT(){
// Enter YOUTUBE .........................................
var youtubeLINK = prompt("YouTube Standart ebatlarini degistirmek istiyorsaniz yeni deger girin veya devam edin:","425,350");
if (youtubeLINK == null ){ //cancel pressed . . .
}
else if (youtubeLINK == "" || youtubeLINK == " "){ //ok pressed but with Notext . . .
alert("Sorry no text entered!");
}
else
{ //ok pressed and there is something :)
// Enter Description ...................................
var youtubeNAME = prompt("Lütfen YouTube Adresi Giriniz:","");
if (youtubeNAME == null ){ //cancel pressed . . .
}
else if (youtubeNAME == "" || youtubeNAME == " "){ //ok pressed but with notext so use YOUTUBE only!
surroundText(\'[youtube]\'+youtubeLINK+\'\', \'[/youtube]\', document.', $context['post_form'], '.', $context['post_box_name'], ');
}
else //ok pressed with text so use YOUTUBE and Name!
surroundText(\'[youtube=\'+youtubeLINK+\']\'+youtubeNAME+\'\', \'[/youtube]\', document.', $context['post_form'], '.', $context['post_box_name'], ');
}
}
// --' . '>
</script>';
// YouTube ve Google_video Pop Modu ivan_
echo '<script language="JavaScript" type="text/javascript">
// <!' . '--
function google_videoINPT(){
// Enter GOOGLE_VİDEO .........................................
var google_videoLINK = prompt("Google_video Standart ebatlarini degistirmek istiyorsaniz yeni deger girin veya devam edin:","425,350");
if (google_videoLINK == null ){ //cancel pressed . . .
}
else if (google_videoLINK == "" || google_videoLINK == " "){ //ok pressed but with Notext . . .
alert("Sorry no text entered!");
}
else
{ //ok pressed and there is something :)
// Enter Description ...................................
var google_videoNAME = prompt("Lütfen Google_video Adresi Giriniz:","");
if (google_videoNAME == null ){ //cancel pressed . . .
}
else if (google_videoNAME == "" || google_videoNAME == " "){ //ok pressed but with notext so use GOOGLE_VİDEO only!
surroundText(\'[google_video]\'+google_videoLINK+\'\', \'[/google_video]\', document.', $context['post_form'], '.', $context['post_box_name'], ');
}
else //ok pressed with text so use GOOGLE_VİDEO and Name!
surroundText(\'[google_video=\'+google_videoLINK+\']\'+google_videoNAME+\'\', \'[/google_video]\', document.', $context['post_form'], '.', $context['post_box_name'], ');
}
}
// --' . '>
</script>';
if (!isset($context['disabled_tags']['color']))
Kod:
foreach ($context['bbc_tags'][1] as $image => $tag)
{
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
Kod:
foreach ($context['bbc_tags'][1] as $image => $tag)
{
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
// YouTube ve Google_video pop modu ivan_
if (isset($tag['code']) && $tag['code'] == 'youtube')
{
echo '<a href="javascript:void(0);" onclick="youtubeINPT(); return false;"><img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" border="0" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
continue;
}
// YouTube ve Google_video pop modu ivan_
if (isset($tag['code']) && $tag['code'] == 'google_video')
{
echo '<a href="javascript:void(0);" onclick="google_videoINPT(); return false;"><img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" border="0" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
continue;
}
bunu youtube.gif adıyla bunuda google_video.gif adıyla... atacaksınız. |
|||||||||||||
|
|
| Konu Araçları | |
| Mod Seç | |
|
|
|
||||
| Konu | Konuyu Başlatan | Forum | Yanıt | Son Mesaj |
| EN İYİ codec programı Calısmayan film vs kalmayacak ...'! | jiyana bi rumet | Ses ve Görüntü | 48 | 31-05-2008 10:17 AM |
| FuLL ProGRaM DowNLoaD... | BİLAL_can47 | Program Download | 3 | 04-11-2007 06:20 PM |
| google dan para kazanmanın yolu | HEWALZAZA | Resimli Program Anlatımları | 5 | 03-05-2007 12:56 PM |
| Google Adsense | ByMixture | Web Tasarımı / Php, Asp, Perl, Cgi Scriptler | 0 | 14-04-2007 01:09 PM |
| Bütün Google Servisleri Burada | paradox | İlginç Konular | 6 | 16-09-2006 03:17 PM |
Bir Forum sitesi
olduğumuzdan, kullanıcılar önceden onay almadan her türlü görüşlerini yazabilmektedir.
Yazılanlardan dolayı oluşabilecek her türlü yasal sorumluluk, yazan kullanıcılara
aittir.
Yinede sitemizde yasalara aykırı herhangi bir durum
görürseniz; Lütfen,
bydigi@gmail.com'a yada
İletişim'e bildiriniz.
Mesajınız incelenip, kısa bir süre içerisinde gereken müdahale yapılacaktır.