
08-09-2010, 05:03 PM
|
 |
عضو
|
|
تاريخ التسجيل: Apr 2010
مشاركة: 248
مستوى تقييم العضوية: 16
|
|
بالنسبة لأخوي محلولة لخدمات الانترنت
لا مشكلة ,,,
الكود تجدة في نموذج lcontent.htm
في السطر تقريبا 47
وهذا هو الكود
كود PHP:
<!-- START BLOCK : articlenewsbls --> <div id="center1"><a href="{action}">{caption}</a></div> <div id="center2" {heightstyle}><span style='float: left'>{author}</span> <span style='float: right'>{authorn}</span> </div> <div id="center2" style="padding:1px"></div> <!-- END BLOCK : articlenewsbls --> </div> <br> <!-- END BLOCK : articlenewsbl -->
واذا تبي القوالب جاهزة انسخ التالي
انسخ القالب التالي و استبدله بـ lcontent.htm
كود PHP:
<div style="width:150px"></div> <!-- START BLOCK : newakhbarbl --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>{akhbar}</div> <div class="blockcontent"> <div class="ticker"> <script type="text/javascript"> var tickercontents=new Array() <!-- START BLOCK : newakhbar --> tickercontents[{adad}]="{newkhabar}"; <!-- END BLOCK : newakhbar --> var persistlastviewedmsg=1 var persistmsgbehavior="onload" var tickdelay=10000 var currentmessage=0 function changetickercontent(){ if (crosstick.filters && crosstick.filters.length>0) crosstick.filters[0].Apply() crosstick.innerHTML=tickercontents[currentmessage] if (crosstick.filters && crosstick.filters.length>0) crosstick.filters[0].Play() currentmessage=(currentmessage==tickercontents.length-1)? currentmessage=0 : currentmessage+1 var filterduration=(crosstick.filters&&crosstick.filters.length>0)? crosstick.filters[0].duration*1000 : 0 setTimeout("changetickercontent()",tickdelay+filterduration) } function beginticker(){ crosstick=document.getElementById? document.getElementById("akhbarticker") : document.all.akhbarticker changetickercontent() } if (document.all||document.getElementById) document.write('<div id="akhbarticker"></div>') if (window.addEventListener) window.addEventListener("load", beginticker, false) else if (window.attachEvent) window.attachEvent("onload", beginticker) else if (document.all || document.getElementById) window.onload=beginticker </script> </div> </div> </div> <br> <!-- END BLOCK : newakhbarbl --> <!-- START BLOCK : articlenewsbl --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww2.gif"></span>جديد {themodule}</div> <!-- START BLOCK : newprogsbl --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>{progs}</div> <!-- START BLOCK : rewriteonprog --> <div id="center1"><a href="progrecom-action-show-id-{id}.htm">{rectitle}</a></div> <!-- END BLOCK : rewriteonprog --> <!-- START BLOCK : rewriteoffprog --> <div id="center1"><a href="progrecom.php?action=show&id={id}">{rectitle}</a></div> <!-- END BLOCK : rewriteoffprog --> </div> <br> <!-- END BLOCK : newprogsbl --> <!-- START BLOCK : newomsyahbl --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>{omsyah}</div> <div class="blockcontent"> <div class="ticker"> <script type="text/javascript"> var omtickercontents=new Array() <!-- START BLOCK : newomsyah --> omtickercontents[{adad}]="{newomsya}"; <!-- END BLOCK : newomsyah --> var ompersistlastviewedmsg=1 var persistmsgbehavior="onload" var omtickdelay=10000 var omcurrentmessage=0 function omchangetickercontent(){ if (omcrosstick.filters && omcrosstick.filters.length>0) omcrosstick.filters[0].Apply() omcrosstick.innerHTML=omtickercontents[omcurrentmessage] if (omcrosstick.filters && omcrosstick.filters.length>0) omcrosstick.filters[0].Play() omcurrentmessage=(omcurrentmessage==omtickercontents.length-1)? omcurrentmessage=0 : omcurrentmessage+1 var omfilterduration=(omcrosstick.filters&&omcrosstick.filters.length>0)? omcrosstick.filters[0].duration*1000 : 0 setTimeout("omchangetickercontent()",omtickdelay+omfilterduration) } function ombeginticker(){ omcrosstick=document.getElementById? document.getElementById("omsyaticker") : document.all.omsyaticker omchangetickercontent() } if (document.all||document.getElementById) document.write('<div id="omsyaticker"></div>') if (window.addEventListener) window.addEventListener("load", ombeginticker, false) else if (window.attachEvent) window.attachEvent("onload", ombeginticker) else if (document.all || document.getElementById) window.onload=ombeginticker </script> </div> </div> </div> <br> <!-- END BLOCK : newomsyahbl --> <!-- START BLOCK : newstatbl --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>{stat}</div> <div class="blockcontent"> <!-- START BLOCK : newstat --> <div id="right1"><img border=0 src={img_dir}/arrow.gif>{mod} <span class="clr2">{newstat}</span> محتوى</div> <!-- END BLOCK : newstat --> </div> </div> <br> <!-- END BLOCK : newstatbl --> <!-- START BLOCK : leftblocks --> <div id="blocktable"> <!-- START BLOCK : dlblockhead --> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>{title}</div> <!-- END BLOCK : dlblockhead --> <!-- START BLOCK : lblockhead --> {pic} <!-- END BLOCK : lblockhead --> <div class="blockcontent"> {cont} <!-- START BLOCK : lblockfooter --> </div> <!-- END BLOCK : lblockfooter --> </div> <br> <!-- END BLOCK : leftblocks --> <!-- START BLOCK : weather --> <div id="weatherdiv" style="position:relative; display:none"> <div id="weatherdivstatus" style="position:relative; width:150px; display:none"><div id="weatherdivprocces"></div></div> <span id="weathercont"></span></div> <script language="javascript"> function doreq(){ var wthe = document.wetherform; var zipc = wthe.zip.options[wthe.zip.selectedIndex].value; makeRequest('weather.php?action=show&display=cd&zip='+encodeURIComponent(zipc),'GET','','weatherdiv','weathercont',''); } document.onload= makeRequest('weather.php?action=getcitys','GET','','weatherdiv','weathercont',''); </script> <!-- END BLOCK : weather --> {ban4}
وانسخ الكود التالي و استبدله بنموذج rcontent.htm
كود PHP:
<div style="width:150px"></div> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>{mainlist}</div> <div id="menu"> <ul id="menuList"> <li><a href="./"><img border="0" src="{img_dir}/arroww3.gif">الـصـفـحـة الـرئيسية</a> </li> <!-- START BLOCK : mitems --> <li><a name="submenu" class="submenu"><img border="0" src="{img_dir}/arroww3.gif">{cname}</a> <ul> <!-- START BLOCK : mitem --> <li><a href="{maction}"><img border="0" src="{img_dir}/arroww3.gif">{name}</a></li> <!-- END BLOCK : mitem --> </ul> </li> <!-- END BLOCK : mitems --> <!-- START BLOCK : momsyat --> <li><a name="submenu" class="submenu"><img border="0" src="{img_dir}/arroww3.gif">إحتفالات ومناسبات</a> <ul> <li><a href="{maction}"><img border="0" src="{img_dir}/arroww3.gif">مناسبات قادمة</a></li> <li><a href="{maction2}"><img border="0" src="{img_dir}/arroww3.gif">مناسبات سابقة</a></li> </ul> </li> <!-- END BLOCK : momsyat --> <!-- START BLOCK : mmaqal --> <li><a name="submenu" class="submenu"><img border="0" src="{img_dir}/arroww3.gif">مقالات ونصوص صحفية</a> <ul> <li><a href="{maction}"><img border="0" src="{img_dir}/arroww3.gif">لقاءات صحفية</a></li> <li><a href="{maction2}"><img border="0" src="{img_dir}/arroww3.gif">مقالات منشورة</a></li> <li><a href="{maction3}"><img border="0" src="{img_dir}/arroww3.gif">نصوص منشورة</a></li> </ul> </li> <!-- END BLOCK : mmaqal --> <!-- START BLOCK : mpublishes --> <li><a name="submenu" class="submenu"><img border="0" src="{img_dir}/arroww3.gif">إصدارات جديدة</a> <ul> <li><a href="{maction}"><img border="0" src="{img_dir}/arroww3.gif">إصدارات مطبوعة</a></li> <li><a href="{maction2}"><img border="0" src="{img_dir}/arroww3.gif">إصدارات صوتية ومرئية</a></li> </ul> </li> <!-- END BLOCK : mpublishes --> <!-- START BLOCK : mleqaa --> <li><a name="submenu" class="submenu"><img border="0" src="{img_dir}/arroww3.gif">مقابلات إذاعية وتلفزيونية</a> <ul> <li><a href="{maction}"><img border="0" src="{img_dir}/arroww3.gif">لقاءات إذاعية</a></li> <li><a href="{maction2}"><img border="0" src="{img_dir}/arroww3.gif">مقابلات تلفزيونية</a></li> </ul> </li> <!-- END BLOCK : mleqaa --> <!-- START BLOCK : mquiz --> <li><a name="submenu" class="submenu"><img border="0" src="{img_dir}/arroww3.gif">مسابقات الزوار</a> <ul> <li><a href="{maction}"><img border="0" src="{img_dir}/arroww3.gif">مسابقات جديدة</a></li> <li><a href="{maction2}"><img border="0" src="{img_dir}/arroww3.gif">مسابقات منتهية</a></li> </ul> </li> <!-- END BLOCK : mquiz --> <!-- START BLOCK : mtop --> <li><a name="submenu" class="submenu"><img border="0" src="{img_dir}/arroww3.gif">إحصائيات {article}</a> <ul> <li><a href="{maction}"><img border="0" src="{img_dir}/arroww3.gif">الأكثر مشاهدةً</a></li> <li><a href="{maction2}"><img border="0" src="{img_dir}/arroww3.gif">الأكثر إهداءً</a></li> <li><a href="{maction3}"><img border="0" src="{img_dir}/arroww3.gif">الأكثر ترشيحا</a></li> <li><a href="{maction4}"><img border="0" src="{img_dir}/arroww3.gif">الأفضل تقييماً</a></li> </ul> </li> <!-- END BLOCK : mtop --> <!-- START BLOCK : msaidabout --> <li><a href="{maction}"><img border="0" src="{img_dir}/arroww3.gif">قالوا عن {infstitle}</a></li> <!-- END BLOCK : msaidabout --> <!-- START BLOCK : mprofile --> <li><a href="{maction}"><img border="0" src="{img_dir}/arroww3.gif">حول {infstitle}</a></li> <!-- END BLOCK : mprofile --> <!-- START BLOCK : mguestbook --> <li><a href="{maction}"><img border="0" src="{img_dir}/arroww3.gif">سـجــل الــــزوّار</a> </li> <!-- END BLOCK : mguestbook --> <!-- START BLOCK : mmlist --> <li><a href="{maction}"><img border="0" src="{img_dir}/arroww3.gif">تـابـــع جـديـدنا</a></li> <!-- END BLOCK : mmlist --> <!-- START BLOCK : searchmailbox --> <li><a href="{searchaction}"><img border="0" src="{img_dir}/arroww3.gif">ابحث بالموقع</a></li> <li><a href="{mailboxaction}"><img border="0" src="{img_dir}/arroww3.gif">{contact}</a></li> <!-- END BLOCK : searchmailbox --> </div> </div> <br> <!-- START BLOCK : articlenewsbls --> <div id="center1"><a href="{action}">{caption}</a></div> <div id="center2" {heightstyle}><span style='float: left'>{author}</span> <span style='float: right'>{authorn}</span> </div> <div id="center2" style="padding:1px"></div> <!-- END BLOCK : articlenewsbls --> </div> <br> <!-- END BLOCK : articlenewsbl --> <!-- START BLOCK : poll --> <script language="javascript"> function radio(s){ var curobj = document.getElementById('choice['+s+']'); for (i = 1; i < 17; i++) { var chobj = document.getElementById('choice['+i+']'); if(chobj){ chobj.value = 0; chobj.checked = false; } } curobj.value = 1; curobj.checked = true; } function checkbx(s){ for (i = 1; i < 17; i++) { var chobj = document.getElementById('choice['+i+']'); if(chobj){ if(chobj.checked == false){ chobj.value = 0; } else{ chobj.value = 1; } } } } </script> <div id="polldiv" align="center"> <div id="polldivstatus" style="position:relative; width:150px; display:none"><div id="polldivprocces" style="margin:5px 5px 5px 5px"></div></div> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>{poll}</div> <div class="blockcontent"> <div id="right1">{q}</div> <span id="content"> <form name="pollform" id="pollform" action="javascript:get('poll.php?id={id}','POST','pollform','polldiv','content','')"> <input type="hidden" id="do" value="vote"> <input type="hidden" id="id" value="{id}"> <input type="hidden" id="parameters" value="do,id{choices}"> <!-- START BLOCK : polls --> <div id="{class}"><input type="{kind}" id="choice[{i}]" value="0" onclick="javascript:{act}"> {a}</div> <!-- END BLOCK : polls --> <div id="center1"><input type="submit" value="تصويت"> <input type="submit" value="النتائج"></div> </span> </form> <div id="center2"><a href="poll.php?do=poll&action=list"><img src="{img_dir}/next.gif" border="0"> استفتاءات سابقة</a></div> </div> </div> <br> <!-- END BLOCK : poll --> <!-- START BLOCK : albumnewsbl --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>جديد {themodule}</div> <!-- START BLOCK : albumnewsbls --> <div id="center1"><a href="{action}">{caption}</a></div> <!-- END BLOCK : albumnewsbls --> </div> <br> <!-- END BLOCK : albumnewsbl --> <!-- START BLOCK : cardnewsbl --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww2.gif"></span>جديد {themodule}</div> <!-- START BLOCK : cardnewsbls --> <div id="center2"><a href="{action}">{caption}</a></div> <!-- END BLOCK : cardnewsbls --> </div> <br> <!-- END BLOCK : cardnewsbl --> <!-- START BLOCK : newsnewsbl --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>جديد {themodule}</div> <!-- START BLOCK : newsnewsbls --> <div id="center1"><a href="{action}">{caption}</a></div> <!-- END BLOCK : newsnewsbls --> </div> <br> <!-- END BLOCK : newsnewsbl --> <!-- START BLOCK : mobilenewsbl --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww2.gif"></span>جديد {themodule}</div> <!-- START BLOCK : mobilenewsbls --> <div id="center2"><a href="{action}">{caption}</a></div> <!-- END BLOCK : mobilenewsbls --> </div> <br> <!-- END BLOCK : mobilenewsbl --> <!-- START BLOCK : videonewsbl --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>جديد {themodule}</div> <!-- START BLOCK : videonewsbls --> <div id="center1"><a href="{action}">{caption}</a></div> <!-- END BLOCK : videonewsbls --> </div> <br> <!-- END BLOCK : videonewsbl --> <!-- START BLOCK : voicenewsbl --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww2.gif"></span>جديد {themodule}</div> <!-- START BLOCK : voicenewsbls --> <div id="center2"><a href="{action}">{caption}</a></div> <!-- END BLOCK : voicenewsbls --> </div> <br> <!-- END BLOCK : voicenewsbl --> <!-- START BLOCK : online --> <div id="onlinediv" style="position:relative; display:none"> <div id="onlinedivstatus" style="position:relative; width:150px; display:none"><div id="onlinedivprocces"></div></div> <span id="onlinecont"></span></div> <script language="javascript"> document.onload= makeRequest('online.php?action=onlinestat','GET','','onlinediv','onlinecont',''); </script> <!-- END BLOCK : online --> <!-- START BLOCK : rightblocks --> <div id="blocktable"> <!-- START BLOCK : dblockhead --> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>{title}</div> <!-- END BLOCK : dblockhead --> <!-- START BLOCK : blockhead --> {pic} <!-- END BLOCK : blockhead --> <div class="blockcontent"> {cont} <!-- START BLOCK : blockfooter --> </div> <!-- END BLOCK : blockfooter --> </div> <br> <!-- END BLOCK : rightblocks --> <!-- START BLOCK : styles --> <div id="blocktable"> <div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>إختر شكل العرض</div> <div class="blockcontent"> <center> <form name="stform" method="POST" action="?action=chstyle"> <select name="style" onchange="stform.submit()"> <!-- START BLOCK : style --> <option value="{val}" {sel}>ستايل {name} </option> <!-- END BLOCK : style --> </select> </form> </center> </div> </div> <br> <!-- END BLOCK : styles --> </td> </tr> </table>
ودمت
www.it-inf.com
|