postbit_legacy ط¨ط³ظٹط· ظˆط¬ظ…ظٹظ„ ظ…ط¹ ظ…ط«ط§ظ„







قالب template postbit_legacy بسيط وجميل مع مثال






رمز PHP:
<code style="white-space:nowrap"> <code> <table id="post$post&#91;postid&#93;" class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">
<
tr>
<if
condition="$show&#91;'announcement'&#93;">
<
td class="thead" style="font-weight:normal" colspan="2">
<
img class="inlineimg" src="$stylevar&#91;imgdir_statusicon&#93;/post_$post&#91;statusicon&#93;.gif" alt="$post&#91;statustitle&#93;" border="0" />
<
phrase 1="$post&#91;startdate&#93;" 2="$post&#91;enddate&#93;">$vbphrase&#91;x_until_y&#93;</phrase>
</
td>
<else />
<
td class="thead" style="font-weight:normal" $post&#91;scrolltothis&#93;>
<!--
status icon and date -->
<
a name="post$post&#91;postid&#93;"><img class="inlineimg" src="$stylevar&#91;imgdir_statusicon&#93;/post_$post&#91;statusicon&#93;.gif" alt="$post&#91;statustitle&#93;" border="0" /></a>
$post&#91;postdate&#93;<if condition="!$show&#91;'detailedtime'&#93;">, $post&#91;posttime&#93;</if>
$post&#91;firstnewinsert&#93;
<!-- /
status icon and date -->
</
td>



<
td class="thead" style="font-weight:normal" align="$stylevar&#91;right&#93;">
&
nbsp;
<if
condition="$show&#91;'postcount'&#93;">رقم المشاركة : <a href="showpost.php?$session&#91;sessionurl&#93;p=$post&#91;postid&#93;&amp;postcount=$post&#91;postcount&#93;" target="new" rel="nofollow" id="postcount$post&#91;postid&#93;" name="$post&#91;postcount&#93;"><strong>$post&#91;postcount&#93;</strong></a></if>
<if
condition="$show&#91;'inlinemod'&#93;">
<
input type="checkbox" name="plist&#91;$postid&#93;" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post&#91;checkbox_value&#93;" onclick="inlineMod.toggle(this)" />
</if>
</
td>
</if>
</
tr>
<
tr valign="top">
<
td class="alt2" width="175">

<
div align="center" id="postmenu_$post&#91;postid&#93;">
<if
condition="$show&#91;'profile'&#93;">
<
a class="bigusername" href="member.php?$session&#91;sessionurl&#93;u=$post&#91;userid&#93;" style="text-decoration: none; ">
<
font size="4">$post&#91;musername&#93;</font></a>
<
script type="text/javascript"> vbmenu_register("postmenu_$post&#91;postid&#93;", true); </script>
<else />
$post&#91;musername&#93;
</if>

<if condition="$post&#91;'usertitle'&#93;"><div class="smallfont">$post&#91;usertitle&#93;</div></if>
<if condition="$post&#91;'rank'&#93;"><div class="smallfont">$post&#91;rank&#93;</div></if>
</div>

<if condition="$show&#91;'avatar'&#93;">
<div align="center" class="smallfont">
&nbsp;<br /><a href="member.php?$session&#91;sessionurl&#93;u=$po st&#91;userid&#93;"><img src="$post&#91;avatarurl&#93;" alt="<phrase 1="$post&#91;username&#93;">$vbphrase&#91;xs_avata r&#93;</phrase>" border="0" /></a>
</div>
</if>
<p align="center"><if condition="$post&#91;'joindate'&#93;">
<input type="text" name="Date" size="24" dir="rtl" value="الانتساب : $post&#91;joindate&#93;" class="alt1" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px"><br></if>
<input type="text" name="Number" size="24" dir="rtl" value="رقم العضوية : $post&#91;userid&#93;" class="alt1" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px"><br><if condition="$post&#91;field2&#93;">
<input type="text" name="City" size="24" dir="rtl" value="الإقامة : $post&#91;field2&#93;" class="alt1" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px"><br></if>
<input type="text" name="Cuantity" size="24" dir="rtl" value="المشاركات : $post&#91;posts&#93;" class="alt1" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px"><br>
<input type="text" name="Cuantity" size="24" dir="rtl" value="بمعدل : $post&#91;postsperday&#93;" class="alt1" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px"><br>
<input type="text" name="Number" size="24" dir="rtl" value="عدد النقاط : $post&#91;reputation&#93;" class="alt1" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px"><br>
<p align="center">$post&#91;onlinestatus&#93;<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber1">
<tr>
<td width="100%">
$post&#91;reputationdisplay&#93;
</td>
</tr>
</table>
<p align="center">

