السلام عليكم
هذا قالب postbit_legacy حملته ووضعته بمنتداي بس فيه اشياء ابي ازيلها
وكرماً منكم تساعدوني :
اللي أريد أزالتها التالي :
مزاجي
sms
mms
والأوسمة
وتنسيق التواقيع
وسؤال : كيف أفعل آخر تواجد اللي يظهر بالقالب ؟
وهذا هو القالب ....
نقطة ثانية ي أخوان
يوم ركبت القالب ظهرت لي مشكلة في المواضيع
بحيث انه يدمج الموضوع مع المشاركة ؟!
وشكراً .. دعواتي لمن يحل الأزمة
هذا قالب postbit_legacy حملته ووضعته بمنتداي بس فيه اشياء ابي ازيلها
وكرماً منكم تساعدوني :
اللي أريد أزالتها التالي :
مزاجي
sms
mms
والأوسمة
وتنسيق التواقيع
وسؤال : كيف أفعل آخر تواجد اللي يظهر بالقالب ؟
وهذا هو القالب ....
PHP:
<p align="center"> </p>
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal" align="$stylevar[right]">
<if condition="$show['postcount']">رقم المشاركة : <a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]"/>
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" rowspan="2">
<div align="center" id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]" style="text-decoration: none; ">
<font size="2">$post[musername]</font></a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
$post[field9]
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
</div>
<if condition="$show['avatar']">
<div align="center" class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
<table border="0" width="100%" id="table53" cellpadding="2" style="font-family: Tahoma; font-size: 10pt">
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">مـزاجـي</font>
<if condition="$post['pica']">
<div align="center" class="smallfont" style="width: 147px; height: 43px">
<img src="images/5d5l-moods/mood-$post[pica].gif" alt="[ مزاجي ]" style="border: 0px" vspace="2">
</div>
</if></td></tr>
</table>
<table border="0" width="100%" id="table51" cellpadding="2" style="font-family: Tahoma; font-size: 10pt">
<div align="center">
<if condition="$post['joindate']">
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">$vbphrase[join_date]</font> : $post[joindate]</td></tr>
</if>
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">$vbphrase[userid]</font> : $post[userid]</td></tr>
<if condition="$post[field2]">
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">الإقامة</font> : $post[field2]</td></tr>
</if>
<if condition="$post[field2]">
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">الهواية</font> : $post[field3]</td></tr>
</if>
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">$vbphrase[threads]</font> : $usertherdcoun</td></tr>
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">الردود</font> : $userpostdcoun</td></tr>
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">مجموع المشاركات</font> : $post[posts]</td></tr>
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">بمعدل</font> : $post[postsperday] مشاركة في اليوم</td></tr>
<if condition="$post['age']">
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">$vbphrase[age]</font> : $post[age]</td></tr>
</if>
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">معدل التقييم</font> : $post[reputation]</td></tr>
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">$vbphrase[reppower]</font> : $post[reputationdisplay]</td></tr>
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<p dir="ltr">
<font color="#333333">آخر تواجد</font> : $post[lastseen_date] ($post[lastseen_time])</td></tr>
<if condition="$show['infraction']">
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">$vbphrase[infractions] : $post[warnings]/$post[infractions] ($post[ipoints])</td></tr>
</if>
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right"><div align="center">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</td></tr>
</div>
</table>
<table border="0" width="100%" id="table52" cellpadding="2" style="font-family: Tahoma; font-size: 10pt">
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">My SMS</font>
<marquee width="162" scrolldelay="2" direction="up" height="61" style="font-size: 9pt; font-family: Tahoma; text-decoration:blink" scrollamount="1"><center>$post[field5]</center></marquee>
</td></tr>
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">My MMS</font><if condition="$post[field7]"><font color="#333333">
</font>
<div align="center" class="smallfont" style="width: 150px; height: 50">
<img src="mms/$post[field6].gif" alt="[ دجتنا غير ]" style="border: 0px" vspace="2">
</div></td></tr>
</if>
<tr><td class="moon4ae" style="border-right:5px solid #C0C0C0; border-bottom:1px solid #E2E2E2; font-size: 8pt; font-family: Tahoma; " align="right">
<font color="#333333">الاوسمـه</font><p align="center">$post[userawards]</td></tr>
</table>
<p align="center"><br />
$post[onlinestatus]
</div>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" rowspan="2">
<else />
<td class="alt1" id="td_post_$post[postid]" height="500">
</if>
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if><b>
</b>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]"><div align="center">
<font face="Arial" style="font-size: 12pt">$post[message]</font></div></div>
<!-- / message --> <br /><br /><br /><br /><br /><br />
<tr valign="top">
<td class="alt1" id="td_post_$post[postid]">
<!-- من مواضيع العضو -->
<if condition="$favo">
<fieldset class="fieldset">
<legend>من مواضيع $post[musername] في المنتدى</legend>
<div style="padding:$stylevar[formspacer]px">
$favo
</div>
</fieldset>
</if>
<br>
<!-- من مواضيع العضو -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
<!-- Signature - Developer By: Moon4ae -->
<if condition="$post['signature']">
<!-- sig -->
<div>
<br /><br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="52%" align="center">
<tr>
<td class="thead" align="center">$vbphrase[signature] - $post[username]</td>
</tr>
<tr>
<td class="alt1" title="$vbphrase[signature]" align="center">
<p align="center">$post[signature]</td>
</tr>
</table>
</if>
<!-- / sig -->
<!-- / Signature - Developer By: Moon4ae -->
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div class="smallfont" align=center><phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase> .<br />
<if condition="$post['edit_reason']"><input type="text" name="edit_reason" size="80%" value="$vbphrase[reason] : $post[edit_reason]" class="moon4ae2"></if>
</div>
<!-- / edit note -->
</if>
</td>
</tr>
</td>
</tr>
<tr>
<td class="alt2">
<if condition="$show['reputationlink']">
<div align="center">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> </if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
</div>
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]">
<else />
<td class="alt1" align="$stylevar[right]">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
<!-- / controls -->
</tr>
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none; filter:alpha(opacity=90); -moz-opacity: 0.7;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
<if condition="$bbuserinfo[usergroupid]=='6'">
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('Gitex_modcp/user.php?do=editsig&userid=$post[userid]','editsig','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=500,height=500'); return false;">$vbphrase[edit_signature] $post[username]</a></td></tr>
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')">حظر دائم / مؤقت لعضوية $post[username]</span></td></tr>
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=liftban&userid=$post[userid]','liftban','width=500,height=375,scrollbars=yes')">إلغاء الحظر عن $post[username]</span></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- / Developer By: Moon4ae -->
يوم ركبت القالب ظهرت لي مشكلة في المواضيع
بحيث انه يدمج الموضوع مع المشاركة ؟!
وشكراً .. دعواتي لمن يحل الأزمة
التعديل الأخير: