المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : كود codeالإعلانات من تنسيقي + شرح طريقة عمل كود code فتح المسار في نافذة أخرى ..~]]



Chakira
10-31-2013, بتوقيت غرينيتش 01:39 AM
http://www.dzbatna.com/images/icons/iconrote.gif ظƒظˆط¯ط§ظ„ط¥ط¹ظ„ط§ظ†ط§طھ ظ…ظ† طھظ†ط³ظٹظ‚ظٹ + ط´ط±ط* ط¹ظ…ظ„ ظƒظˆط¯ ظپطھط* ط§ظ„ظ…ط³ط§ط± ظپظٹ ظ†ط§ظپط°ط© ط£ط®ط±ظ‰ ..~]] (http://www.dzbatna.com/t1443570/)




السلام عليكم ورحمة الله وبركاته


http://al3waji.com/_images/logo-4ebda.png (http://www.4ebda.net)


أهلا أعضاء .. منتديات ديزاد باتنة..~]]



كثير من الأعضاء .. يقوم بتحميل هاك product الإعلانات .. وقد يجد به مشاكل ولا يستطيع التعامل معاه بشكل جيد

لذلك انا أقول له .. ريح واستريح .. مع هذا الكود code راح ترتاح جدا والله

باسم الله نبدأ الشرح طريقة


أولا:

مثال مباشر على البنرات من : هنا (http://www.4ebda.net/vb/)



ثانيا :



كود code الإعلانات ..~]] راح تنسخو وتضعو في نهاية كود code قالب template الــ header

كود code PHP:






وراح تستبدل كلمة ضع مسار صورة البنر بمسار الصورة


مثلا : الصورة تبع البنر في ملف الاستايل style


اسم ملف الاستايل style مثلا : sTayl


واسم صورة البنر : img.gif


راح يسير مسار الصورة : sTayl/img.gif


واهم شي صيغة الصورة أيا كانت gif او jpg او png


اذا كانت jpg راح يسير اسم الصورة img.jpg وهكذا مع كل الصيغ


وفي الآخر تنسخ المسار وتستبدلو بدال كلمة ضع صورة مسار البنر



انا في منتداي مخليه كذا عساس تفهموا علي


كود code PHP:

<!-- كود code الإعلانات ][ Mr.pho0T0oshoP -->
</head>

<a name=&quot;top&quot;></a>
<div align=&quot;center&quot;>
&nbsp;</div>
<div align=&quot;center&quot;>
<table border=&quot;0&quot; width=&quot;57%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;>
<tr>
<td height=&quot;20&quot;>
<img border=&quot;0&quot; src=&quot;images/T4ebda-2.gif&quot; width=&quot;400&quot; height=&quot;60&quot;></td>
<td height=&quot;20&quot; width=&quot;14&quot;>&nbsp;</td>
<td height=&quot;20&quot; width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;images/T4ebda-1.gif&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
<td height=&quot;20&quot; width=&quot;150&quot;>&nbsp;</td>
<td height=&quot;20&quot; width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;images/T4ebda-1.gif&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
</tr>
<tr>
<td>&nbsp;</td>
<td width=&quot;14&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
</tr>
<tr>
<td>
<img border=&quot;0&quot; src=&quot;images/T4ebda-2.gif&quot; width=&quot;400&quot; height=&quot;60&quot;></td>
<td width=&quot;14&quot;>&nbsp;</td>
<td width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;images/T4ebda-1.gif&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;images/T4ebda-1.gif&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
</tr>
<tr>
<td>&nbsp;</td>
<td width=&quot;14&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
</tr>
<tr>
<td>
<img border=&quot;0&quot; src=&quot;images/T4ebda-2.gif&quot; width=&quot;400&quot; height=&quot;60&quot;></td>
<td width=&quot;14&quot;>&nbsp;</td>
<td width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;images/T4ebda-1.gif&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;images/T4ebda-1.gif&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
</tr>
</table>
</div>
<!-- www.4ebda.net ][ Mr.pho0T0oshoP -->


لاحظتم مسار الصور في منتداي هذا هو المسار images/T4ebda-1.gif


يعني لو سوينا كذى راح يظهر البنر

http://www.4ebda.net/vb/images/T4ebda-1.gif


[ حبايب بليز لا تعتمدو على انكم تطبقوا وتمشوا لا.. حاولوا تفهموا الموضوع عساس تاخذوا الفكرة بشكل أكبر ]



:::::::::::::::::::::::::::::::::::::::::::::::::: ::::: :::::::::::::::::::::::::::::::::::::::::

الآن باقي طريقة تعمل بنر .. اذا ضغطت عليه يفتح في اطار آخر



باسم الله نبدأ


أول شي لازم تفهم انو لكل بنر كود code

أرجو استخدام برنامج الفرونت بيج في هذه العملية عساس يكون الشغل تمام


بدينا في الشرح طريقة



أولا :


أدخل على برنامج الفرونت بيج


تلقى في الزاوية اليمنى تحت من البرنامج مثل مافي الصورة

إذا كان الاختيار على تصميم ضعه انقسام


http://www.rawabetvb.net/upload/2880193f711.jpg



الآن راح تشوف الانقسام راح يسر مثل مافي الصورة


http://www.rawabetvb.net/upload/f31ab59f371.jpg





طيب تمام ..~] الحين راح نمسح الكود code مثل منتم شايفين في الصورة الي فوق فيها كود code . امسحوا كل الكود code

والصقوا الكود code هذا في المكان الي كان فيه الكود code الي مسحناه : [[ نفس الكود code الذي في بداية الموضوع ]]



