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

مشاهدة النسخة كاملة : تغيير في توزيع الجداول داخل الاقسام بطريقه فنيه وجميله



salima
10-30-2013, بتوقيت غرينيتش 09:15 PM
http://www.dzbatna.com/images/icons/icon30.gif طھط؛ظٹظٹط± ظپظٹ طھظˆط²ظٹط¹ ط§ظ„ط¬ط¯ط§ظˆظ„ ط¯ط§ط®ظ„ ط§ظ„ط§ظ‚ط³ط§ظ… ط¨ط·ط±ظٹظ‚ظ‡ ظپظ†ظٹظ‡ ظˆط¬ظ…ظٹظ„ظ‡ (http://www.dzbatna.com/t1333837/)


راح كل مره نغير عن الناس وعن الروتين الي عليه توزيع الجداول داخل الاقسام

الكثير بيقول فارس وش يقصد او وش عنده بقول لكم هالطريقه طبعاً هي مستخدمه من قبل بعض المواقع الاجنبية

بوريكم الصوره قبل

http://www.rawabetvb.com/vb/attachment.php?attachmentid=27777&stc=1&d=1250023344


وهنا بعد العمل بتلاحظون تغير توزيع الاحصائيات

http://www.rawabetvb.com/vb/attachment.php?attachmentid=27778&stc=1&d=1250023355


اذا الطريقه اعجبتك يالله تعال نبداء التعديلhttp://www.rawabetvb.com/vb/images/smilies/biggrin.gif

ندخل قالب template threadbit


افتح القالب template وحذف كل الي فيه نهائي وضع الكود code التالي :


رمز PHP:

