'1' )"; mysql_query($qq); if(mysql_affected_rows()>0){ print "<p align=center class=text>تم الارسال بنجاح .. شكرا لك </p><br /><br /><br /><br />"; }else{ print "<p align=center class=text>لم تتم الاضافة .. حاول مرة اخرى </p><br /><br /><br /><br />"; } }else{ print "<p align=center class=text> من فضلك أدخل كافة الحقول <a href='#' class=text onclick='window.refresh()' >محاولة أخرى !</a></p> <br /><br /><br /><br />"; }
كتابة هنا أدخل كتابة هناأدخل كتابة هناأدخل كتابة هناأدخل كتابة هناأدخل كتابة هناأدخل كتابة هناأدخل كتابة هنا أدخل كتابة هنا
كتابة هنا أدخل كتابة هناأدخل كتابة هناأدخل كتابة هناأدخل كتابة هناأدخل كتابة هناأدخل كتابة هناأدخل كتابة هنا أدخل كتابة هنا
var loadstatus="<p align=center ><br /><img src='images/load.gif' /></p>"; function creatobj(){ var http_request = ""; var http_request = false; if (window.XMLHttpRequest) { // mozilla , safari.. http_request = new XMLHttpRequest();
if (http_request.overrideMimeType) { http_request.overrideMimeType('text/xml'); } } else if (window.ActiveXObject) { // internet explorer try { http_request = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { http_request = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {} } } if (!http_request) { alert('تعذر اكمال الطلب .. حاول مرة اخرى'); return false; } return http_request; }// creatobj
function PostRequest(myUrl,viriables,num){ http_request=creatobj(myUrl); http_request.onreadystatechange = function() { displayresults(http_request,num);
function displayresults(http_request,num){ if(http_request.readyState==4){ if(http_request.status==200){ var theDiv="contentdiv"+num; var content=http_request.responseText; document.getElementById(theDiv).innerHTML=""; document.getElementById