كود code PHP:

<!-- بداية كود code الإعلانات ][ Mr.pho0T0oshoP -->
</head>

<a name=&quot;top&quot;></a>
<div align=&quot;center&quot;>
&nbsp;</div>
<div align=&quot;center&quot;>
<table border=&quot;0&quot; width=&quot;57%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;>
<tr>
<td height=&quot;20&quot;>
<img border=&quot;0&quot; src=&quot;ضع مسار صورة البنر&quot; width=&quot;400&quot; height=&quot;60&quot;></td>
<td height=&quot;20&quot; width=&quot;14&quot;>&nbsp;</td>
<td height=&quot;20&quot; width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;ضع مسار صورة البنر&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
<td height=&quot;20&quot; width=&quot;150&quot;>&nbsp;</td>
<td height=&quot;20&quot; width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;ضع مسار صورة البنر&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
</tr>



<tr>
<td>&nbsp;</td>
<td width=&quot;14&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
</tr>
<tr>
<td>
<img border=&quot;0&quot; src=&quot;ضع مسار صورة البنر&quot; width=&quot;400&quot; height=&quot;60&quot;></td>
<td width=&quot;14&quot;>&nbsp;</td>
<td width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;ضع مسار صورة البنر&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;ضع مسار صورة البنر&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
</tr>
<tr>
<td>&nbsp;</td>
<td width=&quot;14&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>&nbsp;</td>
</tr>
<tr>
<td>
<img border=&quot;0&quot; src=&quot;ضع مسار صورة البنر&quot; width=&quot;400&quot; height=&quot;60&quot;></td>
<td width=&quot;14&quot;>&nbsp;</td>
<td width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;ضع مسار صورة البنر&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
<td width=&quot;150&quot;>&nbsp;</td>
<td width=&quot;150&quot;>
<img border=&quot;0&quot; src=&quot;ضع مسار صورة البنر&quot; width=&quot;150&quot; height=&quot;60&quot;></td>
</tr>
</table>
</div>
<!-- www.4ebda.net ][ نهاية كود code الإعلانات -->





كما في الصورة بعد وضع الكود code.. ولكي يظهر معك

http://www.rawabetvb.net/upload/353edea7121.jpg



طيب تمام الحين اضغط على واحد من البنرات الي عليهم علامة أكس .. والي تبي تحط فيها اعلان ويفتحلك في صفحة أخرى


راح يحددلك الكود code زي ما تشوف في الصورة هذي

http://www.rawabetvb.net/upload/0378fde1a61.jpg


طيب تمام بعد ما حددلك الكود code انسخو وخوذ منو نسخة عساس لو سار خطأ .~]]
راح يكون الكود code كذى


كود code PHP:

<img border=&quot;0&quot; src=&quot;ضع مسار صورة البنر&quot; width=&quot;150&quot; height=&quot;60&quot;>


استبدلو بهذا الكود code


كود code PHP:

<a target=&quot;_blank&quot; href=&quot;http://www.4ebda.net/vb/&quot;>
<img border=&quot;0&quot; src=&quot;ضع مسار صورة البنر&quot; width=&quot;150&quot; height=&quot;60&quot;></a>


طيب راح أخبركم بشي

الحين الكود code سار كذى


http://www.rawabetvb.net/upload/64419b40921.jpg



زي ما هو محدد عليه في الصورة

خليك عند الكود code .. الي محد عليه في الصورة

شوف مسار المنتدى forum http://www.4ebda.net/vb

استبدلو برابط المنتدى forum الي تبيه يعلن عندك

وكمان عندك تحته على طول كلمة

ضع مسار صورة البنر << استبدلها بـ

مسار الصورة زي ما شرح طريقةنالكم فوق

مثلا مسار صورة البنر تبع الي يبي يعلن عندك

http://www.4ebda.net/vb/images/T4ebda-1.gif


راح تحطوا ويسير عندك الكود code بالكامل كذى

http://www.rawabetvb.net/upload/100b0572971.jpg




تقريبا قربنا ننتهي ..~]] بس قبل ما أخلص راح أقولكم شي مهم جدا وانتا تعدل


1- إذا بغيت مثلا تعدل على البنر .. تأكد من مقاساته


يعني مثلا عندك بنر مقاسه 13 × 20

لازم وتبغى تعدل عليه .. ناظر نفس الكود code الي تكلمنا عنو

هذا هو..~]

كود code PHP:

<a target=&quot;_blank&quot; href=&quot;http://www.4ebda.net/vb/&quot;>
<img border=&quot;0&quot; src=&quot;http://www.4ebda.net/vb/images/T4ebda-1.gif&quot; width=&quot;150&quot; height=&quot;60&quot;></a>



في نفس الكود code لو تبغوا تعدلوا الطول والعرض هذا الكود code

كود code PHP:

width=&quot;150&quot; height=&quot;60&quot;




width معناها عرض

height معناها طول


width=&quot;150&quot; + height=&quot;60&quot; يسير تعدل الرقم فقط في الكود code


ولا تنسوا انو الكود code بالأخر تنسخه وتحطه نهاية قالب template الـ header


أي استفسار يكون في نفس هالموضوع

:::::::::::::::::::::::::::::::::::::::::::::::::: ::::: :::::
هنا ينتهي الشرح طريقة حبايب ..~]] الشرح طريقة لعيونكم والله

حقوق الموضوع محفوظة لـ شبكة طريق الإبداع
أطيب تحية : Mr.pho0T0oshoP







ألعاب الأندرويد مجانا و حصريا (http://www.apotox.info/forum)



https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى