عرض مشاركة مفردة
 
  #4  
قديم 15-12-2009, 09:35 AM
مجـ"ـبور مجـ"ـبور غير متصل
عضو
 
تاريخ التسجيل: Dec 2009
مشاركة: 33
مستوى تقييم العضوية: 0
مجـ"ـبور is on a distinguished road
الافتراضي

من جديد وتتبعاً للكود التالي:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN" "http://www.w3.org/TR/html1/DTD/html1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-language" content="{language}">
<meta name="generator" content="infinity v{version} copyright 2008 by http://www.dci.net.sa">
<meta name="resource-type" content="document">
<meta http-equiv="content-type" content="text/html; charset={encoding}">
<meta name="keywords" content="{inftitle},{keywords}">
<meta name="page-type" content="online newspaper">
<meta name="robots" content="index,follow">
<meta name="description" content="{metadescription}">
<meta name="revisit-after" content="1 days">
<meta name="rating" content="{rating}">
<link rel="shortcut icon" href="{script_url}/favicon.ico" type="image/x-icon">
<title> {title} - {inftitle} - </title>
<!--<meta http-equiv="Page-Enter" content="revealTrans(Duration=0.4,Transition=23)">-->
<link rel="stylesheet" href="{img_dir}/style.css" type="text/css">
<script language="JavaScript1.2">
var script_url = "{script_url}";
function infaction(f,a,module,id){
var reg = new RegExp("save");
if (reg.test(a)){
window.location=(script_url+"/"+f+".php?action="+a +"&m="+module+"&id="+id);
}else{
window.open(script_url+"/"+f+".php?action="+a+"&m= "+module+"&id="+id, "print", "toolbar=no, scrollbars=yes, resizable=yes, width=750, height=450, top=50, left=50");
}
}
</script>
<script type="text/javascript">
startList = function() {
// code for IE
if(!document.body.currentStyle) return;
var subs = document.getElementsByName('submenu');
for(var i=0; i<subs.length; i++) {
var li = subs[i].parentNode;
if(li && li.lastChild.style) {
li.onmouseover = function() {
this.lastChild.style.visibility = 'visible';
}
li.onmouseout = function() {
this.lastChild.style.visibility = 'hidden';
}}}}
window.onload=startList;
</script>
<script type="text/javascript" src="{script_url}/scripts/infinity_ax.js"></script >
</head>
<body>{infclosed}
<script language="JavaScript">function newWindow(mypage,myname,w,h,features) { if(screen.width){ var winl = (screen.width-w)/2; var wint = (screen.height-h)/2; }else{winl = 0;wint =0;} if (winl < 0) winl = 0; if (wint < 0) wint = 0; var settings = 'height=' + h + ','; settings += 'width=' + w + ','; settings += 'top=' + wint + ','; settings += 'left=' + winl + ','; settings += features; win = window.open(mypage,myname,settings); win.window.focus();}</script>
<table align="center" border="0" width="{pwidth}" height="86" cellpadding="0" background="{img_dir}/logobg.gif" style="border-collapse: collapse">
<tr>
<td class="ban" valign="top" align="left"><br>{ban1}
<div class="icons">
<a href="{smaplink}"><img src="{img_dir}/sitemap.gif" alt="{sitemap}" border="0"></a>
<a href="javascript:document.all[0].style.behavior='url(#default#homepage)';document. all[0].setHomePage(location.href);"><img src="{img_dir}/homeh.gif" title="صفحة البداي&#1577;" border="0"></a>
<SCRIPT language="JavaScript">
function Favorite(){
if(document.all){ window.external.AddFavorite(window.document.locati on,window.document.title);}
}
document.write('<a href="#" onclick="Favorite();"><img src="{img_dir}/favorit.gif" border=0 height=11 width=13 hspace=2 title="أضفنا لمفضلتك"></a>');
</SCRIPT>
<a href="mailbox.php?action=newmail"><img src="{img_dir}/e-mail.gif" title="راسلنـــــا" border="0"></a>
</div>
</td>
<td>&nbsp;</td>
<td valign="top" width="1%"><a href="./"><img border="0" src="{img_dir}/logo.gif" alt="{author_name}"></a></td>
</tr>
</table>
<table align="center" class="bodyin" border="0" width="{pwidth}" cellpadding="0" style="border-collapse: collapse">
<tr>
<td valign="top">
<div id="top">
<div class="date">{showdate}<img border="0" src="{img_dir}/arroww3.gif"></div>
<div class="search">
<form action="search.php?action=startsearch" method="POST" >
<script language="javascript">function clearf(object,text){ if (object.value == text) { object.value = ""; object.focus(); }} function setf(object,text){ if(object.value == "") { object.value = text; this.focus(); }}</script>
<input name="keyword" size="17" value="... كلمة البحث هنا ..." onMouseover="clearf(this,'... كلم&#1577; البحث هنا ...')" onmouseout="setf(this,'... كلمة البحث هنا ...')">
<INPUT TYPE="submit" value="ابحث" name="submit">
<br><select size="1" name="searchin">
<!-- START BLOCK : searchmodule -->
<option value="{searchmodule}">في {searchname}</option>
<!-- END BLOCK : searchmodule -->
</select>
</form>
</div>
</div>
<center>
<div class="pro_linedrop">
<ul class="select">
<li class="current"><a href="./"><b>الرئيسية</b></a></li>
<li><a href="../vb"><b>المنتديات</b></a></li>
<!-- START BLOCK : topnavmodel -->
<li><a href="{hlmodel}"><b>{model}</b></a></li>
<!-- END BLOCK : topnavmodel -->
</ul>
</div>
</center>
<br>
<!-- START BLOCK : tickers -->
<table align="center" class="tborder" border="0" cellspacing="1" width="98%">
<!-- START BLOCK : ticker -->
<tr>
<td class="infticker2">{ticker}</td>
<td class="infticker1">جديد {tickertitle}</td>
</tr>
<!-- END BLOCK : ticker -->
</table>
<!-- END BLOCK : tickers -->
<br>
<div id="page">
<b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
<div class="pagecontent">
<table align="center" border="0" cellpadding="0" class="tb" width="99%">
<tr>
<td width="1%" valign=top align="center">


