السلام عليكم
أخوان لما أحط كود جافا سكربت بالمنتدى في الهيدر يظهر error on page و هذا هو الكود
كود PHP:
<html dir="rtl">
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
function checkname(loginname) {
var str,test,test1,test2,test3;
str=loginname;
test=str.match(/لله/g);
test1=str.match(/للة/g);
test2=str.match(/(.*)لل(ـ*)ـ(ـ*)ه/g);
test3=str.match(/(.*)لل(ـ*)ـ(ـ*)ة/g);
isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
IEmac = ((document.all)&&(isMac)) ? true : false;
IEwin = ((document.all)&&(navigator.appVersion.indexOf("MSIE")!=-1) && !isMac) ? true : false;
NS = (navigator.appName.indexOf("Netscape")!=-1) ? true : false;
var drawmenu;
drawmenu="<head>"+
"<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1256'>"+
"</head><body>"+
"<font face=times color=#FF0000 size=3><b> من فضلك انتظر قليلا</b></font><br>"+
"<APPLET NAME='DigiChat' CODEBASE='http://65.75.181.101/DigiChat/DigiClasses/' "+
"CODE='com.diginet.digichat.client.DigiChatApplet.class' "+
"HEIGHT=250 WIDTH=250 ALIGN='MIDDLE' "+
"ARCHIVE=Client.jar MAYSCRIPT>"+
" <parm NAME=HttpServlet VALUE=http://65.75.181.101/DigiChat/DigiClasses/>"+
" <param NAME=kickuserhtml VALUE=http://www.hala4all.net/kick.html>"+
" <param name=MenuItem1 value=إختصارات>"+
" <param name=MenuItem2 value=إشتراك السوبر>"+
" <param name=MenuItem3 value=للإتصال بنا>"+
" <param name=MenuLocation1 value=http://www.hala4all.com/shortcuts.html>"+
" <param name=MenuLocation2 value=http://www.hala4all.com/register.html>"+
" <param name=MenuLocation3 value=http://www.hala4all.com/contact2.html>"+
" <PARAM NAME=cabbase value=Client.cab>"+
" <PARAM NAME='nickname' VALUE='"+str+"'>"+
" <PARAM NAME=siteID VALUE=1013>"+
" <PARAM NAME=background VALUE=FFFFFF>"+
" <PARAM NAME=signed VALUE=true>"+
" <PARAM NAME=textcolor VALUE=000000>"+
" <PARAM NAME=language VALUE=arabic.lang>"+
" MG Chat requires a Java Compatible web browser to run. "+
"</APPLET><br>";
if (test || test1|| test2 || test3) {
alert("من فضلك حاول الدخول باسم اخر");
document.login.name.focus();
}
else {
LoginWin = window.open("", "msgwindo", "toolbar=No,menubar=No,location=No,scrollbars=No,resizable=No,width=250,height=250");
LoginWin.document.open();
LoginWin.document.clear();
LoginWin.document.write(drawmenu);
}
}
// End hiding --> </SCRIPT>
</head>
<body>
<td width="193" bgcolor="#314263">
<form name="login">
<p align="center">
<input type="text" name="name" size="17" maxlength="80" value="اسم مستعار" style="font-family: Microsoft Sans Serif; font-size: 8pt">
<input type="button" name="check" onClick="checkname(form.name.value);" value="أدخل" title="دخول" style="border:1px dotted #F95798; FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Microsoft Sans Serif; BACKGROUND-COLOR: #F4CAD6">
</p>
</form>
</td></body>
</html>
قولوا لي هل هناك خطأ و لا المنتدى أصلا لا يدعم