<code style="white-space:nowrap"> <code> <tr><td width="5" id="td_threadstatusicon_$thread&#91;realthreadid&#93;" class="alt1">$thread&#91;openclose_editable&#93;
<img src="$stylevar&#91;imgdir_statusicon&#93;/thread$thread&#91;statusicon&#93;.gif" id="thread_statusicon_$thread&#91;realthreadid&#93;" align="left" vspace="5px" alt="<if condition="$show&#91;'threadcount'&#93;"><phrase 1="$thread&#91;dot_count&#93;" 2="$thread&#91;dot_lastpost&#93;">$vbphrase&#91;have_x_posts_in_thread_last_y&#93;</phrase></if>" border="" />
</td>
<td class="alt1" id="td_threadtitle_$thread&#91;realthreadid&#93;" title="$thread&#91;preview&#93;">
$thread&#91;title_editable&#93;
<div>
<span style="float:$stylevar&#91;left&#93;">
<if condition="$show&#91;'threadicons'&#93;">
<if condition="$show&#91;'threadicon'&#93;">&nbsp;<img src="$thread&#91;threadiconpath&#93;" alt="$thread&#91;threadicontitle&#93;" border="0" />&nbsp;<else />&nbsp;</if></if></span>
<if condition="$show&#91;'taglist'&#93; OR $show&#91;'moderated'&#93; OR $show&#91;'deletedthread'&#93; OR $show&#91;'paperclip'&#93; OR $show&#91;'subscribed'&#93; OR $show&#91;'sticky'&#93; OR $show&#91;'rexpires'&#93;">
<span style="float:$stylevar&#91;right&#93;">
<if condition="$show&#91;'taglist'&#93;"> <img class="inlineimg" src="$stylevar&#91;imgdir_misc&#93;/tag.png" alt="$thread&#91;taglist&#93;" /> </if>
<if condition="$show&#91;'rexpires'&#93;"> <img class="inlineimg" src="$stylevar&#91;imgdir_misc&#93;/expires.gif" alt="<phrase 1="$thread&#91;expiredate&#93;" 2="$thread&#91;expiretime&#93;">$vbphrase&#91;expires_on_x_y&#93;</phrase>" /> </if>
<if condition="$show&#91;'moderated'&#93;"> <img class="inlineimg" src="$stylevar&#91;imgdir_misc&#93;/moderated_small.gif" alt="<phrase 1="$thread&#91;hiddencount&#93;">$vbphrase&#91;x_moderated_posts&#93;</phrase>" /> </if>
<if condition="$show&#91;'deletedthread'&#93;"> <img class="inlineimg" src="$stylevar&#91;imgdir_misc&#93;/trashcan_small.gif" alt="<phrase 1="$thread&#91;deletedcount&#93;">$vbphrase&#91;x_deleted_posts&#93;</phrase>" /> </if>
<if condition="$show&#91;'paperclip'&#93;"> <a href="#" onclick="attachments($thread&#91;threadid&#93;); return false"> <img class="inlineimg" src="$stylevar&#91;imgdir_misc&#93;/paperclip.gif" border="0" alt="<phrase 1="$thread&#91;attach&#93;">$vbphrase&#91;x_attachments&#93;</phrase>" /></a> </if>
<if condition="$show&#91;'subscribed'&#93;"> <img class="inlineimg" src="$stylevar&#91;imgdir_misc&#93;/subscribed.gif" alt="$vbphrase&#91;you_are_subscribed_to_this_thread&#93;" /> </if>
<if condition="$show&#91;'sticky'&#93;"> <img class="inlineimg" src="$stylevar&#91;imgdir_misc&#93;/sticky.gif" alt="$vbphrase&#91;sticky_thread&#93;" /> </if>
</span>
</if>
<if condition="$show&#91;'gotonewpost'&#93;"><a href="showthread.php?$session&#91;sessionurl&#93;goto=newpost&amp;t= $thread&#91;threadid&#93;" id="thread_gotonew_$thread&#91;realthreadid&#93;"><img class="inlineimg" src="$stylevar&#91;imgdir_button&#93;/firstnew.gif" alt="$vbphrase&#91;go_to_first_new_post&#93;" border="0" /></a></if>
$thread&#91;movedprefix&#93;
$thread&#91;typeprefix&#93;
$thread&#91;moderatedprefix&#93;
$thread&#91;prefix_rich&#93;
<a href="showthread.php?$session&#91;sessionurl&#93;t=$thread&#91;threa did&#93;$thread&#91;highlight&#93;" id="thread_title_$thread&#91;realthreadid&#93;"<if condition="$show&#91;'gotonewpost'&#93;"> style="font-weight:bold"</if>>$thread&#91;threadtitle&#93;</a>
<if condition="$thread&#91;'pagenav'&#93;">$stylevar&#91;dirmark&#93;<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar&#91;imgdir_misc&#93;/multipage.gif" alt="$vbphrase&#91;multipage_thread&#93;" border="0" /> $thread&#91;pagenav&#93;<if condition="$show&#91;pagenavmore&#93;"> ... <a href="showthread.php?$session&#91;sessionurl&#93;t=$thread&#91;threa did&#93;&amp;page=$thread&#91;totalpages&#93;$thread&#91;highlight&#93;">$vbphrase&#91;last_page&#93;</a></if>)</span></if>
</div>
<if condition="$show&#91;'rmanage'&#93;"><div class="smallfont"><span style="float:$stylevar&#91;right&#93;"><a href="postings.php?$session&#91;sessionurl&#93;do=editthread&amp;t=$ thread&#91;redirectthreadid&#93;">$vbphrase&#91;manage&#93;</a></span></div></if>
<div class="smallfont">
<if condition="$show&#91;'threadratings'&#93; AND $show&#91;'threadrating'&#93;"><span style="float:$stylevar&#91;right&#93;"><img class="inlineimg" src="$stylevar&#91;imgdir_rating&#93;/rating_$thread&#91;rating&#93;.gif" border="0" alt="<phrase 1="$thread&#91;votenum&#93;" 2="$thread&#91;voteavg&#93;">$vbphrase&#91;thread_rating_x_votes_y_average&#93;</phrase>" /></span></if>
<if condition="$show&#91;'guestuser'&#93;">
&nbsp;$thread&#91;postusername&#93;
<else />
<span style="cursor:pointer" onclick="window.open('member.php?$session&#91;sessionurl&#93;u=$thr ead&#91;postuserid&#93;', '_self')">$thread&#91;postusername&#93;</span>
</if>
</div>
<if condition="$show&#91;'unsubscribe'&#93;">
<div class="smallfont">
<a href="newreply.php?$session&#91;sessionurl&#93;do=newreply&amp;t=$th read&#91;threadid&#93;" rel="nofollow">$vbphrase&#91;reply&#93;</a> |
<a href="subscription.php?$session&#91;sessionurl&#93;do=removesubs cription&amp;return=ucp&amp;t=$thread&#91;threadid&#93;" rel="nofollow">$vbphrase&#91;unsubscribe&#93;</a>
</div>
</if>
</td>
<if condition="$show&#91;'notificationtype'&#93;">
<td class="alt1"><div class="smallfont">
<label for="sub$subscribethread&#91;$threadid&#93;">$thread&#91;notification&#93;</label>
</div></td>
<td class="alt2"><input type="checkbox" name="deletebox&#91;$subscribethread&#91;$threadid&#93;&#93;" id="sub$subscribethread&#91;$threadid&#93;" value="yes" /></td>
<else />
<td class="alt2" align="center">
<if condition="$show&#91;'threadmoved'&#93;">-<else /><div align="left"><span style="float:right"><strong><a href="misc.php?do=whoposted&amp;t=$thread&#91;threadid&#93;" onclick="who($thread&#91;threadid&#93;); return false;">$thread&#91;replycount&#93;</a></strong></span> $vbphrase&#91;replies&#93; </div></if><div align="left" class="smallfont"><span style="float:right"><strong>$thread&#91;views&#93;</strong></span> $vbphrase&#91;views&#93;</div></td>
<if condition="$show&#91;'forumlink'&#93;">
<td class="alt1"><a href="forumdisplay.php?$session&#91;sessionurl&#93;f=$thread&#91;for umid&#93;">$thread&#91;forumtitle&#93;</a></td>
</if>
</if>
<if condition="$show&#91;'threadmoved'&#93;">
<td class="alt2" align="center">-</td>
<else />
<td class="alt1" width="140" title="<phrase 1="$thread&#91;replycount&#93;" 2="$thread&#91;views&#93;">$vbphrase&#91;replies_x_views_y&#93;</phrase>">
<div class="smallfont" style="text-align:$stylevar&#91;right&#93;; white-space:nowrap"><strong><phrase 1="member.php?$session&#91;sessionurl&#93;find=lastposter&amp;t=$ thread&#91;threadid&#93;" 2="$thread&#91;lastposter&#93;">$vbphrase&#91;by_x&#93;</phrase></strong> <br />
$thread&#91;lastpostdate&#93; <if condition="!$show&#91;'detailedtime'&#93;"><span class="time">$thread&#91;lastposttime&#93;</span></if>
<a href="showthread.php?$session&#91;sessionurl&#93;p=$thread&#91;lastp ostid&#93;$thread&#91;highlight&#93;#post$thread&#91;lastpostid&#93;"><img class="inlineimg" src="$stylevar&#91;imgdir_button&#93;/lastpost.gif" alt="$vbphrase&#91;go_to_last_post&#93;" border="0" /></a>
</div>
</td>
</if>
<if condition="$show&#91;'inlinemod'&#93;">
<td width="25" class="<if condition="$show&#91;'forumlink'&#93;">alt1<else />alt2</if>">
<input type="checkbox" name="tlist&#91;$thread&#91;realthreadid&#93;&#93;" id="tlist_$thread&#91;realthreadid&#93;" value="$thread&#91;checkbox_value&#93;" <if condition="$show&#91;'disabled'&#93;">disabled="disabled"</if> />
</td>