<if condition="$show&#91;'infraction'&#93;"><div>$vbph rase&#91;infractions&#93;: $post&#91;warnings&#93;/$post&#91;infractions&#93; ($post&#91;ipoints&#93</div></if>

<br>
$post&#91;icqicon&#93; $post&#91;aimicon&#93; $post&#91;msnicon&#93; $post&#91;yahooicon&#93;</div>
<!-- الاوسمه --> <if condition="$post&#91;showuserawards&#93;"> <fieldset><legend><a href="member.php?u=$post&#91;userid&#93;#award" title="$vbphrase&#91;more_awards&#93;">$vbphrase&# 91;award_showcase&#93;</a></legend> <div>$post&#91;userawards&#93;</div></fieldset></if><!-- /الاوسمه -->
</div>
</div>

</td>
<if condition="$show&#91;'moderated'&#93;">
<td class="alt2" id="td_post_$post&#91;postid&#93;">
<else />
<td class="alt1" id="td_post_$post&#91;postid&#93;">
</if>

<if condition="$show&#91;'messageicon'&#93; OR $post&#91;'title'&#93;">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show&#91;'messageicon'&#93;"><img class="inlineimg" src="$post&#91;iconpath&#93;" alt="$post&#91;icontitle&#93;" border="0" /></if>
<if condition="$post&#91;'title'&#93;"><strong>$post&# 91;title&#93;</strong></if><b>
</b>
</div>
<hr size="1" style="color:$stylevar&#91;tborder_bgcolor&#93;" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post&#91;postid&#93;">
<p align="center"><font face="Arial"><p align="center"><b><font size="4" color="#ff0000">$post&#91;message&#93;</font></b></p></font></div>
<!-- / message -->
<br><br><br><br><br><br>
<if condition="$show&#91;'attachments'&#93;">
<!-- attachments -->
<div style="padding:$stylevar&#91;cellpadding&#93;px">

<if condition="$show&#91;'thumbnailattachment'&#93;">
<fieldset class="fieldset">
<legend>$vbphrase&#91;attached_thumbnails&#93;</legend>
<div style="padding:$stylevar&#91;formspacer&#93;px">
$post&#91;thumbnailattachments&#93;
</div>
</fieldset>
</if>

<if condition="$show&#91;'imageattachment'&#93;">
<fieldset class="fieldset">
<legend>$vbphrase&#91;attached_images&#93;</legend>
<div style="padding:$stylevar&#91;formspacer&#93;px">
$post&#91;imageattachments&#93;
</div>
</fieldset>
</if>

<if condition="$show&#91;'imageattachmentlink'&#93;">
<fieldset class="fieldset">
<legend>$vbphrase&#91;attached_images&#93;</legend>
<table cellpadding="0" cellspacing="$stylevar&#91;formspacer&#93;" border="0">
$post&#91;imageattachmentlinks&#93;
</table>
</fieldset>
</if>

<if condition="$show&#91;'otherattachment'&#93;">
<fieldset class="fieldset">
<legend>$vbphrase&#91;attached_files&#93;</legend>
<table cellpadding="0" cellspacing="$stylevar&#91;formspacer&#93;" border="0">
$post&#91;otherattachments&#93;
</table>
</fieldset>
</if>

<if condition="$show&#91;'moderatedattachment'&#93;">
<fieldset class="fieldset">
<legend>$vbphrase&#91;attachments_pending_approval &#93;</legend>
<table cellpadding="0" cellspacing="$stylevar&#91;formspacer&#93;" border="0">
$post&#91;moderatedattachments&#93;
</table>
</fieldset>
</if>

</div>
<div ><fieldset class="fieldset">
<legend>
<p dir="rtl"><b><font color="#ff0000">نصائح قبل تحميل المرفق</font></b><font color="#FF0000">
</font> </p>
</legend>
<p dir="rtl"><b>1- إفحص الملف المرفق بأي برنامج مضاد للفيروسات<br>
2-<span lang="en-us"> </span>قم بمراسلة المشرف المسؤول عن القسم عن أي مرفق يوجد به فيروس<br>
3-<span lang="en-us"> </span>المنتدى forum غير مسؤول عن ما يحتويه المرفق من فيروسات أو ملفات ضارة</b></fieldset><p dir="rtl">&nbsp;</div>
<!-- / attachments -->
</if>

