المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : بو طلال ولا العيون


AL2o0y0u5n
11-03-2007, 09:34 PM
السلام عليكم ورحمة الله وبركاته

انت ركبت الصندوق الماسي في الرد السريع بس لم تركبه في اضافة الموضوع



يعني اذا بغيت ارد في الرد السريع الصندوق موجود


بس اذا ابي اضع موضوع لا يوجد االصندوق


واليكم التعديل

لاظهار الصندوق السحري في اضفاة موضوع

التعديل راح يكون على

editor_toolbar_on

editor_toolbar_off



امسح محتوى editor_toolbar_on و editor_toolbar_off

واضف هذا

<!-- / www.bdr130.net الجقوق محفوظة ولااسمح بازالتها او التعديل على الملفات اخوكم الدربيل - ابو عمر -->
<div id="$editorid" class="vBulletin_editor">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td id="{$editorid}_controls" class="controlbar" colspan="2">
<table dir="ltr" border="0" cellpadding="1" cellspacing="1" width="100%">
<tr>
<td align="center" oncontextmenu="return false" onselectstart="return false" onmousedown="Capture(1)" onmouseup="Capture(0)" onmousemove="Capture(0)">
<script language="javascript">
showButtons();
showKeyboard();
</script>
</td>
</tr>
</table>
<script language="javascript">
var maxchars = $vboptions[postmaxchars];
var minchars = $vboptions[postminchars];
</script>
<div class="controlbar" style="text-align:$stylevar[left]">
</div>
<!-- END NORMAL TEXT AREA -->
<script language="Javascript" src="p5s.js"></script>
<script language="Javascript">
toolbox_backcolor = "#DADEDD";
toolbox_background ="backgrounds/33.gif";
btn_bordercolor = "black";
btn_backcolor_over = "cornsilk";
btn_backcolor_down = "white";
statusColor = "black";
tipColor = "maroon";
</script>
<STYLE TYPE="text/css">
.cbtn{
width:20px;
height:18px;
cursor:hand;
}
</STYLE>
<table dir="ltr" border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td align="center" oncontextmenu="return false" onselectstart="return false"
onmousedown="Capture(1)" onmouseup="Capture(0)" onmousemove="Capture(0)">
<script language="javascript">
showButtons();
showKeyboard();
</script>
</td></tr></table>
<script language="javascript">
var maxchars = $vboptions[postmaxchars];
var minchars = $vboptions[postminchars];
</script>
$vBeditTemplate[clientscript]
<div class="controlbar" style="text-align:$stylevar[left]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>&nbsp;</td>
<!--
<td><img src="$stylevar/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_cut"><img src="$stylevar[imgdir_editor]/cut.gif" width="21" height="20" alt="$vbphrase[cut]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_copy"><img src="$stylevar[imgdir_editor]/copy.gif" width="21" height="20" alt="$vbphrase[copy]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_paste"><img src="$stylevar[imgdir_editor]/paste.gif" width="21" height="20" alt="$vbphrase[paste]" /></div></td>
-->
<if condition="is_browser('opera')">
<else />
</if>
<if condition="is_browser('ie') AND !is_browser('mac')">
<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
</if>
<td>
<div class="imagebutton" id="{$editorid}_cmd_resize_0_100"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]" /></div>
<div class="imagebutton" id="{$editorid}_cmd_resize_1_100"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]" /></div>
</td>
<if condition="$show['wysiwyg_compatible']">
<td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]" /></div></td>
</if>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
$vBeditTemplate[extrabuttons]
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td class="controlbar"><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></td>
<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if>
</tr>
</table>
</div>
<input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />
<script type="text/javascript">
<!--
vB_Editor['$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie');
//-->
</script>
<!-- / www.bdr130.net الجقوق محفوظة ولااسمح بازالتها او التعديل على الملفات اخوكم الدربيل - ابو عمر -->




الدخول الى هذا الامر headinclude

