18-01-2011, 11:08 AM
عضو
تاريخ التسجيل: Apr 2010
مشاركة: 248
مستوى تقييم العضوية:
16
الاستاذ الغالي
تسلم يالغالي على الدعآء
..
بخصوص التغير ,,
اذا كان بس مجرد تغير الأسماء بدون تغير روابطها فتقدر تغيرهآ ..
من نموذج menucontent.htm
بالنموذج هذا شوف كيف
كود PHP:
< div id = "menu" > < div class= "module-title" >{ phrase_main_menu }</ div > < ul > < li >< a href = "{dimhome}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_home }</ a > </ li > <!-- START BLOCK : mitems --> < li >< a name = "submenu" class= "submenu" >< img alt = "" src = "{img_dir}/arrow.gif" />{ cname }</ a > < ul > <!-- START BLOCK : mitem --> < li >< a href = "{maction}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ name }</ a ></ li > <!-- END BLOCK : mitem --> </ ul > </ li > <!-- END BLOCK : mitems --> <!-- START BLOCK : mevents --> < li >< a name = "submenu" class= "submenu" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_events }</ a > < ul > < li >< a href = "{maction}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_future_events }</ a ></ li > < li >< a href = "{maction2}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_previous_events }</ a ></ li > </ ul > </ li > <!-- END BLOCK : mevents --> <!-- START BLOCK : mpress --> < li >< a name = "submenu" class= "submenu" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_press }</ a > < ul > < li >< a href = "{maction}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_press_briefings }</ a ></ li > < li >< a href = "{maction2}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_published_articles }</ a ></ li > < li >< a href = "{maction3}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_published_poems }</ a ></ li > </ ul > </ li > <!-- END BLOCK : mpress --> <!-- START BLOCK : mreleases --> < li >< a name = "submenu" class= "submenu" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_releases }</ a > < ul > < li >< a href = "{maction}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_publications }</ a ></ li > < li >< a href = "{maction2}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_album_r }</ a ></ li > </ ul > </ li > <!-- END BLOCK : mreleases --> <!-- START BLOCK : mmedia --> < li >< a name = "submenu" class= "submenu" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_media }</ a > < ul > < li >< a href = "{maction}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_radio_interviews }</ a ></ li > < li >< a href = "{maction2}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_tv_interviews }</ a ></ li > </ ul > </ li > <!-- END BLOCK : mmedia --> <!-- START BLOCK : mquiz --> < li >< a name = "submenu" class= "submenu" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_quiz }</ a > < ul > < li >< a href = "{maction}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_future_quizes }</ a ></ li > < li >< a href = "{maction2}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_previous_quizes }</ a ></ li > </ ul > </ li > <!-- END BLOCK : mquiz --> <!-- START BLOCK : msayings --> < li >< a href = "{maction}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_sayings }</ a ></ li > <!-- END BLOCK : msayings --> <!-- START BLOCK : mprofile --> < li >< a href = "{maction}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_profile }</ a ></ li > <!-- END BLOCK : mprofile --> <!-- START BLOCK : mguestbook --> < li >< a href = "{maction}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_guestbook }</ a > </ li > <!-- END BLOCK : mguestbook --> <!-- START BLOCK : subscribtions --> < li >< a href = "{maction}" rel = "nofollow" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_subscribtions }</ a ></ li > <!-- END BLOCK : subscribtions --> <!-- START BLOCK : mmailbox --> < li >< a href = "{maction}" rel = "nofollow" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_contact }</ a ></ li > <!-- END BLOCK : mmailbox --> < li >< a href = "{smaplink}" >< img alt = "" src = "{img_dir}/arrow.gif" />{ phrase_sitemap }</ a ></ li > </ div > < br /> <!-- START BLOCK : calendar --> < div class= "module-title" >{ phrase_calendar }</ div > < div id = "contents" > < div id = "calendardiv" > < div id = "calendardivstatus" style = "position:relative; display:none" >< div id = "calendardivprocces" style = "margin:5px 5px 5px 5px" ></ div ></ div > { calendar } </ div > </ div > < br /> <!-- END BLOCK : calendar --> <!-- START BLOCK : pollinit --> < div id = "pollinitdiv" style = "position:relative; display:none" > < div id = "pollinitdivstatus" style = "position:relative; display:none" >< div align = "center" id = "pollinitdivprocces" ></ div ></ div > < span id = "pollinitcont" ></ span ></ div > < script type = "text/javascript" language = "javascript" > $( document ). ready (function(){ makeRequest ( 'poll.php?action=initiate' , 'GET' , '' , 'pollinitdiv' , 'pollinitcont' , '' ); }); </script> <!-- END BLOCK : pollinit --> <!-- START BLOCK : menubanners --> <table align="center" cellpadding="1"> <tr> <!-- START BLOCK : menubanner --> <td align="center">{banner}</td> {tr} <!-- END BLOCK : menubanner --> </tr> </table> <br /> <!-- END BLOCK : menubanners --> <!-- START BLOCK : albumnewsbl --> <div class="module-title">{phrase_latest} {phrase_albums}</div> <div id="contents"> <!-- START BLOCK : albumnewsbls --> <div class="lightrow"><a href="{action}"><span style='float:{lang_left};margin-{lang_right}:2px;'><img alt="{caption}" class="img" src="contents/albumsth/{id}.{ext}" /></span>{caption}</a></div> <!-- END BLOCK : albumnewsbls --> </div> <br /> <!-- END BLOCK : albumnewsbl --> <!-- START BLOCK : downloadnewsbl --> <div class="module-title">{phrase_latest} {phrase_downloads}</div> <div id="contents"> <!-- START BLOCK : downloadnewsbls --> <div class="lightrow"><a href="{action}"><span style='float:{lang_left};margin-{lang_right}:2px;'>{picture}</span>{caption}</a></div> <!-- END BLOCK : downloadnewsbls --> </div> <br /> <!-- END BLOCK : downloadnewsbl --> <!-- START BLOCK : cardnewsbl --> <div class="module-title">{phrase_latest} {phrase_cards}</div> <div id="contents"> <!-- START BLOCK : cardnewsbls --> <div class="lightrow"><a href="{action}"><span style='float:{lang_left};margin-{lang_right}:2px;'><img alt="{caption}" class="img" src="{picture}" /></span>{caption}</a></div> <!-- END BLOCK : cardnewsbls --> </div> <br /> <!-- END BLOCK : cardnewsbl --> <!-- START BLOCK : newsnewsbl --> <div class="module-title">{phrase_latest} {phrase_news}</div> <div id="contents"> <!-- START BLOCK : newsnewsbls --> <div class="lightrow"><a href="{action}"><span style='float:{lang_left};margin-{lang_right}:2px;'>{picture}</span>{caption}</a></div> <!-- END BLOCK : newsnewsbls --> </div> <br /> <!-- END BLOCK : newsnewsbl --> <!-- START BLOCK : mobilenewsbl --> <div class="module-title">{phrase_latest} {phrase_mobiles}</div> <div id="contents"> <!-- START BLOCK : mobilenewsbls --> <div class="lightrow"><a href="{action}"><span style='float:{lang_left};margin-{lang_right}:2px;'>{picture}</span>{caption}</a></div> <!-- END BLOCK : mobilenewsbls --> </div> <br /> <!-- END BLOCK : mobilenewsbl --> <!-- START BLOCK : videonewsbl --> <div class="module-title">{phrase_latest} {phrase_videos}</div> <div id="contents"> <!-- START BLOCK : videonewsbls --> <div class="lightrow"><a href="{action}"><span style='float:{lang_left};margin-{lang_right}:2px;'><img alt="{caption}" class="img" src="contents/videosth/{id}.{ext}" /></span>{caption}</a></div> <!-- END BLOCK : videonewsbls --> </div> <br /> <!-- END BLOCK : videonewsbl --> <!-- START BLOCK : voicenewsbl --> <div class="module-title">{phrase_latest} {phrase_voices}</div> <div id="contents"> <!-- START BLOCK : voicenewsbls --> <div class="lightrow"><a href="{action}"><span style='float:{lang_left};margin-{lang_right}:2px;'>{picture}</span>{caption}</a></div> <!-- END BLOCK : voicenewsbls --> </div> <br /> <!-- END BLOCK : voicenewsbl --> <!-- START BLOCK : online --> <div class="module-title">{phrase_online}</div> <div id="contents"> <br /> <div id="onlinediv" style="position:relative; display:none"> <div id="onlinedivstatus" style="position:relative; display:none"><div align="center" id="onlinedivprocces"></div></div> <span id="onlinecont"></span></div> <script type="text/javascript" language="javascript"> $(document).ready(function(){ makeRequest('online.php?action={onlineaction}','GET','','onlinediv','onlinecont',''); }); </script> </div> <br /> <!-- END BLOCK : online --> <!-- START BLOCK : menublocks --> <!-- START BLOCK : menublockhead --> <div class="module-title">{title}</div> <!-- END BLOCK : menublockhead --> <!-- START BLOCK : menublockheadpic --> <img class="img" src="contents/block/{pic}" /> <!-- END BLOCK : menublockheadpic --> <div id="contents"> {cont} </div> <br /> <!-- END BLOCK : menublocks --> <!-- START BLOCK : mextrablocks --> <div class="module-title">{extrablockname}</div> <div id="contents"> {extracont} <div id="extradiv{blockid}" style="position:relative;"> <div id="extradiv{blockid}status" style="position:relative; display:none"> <div id="extradiv{blockid}procces" style="margin:5px 5px 5px 5px"></div> </div> <span id="extracont{blockid}">{moreless}</span> </div> </div> <br /> <!-- END BLOCK : mextrablocks --> <!-- START BLOCK : styles --> <div class="module-title">{phrase_select_style}</div> <div id="contents"> <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> <br /> <!-- END BLOCK : styles --> <div class="module-title">{phrase_rss_feed}</div> <div id="contents"> <!-- START BLOCK : rewriteonheadrss --> <div class="lightrow"><a title="{model} {phrase_rss_feed}" href="rss-action-feed-m-{rssmodel}-id--feed-rss20.xml" target="_blank"><img alt="{model} {phrase_rss_feed}" src="images/rss{num}.png" /> {model}</a></div> <!-- END BLOCK : rewriteonheadrss --> <!-- START BLOCK : rewriteofheadrss --> <div class="lightrow"><a title="{model} {phrase_rss_feed}" href="rss.php?action=feed&m={rssmodel}&id=&feed=rss20" target="_blank"><img alt="{model} {phrase_rss_feed}" src="images/rss{num}.png" /> {model}</a></div> <!-- END BLOCK : rewriteofheadrss --> </div> <br />
هذا الككود التالي لزر الرئيسية
كود:
<li><a href="{dimhome }"><img alt="" src="{img_dir}/arrow.gif" />{phrase_home }</a>
</li>
الي باللون الأحمر هذ >>phrase_home
هو اسم الأختصار للرئيسية نقدر نغيرة مثلا الى الصفحة الرئيسية بالعربي .. عآدي
الي باللون الأحمر هذ >>dimhome
هو رابط الي يوجهك بعد الضغط على الزر .. نقدر نحط ../index.php
وكذا يالغالي شوف مثلا الي تحتوي على قوائم منسدلة
كود:
<!-- START BLOCK : mquiz -->
<li><a name="submenu" class="submenu"><img alt="" src="{img_dir}/arrow.gif" />{phrase_quiz}</a>
<ul>
<li><a href="{maction}"><img alt="" src="{img_dir}/arrow.gif" />{phrase_future_quizes}</a></li>
<li><a href="{maction2}"><img alt="" src="{img_dir}/arrow.gif" />{phrase_previous_quizes}</a></li>
</ul>
</li>
<!-- END BLOCK : mquiz -->
هذا زر المسابقات ,. ,.
اول رابط هذا تغير فقط اسم الزر
كود:
<li><a name="submenu" class="submenu"><img alt="" src="{img_dir}/arrow.gif" />{phrase_quiz }</a>
بعدها الرابطين الي تحت تغير الأسم + الرابط كذا
كود:
<li><a href="{maction }"><img alt="" src="{img_dir}/arrow.gif" />{phrase_future_quizes }</a></li>
<li><a href="{maction2 }"><img alt="" src="{img_dir}/arrow.gif" />{phrase_previous_quizes }</a></li>
وكذا تقدر تتحكم بكل القائمة الي على اليسار
اذا مرة ما تعرف شي
اكتب لي القائمة الي تبي تصير لك وابشر بالي يعزك
لا تنسى تدعي لي بالتوفيق بالأختبارات ..
التوقيع
للتواصل :
من داخل السعودية : 0501422905
من خارج السعودية 00966501422905