السلام عليكم
ارجو التعديل على قالب postbit_legacy لتكون مثل بالصورة
بدل هذه الحالية عندي
الا وهي فصل حقول المعلومات كما بالصورة الاولى
والطلب الثاني هو كيف يمكنني اضافة حقل الأعجابات كما هنا بمعهد بسمة مصرية؟
القالب كاملا
ارجو التعديل على قالب postbit_legacy لتكون مثل بالصورة
بدل هذه الحالية عندي
الا وهي فصل حقول المعلومات كما بالصورة الاولى
والطلب الثاني هو كيف يمكنني اضافة حقل الأعجابات كما هنا بمعهد بسمة مصرية؟
القالب كاملا
كود بلغة HTML:
$template_hook[postbit_start] </table> <table id="post$post[postid]0" class="Fpost" cellpadding="$stylevar[cellpadding]" cellspacing="10" border="0" width="100%"> <table id="post$post[postid]" class="tborderbar" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> <div> <div class="nav_post" $post[scrolltothis]> <div class="normal" 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]"><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> </div> <div class="normal"> <!-- 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]<if condition="!$show['detailedtime']">, $post[posttime] </if> </if><if condition="!$show['announcement']"><if condition="!$show['detailedtime']"></if> <else /> <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase> </if> $post[firstnewinsert] <!-- / status icon and date --> </div></div> <tr valign="top"> <td class="HeadPost" width="175" style="border-top: 0px; border-bottom: 0px; border-style: none; border-width: 0px; border-color: inherit; background-color: #FFFFFF;" align="center"> <div class="userinformation"> <div class="Triangleuser"></div> <div id="postmenu_$post[postid]0"> <if condition="$show['profile']"> <div class="postbit-mini-box"> <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> <div class="postbit-mini-box"> <if condition="$post['usertitle']"> <div class="smallfont">$post[usertitle]</div> </if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> </div> <div class="postbit-mini-boxavatar"> <if condition="$show['avatar']"> <div class="smallfont"> <a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]" width="170" height="170">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div> <div class="smallfont"> <else /> <div class="avatard"> <a href="member.php?$session[sessionurl]u=$post[userid]" title="الصورة الرمزية الافتراضية"><img src="helpernt/img/avatar.png" /></a> </div> </if> </div></div> <div class="smallfont"> <table border="0" width="190" cellpadding="1" cellspacing="1"> <td valign="top"> <div class="postmenu"> <div class="postbit-box"> <span style="color:#fff; width: 25px; margin-left:5px; text-align: left; margin-top:-5px; margin-right:-5px; padding: 5px; background-color: #67809F; font-size: 15px;" class="fa fa-graduation-cap"> </span>رقم العضوية : $post[userid]</div> <div class="postbit-box"> <span style="color:#fff; width: 25px; margin-left:5px; text-align: left; margin-top:-5px; margin-right:-5px; padding: 5px; background-color: #67809F; font-size: 15px;" class="fa fa-calendar-o"> </span>تاريخ التسجيل : $post[joindate]</div> <div class="postbit-box"> <span style="color:#fff; width: 25px; margin-left:5px; text-align: left; margin-top:-5px; margin-right:-5px; padding: 5px; background-color: #67809F; font-size: 15px;" class="fa fa-bar-chart"> </span>عدد المشاركات : $post[posts]</div> <!-- الإقامة --> <if condition="$post['field5']"> <div class="postbit-box"> <span style="color:#fff; width: 25px; margin-left:5px; text-align: left; margin-top:-5px; margin-right:-5px; padding: 5px; background-color: #67809F; font-size: 15px;" class="fa fa-flag-checkered"> </span>الإقامة: $post[field5]</div></if> <if condition="$show['reppower']"> <div class="postbit-box"> <span style="color:#fff; width: 25px; margin-left:5px; text-align: left; margin-top:-5px; margin-right:-5px; padding: 5px; background-color: #E7714B; font-size: 15px;" class="fa fa-trophy"> </span>قوة السمعة : $post[reppower]</div></if> <!-- فيس بوك --> <if condition="$post['field6']"> <div class="postbit-box"> <a href="https://www.facebook.com/omar.alkurdi.777[field6]"> <span style="color:#fff; width: 25px; margin-left:5px; text-align: left; margin-top:-5px; margin-right:-5px; padding: 5px; background-color: #3A5795; font-size: 15px;" class="fa fa-facebook-official"> </span>$post[field6] </a></div> </if> <!-- تويتر --> <if condition="$post['field7']"> <div class="postbit-box"> <a href="http://www.twitter.com/$post[field7]"> <span style="color:#fff; width: 25px; margin-left:5px; text-align: left; margin-top:-5px; margin-right:-5px; padding: 5px; background-color: #5BA2D0; font-size: 15px;" class="fa fa-twitter-square"> </span>$post[field7] </a></div> </if> </table> </div> <div><br /> <span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span> $template_hook[postbit_userinfo_right] <div style="margin-top:5px">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> </div> <!-- / New --> <if condition="$show['reputationlink']"> <div class="postmenu2"> <span id="reputationmenu_$post[postid]"> <a class="simptip-position-bottom simptip-smooth" data-tooltip="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"> <span class="fa fa-plus-circle" style="color:#43B0FB"></a></span></div> <if condition="$show['popups']"><script type="info/javascript"> vbrep_register("$post[postid]")</script></if> </if> $post[onlinestatus] <if condition="$show['reportlink']"> <a class="simptip-position-top simptip-smooth" data-tooltip="$vbphrase[report_bad_post]" href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"> <span class="fa fa-exclamation-triangle" style="color:#FB5353"></a></span> </if> <if condition="$show['infractionlink']"> <a class="simptip-position-top simptip-smooth" data-tooltip="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"> <span class="fa fa-bolt" style="color:#ED58FF"></a></span></if> <a class="simptip-position-left simptip-smooth" data-tooltip="أضافة كصديق" href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]" rel="nofollow"> <span class="fa fa-user-plus" style="color:#25B968"></a></span> </td> <if condition="$show['moderated']"> <td class="alt2" id="td_post_$post[postid]" style="border-style: none; border-width: 0px; background-color: #FFFFFF"> <else /> <td class="contenttopic" id="td_post_$post[postid]" style="border-style: none; border-width: 0px; background-color: #FFFFFF"> </if> $template_hook[postbit_messagearea_start] <if condition="$show['messageicon'] OR $post['title']"> <!-- icon and title --> <div class="smallfont" style="padding-bottom: 15px"> <div class="nav2_post"> <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> </div> <!-- / icon and title --> </if> <div id="mes"> <div class="img-mes"></div> <!-- message --> <div id="post_message_$post[postid]"> $ad_location[ad_showthread_firstpost_start] <p align="center" style="text-shadow: 0px 0px 2px #808080;"><b><font color="#190707" size="2" face="Droid Arabic Kufi","Century Gothic",sans-serif;>$post[message]</font></b> </div> <!-- / message --> <br> <br> <div class="Controls"> <if condition="$post['editlink']"> <li> <a class="simptip-position-bottom simptip-smooth" data-tooltip="تعديل / حذف" href="$post[editlink]" name="vB::QuickEdit::$post[postid]0" rel="nofollow"> <div class="IconControlsFont fa fa-eraser"></div>التعديل</a></li> </if> <if condition="$show['quickreply'] AND !$show['threadedmode']"> <li> <a class="simptip-position-bottom simptip-smooth" data-tooltip="رد مع اقتباس" href="$post[replylink]" rel="nofollow" id="qr_$post[postid]0" onclick="return false"> <div class="IconControlsFont fa fa-reply"></div>رد سريع</a></li> </if> <if condition="$post['replylink']"> <li><a class="simptip-position-bottom simptip-smooth" data-tooltip="رد مع اقتباس" href="$post[replylink]" rel="nofollow"> <div class="IconControlsFont fa fa-undo"></div>اقتباس</a></li></ul></div> </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="$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> $template_hook[postbit_controls] <!-- / controls --> </div> <if condition="$show['attachments']"> <!-- attachments --> <div style="padding:$stylevar[cellpadding]px400"> <if condition="$show['thumbnailattachment']"> <fieldset class="fieldseattached_images"> <legend>$vbphrase[attached_thumbnails]</legend> <div style="padding:3px"> $post[thumbnailattachments] </div> </fieldset> </if> <if condition="$show['imageattachment']"> <fieldset class="fieldseattached_images"> <legend>$vbphrase[attached_images]</legend> <div style="padding:3px"> $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="fieldsetatt"> <legend>$vbphrase[attached_files]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[otherattachments] </table> </fieldset> </if> <if condition="$show['moderatedattachment']"> <fieldset class="fieldsetatt"> <legend>$vbphrase[attachments_pending_approval]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[moderatedattachments] </table> </fieldset> </if> </div> <!-- / attachments --> </if> <if condition="$show['postedited']"> <!-- edit note --> <div class="last_edited"> <em> <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>. <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if> </em> </div> <!-- / edit note --> </if> $template_hook[postbit_signature_start] <if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true"> <br> <br> <!-- sig --> <table class="sigdev" cellpadding="6" cellspacing="0" border="0" width="70%" align="center"> <tbody><tr> <td class="thead2" align="center">توقيع <font color="#000000"><b>$post[username]</b></font> </td><center></center></td> </tr> <tr> <td class="hs1"> $post[signature] </td> </tr> </table> <!-- / sig --> <p> </p> <p> </p> </if> <br> <br> <!-- controls --> <if condition="$post['editlink']"></if> </td> </tr> </table> $template_hook[postbit_end] <div style="border-top-color: transparent; border-top-width: 1px; border-top-style: dashed; height: 5px;"></div> <!-- post $post[postid] popup menu --> <div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none"> <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]" 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_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> $template_hook[postbit_user_popup] </table> </div> <!-- / post $post[postid] popup menu -->
الـمـصـدر: معهد بسمة مصرية
كـاتـب الـمـوضـوع: FOR SAT