الملاحظ بأن الكود السابق واضح فيه الشخبطات التي باللون الأحمر والتي ليست موجودة في الكود الأصلي لـ headermain.htm

وهنا نفس الكود بعد وضعه في قالب CODE


كود:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN" "http://www.w3.org/TR/html1/DTD/html1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-language" content="{language}">
<meta name="generator" content="infinity  v{version} copyright 2008 by http://www.dci.net.sa">
<meta name="resource-type" content="document">
<meta http-equiv="content-type" content="text/html; charset={encoding}">
<meta name="keywords" content="{inftitle},{keywords}">
<meta name="page-type" content="online newspaper">
<meta name="robots" content="index,follow">
<meta name="description" content="{metadescription}">
<meta name="revisit-after" content="1 days">
<meta name="rating" content="{rating}">
<link rel="shortcut icon" href="{script_url}/favicon.ico" type="image/x-icon">
<title> {title} - {inftitle} - </title>
<!--<meta http-equiv="Page-Enter" content="revealTrans(Duration=0.4,Transition=23)">-->
<link rel="stylesheet" href="{img_dir}/style.css" type="text/css">
<script language="JavaScript1.2">
var script_url = "{script_url}";
function infaction(f,a,module,id){
var reg = new RegExp("save");
if (reg.test(a)){
window.location=(script_url+"/"+f+".php?action="+a+"&m="+module+"&id="+id);
}else{
window.open(script_url+"/"+f+".php?action="+a+"&m="+module+"&id="+id, "print", "toolbar=no, scrollbars=yes, resizable=yes, width=750, height=450, top=50, left=50");
}
}
</script>
<script type="text/javascript">
startList = function() {
// code for IE
if(!document.body.currentStyle) return;
var subs = document.getElementsByName('submenu');
for(var i=0; i<subs.length; i++) {
var li = subs[i].parentNode;
if(li && li.lastChild.style) {
li.onmouseover = function() {
this.lastChild.style.visibility = 'visible';
}
li.onmouseout = function() {
this.lastChild.style.visibility = 'hidden';
}}}}
window.onload=startList;
</script>
<script type="text/javascript" src="{script_url}/scripts/infinity_ax.js"></script>
</head>
<body>{infclosed}
<script language="JavaScript">function newWindow(mypage,myname,w,h,features) {  if(screen.width){  var winl = (screen.width-w)/2;  var wint = (screen.height-h)/2;  }else{winl = 0;wint =0;}  if (winl < 0) winl = 0;  if (wint < 0) wint = 0;  var settings = 'height=' + h + ',';  settings += 'width=' + w + ',';  settings += 'top=' + wint + ',';  settings += 'left=' + winl + ',';  settings += features;  win = window.open(mypage,myname,settings);  win.window.focus();}</script>
<table align="center" border="0" width="{pwidth}" height="86" cellpadding="0" background="{img_dir}/logobg.gif" style="border-collapse: collapse">
<tr>
<td class="ban" valign="top" align="left"><br>{ban1}
<div class="icons">
<a href="{smaplink}"><img src="{img_dir}/sitemap.gif" alt="{sitemap}" border="0"></a>
<a href="javascript:document.all[0].style.behavior='url(#default#homepage)';document.all[0].setHomePage(location.href);"><img src="{img_dir}/homeh.gif" title="صفحة البداية" border="0"></a>
<SCRIPT language="JavaScript">
function Favorite(){
if(document.all){ window.external.AddFavorite(window.document.location,window.document.title);}
}
document.write('<a href="#" onclick="Favorite();"><img src="{img_dir}/favorit.gif" border=0 height=11 width=13 hspace=2 title="أضفنا لمفضلتك"></a>');
</SCRIPT>
<a href="mailbox.php?action=newmail"><img src="{img_dir}/e-mail.gif" title="راسلنـــــا" border="0"></a>
</div>
</td>
<td>&nbsp;</td>
<td valign="top" width="1%"><a href="./"><img border="0" src="{img_dir}/logo.gif" alt="{author_name}"></a></td>
</tr>
</table>
<table align="center" class="bodyin" border="0" width="{pwidth}" cellpadding="0" style="border-collapse: collapse">
<tr>
<td valign="top">
<div id="top">
<div class="date">{showdate}<img border="0" src="{img_dir}/arroww3.gif"></div>
<div class="search">
<form action="search.php?action=startsearch" method="POST" >
<script language="javascript">function clearf(object,text){ if (object.value == text) {  object.value = "";  object.focus(); }} function setf(object,text){ if(object.value == "") {  object.value = text;  this.focus(); }}</script>
<input name="keyword" size="17" value="... كلمة البحث هنا ..." onMouseover="clearf(this,'... كلمة البحث هنا ...')" onmouseout="setf(this,'... كلمة البحث هنا ...')">
<INPUT TYPE="submit" value="ابحث" name="submit">
<br><select size="1" name="searchin">
<!-- START BLOCK : searchmodule -->
<option value="{searchmodule}">في {searchname}</option>
 <!-- END BLOCK : searchmodule -->