<if condition="$post&#91;'signature'&#93;">
<!-- sig -->
<center>
<div width=90%><center>
<fieldset class="fieldset">
<legend>التوقيع :<font color="#FF0000"> </font> </legend>
<div style="padding:$stylevar&#91;formspacer&#93;px; width:80; height:19" align=center>
<span class="smallfont">$post&#91;signature&#93;</span></div>
</fieldset></center></div>
<!-- / sig -->
</if>

<if condition="$show&#91;'postedited'&#93;">
<!-- edit note -->
<div class="smallfont" align=center>آخر تعديل $post&#91;edit_username&#93; يوم $post&#91;edit_date&#93; في <span class="time">$post&#91;edit_time&#93;</span>. <if condition="$post&#91;edit_reason&#93;"><br>
<input type="text" name="edit_reason" size="80%" dir="rtl" value="سبب التعديل : $post&#91;edit_reason&#93;" class="alt1" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px; color:#FF0000"></if></div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt2">
<p align="center">
<if condition="$show&#91;'reputationlink'&#93;">
<span id="reputationmenu_$post&#91;postid&#93;"><a href="reputation.php?$session&#91;sessionurl&#93;p =$post&#91;postid&#93;" rel="nofollow" id="reputation_$post&#91;postid&#93;"><img class="inlineimg" src="$stylevar&#91;imgdir_button&#93;/reputation.gif" alt="<phrase 1="$post&#91;username&#93;">$vbphrase&#91;add_to_x s_reputation&#93;</phrase>" border="0" /></a></span>
<if condition="$show&#91;'popups'&#93;"><script type="text/javascript"> vbrep_register("$post&#91;postid&#93;")</script></if>
</if>
<if condition="$show&#91;'infractionlink'&#93;"><a href="infraction.php?$session&#91;sessionurl&#93;d o=report&amp;p=$post&#91;postid&#93;" rel="nofollow"><img class="inlineimg" src="$stylevar&#91;imgdir_button&#93;/infraction.gif" alt="<phrase 1="$post&#91;username&#93;">$vbphrase&#91;add_infr action_for_x&#93;</phrase>" border="0" /></a></if>
<if condition="$show&#91;'reportlink'&#93;"><a href="report.php?$session&#91;sessionurl&#93;p=$po st&#91;postid&#93;" rel="nofollow"><img class="inlineimg" src="$stylevar&#91;imgdir_button&#93;/report.gif" alt="$vbphrase&#91;report_bad_post&#93;" border="0" /></a></if>
$post&#91;iplogged&#93;
</td>
<if condition="$show&#91;'moderated'&#93;">
<td class="alt2" align="$stylevar&#91;right&#93;">
<else />
<td class="alt1" align="$stylevar&#91;right&#93;">
</if>
<!-- controls -->
<if condition="$post&#91;'editlink'&#93;">
<img style="display: none" id="progress_$postid" src="$stylevar&#91;imgdir_misc&#93;/progress.gif" alt="$vbphrase&#91;loading_editor_please_wait&#93; " />
<a href="$post&#91;editlink&#93;" name="في بي vB::QuickEdit::$post&#91;postid&#93;"><img src="$stylevar&#91;imgdir_button&#93;/edit.gif" alt="$vbphrase&#91;edit_delete_message&#93;" border="0" /></a>
</if>
<if condition="$post&#91;'forwardlink'&#93;">
<a href="$post&#91;forwardlink&#93;"><img src="$stylevar&#91;imgdir_button&#93;/forward.gif" alt="$vbphrase&#91;forward_message&#93;" border="0" /></a>
</if>
<a href="$post&#91;replylink&#93;" rel="nofollow">
<if condition="$post&#91;'replylink'&#93;">
<img src="$stylevar&#91;imgdir_button&#93;/<if condition="$post&#91;'forwardlink'&#93;">reply_sma ll<else />quote</if>.gif" alt="$vbphrase&#91;reply_with_quote&#93;" border="0" /></a>
</if>
<a href="$post&#91;replylink&#93;" rel="nofollow" onclick="return false">
<if condition="$show&#91;'multiquote_post'&#93;">
<img src="$stylevar&#91;imgdir_button&#93;/multiquote_<if condition="$show&#91;'multiquote_selected'&#93;">o n<else />off</if>.gif" alt="$vbphrase&#91;multi_quote_this_message&#93;" border="0" id="mq_$post&#91;postid&#93;" /></a>
</if>
<if condition="$show&#91;'quickreply'&#93; AND !$show&#91;'threadedmode'&#93;">
<a href="$post&#91;replylink&#93;" rel="nofollow" id="qr_$post&#91;postid&#93;" onclick="return false"><img src="$stylevar&#91;imgdir_button&#93;/quickreply.gif" alt="$vbphrase&#91;quick_reply_to_this_message&#93 ;" border="0" /></a>
</if>
<if condition="$show&#91;'moderated'&#93;">
<img src="$stylevar&#91;imgdir_misc&#93;/moderated.gif" alt="$vbphrase&#91;moderated_post&#93;" border="0" />
</if>
<if condition="$show&#91;'deletedpost'&#93;">
<img src="$stylevar&#91;imgdir_misc&#93;/trashcan.gif" alt="$vbphrase&#91;deleted_post&#93;" border="0" />
</if>
<if condition="$show&#91;'redcard'&#93;">
<a href="infraction.php?$session&#91;sessionurl&#93;d o=view&amp;p=$post&#91;postid&#93;"><img src="$stylevar&#91;imgdir_button&#93;/redcard.gif" alt="$vbphrase&#91;received_infraction&#93;" border="0" /></a>
<else />
<if condition="$show&#91;'yellowcard'&#93;">
<a href="infraction.php?$session&#91;sessionurl&#93;d o=view&amp;p=$post&#91;postid&#93;"><img src="$stylevar&#91;imgdir_button&#93;/yellowcard.gif" alt="$vbphrase&#91;received_warning&#93;" border="0" /></a>
</if>
</if>
<!-- / controls -->
</td>
</tr>
</table>