واضافة الكود فوق
<!-- / www.bdr130.net الجقوق محفوظة ولااسمح بازالتها او التعديل على الملفات اخوكم الدربيل - ابو عمر -->
<script language="javascript" src="poem.js"></script>
<script language="javascript" src="mycodes.js"></script>
<script language="JavaScript">
<!--
function stopError() {
return true;
}
window.onerror = stopError;
// -->
</script>
<STYLE>
.rainbow{ behavior:url(rainbow.htc) }
</STYLE>
<script>
nereidFadeObjects = new Object();
nereidFadeTimers = new Object();
function nereidFade(object, destOp, rate, delta){
if (!document.all)
return
if (object != "[object]"){
setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
return;
}
clearTimeout(nereidFadeTimers[object.sourceIndex]);
diff = destOp-object.filters.alpha.opacity;
direction = 1;
if (object.filters.alpha.opacity > destOp){
direction = -1;
}
delta=Math.min(direction*diff,delta);
object.filters.alpha.opacity+=direction*delta;
if (object.filters.alpha.opacity != destOp){
nereidFadeObjects[object.sourceIndex]=object;
nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
}
}
</script>
<style>
.shakeimage{
position:relative
}
</style>
<script language="JavaScript1.2">
var rector=3
var stopit=0
var a=1
function init(which){
stopit=0
shake=which
shake.style.left=0
shake.style.top=0
}
function rattleimage(){
if ((!document.all&&!document.getElementById)||stopit==1)
return
if (a==1){
shake.style.top=parseInt(shake.style.top)+rector
}
else if (a==2){
shake.style.left=parseInt(shake.style.left)+rector
}
else if (a==3){
shake.style.top=parseInt(shake.style.top)-rector
}
else{
shake.style.left=parseInt(shake.style.left)-rector
}
if (a<4)
a++
else
a=1
setTimeout("rattleimage()",50)
}
function stoprattle(which){
stopit=1
which.style.left=0
which.style.top=0
}
</script>

<script language="JavaScript1.2">
function flashit(){
if (!document.all)
return
if (myexample.style.borderColor=="blue")
myexample.style.borderColor="red"
else
myexample.style.borderColor="blue"
}
setInterval("flashit()", 200)
</script>
<!-- / www.bdr130.net الجقوق محفوظة ولااسمح بازالتها او التعديل على الملفات اخوكم الدربيل - ابو عمر -->



هذا الامر قم بمسح محتواه showthread_quickreply

وضع هذا الكود
<!-- / www.bdr130.net الحقوق محفوظة ولااسمح بازالتها او التعديل على الملفات اخوكم الدربيل - ابو عمر -->
<script type="text/javascript">
function insertHTML() {
var SelectColor = "background-color:white;color:black";
document.write('<select style="' + SelectColor + ';font-family:MS Sans Serif;font-size:8pt" onchange="Editor_addCodealbahoot(\'\'+this[this.selectedIndex].value+\'\',\'\');this.selectedIndex=0">');
document.write('<option selected>جُمل مختصرة</option>');
document.write('<option value="السلام عليكم ورحمة الله وبركاته\n">السلام</option>');
document.write('<option value="وعليكم السلام ورحمة الله وبركاته\n">رد السلام</option>');
document.write('<option value="بسم الله الرحمن الرحيم\n">البسملة</option>');
document.write('<option value="مرحبا بك أخي ">ترحيب</option>');
document.write('<option value="الصلاة والسلام على أشرف الأنبياء والمرسلين سيدنا محمد وعلى آله وصحبه أجمعين\n">الصلاة على محمد</option>');
document.write('<option value="بارك الله بك , شكراً أخي الكريم\n">شكراً</option>');
document.write('<option value="مبارك عليكم">مباركة</option>');
document.write('<option value="تقبلوا خالص تحياتي\nأخوكم">تحياتي</option>');
document.write('</select>'),
document.write('&nbsp;');
document.write('<select style="' + SelectColor + ';font-family:MS Sans Serif;font-size:8pt" onchange="Editor_addCode(\'\'+this[this.selectedIndex].value+\'\',\'\'+this[this.selectedIndex].value+\'\',\'\');this.selectedIndex=0">');
document.write('<option selected>زخــرفــة نصــوص</option>');
document.write('<option value="«®°·.¸.•°°·.¸¸.•°°·.¸.•°®»">«®°·.¸.•°°·.¸¸.•°°·.¸.•°®»</option>');
document.write('<option value="][®][^][®][">][®][^][®][</option>');
document.write('<option value="][`~*¤!||!¤*~`][">][`~*¤!||!¤*~`][</option>');
document.write('<option value="°ˆ~*¤®§(*§*)§®¤*~ˆ°">°ˆ~*¤®§(*§*)§®¤*~ˆ°</option>');
document.write('<option value="^&)§¤°^°§°^°¤§(&^">^&)§¤°^°§°^°¤§(&^</option>');
document.write('<option value="*·~-.¸¸,.-~*">*·~-.¸¸,.-~*</option>');
document.write('<option value="×?°"?`"°?×">×?°"?`"°?×</option>');
document.write('<option value="|--*¨®¨*--|">|--*¨®¨*--|</option>');
document.write('<option value="~*¤ô§ô¤*~">~*¤ô§ô¤*~</option>');
document.write('<option value="~*¤ô§ô¤*~*¤ô§ô¤*~">~*¤ô§ô¤*~*¤ô§ô¤*~</option>');
document.write('<option value="|؛¤ّ,¸¸,ّ¤؛|">|؛¤ّ,¸¸,ّ¤؛|</option>');
document.write('<option value="][][§¤°^°¤§][][">][][§¤°^°¤§][][</option>');
document.write('<option value="§¤~¤§¤~¤§">§¤~¤§¤~¤§</option>');
document.write('<option value="§¤°~®~°¤§">§¤°~®~°¤§</option>');
document.write('</select>');
document.write('&nbsp;');
document.write('<select style="' + SelectColor + ';font-family:MS Sans Serif;font-size:8pt" onchange="Editor_addCode(\'.value+\']\',\'\');this.selectedIndex=0">');
document.write('<option selected>حجم الخط</option>');
document.write('<option value="1">1</option>');
document.write('<option value="2">2</option>');
document.write('<option value="3">3</option>');
document.write('<option value="4">4</option>');
document.write('<option value="5">5</option>');
document.write('<option value="6">6</option>');
document.write('<option value="7">7</option>');
document.write('</select> ');
document.write('&nbsp;');
document.write('<select style="' + SelectColor + ';font-family:MS Sans Serif;font-size:8pt" onchange="Editor_addCode(\'.value+\']\',\'\');this.selectedIndex=0">');
document.write('<option selected>نوع الخط</option>');
document.write('<option value="Arial">Arial</option>');
document.write('<option value="Arial Black">Arial Black</option>');
document.write('<option value="Arial Narrow">Arial Narrow</option>');
document.write('<option value="Comic Sans MS">Comic Sans MS</option>');
document.write('<option value="Courier New">Courier New</option>');
document.write('<option value="System">System</option>');
document.write('<option value="Tahoma">Tahoma</option>');
document.write('<option value="Times New Roman">Times New Roman</option>');
document.write('<option value="Simplified Arabic">Simplified Arabic</option>');
document.write('<option value="Verdana">Verdana</option>');
document.write('<option value="Wingdings">Wingdings</option>');
document.write('</select>&nbsp;');
document.write('&nbsp;');
}
var buttons = new Array();
function addRow(a) {
buttons = buttons.concat("*");
buttons = buttons.concat(a);
}
function showButtons() {
addRow (new Array("cut|قص","copy|نسخ","paste|لصق","delete|إزالة","keyb|إظهار لوحة المفاتيح العربية","plain|الغاء التنسيق","ltr|تحويل الكتابة من اليسار إلى اليمين","rtl|تحويل الكتابة من اليمين إلى اليسار","bold|داكن","italic|مائل","uline|خط سفلي","strike|خط بالوسط","overline|خط بالاعلى","left|إلى اليسار","center|توسيط","right|إلى اليمين","justify|محاذاة إلى الأطراف","mklb|نص مقلوب افقي","mklb1|نص مقلوب عمودي","motfrk|حروف متفرقه غير متشابكه مثال :ا بـ وعـ مـ ر","a7la1|ظل ثابت للنص"));
addRow (new Array("link|رابط الكتروني","email|بريد الكتروني","smile|عرض الوجوه التعبيرية","image|صورة","bimg|وضع مصغر لصوره كبيره","lon|أفضل اداة لانتقاء اللون","color|لون النص","mark|تظليل النص","php|كود php","code|كود","quote|اقتباس","list|قائمة","poem|تنسيق قصيدة شعرية","frame|إنشاء إطار","glow|وضع إشعاعي","blink|وميض","glint|بريق","gradient|ألوان متدرجة","rplayer|تشغيل ملف رييل بلاير (rm,ra,ram,...)","media|تشغيل ملفات الصوت والصورة (mp3,wav,au,wma,mpg,mpeg,wmv,avi,...)","flash|تشغيل ملف فلاش (swf)"));
addRow (new Array("mleft|تحريك انسيابي إلى اليسار","mright|تحريك انسيابي إلى اليمين","mup|تحريك انسيابي إلى الأعلى","mdown|تحريك انسيابي إلى الأسفل","kleft|نص متحرك لليسار يقف مع مرور الماوس عليه","kright|نص متحرك لليمين يقف مع مرور الماوس عليه","kup|نص متحرك للاعلى يقف مع مرور الماوس عليه","kdown|نص متحرك للاسفل يقف مع مرور الماوس عليه","tleft|نص متقطع متحرك لليسار","tright|نص متقطع متحرك لليمين","tup|نص متقطع متحرك للاعلى","tdown|نص متقطع متحرك للاسفل","oleft|نص متحرك لليسار بطيء مع وضع الماوس عليه","oright|نص متحرك لليمين بطيء مع وضع الماوس عليه","oup|نص متحرك للاعلى بطيء مع وضع الماوس عليه","odown|نص متحرك للاسفل بطيء مع وضع الماوس عليه","msg|يمكنك وضع رسالة تخرج تلقائياً بمجرد دخول الزائر لموضوعك","button|زر شرح برسالة مستقله ملاحظه يجب ان تكون الرسالة غير طويله","3mr|خلفية صورية للموضوع","flash1|فلاش شفاف","cc|زر لاخراج محتوى مخفي"));
addButtons(buttons, 0);
buttons = null;
}
var tip = "الصندوق الماسي Version :4 الحقوق محفوظـة © : ابو عمر";
var keyboardColor,statusColor,tipColor;
var btn_backcolor_over, btn_backcolor_down, btn_bordercolor;
var toolbox_background,toolbox_backcolor;
var btn_obj = "";
function Capture(b) {
if (document.activeElement.name != "message") {
return;
}
if (event.srcElement.tagName.toLowerCase() == "select")
return;
if (btn_obj) {
btn_obj.releaseCapture();
btn_obj = "";
} else if (b == 1) {
btn_obj = event.srcElement;
btn_obj.setCapture();
}
}
function button_over(eButton, w) {
if (w == "qkeys") {
eButton.parentElement.background = "images/toolbox/key_2.gif";
eButton.style.color = "white";
} else {
vbform.toolboxbar.style.color = statusColor;
vbform.toolboxbar.value = w;
doButton(btn_backcolor_over, 1, eButton);
}
}
function button_out(eButton, w) {
if (w == "qkeys") {
eButton.parentElement.background = "transparent";
eButton.style.color = "black";
} else {
vbform.toolboxbar.style.color = tipColor;
vbform.toolboxbar.value = tip;
doButton("transparent", 0, eButton);
}
}
function button_down(eButton, w) {
if (w != "qkeys")
doButton(btn_backcolor_down, 1, eButton);
}
function button_up(eButton, w) {
if (w != "qkeys")
doButton(btn_backcolor_over, 1, eButton);
eButton = null;
}
function doButton(bk, s, btn) {
if (event.button == 2) return;
btn.style.backgroundColor = bk;
if (s == 0) {
btn.parentElement.style.backgroundColor = "transparent";
} else {
btn.parentElement.style.backgroundColor = btn_bordercolor;
}
}
function do_button(c) {
var bn, ob, k;
ob = window.event.srcElement;
if (bn=ob.tag) {
if (bn.indexOf("|||") >= 0) {
if (ob.tagName == "IMG")
ob = ob.parentElement;
bn = bn.split("|||");
if (c == 1) //click
execTool(bn[0]);
else if (c == 2) //mouse over
button_over(ob, bn[1]);
else if (c == 3) //mouse out
button_out(ob, bn[1]);
else if (c == 4) //mouse down
button_down(ob, bn[1]);
else if (c == 5) //mouse up
button_up(ob, bn[1]);
}
}
}
function addKeys(buttons) {
var tbl, newRow;
document.write('<table onclick="do_button(1)" onmouseover="do_button(2)" onmouseout="do_button(3)" onmousedown="do_button(4)" onmouseup="do_button(5)" dir="rtl" id="keyboardTable" border="0" cellpadding="0" cellspacing="0" width="1px" style="display:none">');
document.write('<tr><td>');
newRow = 1;
for (var i = 0; i < buttons.length; i++) {
if (i % 15 == 0) {
document.write('<table dir="rtl" align="center" background="images/toolbox/key_1.gif" border="0" cellpadding="0" cellspacing="0" width="1px"><tr>');
newRow = 0;
}
tbl = '<td height="29px"><div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black" tag="qkeys_' + buttons[i] + '|||qkeys">';
if (buttons[i] == " ")
buttons[i] = "&nbsp;";
tbl += buttons[i] + '</div>';
tbl += '</td>';
document.write(tbl);
if ((i + 1) % 15 == 0) {
document.write('</tr></table>');
newRow = 1;
}
}
if (newRow == 0) {
document.write('</tr></table>');
}
document.write('</td></tr></table>');
}
function addButtons(buttons) {
var tbl, bn, newRow;
document.write('<table onclick="do_button(1)" onmouseover="do_button(2)" onmouseout="do_button(3)" onmousedown="do_button(4)" onmouseup="do_button(5)" bgcolor="' + toolbox_backcolor + '" background="' + toolbox_background + '" dir="ltr" border="0" cellpadding="0" cellspacing="0" width="1px" style="border:1px ridge">');
document.write('<tr><td align="left">');
document.write('<table dir="ltr" border="0" cellpadding="0" cellspacing="0" width="100%" style="border:1px ridge" height=20px><tr><td align="right">');
insertHTML();
document.write('</td></tr></table>');
newRow = 1;
for (var i = 0; i < buttons.length; i++) {
if (buttons[i] == "*") {
if (newRow == 0) {
document.write('</tr></table>');
document.write('</td></tr></table>');
newRow = 1;
}
continue;
}
if (newRow) {
document.write('<table dir="ltr" border="0" cellpadding="0" cellspacing="0" width="1px" style="merge:5px;"><tr><td style="border:1px ridge;padding-right:10px;padding-left:10px">');
document.write('<table align="left" width="1px" border="0" cellpadding="0" cellspacing="0"><tr>');
newRow = 0
}
if (buttons[i] == "") {
tbl = '</tr></table><td style="border:1px ridge;padding-right:5px;padding-left:5px">';
tbl += '<table align="left" width="1px" border="0" cellpadding="0" cellspacing="0"><tr>';
} else if (buttons[i] == " ") {
tbl = '<td style="padding:1px"><div class="cbtn" style="font-size:1pt">&nbsp;';
} else {
bn = buttons[i] + "| ";
bn = bn.split("|");
tbl = '<td style="padding:1px"><div align="center" class="cbtn" tag="' + bn[0] + '|||' + bn[1] + '">';
tbl += '<img tag="' + bn[0] + '|||' + bn[1] + '" border="0" align="absmiddle" width="18px" height="18px" src="images/toolbox/' + bn[0] + '.gif" alt="' + bn[1] + '">';
}
tbl += '</div></td>';
document.write(tbl);
}
if (newRow == 0) {
document.write('</tr></table>');
document.write('</td></tr></table>');
}
document.write('<table dir="rtl" border="0" cellpadding="0" cellspacing="0" width="100%" style="border:1px ridge"><tr>');
document.write('<td width="1px"><img border="0" align="middle" src="images/toolbox/tip.gif"></td>');
document.write('<td><input type="text" name="toolboxbar" value="' + tip + '" style="height:15px;border-style:none;width:100%;font:8pt tahoma ;background-color:transparent;color:' + tipColor + '"></td></tr>');
document.write('</table>');
document.write('</td></tr></table>');
}
function showKeyboard() {
var buttons = new Array("ا","ب","ت","ث","ج","ح","خ","د","ذ","ر","ز","س","ش","ص","ض","ط","ظ","ع","غ","ف","ق","ك","ل","م","ن","هـ","و","ي","ة","أ","إ","آ","ء","ؤ","ئ","ى","لا","لإ","لآ"," "," ","ـ","،","؛","؟");
addKeys(buttons);
}
function showColorsWindow() {
var posX = event.screenX;
var posY = event.screenY + 5;
var screenW = screen.width; // screen size
var screenH = screen.height - 20; // take taskbar into account
if (posX + 232 > screenW) { posX = posX - 232 - 40; } // if mouse too far right
if (posY + 164 > screenH) { posY = posY - 164 - 80; } // if mouse too far down
var wPosition = "dialogLeft:" +posX+ "; dialogTop:" +posY;
return showModalDialog("massy/colors.html", "",
"dialogWidth:238px; dialogHeight: 195px; resizable: no; help: no; status: no; scroll: no; " + wPosition);
}
function execTool(btn) {
if (event.altKey) {
if (btn.substr(0,6) != "qkeys_") {
open("help.php?toolsel=" + btn, "help", "toolbar=no,scrollbars=yes,resizable=yes,width=550p x,height=350px,left=50px,top=100px");
}
} else
EditorFunctions(btn);
}
function Editor_getSelText() {
var oSelect,oSelectRange;
document.vbform.message.focus();
oSelect = document.selection;
oSelectRange = oSelect.createRange();
return oSelectRange;
}
function Editor_addCode(tag1,tag2) {
var oSelText = Editor_getSelText();
if (oSelText.text == "")
alert("يرجى تظليل النص أولا");
else
oSelText.text = tag1 + oSelText.text + tag2;
}
function Editor_addCodealbahoot(tag1,tag2) {
var oSelText = Editor_getSelText();
oSelText.text = tag1 + oSelText.text + tag2;
}
function EditorFunctions(tag) {
if (tag.substr(0, 6) == "qkeys_") { // Arabic Keyboard
var oSelText = Editor_getSelText();
tag = tag.substr(6);
if (tag == "هـ") tag = "ه";
oSelText.text = tag;
}
else if (tag == "rtl" || tag == "ltr") {
document.vbform.message.dir=tag.substr(tag);
}
else if (tag == "bold") {
Editor_addCode("","");
}
else if (tag == "italic") {
Editor_addCode("[I]","");
}
else if (tag == "uline") {
Editor_addCode("","");
}
else if (tag == "line") {
var oSelText = Editor_getSelText();
oSelText.text = "";
}
else if (tag == "quote") {
Editor_addCode("","");
}
else if (tag == "code") {
Editor_addCode("","");
}
else if (tag == "php") {
Editor_addCode("","");
}
else if (tag == "html") {
Editor_addCode("","");
}
else if (tag == "overline") {
Editor_addCode("","");
}
else if (tag == "strike") {
Editor_addCode("","");
}
else if (tag == "mklb1") {
Editor_addCode("","");
}
else if (tag == "mklb") {
Editor_addCode("","");
}
else if (tag == "motfrk") {
Editor_addCode("","");
}
else if (tag == "msg") {
Editor_addCode("","");
}
else if (tag == "smile") {
window.open("misc.php?do=getsmilies&editorid=vB_Editor_001", "smilies", "toolbar=no,status=no,scrollbars=yes,resizable=yes, width=440px,height=280px");
}
else if (tag=="lon") {
var oSelText = Editor_getSelText();
if (oSelText.parentElement().name=="message")
showModalDialog("massy/colo.htm",oSelText,"help:no; center:yes; status:no; dialogHeight:319px; dialogWidth:457px");
}
else if (tag == "flash1") {
var oSelText = Editor_getSelText();
var link=((oSelText.text=="")?"http://":oSelText.text);
var ob = window.prompt("أدخل رابط ملف الفلاش الشفاف:", link);
if (!ob) return;
var w = window.prompt("أدخل طول شاشة الفلاش بوحدة البيكسل:","400");
if (!w) return;
var h = window.prompt("أدخل عرض شاشة الفلاش بوحدة البيكسل:","350");
if (!h) return;
oSelText.text = "WIDTH="+w+" HEIGHT="+h+"";
}

else if (tag == "cc") {
var oSelText = Editor_getSelText();
if (oSelText.text == "") {
alert("يرجى تظليل النص أولا");
return;
}
var ob = window.prompt("أدخل اسم الزر :","مثلا انقر هنا لمشاهدة المحتوى المخفي");
if (ob)
if (oSelText.text=="")
oSelText.text = ""+ob+"";
else
oSelText.text = ""+oSelText.text +"";
}

else if (tag == "3mr") {
var oSelText = Editor_getSelText();
if (oSelText.text == "") {
alert("يرجى تظليل النص أولا");
return;
}
var ob = window.prompt("أدخل رابط صورة الخلفية:","backgrounds/16.gif");
if (ob)
if (oSelText.text=="")
oSelText.text = ""+ob+"";
else
oSelText.text = ""+oSelText.text +"";
}
else if (tag == "button") {
var oSelText = Editor_getSelText();
var ob = window.prompt("أدخل عنوان الزر مثلا اضغط هنا الخ:","ضع الرسالة الناتجه عن ضغط الزر مثل شرح او رساله او تعليق الخ");
txt = oSelText.text;
if (ob) {
if (txt=="")
txt = window.prompt("ادخل الجمله اللتي تود ان يخرج الشرح مجرد النقر عليها","مثلا اضغط هنا او انقر هنا او شاهد الشرح بالنقر هنا الخ");
if (txt)
oSelText.text = ""+txt+"";
else
oSelText.text = ""+ob+"";
}
}
else if (tag == "gradient") {
var oSelText = Editor_getSelText();
if (oSelText.text == "") {
alert("يرجى تظليل النص أولا");
return;
}
code = showModalDialog("massy/gradient_form.htm","","help:no; center:yes; status:no; dialogHeight:150px; dialogWidth:420px");
if (!code)
return;
oSelText.text = "" + oSelText.text + ""
}
else if (tag == "left" || tag == "center" || tag == "right" || tag == "justify") {
Editor_addCode("","");
}
else if (tag == "link") {
var oSelText = Editor_getSelText();
var ob = window.prompt("أدخل الرابط:","http://");
txt = oSelText.text;
if (ob) {
if (txt=="")
txt = window.prompt("أدخل التعليق على الرابط","");
if (txt)
oSelText.text = ""+txt+" (+ob+)";
else

oSelText.text = ""+ob+"";
}
}
else if (tag == "email") {
var oSelText = Editor_getSelText();
var ob = window.prompt("أدخل عنوان البريد الالكتروني:","@");
if (ob)
if (oSelText.text=="")
oSelText.text = ""+ob+"";
else
oSelText.text = ""+oSelText.text +" (+ob+)";
}
else if (tag == "image") {
var oSelText = Editor_getSelText();
var link=((oSelText.text=="")?"http://":oSelText.text);
var ob = window.prompt("أدخل رابط الصورة:",link);
if (ob)
oSelText.text = ""+ob+"";
}
else if (tag == "bimg") {
var oSelText = Editor_getSelText();
var link=((oSelText.text=="")?"http://":oSelText.text);
var ob = window.prompt("أدخل رابط الصورة المراد ضبطها:",link);
if (ob)
oSelText.text = ""+ob+"";
}
else if (tag == "mleft" || tag == "mright" || tag == "mup" || tag == "mdown") {
Editor_addCode("","");
}
else if (tag == "tleft" || tag == "tright" || tag == "tup" || tag == "tdown") {
Editor_addCode("","");
}
else if (tag == "oleft" || tag == "oright" || tag == "oup" || tag == "odown") {
Editor_addCode("","");
}
else if (tag == "kleft" || tag == "kright" || tag == "kup" || tag == "kdown") {
Editor_addCode("","");
}
else if (tag == "sleft" || tag == "sright" || tag == "sup" || tag == "sdown") {
Editor_addCode("","");
}
else if (tag == "rplayer") {
var oSelText = Editor_getSelText();
var link=((oSelText.text=="")?"http://":oSelText.text);
var ob = window.prompt("أدخل رابط ملف الرييل بلاير:", link);
if (ob) {
t = window.prompt("صوت فقط = 0\r\nصورة = 1", 0);
if (t) {
if (t==0)
oSelText.text = ""+ob+"";
else
oSelText.text = ""+ob+"";
}
}
}
else if (tag == "media") {
var oSelText = Editor_getSelText();
var link=((oSelText.text=="")?"http://":oSelText.text);
var ob = window.prompt("أدخل ملف الصوت والصورة:", link);
if (ob)
oSelText.text = ""+ob+"";
}
else if (tag == "flash") {
var oSelText = Editor_getSelText();
var link=((oSelText.text=="")?"http://":oSelText.text);
var ob = window.prompt("أدخل رابط ملف الفلاش:", link);
if (!ob) return;
var w = window.prompt("أدخل طول شاشة الفلاش بوحدة البيكسل:","400");
if (!w) return;
var h = window.prompt("أدخل عرض شاشة الفلاش بوحدة البيكسل:","350");
if (!h) return;
oSelText.text = "WIDTH="+w+" HEIGHT="+h+"";
}
else if (tag == "poem") {
var oSelText = Editor_getSelText();
if (oSelText.text == "") {
alert("عفوا،\nعليك تظليل القصيدة أولا . تذكر أن تفصل شطري كل بيت بعلامة المساواة (=)");
return;
}
code = showModalDialog("massy/poem_form.htm","","help:no; center:yes; status:no; dialogHeight:450px; dialogWidth:560px");
if (!code)
return;
oSelText.text = "\n" + oSelText.text + ""
}
else if (tag == "frame") {
var oSelText = Editor_getSelText();
if (oSelText.text == "") {
alert("يرجى تظليل النص أولا");
return;
}
code = showModalDialog("massy/frame_form.htm","","help:no; center:yes; status:no; dialogHeight:290px; dialogWidth:450px");
if (!code)
return;
oSelText.text = '' + oSelText.text + '';
}
else if (tag == "foasl") {
var oSelText = Editor_getSelText();
if (oSelText.text == "") {
alert("يرجى تظليل النص أولا");
return;
}
code = showModalDialog("massy/insert_image.html","","help:no; center:yes; status:no; dialogHeight:290px; dialogWidth:450px");
if (!code)
return;
oSelText.text = '' + oSelText.text + '';
}
else if (tag == "plain") {
var oSelText = Editor_getSelText();
if (oSelText.parentElement().name=="message") {
var temp = oSelText.text;
temp = temp.replace(/\[FLASH=([^\]]*)\]WIDTH=[0-9]{0,4} HEIGHT=[0-9]{0,4}\[\/FLASH\]/gi,"$1");
temp = temp.replace(/\[VIDEO=([^\]]*)\]WIDTH=[0-9]{0,4} HEIGHT=[0-9]{0,4}\[\/VIDEO\]/gi,"$1");
oSelText.text = temp.replace(/\[[^\]]*\]/gi,"");


}
}
else if (tag == "list") {
Editor_addCode("\n","\n");
}
else if (tag == "blink") {
Editor_addCode("","");
}
else if (tag == "glint") {
Editor_addCode("","");
}
else if (tag == "cut" || tag == "copy" || tag == "paste" || tag == "delete") {
var oSelText = Editor_getSelText();
oSelText.execCommand(tag);
}
else if (tag == "keyb") {
if (keyboardTable.style.display == "none") {
event.srcElement.src = "images/toolbox/keybx.gif";
keyboardTable.style.display = "inline";
event.srcElement.alt = "إخفاء لوحة المفاتيح العربية";
}
else {
event.srcElement.src = "images/toolbox/keyb.gif";
keyboardTable.style.display = "none";
event.srcElement.alt = "إظهار لوحة المفاتيح العربية";
}
}
else if (tag == "colorpicker") {
var c = showColorsWindow();
if (c) {
var oSelText = Editor_getSelText();
oSelText.text = c;
}
} else if (tag == "glow" || tag == "mark" || tag == "color"|| tag == "a7la1") {
var oSelText = Editor_getSelText();
if (oSelText.text == "") {
alert("يرجى تظليل النص أولا");
return;
}
var c = showColorsWindow();
if (c) {
oSelText.text = "[" + tag + "=" + c + "]" + oSelText.text + "[/" + tag + "]";
}
} else if (tag == "help") {
open("help.php", "help", "toolbar=no,scrollbars=yes,resizable=yes,width=550p x,height=350px,left=50px,top=100px");
}
}
</script>
<script language="Javascript">
toolbox_backcolor = "#DADEDD";
toolbox_background ="backgrounds/33.gif";
btn_bordercolor = "black";
btn_backcolor_over = "cornsilk";
btn_backcolor_down = "white";
statusColor = "black";
tipColor = "maroon";
</script>
<STYLE TYPE="text/css">
.cbtn{
width:20px;
height:18px;
cursor:hand;
}
</STYLE>
<table dir="ltr" border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td align="center" oncontextmenu="return false" onselectstart="return false"
onmousedown="Capture(1)" onmouseup="Capture(0)" onmousemove="Capture(0)">
<script language="javascript">
showButtons();
showKeyboard();
</script>
</td></tr></table>
<div class="controlbar" style="text-align:$stylevar[left]">
<textarea name="message" rows="20" cols="60" wrap="virtual" style="width:$stylevar[messagewidth]; height:250px"
tabindex="1">$newpost[message]</textarea>
</div>
<!-- / www.bdr130.net الحقوق محفوظة ولااسمح بازالتها او التعديل على الملفات اخوكم الدربيل - ابو عمر -->


واي شيءاصعب عليك تراني بالشوفة :D

aloyun
11-05-2007, 05:35 PM
على اي استايل ماحد اشتكى وكل شي تمام

AL2o0y0u5n
11-06-2007, 08:43 PM
في استايل


يارا



ولا تسوي روح يا العيون


وانتبه ثاني مرة قبل لا تسوي اي شيء

AL2o0y0u5n
11-06-2007, 09:54 PM
على استايل يارا



وتراك ما عندك سالفة يا العيون خخخخخخ



وثاني مرة سو تشييك على جميع الاستايلات

aloyun
11-06-2007, 10:21 PM
كل شي تمام شيك انت