</select>
</form>
</div>
</div>
<center>
<div class="pro_linedrop">
<ul class="select">
<li class="current"><a href="./"><b>الرئيسية</b></a></li>
<li><a href="../vb"><b>المنتديات</b></a></li>
<!-- START BLOCK : topnavmodel -->
<li><a href="{hlmodel}"><b>{model}</b></a></li>
<!-- END BLOCK : topnavmodel -->
</ul>
</div>
</center>
<br>
<!-- START BLOCK : tickers -->
<table align="center" class="tborder" border="0" cellspacing="1" width="98%">
<!-- START BLOCK : ticker -->
<tr>
<td class="infticker2">{ticker}</td>
<td class="infticker1">جديد {tickertitle}</td>
</tr>
<!-- END BLOCK : ticker -->
</table>
<!-- END BLOCK : tickers -->
<br>
<div id="page">
<b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
<div class="pagecontent">
<table align="center" border="0" cellpadding="0" class="tb" width="99%">
<tr>
<td width="1%" valign=top align="center">
نرى بأن الشخبطات قد أختفت بمجرد وضعه في قالب CODE!عند نسخي لهذا الكود من لوحة تحكم المجلة CP ووضعه في برنامج الـ Microsoft FrontPageيتحول الى مثل الشخبطات المجودة باللون الأحمر!

* فهل يعقل هذا أحد أسباب حجب الموقع من خلال متصفح Google واعتبار تلك الشخبطات ألغام قد تضر المتصفح أو الزوار؟






التوقيع
إن لم تكن كاتباً تفيد غيرك فكن قارئاً تفيد نفسك