وليد
فريقي المفضل : البلد : الجنس : الهواية : المهنة : مزاجـى : التقيم : 3
| موضوع: كودين رسالة انت غير مسجل تدعو الزوار لتسجيل فى المنتدى الخميس فبراير 23, 2012 1:40 am | |
| اليوم اقدم لكم
كودين رسالة انت غير مسجل تدعو الزوار لتسجيل فى المنتدى الكود الاول بهذا الشكل كما فى الصوره - Spoiler:
- الكود:
-
[color=#2E8B57][font=Courier]<!-- بداية ــ رسالة أنت غير مسجل -->[/font][/color]
[color=#2E8B57][font=Courier]<!-- Improve a7la-7ekaya Rates -->[/font][/color] [color=#2E8B57][font=Courier]<style type="text/css">[/font][/color]
[color=#2E8B57][font=Courier]#topbar{[/font][/color] [color=#2E8B57][font=Courier]position:absolute;[/font][/color] [color=#2E8B57][font=Courier]border: 1px solid black;[/font][/color] [color=#2E8B57][font=Courier]padding: 4px;[/font][/color] [color=#2E8B57][font=Courier]background-color: white;[/font][/color] [color=#2E8B57][font=Courier]width: 380px;[/font][/color] [color=#2E8B57][font=Courier]visibility: hidden;[/font][/color] [color=#2E8B57][font=Courier]z-index: 0;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color]
[color=#2E8B57][font=Courier]</style>[/font][/color]
[color=#2E8B57][font=Courier]<script type="text/javascript">[/font][/color] [color=#2E8B57][font=Courier]var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session[/font][/color] [color=#2E8B57][font=Courier]var startX = 30 //set x offset of bar in pixels[/font][/color] [color=#2E8B57][font=Courier]var startY = 4 //set y offset of bar in pixels[/font][/color] [color=#2E8B57][font=Courier]var verticalpos="fromtop" //enter "fromtop" or "frombottom"[/font][/color]
[color=#2E8B57][font=Courier]function iecompattest(){[/font][/color] [color=#2E8B57][font=Courier]return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color]
[color=#2E8B57][font=Courier]function get_cookie(Name) {[/font][/color] [color=#2E8B57][font=Courier]var search = Name + "="[/font][/color] [color=#2E8B57][font=Courier]var returnvalue = "";[/font][/color] [color=#2E8B57][font=Courier]if (document·cookie.length > 0) {[/font][/color] [color=#2E8B57][font=Courier]offset = document·cookie.indexOf(search)[/font][/color] [color=#2E8B57][font=Courier]if (offset != -1) {[/font][/color] [color=#2E8B57][font=Courier]offset += search.length[/font][/color] [color=#2E8B57][font=Courier]end = document·cookie.indexOf(";", offset);[/font][/color] [color=#2E8B57][font=Courier]if (end == -1) end = document·cookie.length;[/font][/color] [color=#2E8B57][font=Courier]returnvalue=unescape(document·cookie.substring(offset, end))[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]return returnvalue;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color]
[color=#2E8B57][font=Courier]function closebar(){[/font][/color] [color=#2E8B57][font=Courier]if (persistclose)[/font][/color] [color=#2E8B57][font=Courier]document·cookie="remainclosed=1"[/font][/color] [color=#2E8B57][font=Courier]document.getElementById("topbar").style.visibility="hidden"[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color]
[color=#2E8B57][font=Courier]function staticbar(){[/font][/color] [color=#2E8B57][font=Courier]barheight=document.getElementById("topbar").offsetHeight[/font][/color] [color=#2E8B57][font=Courier]var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;[/font][/color] [color=#2E8B57][font=Courier]var d = document;[/font][/color] [color=#2E8B57][font=Courier]function ml(id){[/font][/color] [color=#2E8B57][font=Courier]var el=d.getElementById(id);[/font][/color] [color=#2E8B57][font=Courier]if (!persistclose || persistclose && get_cookie("remainclosed")=="")[/font][/color] [color=#2E8B57][font=Courier]el.style.visibility="visible"[/font][/color] [color=#2E8B57][font=Courier]if(d.layers)el.style=el;[/font][/color] [color=#2E8B57][font=Courier]el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};[/font][/color] [color=#2E8B57][font=Courier]el.x = startX;[/font][/color] [color=#2E8B57][font=Courier]if (verticalpos=="fromtop")[/font][/color] [color=#2E8B57][font=Courier]el.y = startY;[/font][/color] [color=#2E8B57][font=Courier]else{[/font][/color] [color=#2E8B57][font=Courier]el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;[/font][/color] [color=#2E8B57][font=Courier]el.y -= startY;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]return el;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]window.stayTopLeft=function(){[/font][/color] [color=#2E8B57][font=Courier]if (verticalpos=="fromtop"){[/font][/color] [color=#2E8B57][font=Courier]var pY = ns ? pageYOffset : iecompattest().scrollTop;[/font][/color] [color=#2E8B57][font=Courier]ftlObj.y += (pY + startY - ftlObj.y)/8;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]else{[/font][/color] [color=#2E8B57][font=Courier]var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;[/font][/color] [color=#2E8B57][font=Courier]ftlObj.y += (pY - startY - ftlObj.y)/8;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]ftlObj.sP(ftlObj.x, ftlObj.y);[/font][/color] [color=#2E8B57][font=Courier]setTimeout("stayTopLeft()", 10);[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]ftlObj = ml("topbar");[/font][/color] [color=#2E8B57][font=Courier]stayTopLeft();[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color]
[color=#2E8B57][font=Courier]if (window.addEventListener)[/font][/color] [color=#2E8B57][font=Courier]window.addEventListener("load", staticbar, false)[/font][/color] [color=#2E8B57][font=Courier]else if (window.attachEvent)[/font][/color] [color=#2E8B57][font=Courier]window.attachEvent("onload", staticbar)[/font][/color] [color=#2E8B57][font=Courier]else if (document.getElementById)[/font][/color] [color=#2E8B57][font=Courier]window.onload=staticbar[/font][/color] [color=#2E8B57][font=Courier]</script><div id="topbar">[/font][/color] [color=#2E8B57][font=Courier]<a[/font][/color] [color=#2E8B57][font=Courier] href="" onClick="closebar(); return false"><img [/font][/color] [color=#2E8B57][font=Courier]src="http://i40.servimg.com/u/f40/16/50/59/14/close10.gif" border="2" [/font][/color] [color=#2E8B57][font=Courier]/></a>[/font][/color] [color=#2E8B57][font=Courier]<font size="2"><span style="font-weight: [/font][/color] [color=#2E8B57][font=Courier]bold;">أنت غير مسجل فى <span style="color: Blue;">منتديات الدعم[/font][/color] [color=#2E8B57][font=Courier] و المساعده</span> . للتسجيل الرجاء إضغط </span><a [/font][/color] [color=#2E8B57][font=Courier]style="font-weight: bold;" href="/register"><font [/font][/color] [color=#2E8B57][font=Courier]color="#FF0000">هنـا</font></a></font> [/font][/color] [color=#2E8B57][font=Courier]</div>[/font][/color] [color=#2E8B57][font=Courier]<!-- Improve a7la-7ekaya Rates -->[/font][/color] [color=#2E8B57][font=Courier]<!-- نهاية - ـ رسالة أنت غير مسجل --><div class="h1">[/font][/color]
و الكود الثانى بهذا الشكل كما فى الصوره - Spoiler:
- الكود:
-
[color=#2E8B57][font=Courier]<if condition="$show[guest]">[/font][/color] [color=#2E8B57][font=Courier]<style type="text/css">[/font][/color] [color=#2E8B57][font=Courier]#topbar{[/font][/color] [color=#2E8B57][font=Courier]position:absolute;[/font][/color] [color=#2E8B57][font=Courier]border: 1px solid black;[/font][/color] [color=#2E8B57][font=Courier]padding: 4px;[/font][/color] [color=#2E8B57][font=Courier]background-color: white;[/font][/color] [color=#2E8B57][font=Courier]width: 240px;[/font][/color] [color=#2E8B57][font=Courier]visibility: hidden;[/font][/color] [color=#2E8B57][font=Courier]z-index: 0;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]</style>[/font][/color] [color=#2E8B57][font=Courier]<script type="text/javascript">[/font][/color] [color=#2E8B57][font=Courier]var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session[/font][/color] [color=#2E8B57][font=Courier]var startX = 30 //set x offset of bar in pixels[/font][/color] [color=#2E8B57][font=Courier]var startY = 4 //set y offset of bar in pixels[/font][/color] [color=#2E8B57][font=Courier]var verticalpos="fromtop" //enter "fromtop" or "frombottom"[/font][/color] [color=#2E8B57][font=Courier]function iecompattest(){[/font][/color] [color=#2E8B57][font=Courier]return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]function get_cookie(Name) {[/font][/color] [color=#2E8B57][font=Courier]var search = Name + "="[/font][/color] [color=#2E8B57][font=Courier]var returnvalue = "";[/font][/color] [color=#2E8B57][font=Courier]if (document·cookie.length > 0) {[/font][/color] [color=#2E8B57][font=Courier]offset = document·cookie.indexOf(search)[/font][/color] [color=#2E8B57][font=Courier]if (offset != -1) {[/font][/color] [color=#2E8B57][font=Courier]offset += search.length[/font][/color] [color=#2E8B57][font=Courier]end = document·cookie.indexOf(";", offset);[/font][/color] [color=#2E8B57][font=Courier]if (end == -1) end = document·cookie.length;[/font][/color] [color=#2E8B57][font=Courier]returnvalue=unescape(document·cookie.substring(offset, end))[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]return returnvalue;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]function closebar(){[/font][/color] [color=#2E8B57][font=Courier]if (persistclose)[/font][/color] [color=#2E8B57][font=Courier]document·cookie="remainclosed=1"[/font][/color] [color=#2E8B57][font=Courier]document.getElementById("topbar").style.visibility="hidden"[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]function staticbar(){[/font][/color] [color=#2E8B57][font=Courier]barheight=document.getElementById("topbar").offsetHeight[/font][/color] [color=#2E8B57][font=Courier]var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;[/font][/color] [color=#2E8B57][font=Courier]var d = document;[/font][/color] [color=#2E8B57][font=Courier]function ml(id){[/font][/color] [color=#2E8B57][font=Courier]var el=d.getElementById(id);[/font][/color] [color=#2E8B57][font=Courier]if (!persistclose || persistclose && get_cookie("remainclosed")=="")[/font][/color] [color=#2E8B57][font=Courier]el.style.visibility="visible"[/font][/color] [color=#2E8B57][font=Courier]if(d.layers)el.style=el;[/font][/color] [color=#2E8B57][font=Courier]el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};[/font][/color] [color=#2E8B57][font=Courier]el.x = startX;[/font][/color] [color=#2E8B57][font=Courier]if (verticalpos=="fromtop")[/font][/color] [color=#2E8B57][font=Courier]el.y = startY;[/font][/color] [color=#2E8B57][font=Courier]else{[/font][/color] [color=#2E8B57][font=Courier]el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;[/font][/color] [color=#2E8B57][font=Courier]el.y -= startY;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]return el;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]window.stayTopLeft=function(){[/font][/color] [color=#2E8B57][font=Courier]if (verticalpos=="fromtop"){[/font][/color] [color=#2E8B57][font=Courier]var pY = ns ? pageYOffset : iecompattest().scrollTop;[/font][/color] [color=#2E8B57][font=Courier]ftlObj.y += (pY + startY - ftlObj.y)/8;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]else{[/font][/color] [color=#2E8B57][font=Courier]var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;[/font][/color] [color=#2E8B57][font=Courier]ftlObj.y += (pY - startY - ftlObj.y)/8;[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]ftlObj.sP(ftlObj.x, ftlObj.y);[/font][/color] [color=#2E8B57][font=Courier]setTimeout("stayTopLeft()", 10);[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]ftlObj = ml("topbar");[/font][/color] [color=#2E8B57][font=Courier]stayTopLeft();[/font][/color] [color=#2E8B57][font=Courier]}[/font][/color] [color=#2E8B57][font=Courier]if (window.addEventListener)[/font][/color] [color=#2E8B57][font=Courier]window.addEventListener("load", staticbar, false)[/font][/color] [color=#2E8B57][font=Courier]else if (window.attachEvent)[/font][/color] [color=#2E8B57][font=Courier]window.attachEvent("onload", staticbar)[/font][/color] [color=#2E8B57][font=Courier]else if (document.getElementById)[/font][/color] [color=#2E8B57][font=Courier]window.onload=staticbar[/font][/color] [color=#2E8B57][font=Courier]</script><div id="topbar" style="border:5px ridge #808080; ">[/font][/color] [color=#2E8B57][font=Courier]<p[/font][/color] [color=#2E8B57][font=Courier] align="center"><font size="3"><span style="font-weight: [/font][/color] [color=#2E8B57][font=Courier]bold; font-family: Palatino Linotype;"><img [/font][/color] [color=#2E8B57][font=Courier]src="http://r14.imgfast.net/users/1415/15/41/28/smiles/434398445.gif"> هذه[/font][/color] [color=#2E8B57][font=Courier] الرسالة تفيد أنك <span style="color: SeaGreen;">غير [/font][/color] [color=#2E8B57][font=Courier]مسجل</span> <img [/font][/color] [color=#2E8B57][font=Courier]src="http://r14.imgfast.net/users/1415/15/41/28/smiles/2540792867.gif">[/font][/color] [color=#2E8B57][font=Courier] .</span></font></p><div style="text-align: [/font][/color] [color=#2E8B57][font=Courier]center;"><font style="color: Red;" size="3"><span [/font][/color] [color=#2E8B57][font=Courier]style="font-weight: bold; font-family: Palatino Linotype;"><img [/font][/color] [color=#2E8B57][font=Courier]src="http://r14.imgfast.net/users/1415/15/41/28/smiles/2381303867.gif">و[/font][/color] [color=#2E8B57][font=Courier] يسعدنا كثيرا انضمامك لنا ..<img [/font][/color] [color=#2E8B57][font=Courier]src="http://r14.imgfast.net/users/1415/15/41/28/smiles/3772091645.gif"><br></span></font></div></font>[/font][/color]
[color=#2E8B57][font=Courier]<a[/font][/color] [color=#2E8B57][font=Courier] href="" onClick="closebar(); return false"><img [/font][/color] [color=#2E8B57][font=Courier]src="http://i67.servimg.com/u/f67/13/57/76/76/close10.gif" border="0" [/font][/color] [color=#2E8B57][font=Courier]/></a>[/font][/color] [color=#2E8B57][font=Courier]<b><font face="Arial"><font [/font][/color] [color=#2E8B57][font=Courier]color="#808080" style="font-size: 14pt">للتسجيل[/font][/color] [color=#2E8B57][font=Courier]اضغط</font><span style="font-size: 12pt">[/font][/color] [color=#2E8B57][font=Courier]</span> <a href="/profile.forum?mode=register">[/font][/color] [color=#2E8B57][font=Courier]<font[/font][/color] [color=#2E8B57][font=Courier] color="#FF9900" style="font-size: 14pt"><IMG [/font][/color] [color=#2E8B57][font=Courier]src="http://r14.imgfast.net/users/1415/15/41/28/smiles/1106667350.gif">هـنـا</font></a></font></b></div><p[/font][/color] [color=#2E8B57][font=Courier] align="center">[/font][/color] [color=#2E8B57][font=Courier]</if>[/font][/color]
طريقة وضع الكود 1- لوحة الاداره 2 - العناصر الاضافية 3 - اداره العناصر المستقله على المنتدى 4 - اظهار العناصر المستقله :- اضغط (( نعم ))
5 - عرض العمود 1 ( اليمين ) ضع ( 0 )
6 - عرض العمود 3 ( اليسار ) ضع ( 180 )
7 - اضغط سجل 8 - انشاء عنصر شخصى9 - اكتب اسم الكود او اى سم تريده 10 - استعمل جدول اضغط (( لا ))
11 - ضع الكود فى الصندوق و يجب ان يكون بهذا الشكل (( )) 12 - اضغط (( سجل )) 13 - اسحب الكود وضعه فى العناصر الشخصية و ضع فى العناصر المستقله
كما فى الصوره
14 - اضغط (( سجل )) 15 - اضغط على زرار (( تعديل الصلاحيات )) 16 - اجعل الصلاحيات فقط (( لزوار ))17 - اضغط (( سجل ))انتهاء الشرح الف مبروك عليك الكود الجديد | |
|
ayman
فريقي المفضل : البلد : الجنس : الهواية : المهنة : مزاجـى : التقيم : 3
| |