<!-- post $post&#91;postid&#93; popup menu -->
<div class="vbmenu_popup" id="postmenu_$post&#91;postid&#93;_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post&#91;username&#93;</td>
</tr>
<if condition="$show&#91;'profile'&#93;">
<tr><td class="vbmenu_option"><a href="member.php?$session&#91;sessionurl&#93;u=$po st&#91;userid&#93;">$vbphrase&#91;view_public_prof ile&#93;</a></td></tr>
</if>
<if condition="$show&#91;'pmlink'&#93;">
<tr><td class="vbmenu_option"><a href="private.php?$session&#91;sessionurl&#93;do=n ewpm&amp;u=$post&#91;userid&#93;"><phrase 1="$post&#91;username&#93;">$vbphrase&#91;send_pri vate_message_to_x&#93;</phrase></a></td></tr>
</if>
<if condition="$show&#91;'emaillink'&#93;">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session&#91;sessionurl&#93; do=mailmember&amp;u=$post&#91;userid&#93;" rel="nofollow"><phrase 1="$post&#91;username&#93;">$vbphrase&#91;send_ema il_to_x&#93;</phrase></a></td></tr>
</if>
<if condition="$show&#91;'homepage'&#93;">
<tr><td class="vbmenu_option"><a href="$post&#91;homepage&#93;"><phrase 1="$post&#91;username&#93;">$vbphrase&#91;visit_xs _homepage&#93;</phrase></a></td></tr>
</if>
<if condition="$show&#91;'search'&#93;">
<tr><td class="vbmenu_option"><a href="search.php?$session&#91;sessionurl&#93;do=fi nduser&amp;u=$post&#91;userid&#93;" rel="nofollow"><phrase 1="$post&#91;username&#93;">$vbphrase&#91;find_mor e_posts_by_x&#93;</phrase></a></td></tr>
</if>
<if condition="$post&#91;'userid'&#93; AND $show&#91;'member'&#93;">
<tr><td class="vbmenu_option"><a href="profile.php?$session&#91;sessionurl&#93;do=a ddlist&amp;userlist=buddy&amp;u=$post&#91;userid&# 93;"><phrase 1="$post&#91;username&#93;">$vbphrase&#91;add_x_to _buddy_list&#93;</phrase></a></td></tr>
</if>
<if condition="$bbuserinfo&#91;usergroupid&#93;=='6'">
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('modcp/user.php?do=editsig&userid=$post&#91;userid&#93;', 'editsig','statusbar=no,menubar=no,toolbar=no,scro llbars=yes,resizable=yes,width=500,height=500'); return false;">تعديل توقيع $post&#91;username&#93;</a></td></tr>
</if>
</table>
</div>
<!-- / post $post&#91;postid&#93; popup menu -->
</code> </code>








الملفات المرفقة [TR]
postbit_legacy.zip (3.4 كيلوبايت, عدد مرات المشاهدة 34 مرة) [/TR]



©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى©