- الرئيسية
- ما الجديد !
-
الصفحات▼
الصفحات
أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .
اريد جعل ستايل اوركيد معلومات الكاتب بشكل افقي
-
-
اريد جعل ستايل اوركيد معلومات الكاتب بشكل افقي26-06-2017 01:33 مساءً
-
Solimanمعلومات الكاتبPBBoard developer
- انضم في :
- 18-07-2009
- رقم العضوية :
- 1
- المشاركات :
- 13373
- الدولة :
- KSA
- الجنس:
- الدعوات:
- 55
- قوة السمعة:
- 81696
- موقعي:
- زيارة موقعي
-
تفضل هذه القوالب المعدلة بشكل صحيح لجعل معلومات الكاتب بشكل عمودية لاستايل أوركيد
1- قالب writer_info
CODE<script type="text/javascript"> $(document).ready(function(){ $("#emenu_{$Info['id']}_{$Info['reply_id']}").click(function(){ $(this).next("#menue_{$Info['id']}_{$Info['reply_id']}").slideToggle("slow"); }) $('.text').click(function(){ $("#menue_{$Info['id']}_{$Info['reply_id']}").hide("fast"); $("#menue_{$Info['id']}_{$Info['reply_id']}").css('display', 'none'); }) }); </script> <!-- table --><div class="writers_info"> <div style="vertical-align: top;" class="center_text_align"> <div class="UserPhoto_large center_text_align"> {if {$_CONF['info_row']['allow_avatar']} == '1'} {if {$ReplierInfo['avater_path']} != ''} <a rel="nofollow" href="index.php?page=profile&show=1&id={$ReplierInfo['id']}"> <img src="{$ReplierInfo['avater_path']}" class="brd0" title="{$lang['Picture']} {$ReplierInfo['username']} {$lang['Personal']}" alt="{$lang['Picture']}{$ReplierInfo['username']}{$lang['Personal']}" /> </a> {else} <a rel="nofollow" href="index.php?page=profile&show=1&id={$ReplierInfo['id']}"> <img src="{$image_path}/ {$_CONF['info_row']['default_avatar']}" class="brd0" alt="{$lang['no_photo']}" title="{$lang['no_photo']}" /> </a> {/if} {/if} </div> </div> <div> <!-- Code switch Menu start --> <div id="emenu_{$Info['id']}_{$Info['reply_id']}"> {if {$ReplierInfo['username']} !=''} <b class="bigusername">{$ReplierInfo['username']}</b> {else} <b class="bigusername">{$lang['Guest_']}</b> {/if} </div> <div class="border pkr pkr-b" style="display:none;position: absolute;z-index: 999999;" id="menue_{$Info['id']}_{$Info['reply_id']}"> <div class="thead pkr pkr-b"> {if {$ReplierInfo['username']} !=''} <a href="index.php?page=profile&show=1&id={$ReplierInfo['id']}"> {$ReplierInfo['display_username']}</a> {else} <b>{$lang['Guest_']}</b> {/if} </div> <div class="row1 pkr"> <a rel="nofollow" href="index.php?page=profile&show=1&id={$ReplierInfo['id']}"> {$lang['view_profile']} </a> </div> <div class="row1 pkr"> <a href="index.php?page=search&option=3&username={$ReplierInfo['username']}&starteronly=0&section=all&exactname=1&sort_order=DESC"> {$lang['search_for_all_posts']} {$ReplierInfo['username']}</a> </div> <div class="row1 pkr"> <a href="index.php?page=search&option=4&username={$ReplierInfo['username']}&starteronly=0&section=all&exactname=1&sort_order=DESC"> {$lang['search_for_all_replys']} {$ReplierInfo['username']}</a> </div> {if {$_CONF['member_permission']}} <div class="row1 pkr"> <a href="index.php?page=pm_send&send=1&index=1&username={$ReplierInfo['username']}"> {$lang['send_a_private_message_to']} {$ReplierInfo['username']} </a> </div> {/if} {if {$_CONF['member_permission']}} <div class="row1 pkr"> <a href="index.php?page=send&member=1&index=1&id={$ReplierInfo['id']}"> {$lang['send_a_message_to_the_mailing']} {$ReplierInfo['username']} </a> </div> {/if} {if {$mod_edit_member}} {if {$_CONF['member_permission']}} <div class="row1 pkr"> <a target="_blank" href="{$admincpdir}?page=member&edit=1&main=1&id= {$ReplierInfo['id']}"> {$lang['edit_member_data']} {$ReplierInfo['username']} </a> </div> {/if} {/if} </div> <!-- Code switch Menu End --> <!-- action_find_addons_1 --> {if {$ReplierInfo['username']} !=''} <div class="smallfont center_text_align"> {if {$GroupInfo['usertitle_change']} == 1} {if {$Usertitle} != ''} {$Usertitle} {else} {$ReplierInfo['user_title']} {/if} {else} {if !{$ReplierInfo['user_title']}} {$GroupInfo['user_title']} {else} {$ReplierInfo['user_title']} {/if} {/if} </div> {if {$RatingInfo['posts']} > {$ReplierInfo['posts']}} {if {$RatingInfo['rating']} != 'look/images/rating/rating_0.gif'} <div class="center_text_align" style="margin-top:10px"> <img class="brd0" alt="rating" src="{$RatingInfo['rating']}" /> </div> {/if} {/if} {/if} <!-- action_find_addons_8 --> </div> <div> <!-- action_find_addons_7 --> </div> <div style="border: 1px solid #C2C2C2"> <!-- action_find_addons_2 --> {get_hook}writer_info_top{/get_hook} {if {$ReplierInfo['username']} !=''} <div class="w_toggle" title="{$lang['information_writer']}"> <i class="w_toggle_writer fa fa-toggle-on fa-1x"><span class="w_writer"> {$lang['information_writer']} ▼</span></i> </div> <div class="writer_info right_text_align"> {$lang['join_date']} : {$ReplierInfo['register_date']} </div> <div class="writer_info right_text_align"> {$lang['user_num']} : {$ReplierInfo['id']} </div> <div class="writer_info right_text_align"> {$lang['posts']} : {$ReplierInfo['posts']} </div> {if {$ReplierInfo['user_country']} != ''} <div class="writer_info right_text_align"> {$lang['user_country']} : {$ReplierInfo['user_country']} </div> {/if} <div class="writer_info right_text_align"> {$lang['user_gender']} : {if {$ReplierInfo['user_gender']} == m} <img title="{$lang['gender_m']}" alt="{$lang['gender_m']}" src="{$image_path}/gender_male.gif" /> {else} <img title="{$lang['gender_f']}" alt="{$lang['gender_f']}" src="{$image_path}/gender_female.gif" /> {/if} </div> {if {$ReplierInfo['bday_year']} != ''} {if {$ReplierInfo['bday_year']} != '0'} <div class="writer_info right_text_align"> {$lang['Birth_date']} : {$ReplierInfo['bday_day']}-{$ReplierInfo['bday_month']}-{$ReplierInfo['bday_year']} </div> {/if} {/if} {if {$ReplierInfo['invite_num']} != '0'} <div class="writer_info right_text_align"> {$lang['Invites']} : {$ReplierInfo['invite_num']} </div> {/if} {if {$ReplierInfo['warnings']} > 0} <div class="writer_info right_text_align"> {$lang['user_warnings']} : {$ReplierInfo['warnings']} </div> {/if} {if {$ReplierInfo['reputation']} != ''} <div class="writer_info right_text_align"> {$lang['user_reputation']} : {$ReplierInfo['reputation']} </div> <!-- action_find_addons_3 --> {/if} {if !empty({$ReplierInfo['user_website']}) and {$ReplierInfo['user_website']} != 'http://'} <div class="writer_info right_text_align"> {$lang['UserWebsite']} : <?php if (strstr($PowerBB->_CONF['template']['ReplierInfo']['user_website'],'http://')) { ?> <a target="_blank" href="{$ReplierInfo['user_website']}">{$lang['Visit_my_website']}</a> <?php }else{ ?> <a target="_blank" href="http://{$ReplierInfo['user_website']}">{$lang['Visit_my_website']}</a> {/if} </div> {/if} {if is_array({$while['extrafield']})==true } {Des::while}{extrafield} <?php if( $PowerBB->_CONF['template']['ReplierInfo'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ]!='' ){ ?> <div class="writer_info right_text_align"> {$extrafield['name']} : <?php $PowerBB->_CONF['template']['ReplierInfo'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['ReplierInfo'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ],'html'); ?> <?php echo $PowerBB->_CONF['template']['ReplierInfo'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ] ?> </div> <?php }else{ ?> <?php } ?> {/Des::while} {/if} <!-- action_find_addons_5 --> {if {$Awards_nm} > '0'} <div> <div class="user_awards"> {template}awards{/template} </div> </div> {/if} <div class="center_text_align"> <!-- action_find_addons_6 --> {if !{$Info['reply_id']}} {if {$_CONF['info_row']['show_list_last_5_posts_member']} == 1} {template}last_subject_writer{/template} {/if} {/if} </div> <!-- action_find_addons_4 --> {get_hook}writer_info_down{/get_hook} </div> {/if} <!-- action_find_addons_6 --> {if {$_CONF['info_row']['allow_apsent']} == '1'} {if {$ReplierInfo['away']}} <div class="w_absent"> <fieldset class="pkr-b"> <legend class="pkr-b"><span class="smallfont">{$lang['user_Absent']}</span></legend> <span class="smallfont"> {$ReplierInfo['away_msg']} </span> </fieldset> </div> {/if} {/if} </div> <div class="center_text_align" style="margin-top:3px"> <!-- {$lang['Case']} : --> {$status} {if !{$admin_mod_toolbar}} <a title="{$lang['send_warn_to_mem']} {$ReplierInfo['username']}" href="index.php?page=warn&index=1&id={$ReplierInfo['id']}"><img class="brd0" alt="{$lang['send_warn_to_mem']}" src="{$image_path}/warn.png" /></a> {/if} {if {$_CONF['rows']['group_info']['admincp_allow']}} {if {$ReplierInfo['member_ip']} != ''} <img title="{$lang['user_IP']}: {$ReplierInfo['member_ip']}" alt="User IP" class="brd0" src="{$image_path}/information.png" /> {/if} {/if} </div> <!-- /table -->
2- قالب show_subjec
CODE<!-- action_find_addons_1 --> {template}show_subject_information{/template} <!-- table --><div style="width:98%; border-spacing:1px;" class="table mrgTable TmpPost" onclick="switchBlock('Options_mods')"> <dl class="center_text_align"> <dt></dt> <dd class="thead3" style="vertical-align:top; width:172px;">{$lang['information_writer']}</dd> <dd class="thead3"> <div class="r-right"> <img src="{$Info['icon']}" alt="subject icon" /> <span dir="{$_CONF['info_row']['content_dir']}"> {$Info['prefix_subject']} </span> <a href="index.php?page=topic&show=1&id={$subject_id}"> {$subject_title} </a> </div> <div class="l-left"> {$Info['native_write_time']} </div> </dd> </dl> <dl class="center_text_align"> <dt></dt> <dd class="row5" style="vertical-align:top; width:172px;"> <div onclick="switchBlock('menu_{$Info['id']}');"> {template}writer_info{/template} </div> </dd> <dd class="tbar_writer_info special_{$Info['special']} wd80 va-t"> {template}add_this{/template} {if !{$STOP_ADSENSES_TEMPLATE}} {template}adsense_topic{/template} {/if} {get_hook}show_subject_text{/get_hook} <div class="text">{$Info['text']}</div> {if {$Info['close_reason']} != '' and {$Info['close']} } <i> <span style="color:#FF0000;"> {$lang['reason_for_closure']} {$Info['close_reason']} </span> </i> {/if} {if {$Info['attach_subject']}} {template}attach_show{/template} {/if} {if {$Info['action_by']} != ''} <div class="action_by center_text_align"> <i> {$lang['action_by_subject']} {$Info['action_by']} {$lang['last_date']} {$Info['actiondate']} </i> </div> {/if} {if {$Info['reason_edit']} != ''} <div class="reason_edit"> <b> {$lang['reason_edit']} {$Info['reason_edit']} </b> </div> {/if} {get_hook}show_subject_down_text{/get_hook} {if {$Info['user_sig']} != ''} {template}signature_show{/template} {/if} </dd> </dl> <dl class="center_text_align"> <dt></dt> <dd class="row1"></dd> <dd class="row1"> <!-- table --><div style="width:100%; border-collapse: collapse;" class="table"> <dl> <dt></dt> <dd> <div class="r-right"> {if {$_CONF['member_permission']}} {if {$ReplierInfo['username']}} {if {$_CONF['member_row']['username']} != {$ReplierInfo['username']}} {if {$_CONF['info_row']['reputationallw']} == 1} <a href="javascript:switchMenuNone('{$subject_id}reputation')" title="{$lang['add_reputation_to']} {$ReplierInfo['username']}"> <img class="brd0" alt="{$lang['add_reputation_to']} {$ReplierInfo['username']}" src="{$image_path}/reputation.gif" /> </a> {template}subject_reputation{/template} {/if} {/if} {/if} <a title="{$lang['reporting_for_post']}" href="index.php?page=report&index=1&subject_id={$subject_id}"> <img alt="{$lang['reporting_for_post']}" class="brd0" src="{$image_path}/report.gif" /> </a> {/if} <!-- like facebook --> {if {$_CONF['info_row']['active_like_facebook']} == '1'} <span class="addthis_toolbox addthis_default_style"> <a style="border-bottom:none" class="addthis_button_facebook_like"></a> <a style="border-bottom:none" class="addthis_button_tweet"></a> </span> <script type="text/javascript"> var addthis_config = {"data_track_clickback":true}; </script> <script type="text/javascript" src="{$ForumAdress}includes/js/addthis_widget.js#username= {$_CONF['info_row']['use_list']}"></script> {/if} <!-- / like facebook --> <!-- action_find_addons_2 --> </div> <div class="l-left"> <!-- action_find_addons_3 --> <ul class="post_controls"> {if {$_CONF['member_permission']}} {if !{$mod_toolbar}} <li> <a title="{$lang['edit_subject']}" href="index.php?page=management&subject=1&section={$Info['section']}&subject_id={$subject_id}&operator=edit" class="Button_secondary"> {$lang['edit_subject']} </a> </li> <li> <a href="index.php?page=management&subject=1&section={$Info['section']}&subject_id={$subject_id}&operator=delete" title="{$lang['delete_subject']}" class="Button_secondary"> {$lang['delete_subject']} </a> </li> {else} {if {$Info['close']} == '0'} {if {$timeout}} {if {$_CONF['member_row']['username']} == {$Info['username']}} {if {$_CONF['group_info']['edit_own_subject']}} <li> <a title="{$lang['edit_subject']}" href="index.php?page=management&subject=1&section={$Info['section']}&subject_id={$subject_id}&operator=edit" class="Button_secondary"> {$lang['edit_subject']} </a> </li> {/if} {if {$_CONF['group_info']['del_own_subject']}} <li> <a href="index.php?page=management&subject=1&section={$Info['section']}&subject_id={$subject_id}&operator=delete" title="{$lang['delete_subject']}" class="Button_secondary"> {$lang['delete_subject']} </a> </li> {/if} {/if} {/if} {/if} {/if} {/if} <li> <a href="index.php?page=new_reply&index=1&id={$subject_id}{$password} &qu_Subject={$subject_id}& user={$Info['username']}" title="{$lang['qu_subject']}" class="Button_secondary"> {$lang['quote']} </a> </li> <li> <?php $post_id = $PowerBB->_CONF['template']['subject_id']; ?> <a class="img-submit" id="mad_<?php echo "$post_id"; ?>" name="mad_<?php echo "$post_id"; ?>" onclick="multiquote_add(<?php echo "$post_id"; ?>); return false;" href="#"> {$lang['multiquote']} </a> </li> <!-- action_find_addons_4 --> </ul> </div> </dd> </dl> </div><!-- /table --> </dd> </dl> </div><!-- /table --> {Des::while}{AdsensesList} {if {$AdsensesList['down_topic']} == '1'} <div class="center_text_align"> {$AdsensesList['adsense']} </div> {/if} {/Des::while} <!-- action_find_addons_5 -->
3- قالب show_reply
CODE{Des::while}{AdsensesList} {if {$AdsensesList['between_replys']} == '1'} <div class="center_text_align"> {$AdsensesList['adsense']} </div> {/if} {/Des::while} <!-- table --> <div style="width:98%; border-spacing:1px;" class="table mrgTable TmpPostreply"> <dl class="center_text_align"> <dt></dt> <dd class="thead3" style="vertical-align:top; width:172px;"> <div class="center_text_align"> {$lang['information_writer']} </div> </dd> <dd class="thead3 wd85"> <div class="r-right"> <img alt="{$Info['icon']}" src="{$Info['icon']}" /> {$subject_title} </div> <div class="l-left"> {$Info['write_time']} <a title="{$lang['view_single_post']}" href="index.php?page=post&show=1&id={$Info['reply_id']}&num={$Info['reply_number']}"> <img class="brd0" src="{$image_path}/open.gif" alt="{$lang['view_single_post']}" /> </a> [<a title="{$lang['post']} ({$Info['reply_number']})" name="{$Info['reply_id']}" href="#{$Info['reply_id']}">{$Info['reply_number']}</a>] {if !{$mod_toolbar}} <input type="checkbox" name="check[]" value="{$Info['reply_id']}" /> {/if} </div> </dd> </dl> <dl class="center_text_align"> <dt></dt> <dd class="row5" style="vertical-align:top; width:172px;"> <div onclick="switchBlock('menu_{$Info['reply_id']}');"> {template}writer_info{/template} </div> </dd> <dd class="tbar_writer_info va-t"> {get_hook}show_reply_text{/get_hook} <div class="text">{$Info['text']}</div> {if {$Info['attach_reply']}} {template}attach_show{/template} {/if} {if {$Info['action_by']} != ''} <div class="action_by center_text_align"> <i> {$lang['action_by_reply']} {$Info['action_by']} {$lang['last_date']} {$Info['actiondate']} </i> </div> {/if} {if {$Info['reason_edit']} != ''} <div class="reason_edit"> <b> {$lang['reason_edit']} {$Info['reason_edit']} </b> </div> {/if} {get_hook}show_reply_down_text{/get_hook} {if {$ReplierInfo['user_sig']} != ''} {template}signature_show{/template} {/if} </dd> </dl> <dl> <dt></dt> <dd class="row1 a-center"></dd> <dd class="row1 a-center"> <!-- table --><div style="width:100%; border-collapse: collapse;" class="table"> <dl> <dt></dt> <dd> <div class="r-right"> {if {$_CONF['member_permission']}} {if {$ReplierInfo['username']} !=''} {if {$_CONF['member_row']['username']} != {$ReplierInfo['username']}} {if {$_CONF['info_row']['reputationallw']} == 1} <a href="javascript:switchMenuNone('{$Info['reply_number']}replyreputation')" title="{$lang['add_reputation_to']} {$ReplierInfo['username']}"> <img class="brd0" alt="{$lang['add_reputation_to']} {$ReplierInfo['username']}" src="{$image_path}/reputation.gif" /> </a> {template}reply_reputation{/template} {/if} {/if} {/if} <a title="{$lang['reporting_for_post']}" href="index.php?page=report&index=1&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&count={$count_peg}"> <img alt="{$lang['reporting_for_post']}" class="brd0" src="{$image_path}/report.gif" /> </a> {/if} </div> <div class="l-left"> <ul class="post_controls"> {if {$_CONF['member_permission']}} {if !{$mod_toolbar}} <li> <a title="{$lang['edit_reply']}" href="index.php?page=management&reply=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&reply_number={$Info['reply_number']}&count={$count_peg}&operator=edit" class="Button_secondary"> {$lang['edit_reply']}</a> </li> <li> <a href="index.php?page=managementreply&do_replys=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&operator=delete" class="Button_secondary" title="{$lang['delete_reply']}"> {$lang['delete_reply']}</a> </li> {else} {if {$SubjectInfo['close']} == '0'} {if {$timeout}} {if {$_CONF['member_row']['username']} == {$ReplierInfo['username']}} {if {$_CONF['group_info']['edit_own_reply']}} <li> <a title="{$lang['edit_reply']}" href="index.php?page=management&reply=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&reply_number={$Info['reply_number']}&count={$count_peg}&operator=edit" class="Button_secondary"> {$lang['edit_reply']} </a> </li> {/if} {if {$_CONF['group_info']['del_own_reply']}} <li> <a href="index.php?page=managementreply&do_replys=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&operator=delete" class="Button_secondary" title="{$lang['delete_reply']}"> {$lang['delete_reply']} </a> </li> {/if} {/if} {/if} {/if} {/if} {/if} <li> <a href="index.php?page=new_reply&index=1&id={$subject_id}{$password} &qu_Reply={$Info['reply_id']}&user={$ReplierInfo['username']}" class="Button_secondary" title="{$lang['qu_reply']}"> {$lang['quote']} </a> </li> <li> <?php $post_id = $PowerBB->_CONF['template']['Info']['reply_id']; ?> <a class="img-submit" id="mad_<?php echo "$post_id"; ?>" name="mad_<?php echo "$post_id"; ?>" onclick="multiquote_add(<?php echo "$post_id"; ?>); return false;" href="#"> {$lang['multiquote']} </a> </li> </ul> </div> </dd> </dl> </div><!-- /table --> </dd> </dl> </div><!-- /table -->
الساعة الآن 05:22 PM