طلب بخصوص هاك الشكر

stargate

عضو جديد
9 أبريل 2009
85
0
0
مشكله بهاك الشكر

اخوانى اريد عند الضغط على كلمة شكرا لك عدد النقاط

الخاصه بالعضو تزيد

حيث انها تبقى كما هى 10 ( postbit_legacy )

لكن اذا دخلت عن طريق لوحه التحكم واختار العضو الذى تم

شكرة نسبه تقيمة زادت مثلا لو كان 10 تبقى 20 وهكذا

هل يوجد اكتر من متغير للتقييم ام ماذا

اريد حلا بالله عليكم

شكرا لكم

كود:
<br>
$template_hook[postbit_start]
<!-- border top -->
<table id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="0" bgcolor="#FFFFFF" border="0" width="100%" align="center" style="border: 1px solid #B6BCC7;">
<tr>
 <td class="alt4" colspan="99" $post[scrolltothis]>
 </td>
</tr>
<!-- هاك عام ـ خلفية مخصصة لكاتب الموضوع -->
<if condition="$post['good_writer']">
<tr><td id="td_post_$post[postid]" background="<if condition="$post['good_writer_pic']">$post[good_writer_pic]</if>">
<else />
<tr><td class="alt4" id="td_post_$post[postid]" valign="top">
</if>
<!-- هاك عام ـ خلفية مخصصة لكاتب الموضوع -->
<!-- بداية الموضوع يمين ويسار -->
<table cellpadding="0" cellspacing="0" width="100%"><tr>
<!-- بداية الموضوع يمين -->
<td class="alt3" align="center" valign="top" rowspan="2" width="230">
<img src="$stylevar[imgdir_misc]/mwa/bak/mwa10-postb2.gif" alt="" border="0" />
<div style="padding-left:25px; padding-right:27px; padding-top:0px">
<table cellpadding="0" cellspacing="2" border="0" width="100%" align="center">
<tr><td align="center">
  <!-- user info -->
    <div id="postmenu_$post[postid]">
     <if condition="$show['profile']">
     <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
     <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
     <else />
     $post[musername]
     </if>
    </div>
      <if condition="$show['avatar']"><div style="padding:10px">
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div></if>
   
    <if condition="$post['usertitle']">$post[usertitle]<br /></if>
    <if condition="$post['rank']"><div class="smallfont" style="padding-top: 10px">$post[rank]</div><br /></if>
    $template_hook[postbit_userinfo_left]
</td></tr>
<tr></tr><tr></tr>
<!-- هاك عام ـ رقم العضوية -->
<tr><td class="thead" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
رقم العضوية : $post[userid]
<div>
</td></tr>
<!-- هاك عام ـ رقم العضوية -->
<!-- تاريخ التسجيل -->
<if condition="$post['joindate']">
<tr><td class="thead" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
الإنتساب : $post[joindate]
<div>
</td></tr></if>
<!-- تاريخ التسجيل -->
<!-- الدولة -->
<if condition="$post['field2']">
<tr><td class="thead" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
$vbphrase[location_perm] : $post[field2]
<div>
</td></tr></if>
<!-- الدولة -->
<!-- العمر -->
<if condition="$post['age']">
<tr><td class="thead" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
$vbphrase[age] : $post[age]
<div>
</td></tr></if>
<!-- العمر -->
<!-- المشاركات -->
<tr><td class="thead" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
$vbphrase[posts] : $post[posts]
<div>
</td></tr>
<!-- المشاركات -->
<!-- هاك عام ـ بمعدل -->
<tr><td class="thead" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
بمعدل : $post[postsperday] يوميا
<div>
</td></tr>
<!-- هاك عام ـ بمعدل -->
<!-- الإنذارات -->
<if condition="$show['infraction']">
<tr><td class="thead" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
$vbphrase[infractions] : $post[warnings]/$post[infractions] ($post[ipoints])
<div>
</td></tr></if>
<!-- الإنذارات -->
<!-- التقييم والمستوى -->
<if condition="$show['reputation']">
<if condition="$show['reppower']">
<tr><td class="thead" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
النقاط : <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span>
<div>
</td></tr>
<tr><td class="thead" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
<span id="repdisplay_$post[postid]_$post[userid]">المستوى : $post[reputationdisplay]</span>
<div>
</td></tr>
</if></if>
<!-- التقييم والمستوى -->
<tr><td class="thead" align="center" style="padding: 1px">
<div style="padding:2px">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</td></tr>
<tr><td>
$template_hook[postbit_userinfo_right_after_posts]
$template_hook[postbit_userinfo_right]
</td></tr>
    
  <!-- / user info -->
</table></div><br />
     $post[onlinestatus]
<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->
<a href="album.php?u=$post[userid]" title="عرض البوم صور $post[username]" rel="nofollow"><img src="images/buttons/add_album.png" alt="عرض البوم صور $post[username]" border="0"/></a>
<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->
   <if condition="$show['reputationlink']">
    <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>
   <br /><br />$post[iplogged]
<br><br>
</td>
<!-- نهاية الموضوع يمين -->
<!-- بداية الموضوع يسار -->
<td valign="top" style="padding:10px">
 <!-- message, attachments, sig -->
 
  $template_hook[postbit_messagearea_start]
  <div style="float:$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]">$post[postcount]</a>  </if>
   <if condition="$show['inlinemod']">
   <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:10px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
   </if>
  </div>
  <if condition="$thread['firstpostid'] != $post['postid']">