</if>
</tr>
</code> </code>



وحفظ القالب template
________________________________

في القالب template threadbit_announcement

افتح القالب template وحذف كل الي فيه وضع الكود code التالي


رمز PHP:

<code style="white-space:nowrap"> <code> <tr> <td class="alt2" colspan="$announcecolspan">
<div>
<img src="$stylevar&#91;imgdir_statusicon&#93;/announcement_$announcement&#91;statusicon&#93;.gif" border="0" alt="$vbphrase&#91;announcement&#93;" align="left" vspace="5px" /><span class="smallfont" style="float:$stylevar&#91;right&#93;">$vbphrase&#91;views&#93;: <strong>$announcement&#91;views&#93;</strong> <a href="announcement.php?$session&#91;sessionurl&#93;f=$foruminfo&#91; forumid&#93;$announcementidlink"><img class="inlineimg" src="$stylevar&#91;imgdir_button&#93;/lastpost.gif" alt="$vbphrase&#91;view_announcement&#93;" border="0" /></a></span>
<strong>$vbphrase&#91;announcement&#93;</strong>: <a href="announcement.php?$session&#91;sessionurl&#93;f=$foruminfo&#91; forumid&#93;$announcementidlink">$announcement&#91;title&#93;</a>
</div>
<div>
<span style="float:$stylevar&#91;right&#93;"><if condition="$show&#91;'forumtitle'&#93;"><a href="forumdisplay.php?$session&#91;sessionurl&#93;f=$announceme nt&#91;forumid&#93;">$announcement&#91;forumtitle&#93;</a> </if><span class="smallfont">$announcement&#91;postdate&#93;</span></span>
<span class="smallfont">
&nbsp;<a href="member.php?$session&#91;sessionurl&#93;u=$announcement&#91;use rid&#93;">$announcement&#91;username&#93;</a>
<if condition="$announcement&#91;'usertitle'&#93; != ''">($announcement&#91;usertitle&#93;)</if>
</span>
</div>
</td>
</tr>
</code> </code>






وعمل حفظ للقالب template

في قالب template forumdisplay
نفتح القالب template ونقوم بالبحث عن التالي :



رمز PHP:

<code style="white-space:nowrap"> <code> <if condition="$show&#91;'search_engine'&#93;">
<if condition="$show&#91;'threadicons'&#93;">
<td class="thead" colspan="2">&nbsp;</td>
<else />
<td class="thead">&nbsp;</td>
</if>
<td class="thead" width="100%">
<if condition="$show&#91;'threadratings'&#93;"><span style="float:$stylevar&#91;right&#93;">$vbphrase&#91;rating&#93;</span></if>
$vbphrase&#91;thread&#93; / $vbphrase&#91;thread_starter&#93;
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase&#91;last_post&#93;</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase&#91;replies&#93;</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase&#91;views&#93;</span></td>
<else />
<if condition="$show&#91;'threadicons'&#93;">
<td class="thead" colspan="2">&nbsp;</td>
<else />
<td class="thead">&nbsp;</td>
</if>
<td class="thead" width="100%">
<if condition="$show&#91;'threadratings'&#93;"><span style="float:$stylevar&#91;right&#93;"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase&#91;rating&#93;</a> $sortarrow&#91;voteavg&#93;</span></if>
<a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase&#91;thread&#93;</a> $sortarrow&#91;title&#93; /
<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase&#91;thread_starter&#93;</a> $sortarrow&#91;postusername&#93;
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase&#91;last_post&#93;</a> $sortarrow&#91;lastpost&#93;</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">$vbphrase&#91;replies&#93;</a> $sortarrow&#91;replycount&#93;</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views" rel="nofollow">$vbphrase&#91;views&#93;</a> $sortarrow&#91;views&#93;</span></td> <if condition="$show&#91;'inlinemod'&#93;">
<if condition="$show&#91;'popups'&#93;">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase&#91;moderation&#93;"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase&#91;check_uncheck_all&#93;" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</if>
</tr>
</tbody>
</code> </code>



قم بأستبداله بالكود code التالي :

رمز PHP:

<code style="white-space:nowrap"> <code> <if condition="$show&#91;'search_engine'&#93;">
<if condition="$show&#91;'threadicons'&#93;">

<else />
<td class="thead">&nbsp;</td>
</if>
<td class="thead" width="100%">
<if condition="$show&#91;'threadratings'&#93;"><span style="float:$stylevar&#91;right&#93;">$vbphrase&#91;rating&#93;</span></if>
$vbphrase&#91;thread&#93; / $vbphrase&#91;thread_starter&#93;
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase&#91;last_post&#93;</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase&#91;replies&#93;</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase&#91;views&#93;</span></td>
<else />
<td class="thead"></td> <td class="thead">
<if condition="$show&#91;'threadratings'&#93;"><span style="float:$stylevar&#91;right&#93;"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase&#91;rating&#93;</a> $sortarrow&#91;voteavg&#93;</span></if>
<a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase&#91;thread&#93;</a> $sortarrow&#91;title&#93; /
<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase&#91;thread_starter&#93;</a> $sortarrow&#91;postusername&#93;
</td>
<td class="thead" width="100" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">الاحصائية</a> $sortarrow&#91;replycount&#93;</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase&#91;last_post&#93;</a> $sortarrow&#91;lastpost&#93;</span></td>
<if condition="$show&#91;'inlinemod'&#93;">
<if condition="$show&#91;'popups'&#93;">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase&#91;moderation&#93;"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
<else />
<td class="thead" width="25" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase&#91;check_uncheck_all&#93;" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</if>
</tr>
</tbody>
</code> </code>



وحفظ العمل ونقل للخطوه التالية

في القالب template search_results

نفتح القالب template ونبحث عن الكود code التالي :

رمز PHP:

<code style="white-space:nowrap"> <code> <tr>
<if condition="$show&#91;'threadicons'&#93;">
<td class="thead" colspan="2">&nbsp;</td>
<else />
<td class="thead">&nbsp;</td>
</if>
<td class="thead" width="75%">$vbphrase&#91;thread&#93; / $vbphrase&#91;thread_starter&#93;</td>
<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase&#91;last_post&#93;</td>
<td class="thead" align="center" nowrap="nowrap">$vbphrase&#91;replies&#93;</td>
<td class="thead" align="center" nowrap="nowrap">$vbphrase&#91;views&#93;</td>
<td class="thead" width="25%">$vbphrase&#91;forum&#93;</td> <if condition="$show&#91;'inlinemod'&#93;">
<if condition="$show&#91;'popups'&#93;">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase&#91;moderation&#93;"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase&#91;check_uncheck_all&#93;" onclick="inlineMod.check_all()" />
</td>
</if>
</if></tr>
</code> </code>



نقوم باستبداله بالكود code التالي

رمز PHP:

<code style="white-space:nowrap"> <code> <if condition="$show&#91;'search_engine'&#93;">
<if condition="$show&#91;'threadicons'&#93;">

<else />
<td class="thead">&nbsp;</td>
</if>
<td class="thead" width="100%">
<if condition="$show&#91;'threadratings'&#93;"><span style="float:$stylevar&#91;right&#93;">$vbphrase&#91;rating&#93;</span></if>
$vbphrase&#91;thread&#93; / $vbphrase&#91;thread_starter&#93;
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase&#91;last_post&#93;</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase&#91;replies&#93;</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase&#91;views&#93;</span></td>
<else /><td class="thead"></td>
<td class="thead">
<if condition="$show&#91;'threadratings'&#93;"><span style="float:$stylevar&#91;right&#93;"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase&#91;rating&#93;</a> $sortarrow&#91;voteavg&#93;</span></if>
<a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase&#91;thread&#93;</a> $sortarrow&#91;title&#93; /
<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase&#91;thread_starter&#93;</a> $sortarrow&#91;postusername&#93;
</td>
<td class="thead" width="100" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">Statistics</a> $sortarrow&#91;replycount&#93;</span></td>
<td class="thead" width="100" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">Forum</a> $sortarrow&#91;replycount&#93;</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase&#91;last_post&#93;</a> $sortarrow&#91;lastpost&#93;</span></td>
<if condition="$show&#91;'inlinemod'&#93;">
<if condition="$show&#91;'popups'&#93;">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase&#91;moderation&#93;"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
<else />
<td class="thead" width="25" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase&#91;check_uncheck_all&#93;" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</if>
</tr>
</tbody>&#91;/right&#93;&#91;/right&#93;
</code> </code>



منقووووولhttp://www.dzbatna.com/images/smilies/icon-mos.gif
من الاخ فارس في روابط
http://www.rawabetvb.com/vb/showthread.php?t=100851

















ألعاب الأندرويد مجانا و حصريا (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)©

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


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