الويب العربي

الويب العربي (http://www.arabwebtalk.com/index.php)
-   قسم المنتديات (http://www.arabwebtalk.com/forumdisplay.php?f=112)
-   -   الابتسامات في الرد السريع (http://www.arabwebtalk.com/showthread.php?t=74425)

bhshahad 16-01-2008 03:28 AM

الابتسامات في الرد السريع
 
المرفقات 1
الكود في المرفقات

راشد سيف 16-01-2008 10:23 PM

مشكوووووووور

C asper 24-01-2008 01:19 AM

يسلموووووو

انا مودي انا 06-02-2008 03:55 PM

ياجماعه فتحت التمبلت
وطلعلي هالكلام
<!-- / www.bdr130.net الحقوق محفوظة ولااسمح بازالتها او التعديل على الملفات اخوكم الدربيل - ابو عمر -->
<script type="text/javascript">
function insertHTML() {
var SelectColor = "background-color:white;color:black";
dcidocument.write('<select style="' + SelectColor + ';font-family:MS Sans Serif;font-size:8pt" onchange="Editor_addCodealbahoot(\'\'+this[this.selectedIndex].value+\'\',\'\');this.selectedIndex=0">');
dcidocument.write('<option selected>جُمل مختصرة</option>');
dcidocument.write('<option value="السلام عليكم ورحمة الله وبركاته\n">السلام</option>');
dcidocument.write('<option value="بسم الله الرحمن الرحيم\n">البسملة</option>');
dcidocument.write('<option value="مرحبا بك أخي ">ترحيب</option>');
dcidocument.write('<option value="الصلاة والسلام على أشرف الأنبياء والمرسلين سيدنا محمد وعلى آله وصحبه أجمعين\n">الصلاة على محمد</option>');
dcidocument.write('<option value="بارك الله بك , شكراً أخي الكريم\n">شكراً</option>');
dcidocument.write('<option value="مبارك عليكم">مباركة</option>');
dcidocument.write('<option value="تقبلوا خالص تحياتي\nأخوكم">تحياتي</option>');
dcidocument.write('</select>'),
dcidocument.write('&nbsp;');
dcidocument.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">');
dcidocument.write('<option selected>زخــرفــة نصــوص</option>');
dcidocument.write('<option value="«®°·.¸.•°°·.¸¸.•°°·.¸.• °®»">«®°·.¸.•°°·.¸¸.•°°·.¸. °®»</option>');
dcidocument.write('<option value="][®][^][®][">][®][^][®][</option>');
dcidocument.write('<option value="][`~*¤!||!¤*~`][">][`~*¤!||!¤*~`][</option>');
dcidocument.write('<option value="°ˆ~*¤®§(*§*)§®¤*~ˆ°">°ˆ~*¤® (*§*)§®¤*~ˆ°</option>');
dcidocument.write('<option value="^&)§¤°^°§°^°¤§(&^">^&)§¤°^°§ ^°¤§(&^</option>');
dcidocument.write('<option value="*·~-.¸¸,.-~*">*·~-.¸¸,.-~*</option>');
dcidocument.write('<option value="×?°"?`"°?×">×?°"?`"°?×</option>');
dcidocument.write('<option value="|--*¨®¨*--|">|--*¨®¨*--|</option>');
dcidocument.write('<option value="~*¤ô§ô¤*~">~*¤ô§ô¤*~</option>');
dcidocument.write('<option value="~*¤ô§ô¤*~*¤ô§ô¤*~">~*¤ô§ô¤*~ *¤ô§ô¤*~</option>');
dcidocument.write('<option value="|؛¤ّ,¸¸,ّ¤؛|">|؛¤ّ,¸¸,ّ¤؛|</ option>');
dcidocument.write('<option value="][][§¤°^°¤§][][">][][§¤°^°¤§][][</option>');
dcidocument.write('<option value="§¤~¤§¤~¤§">§¤~¤§¤~¤§</option> ');
dcidocument.write('<option value="§¤°~®~°¤§">§¤°~®~°¤§</option> ');
dcidocument.write('</select>');
dcidocument.write('&nbsp;');
dcidocument.write('<select style="' + SelectColor + ';font-family:MS Sans Serif;font-size:8pt" onchange="Editor_addCode(\'[size=\'+this[this.selectedIndex].value+\']\',\'[/size]\');this.selectedIndex=0">');
dcidocument.write('<option selected>حجم الخط</option>');
dcidocument.write('<option value="1">1</option>');
dcidocument.write('<option value="2">2</option>');
dcidocument.write('<option value="3">3</option>');
dcidocument.write('<option value="4">4</option>');
dcidocument.write('<option value="5">5</option>');
dcidocument.write('<option value="6">6</option>');
dcidocument.write('<option value="7">7</option>');
dcidocument.write('</select> ');
dcidocument.write('&nbsp;');
dcidocument.write('<select style="' + SelectColor + ';font-family:MS Sans Serif;font-size:8pt" onchange="Editor_addCode(\'[font=\'+this[this.selectedIndex].value+\']\',\'[/font]\');this.selectedIndex=0">');
dcidocument.write('<option selected>نوع الخط</option>');
dcidocument.write('<option value="Arial">Arial</option>');
dcidocument.write('<option value="Arial Black">Arial Black</option>');
dcidocument.write('<option value="Arial Narrow">Arial Narrow</option>');
dcidocument.write('<option value="Comic Sans MS">Comic Sans MS</option>');
dcidocument.write('<option value="Courier New">Courier New</option>');
dcidocument.write('<option value="System">System</option>');
dcidocument.write('<option value="Tahoma">Tahoma</option>');
dcidocument.write('<option value="Times New Roman">Times New Roman</option>');
dcidocument.write('<option value="Simplified Arabic">Simplified Arabic</option>');
dcidocument.write('<option value="Verdana">Verdana</option>');
dcidocument.write('<option value="Wingdings">Wingdings</option>');
dcidocument.write('</select>&nbsp;');
dcidocument.write('&nbsp;');
}
var buttons = new Array();
function addRow(a) {
buttons = buttons.concat("*");
buttons = buttons.concat(a);
}
function showButtons() {
addRow (new Array("cut|قص","copy|نسخ","paste|لصق","del ete|إزالة","keyb|إظهار لوحة المفاتيح العربية","plain|الغاء التنسيق","ltr|تحويل الكتابة من اليسار إلى اليمين","rtl|تحويل الكتابة من اليمين إلى اليسار","bold|داكن","italic|مائل","u line|خط سفلي","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|بريق","g radient|ألوان متدرجة","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 (dcidocument.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;
dcidocument.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">');
dcidocument.write('<tr><td>');
newRow = 1;
for (var i = 0; i < buttons.length; i++) {
if (i % 15 == 0) {
dcidocument.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>';
dcidocument.write(tbl);
if ((i + 1) % 15 == 0) {
dcidocument.write('</tr></table>');
newRow = 1;
}
}
if (newRow == 0) {
dcidocument.write('</tr></table>');
}
dcidocument.write('</td></tr></table>');
}
function addButtons(buttons) {
var tbl, bn, newRow;
dcidocument.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">');
dcidocument.write('<tr><td align="left">');
dcidocument.write('<table dir="ltr" border="0" cellpadding="0" cellspacing="0" width="100%" style="border:1px ridge" height=20px><tr><td align="right">');
insertHTML();
dcidocument.write('</td></tr></table>');
newRow = 1;
for (var i = 0; i < buttons.length; i++) {
if (buttons[i] == "*") {
if (newRow == 0) {
dcidocument.write('</tr></table>');
dcidocument.write('</td></tr></table>');
newRow = 1;
}
continue;
}
if (newRow) {
dcidocument.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">');
dcidocument.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>';
dcidocument.write(tbl);
}
if (newRow == 0) {
dcidocument.write('</tr></table>');
dcidocument.write('</td></tr></table>');
}
dcidocument.write('<table dir="rtl" border="0" cellpadding="0" cellspacing="0" width="100%" style="border:1px ridge"><tr>');
dcidocument.write('<td width="1px"><img border="0" align="middle" src="images/toolbox/tip.gif"></td>');
dcidocument.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>');
dcidocument.write('</table>');
dcidocument.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=550 px,height=350px,left=50px,top=100px");
}
} else
EditorFunctions(btn);
}
function Editor_getSelText() {
var oSelect,oSelectRange;
dcidocument.vbform.message.focus();
oSelect = dcidocument.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") {
dcidocument.vbform.message.dir=tag.substr(tag);
}
else if (tag == "bold") {
Editor_addCode("","");
}
else if (tag == "italic") {
Editor_addCode("","");
}
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("
كود PHP:

"," 

");
}
else if (tag == "html") {
Editor_addCode("[html]","[/html]");
}
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_Ed itor_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 = "";
}

else if (tag == "cc") {
var oSelText = Editor_getSelText();
if (oSelText.text == "") {
alert("يرجى تظليل النص أولا");
return;
}
var ob = window.prompt("أدخل اسم الزر :","مثلا انقر هنا لمشاهدة المحتوى المخفي");
if (ob)
if (oSelText.text=="")
oSelText.text = "[cc]"+ob+"[/cc]";
else
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 = "[3mr]"+ob+"[/3mr]";
else
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 = "
";
else
oSelText.text = "[button]"+ob+"[/button]";
}
}
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 = ""
}
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+"";
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 +"";
}
else if (tag == "image") {
var oSelText = Editor_getSelText();
var link=((oSelText.text=="")?"http://":oSelText.text) ;
var ob = window.prompt("أدخل رابط الصورة:",link);
if (ob)
oSelText.text = "[img]"+ob+"[/img]";
}
else if (tag == "bimg") {
var oSelText = Editor_getSelText();
var link=((oSelText.text=="")?"http://":oSelText.text) ;
var ob = window.prompt("أدخل رابط الصورة المراد ضبطها:",link);
if (ob)
oSelText.text = "[BiMg]&quot+ob+&quot[/BiMg]";
}
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("[moves="+tag.substr(1).toLowerCase()+"]","[/moves]");
}
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 = "";
else
oSelText.text = "";
}
}
}
else if (tag == "media") {
var oSelText = Editor_getSelText();
var link=((oSelText.text=="")?"http://":oSelText.text) ;
var ob = window.prompt("أدخل ملف الصوت والصورة:", link);
if (ob)
oSelText.text = "";
}
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 = "";
}
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 = "
"
}
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 = '[foasl]' + oSelText.text + '[/foasl]';
}
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=550 px,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 الحقوق محفوظة ولااسمح بازالتها او التعديل على الملفات اخوكم الدربيل - ابو عمر -->

انا مودي انا 06-02-2008 03:58 PM

مع العلم ان نسخة منتداي 3.6.8

سعوديه جرافيكس 07-02-2008 03:06 AM

يعطييك العافيه

E N T E R 07-02-2008 04:17 PM

هذا الصندوق الماسي ..

شكراً اخوي


جميع الأوقات بتوقيت مكة المكرمة. الساعة الآن » 05:43 PM.

Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © ArabWebTalk.Com 2004-2012