<font color="#000000">كاتب الموضوع : </font>
<a target="_blank" href="member.php?$session[sessionurl]u=$thread[postuserid]" title="المزيد من المعلومات عن $thread[postusername]">
$thread[postusername]</a>
</if>
<if condition="THIS_SCRIPT != 'private'">
<font color="#000000">المنتدى : </font>
<a target="_blank" href="forumdisplay.php?f=$forum[forumid]" title="الإنتقال لمنتدى $forum[title]">
$forum[title]</a></if>
<!-- الموضوع والأيقونة -->
<!-- icon and title -->
<if condition="$show['messageicon'] OR $post['title']">
<div class="smallfont" style="text-align:right">
<if condition="$show['messageicon']">
<font face="Arial" size="4">
<img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']">
<font face="Arial" size="4"><b>$post[title]</b></font></if></div></if>
<!-- / icon and title -->
<!-- الموضوع والأيقونة -->
   <!-- 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>
   <if condition="!$show['announcement']">
    بتاريخ : $post[postdate] الساعة : $post[posttime]
   <else />
    <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
   </if>
   $post[firstnewinsert]
   <!-- / status icon and date -->
  <!-- message -->
  <div id="post_message_$post[postid]">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
<center><font size="4">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
<br />
$ad_location[ad_showthread_firstpost_start]
$post[message]<br /><br />
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
</center></font>
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
</div>
  <!-- / message -->
</td></tr><tr><td cellspacing="2" style="padding:10px" valign="bottom">
<!-- المرفقات -->
  <if condition="$show['attachments']">
  <!-- attachments -->
<br />
   <if condition="$show['otherattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead" align="right">$vbphrase[attached_files]</td></tr>
<tr><td class="panel" align="right">
$post[otherattachments]
</td></tr></table><br />
   </if>
   
   <if condition="$show['moderatedattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead" align="right">$vbphrase[attachments_pending_approval]</td></tr>
<tr><td class="panel" align="right">
$post[moderatedattachments]
</td></tr></table><br />
   </if>
   <if condition="$show['thumbnailattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead" align="right">$vbphrase[attached_thumbnails]</td></tr>
<tr><td class="panel" align="right">
$post[thumbnailattachments]
</td></tr></table><br />
   </if>
  
   <if condition="$show['imageattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead" align="right">$vbphrase[attached_images]</td></tr>
<tr><td class="panel" align="right">
$post[imageattachments]
</td></tr></table><br />
   </if>
   
   <if condition="$show['imageattachmentlink']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead" align="right">$vbphrase[attached_images]</td></tr>
<tr><td class="panel" align="right">
$post[imageattachmentlinks]
</td></tr></table><br />
   </if>
  <!-- / attachments -->
  </if>
<!-- المرفقات -->
  
  $template_hook[postbit_signature_start]
                $ad_location[ad_showthread_firstpost_sig]
<!-- التوقيع -->
<if condition="$post['signature']">
<!-- sig -->
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead" align="center">توقيع $post[musername]</td></tr>
<tr><td class="panel" align="center">
<br />$post[signature]<br /><br />
</td></tr></table><br />
<!-- / sig -->
</if>
<!-- التوقيع -->
  $template_hook[postbit_signature_end]
<!-- رسالة التعديل الأخير -->
  <if condition="$show['postedited']">
  <!-- edit note -->
<table class="tborder" cellpadding="8" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="panel" align="center">
<font color="red">
<if condition="$post['editlink'] AND $show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</font></td></tr></table><br />
  <!-- / edit note -->
  </if>
<!-- رسالة التعديل الأخير -->
 <!-- message, attachments, sig -->
 
</td>
<!-- نهاية الموضوع يسار -->
</tr>
<tr><td valign="top">
<img src="$stylevar[imgdir_misc]/mwa/bak/mwa10-post2.gif" alt="" border="0" />
</td><td>
  <div style="padding: 0px;" align="left">
   <!-- 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['largereplybutton']">
<a href="newreply.php?do=newreply&noquote=1&p=$post[postid]">
<img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" />
</a>
</if>
   <if condition="$show['multiquote_post']">
    <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
   </if>
   <if condition="$show['quickreply'] AND !$show['threadedmode']">
    <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
   </if>
   <if condition="$show['moderated']">
    <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
   </if>
   <if condition="$show['spam']">
    <img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_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>
   $template_hook[postbit_controls]
   <!-- / controls -->
  </div>
</td></tr></table>
<!-- نهاية الموضوع يمين ويسار -->
</td></tr></table>
<!-- border buttom -->
$template_hook[postbit_end]
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
 <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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]" rel="nofollow"><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_all_posts_by_x]</phrase></a></td></tr>
 </if>
<!-- هاك عام ـ البحث عن مواضيع العضو -->
 <if condition="$show['search']">
  <tr><td class="vbmenu_option"><a href="search.php?do=finduser&u=$post[userid]&starteronly=1" rel="nofollow">البحث عن جميع مواضيع $post[username]</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_contacts]</phrase></a></td></tr>
 </if>
 $template_hook[postbit_user_popup]
 </table>
</div>
<!-- / post $post[postid] popup menu -->
 

stargate

عضو جديد
9 أبريل 2009
85
0
0
اسف ياشباب الحمد لله قدرت اعمل التعديل ببرنامج فرونت بيج