<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[مەکۆکانی وێبچن - ریفرێش بوو نەوەی پەرە لە تیکەڵکردنی php بە html]]></title>
		<link>https://www.webchin.org/Meko/viewtopic.php?id=34249</link>
		<atom:link href="https://www.webchin.org/Meko/extern.php?action=feed&amp;tid=34249&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[دواترین و نوێترین په‌یامه‌كان له‌ ریفرێش بوو نەوەی پەرە لە تیکەڵکردنی php بە html.]]></description>
		<lastBuildDate>Sat, 09 Sep 2017 15:02:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[وه‌ڵام: ریفرێش بوو نەوەی پەرە لە تیکەڵکردنی php بە html]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=265535#p265535</link>
			<description><![CDATA[<div class="quotebox"><cite>ڕێنوار نووسی:</cite><blockquote><p>گەر تۆ کۆدەکانت دانەنابێت لە ناو ماڵپەرەکەت ئێمە چۆن بتوانین کاری لەسەر بکەین!<br />دووبارەی دەکەمەوە، لەجیاتی Favorite و Unfavoite کۆدەکان دابنێ با چاوی لێ بکەین، ئێمە دەسەڵاتی کۆدی phpمان نیە تابیگۆڕین.</p></blockquote></div><p>زۆر سپاس کێشەکە بەم شێوەیە چارە بوو <br /></p><div class="codebox"><pre><code data-language=php>&lt;?php
/**
 * BuddyPress - Activity Stream (Single Item)
 *
 * This template is used by activity-loop.php and AJAX functions to show
 * each activity.
 *
 * @package BuddyPress
 * @subpackage bp-legacy
 */

/**
 * Fires before the display of an activity entry.
 *
 * @since 1.2.0
 */
do_action( &#039;bp_before_activity_entry&#039; ); ?&gt;
&lt;li class=&quot;&lt;?php bp_activity_css_class(); ?&gt;&quot; id=&quot;activity-&lt;?php bp_activity_id(); ?&gt;&quot;&gt;
    &lt;div class=&quot;activity-avatar&quot;&gt;
        &lt;a href=&quot;&lt;?php bp_activity_user_link(); ?&gt;&quot;&gt;

            &lt;?php bp_activity_avatar(); ?&gt;

        &lt;/a&gt;
    &lt;/div&gt;

    &lt;div class=&quot;activity-content&quot;&gt;

        &lt;div class=&quot;activity-header&quot;&gt;
&lt;a dir=&quot;ltr&quot; href=&quot;javascript:void(0)&quot; class=&quot;see-other&quot; onclick=&quot;document.getElementById(&#039;id-other-&lt;?php bp_activity_id(); ?&gt;&#039;).style.display=&#039;block&#039;&quot;&gt;&lt;i class=&quot;other-more material-icons&quot;&gt;more_horiz&lt;/i&gt;&lt;/a&gt;

            &lt;?php bp_activity_action(); ?&gt;



        &lt;/div&gt;

        &lt;?php if ( bp_activity_has_content() ) : ?&gt;

            &lt;div class=&quot;activity-inner&quot;&gt;
                &lt;?php bp_activity_content_body(); ?&gt;

            &lt;/div&gt;

        &lt;?php endif; ?&gt;

        &lt;?php

        /**
         * Fires after the display of an activity entry content.
         *
         * @since 1.2.0
         */
        do_action( &#039;bp_activity_entry_content&#039; ); ?&gt;

        
        
                    &lt;div class=&quot;favorite-and-comment&quot;&gt;
            &lt;hr class=&quot;zherababt&quot;&gt;
            &lt;div class=&quot;comment-post&quot;&gt;
            &lt;a href=&quot;javascript:void(0)&quot; id=&quot;acomment-comment-&lt;?php bp_activity_id(); ?&gt;&quot; class=&quot;acomment-reply comentt w3-button&quot; onclick=&quot;document.getElementById(&#039;id-comment-&lt;?php bp_activity_id(); ?&gt;&#039;).style.display=&#039;block&#039;&quot;&gt;&lt;?php _e( &#039;Comment&#039;, &#039;buddypress&#039; ); ?&gt; &lt;img class=&quot;comment-image&quot; src=&quot;&lt;?php echo esc_url( home_url( &#039;/&#039; ) ); ?&gt;image/comment.png&quot; width=&quot;30&quot; height=&quot;30&quot;&gt;&lt;/a&gt;
            &lt;/div&gt;

               &lt;script&gt;
                    jQuery(document).ready(function(){
                        jQuery(&quot;#activity-&lt;?php bp_activity_id(); ?&gt; .lanab&quot;).click(function(){
                            if( jQuery(this).html(&#039;&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;) ) {
                                jQuery(this).html(&#039;&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;style=&quot;font-size:25px&quot;&gt;&lt;/i&gt;&#039;);
                            }else{
                                jQuery(this).html(&#039;&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;);
                            }
                        });
                    });
                &lt;/script&gt;
               &lt;div class=&quot;larm&quot;&gt;&lt;/div&gt;
                &lt;?php if ( bp_activity_can_favorite() ) : ?&gt;

                    &lt;?php if ( !bp_get_activity_is_favorite() ) : ?&gt;
                        
                        &lt;a href=&quot;&lt;?php bp_activity_favorite_link(); ?&gt;&quot; class=&quot;lanab button fav bp-secondary-action&quot;&gt;&lt;?php printf( __( &#039;Favorite %s&#039;, &#039;buddypress&#039; ), &#039;&lt;i href=&quot;#&quot; class=&quot;fav love-favorite fa fa-heart-o&quot; aria-hidden=&quot;true&quot; style=&quot;font-size: 25px;&quot;&gt;&lt;/i&gt;&#039; ); ?&gt;&lt;/a&gt;

                    &lt;?php else : ?&gt;

                        &lt;a href=&quot;&lt;?php bp_activity_unfavorite_link(); ?&gt;&quot; class=&quot;lanab button unfav bp-secondary-action&quot;&gt;&lt;?php printf( __( &#039;Remove Favorite %s&#039;, &#039;buddypress&#039; ), &#039;&lt;i href=&quot;#&quot; class=&quot;unfav love-unfavorite fa fa-heart&quot; aria-hidden=&quot;true&quot; style=&quot;color:#bb00b0; font-size: 25px;&quot;&gt;&lt;/i&gt;&#039; ); ?&gt;&lt;/a&gt;

                    &lt;?php endif; ?&gt;

                &lt;?php endif; ?&gt;
            &lt;style&gt;
                .w3-modal{z-index:9999999;display: none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#fff;background-color:#fff;
                 background-size: cover;  height: 677px;
                 background-position: center center;}
    
                .w3-dark-grey,.w3-hover-dark-grey:hover,.w3-dark-gray,.w3-hover-dark-gray:hover{color:#fff!important;background-color:#616161!important}
                .w3-btn,.w3-btn-block,.w3-button{border:none;display:inline-block;outline:0;padding:6px 16px;vertical-align:middle;overflow:hidden;text-decoration:none!important;color:#fff;background-color:#000;text-align:center;cursor:pointer;white-space:nowrap}
                .w3-button{color:#000;background-color:#f1f1f1;padding:8px 16px}
                .w3-btn,.w3-btn-floating,.w3-btn-floating-large,.w3-closenav,.w3-opennav,.w3-btn-block,.w3-button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}   
                .w3-disabled,.w3-btn:disabled,.w3-button:disabled,.w3-btn-floating:disabled,.w3-btn-floating-large:disabled{cursor:not-allowed;opacity:0.3}.w3-disabled *,:disabled *{pointer-events:none}
                .w3-bar-block .w3-dropdown-hover .w3-button,.w3-bar-block .w3-dropdown-click .w3-button{width:100%;text-align:left;background-color:inherit;color:inherit;padding:6px 2px 6px 16px}
                .w3-dropdown-hover:hover &gt; .w3-button:first-child,.w3-dropdown-click:hover &gt; .w3-button:first-child{background-color:#ccc;color:#000}
                .w3-bar .w3-button{background-color:inherit;color:inherit;white-space:normal}
                .w3-dropdown-hover.w3-mobile,.w3-dropdown-hover.w3-mobile .w3-btn,.w3-dropdown-hover.w3-mobile .w3-button,.w3-dropdown-click.w3-mobile,.w3-dropdown-click.w3-mobile .w3-btn,.w3-dropdown-click.w3-mobile .w3-button{width:100%}}
                .w3-black,.w3-hover-black:hover{color:#fff!important;background-color:#000!important}
                .w3-left-align{text-align:left!important}.w3-right-align{text-align:right!important}
                
                .comment-post {
                position: absolute;
                margin-left: 30%;
                                 } 
                a.button.bp-secondary-action.fav {
                direction: rtl;
                color: #000;
                background: #fff;
                box-shadow: none;
                margin: 0px 0px 15px 0px;
                }
                i.love-unfavorite.fa.fa-heart {
                margin: 0px 20px 0px 0px;
                }
                i.love-favorite.fa.fa-heart-o {
                margin: 0px 20px 0px 0px;
                }
                .favorite-and-comment {
                margin-left: -60px;
                }
                a.button.bp-secondary-action.fav {
                direction: rtl;
                color: #000;
                background: #fff;
                box-shadow: none;
                margin: 0px 0px 15px 0px;
                font-size: 14px;
                text-transform: capitalize;
                }
                a.button.bp-secondary-action.unfav {
                direction: rtl;
                color: #000;
                background: #fff;
                box-shadow: none;
                margin: 0px 0px 15px 0px;
                font-size: 14px;
                text-transform: capitalize;
                }
                a.button.unfav.bp-secondary-action {
                direction: rtl;
                color: #000;
                background: #fff;
                box-shadow: none;
                margin: 0px 0px 15px 0px;
                font-size: 14px;
                text-transform: capitalize;
                }
                .larm {
                background: rgba(0, 0, 0, 0);
                width: 40px;
                height: 40px;
                position: absolute;
                margin: 0px 0px 0px 18px;
                }
                img.comment-image {
                margin: 0px 20px 10px 0px;
                }
                a.comentt {
                direction: rtl;
                margin-top: -10px;
                color: #000;
                background: #fff;
                height: 40px;
                }
                hr.zherababt {
                border-top: 1px solid #999;
                }
                a.see-comment {
                color: #000;
                background: white;
                text-align-last: center;
                width: 100%;
                border: 1px solid #999;
                border-radius: 3px;
                padding: 3px 0px 0px 0px;
                }
                li.activity-item {
                border: 1.4px solid rgba(153, 153, 153, 0.4);
                border-radius: 2px;
                }
                a.view.activity-time-since.bp-tooltip {
    display: flex;
}
i.other-more {
    float: right!important;
    color: #000;
}
span.w3-button.w3-red.w3-right.w3-xxlarge {
    float: right!important;
}
.more-other {
    z-index: 3;
    display: none;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.w3-modal-content.w3-animate-zoom {
    width: 45%;
    margin: auto;
    background-color: #fff;
    
}
.sara-bzharda {
    color: #fff;
    background-color: #bb00b0;
    padding: 25px 25px 10px 16px;
}
.w3-button {
    color: #fff;
    background-color: rgba(241, 241, 241, 0);
    padding: 8px 16px;
}
.w3-button-l:hover {
    color: #000;
    background-color: #bd78b5;
    padding: 8px 16px;
}

a.w3-button.w3-red {
    color: #000;
    background-color: #fff;
    border: 1.4px solid #000;
    width: 95%;
    margin: 5px 5px 15px 15px;
}

            &lt;/style&gt;
            
            

    &lt;div&gt;
    &lt;!--لێرە کۆمێنتەکان دەبینرێت--&gt;
    &lt;div&gt;
    
                &lt;a href=&quot;javascript:void(0)&quot; class=&quot;w3-bar-item see-comment w3-button&quot; onclick=&quot;document.getElementById(&#039;id-comment-&lt;?php bp_activity_id(); ?&gt;&#039;).style.display=&#039;block&#039;&quot;&gt;&lt;?php _e( &#039;See All Comments&#039;, &#039;thrive&#039; ); ?&gt;&lt;/a&gt;
    
    &lt;/div&gt;
        
        
        
    &lt;div class=&quot;zhur-activity-comments&quot;&gt;&lt;/div&gt;
        
            &lt;div id=&quot;id-comment-&lt;?php bp_activity_id(); ?&gt;&quot; class=&quot;w3-modal&quot; style=&quot;z-index:999999&quot;&gt;
  &lt;div class=&quot;w3-modal-content w3-animate-zoom&quot;&gt;
    
       &lt;span onclick=&quot;document.getElementById(&#039;id-comment-&lt;?php bp_activity_id(); ?&gt;&#039;).style.display=&#039;none&#039;&quot;
       class=&quot;w3-button-l w3-red w3-right w3-xxlarge&quot;&gt;&lt;i class=&quot;fa fa-remove&quot;&gt;&lt;/i&gt;&lt;/span&gt;

       &lt;?php if ( bp_activity_can_comment() ) : ?&gt;

                    &lt;a href=&quot;&lt;?php bp_activity_comment_link(); ?&gt;&quot; class=&quot;button acomment-reply bp-primary-action&quot; id=&quot;acomment-comment-&lt;?php bp_activity_id(); ?&gt;&quot;&gt;&lt;?php printf( __( &#039;Comment %s&#039;, &#039;buddypress&#039; ), &#039;&lt;span&gt;&#039; . bp_activity_get_comment_count() . &#039;&lt;/span&gt;&#039; ); ?&gt;&lt;/a&gt;

        &lt;?php endif; ?&gt;
        
    &lt;?php if ( ( bp_activity_get_comment_count() || bp_activity_can_comment() ) || bp_is_single_activity() ) : ?&gt;

        &lt;div class=&quot;activity-comments&quot;&gt;

            &lt;?php bp_activity_comments(); ?&gt;

            &lt;?php if ( is_user_logged_in() &amp;&amp; bp_activity_can_comment() ) : ?&gt;

                &lt;form action=&quot;&lt;?php bp_activity_comment_form_action(); ?&gt;&quot; method=&quot;post&quot; id=&quot;ac-form-&lt;?php bp_activity_id(); ?&gt;&quot; class=&quot;ac-form&quot;&lt;?php bp_activity_comment_form_nojs_display(); ?&gt;&gt;
                    &lt;div class=&quot;ac-reply-avatar&quot;&gt;&lt;?php bp_loggedin_user_avatar( &#039;width=&#039; . BP_AVATAR_THUMB_WIDTH . &#039;&amp;height=&#039; . BP_AVATAR_THUMB_HEIGHT ); ?&gt;&lt;/div&gt;
                    &lt;div class=&quot;ac-reply-content&quot;&gt;
                        &lt;div class=&quot;ac-textarea&quot;&gt;
                            &lt;label for=&quot;ac-input-&lt;?php bp_activity_id(); ?&gt;&quot; class=&quot;bp-screen-reader-text&quot;&gt;&lt;?php
                                /* translators: accessibility text */
                                _e( &#039;Comment&#039;, &#039;buddypress&#039; );
                            ?&gt;&lt;/label&gt;
                            &lt;textarea id=&quot;ac-input-&lt;?php bp_activity_id(); ?&gt;&quot; class=&quot;ac-input bp-suggestions&quot; name=&quot;ac_input_&lt;?php bp_activity_id(); ?&gt;&quot;&gt;&lt;/textarea&gt;
                        &lt;/div&gt;
                        &lt;input type=&quot;submit&quot; name=&quot;ac_form_submit&quot; value=&quot;&lt;?php esc_attr_e( &#039;Post&#039;, &#039;buddypress&#039; ); ?&gt;&quot; /&gt; &amp;nbsp; &lt;a href=&quot;#&quot; class=&quot;ac-reply-cancel&quot;&gt;&lt;?php _e( &#039;Cancel&#039;, &#039;buddypress&#039; ); ?&gt;&lt;/a&gt;
                        &lt;input type=&quot;hidden&quot; name=&quot;comment_form_id&quot; value=&quot;&lt;?php bp_activity_id(); ?&gt;&quot; /&gt;
                    &lt;/div&gt;

                    &lt;?php

                    /**
                     * Fires after the activity entry comment form.
                     *
                     * @since 1.5.0
                     */
                    do_action( &#039;bp_activity_entry_comments&#039; ); ?&gt;

                    &lt;?php wp_nonce_field( &#039;new_activity_comment&#039;, &#039;_wpnonce_new_activity_comment&#039; ); ?&gt;

                &lt;/form&gt;

            &lt;?php endif; ?&gt;

        &lt;/div&gt;

    &lt;?php endif; ?&gt;
    
       &lt;?php if ( bp_activity_can_comment() ) : ?&gt;

                    &lt;a href=&quot;&lt;?php bp_activity_comment_link(); ?&gt;&quot; class=&quot;button acomment-reply bp-primary-action&quot; id=&quot;acomment-comment-&lt;?php bp_activity_id(); ?&gt;&quot;&gt;&lt;?php printf( __( &#039;More Comment&#039;, &#039;buddypress&#039; ), &#039;&lt;span&gt;&#039; . bp_activity_get_comment_count() . &#039;&lt;/span&gt;&#039; ); ?&gt;&lt;/a&gt;

        &lt;?php endif; ?&gt;
        
&lt;a class=&quot;w3-button w3-red&quot; onclick=&quot;document.getElementById(&#039;id-comment-&lt;?php bp_activity_id(); ?&gt;&#039;).style.display=&#039;none&#039;&quot;&gt;Cancel  &lt;i class=&quot;fa fa-remove&quot;&gt;&lt;/i&gt;&lt;/a&gt;
      &lt;/div&gt;    
    &lt;/div&gt;
    
    &lt;div id=&quot;id-other-&lt;?php bp_activity_id(); ?&gt;&quot; class=&quot;more-other&quot; style=&quot;z-index:999999&quot;&gt;
     &lt;div class=&quot;w3-modal-content w3-animate-zoom&quot;&gt;
    &lt;div class=&quot;sara-bzharda&quot;&gt;
       &lt;span onclick=&quot;document.getElementById(&#039;id-other-&lt;?php bp_activity_id(); ?&gt;&#039;).style.display=&#039;none&#039;&quot;
       class=&quot;w3-button-l w3-red w3-right w3-xxlarge&quot;&gt;&lt;i class=&quot;fa fa-remove&quot;&gt;&lt;/i&gt;&lt;/span&gt;
        &lt;h1&gt;&lt;?php  _e( &#039;Other&#039;, &#039;buddypress&#039; ); ?&gt;&lt;/h1&gt;
    &lt;/div&gt;
        &lt;div class=&quot;activity-meta&quot;&gt;

            &lt;?php if ( bp_get_activity_type() == &#039;activity_comment&#039; ) : ?&gt;

                &lt;a href=&quot;&lt;?php bp_activity_thread_permalink(); ?&gt;&quot; class=&quot;button view bp-secondary-action&quot;&gt;&lt;?php _e( &#039;View Conversation&#039;, &#039;buddypress&#039; ); ?&gt;&lt;/a&gt;

            &lt;?php endif; ?&gt;

            &lt;?php if ( is_user_logged_in() ) : ?&gt;


                &lt;?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link(); ?&gt;

                &lt;?php

                /**
                 * Fires at the end of the activity entry meta data area.
                 *
                 * @since 1.2.0
                 */
                do_action( &#039;bp_activity_entry_meta&#039; ); ?&gt;

            &lt;?php endif; ?&gt;

        &lt;/div&gt;
&lt;a class=&quot;w3-button w3-red&quot; onclick=&quot;document.getElementById(&#039;id-other-&lt;?php bp_activity_id(); ?&gt;&#039;).style.display=&#039;none&#039;&quot;&gt;Cancel  &lt;i class=&quot;fa fa-remove&quot;&gt;&lt;/i&gt;&lt;/a&gt;
      &lt;/div&gt;    
    &lt;/div&gt;
    &lt;/div&gt;

    &lt;?php

    /**
     * Fires before the display of the activity entry comments.
     *
     * @since 1.2.0
     */
    do_action( &#039;bp_before_activity_entry_comments&#039; ); ?&gt;

    

    &lt;?php

    /**
     * Fires after the display of the activity entry comments.
     *
     * @since 1.2.0
     */
    do_action( &#039;bp_after_activity_entry_comments&#039; ); ?&gt;

&lt;/li&gt;

&lt;?php

/**
 * Fires after the display of an activity entry.
 *
 * @since 1.2.0
 */
do_action( &#039;bp_after_activity_entry&#039; );</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sabaty zhian)]]></author>
			<pubDate>Sat, 09 Sep 2017 15:02:36 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=265535#p265535</guid>
		</item>
		<item>
			<title><![CDATA[وه‌ڵام: ریفرێش بوو نەوەی پەرە لە تیکەڵکردنی php بە html]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=265505#p265505</link>
			<description><![CDATA[<p>گەر تۆ کۆدەکانت دانەنابێت لە ناو ماڵپەرەکەت ئێمە چۆن بتوانین کاری لەسەر بکەین!<br />دووبارەی دەکەمەوە، لەجیاتی Favorite و Unfavoite کۆدەکان دابنێ با چاوی لێ بکەین، ئێمە دەسەڵاتی کۆدی phpمان نیە تابیگۆڕین.</p>]]></description>
			<author><![CDATA[null@example.com (ڕێنوار)]]></author>
			<pubDate>Wed, 06 Sep 2017 12:43:28 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=265505#p265505</guid>
		</item>
		<item>
			<title><![CDATA[وه‌ڵام: ریفرێش بوو نەوەی پەرە لە تیکەڵکردنی php بە html]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=265504#p265504</link>
			<description><![CDATA[<div class="quotebox"><cite>ڕێنوار نووسی:</cite><blockquote><p>لە جیاتی ئەمە<br /></p><div class="codebox"><pre><code data-language=php>&lt;script&gt;
                    jQuery(document).ready(function(){
                        jQuery(&quot;#activity-&lt;?php bp_activity_id(); ?&gt; .bp-secondary-action&quot;).click(function(){
                            if( jQuery(this).text(&#039;Favorite&#039;) ) {
                                jQuery(this).text(&#039;Remove Favorite&#039;);
                            }else{
                                jQuery(this).text(&#039;Favorite&#039;);
                            }
                        });
                    });
                &lt;/script&gt;</code></pre></div><p>ئەمە دابنێ بزانە کار دەکات<br /></p><div class="codebox"><pre><code data-language=php>&lt;script&gt;
                    jQuery(document).ready(function(){
                        jQuery(&quot;#activity-&lt;?php bp_activity_id(); ?&gt; .bp-secondary-action&quot;).click(function(){
                            if( jQuery(this).text(&#039;&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;) ) {
                                jQuery(this).text(&#039;&lt;i class=&quot;fa fa-heart-o&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;);
                            }else{
                                jQuery(this).text(&#039;&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;);
                            }
                        });
                    });
                &lt;/script&gt;</code></pre></div></blockquote></div><p>نا کار ناکات تەنها دەبێت text بگۆڕیت بە html بۆ ئەوەی کۆدەکان بخوینیتەوە وەک ئەوە <br /></p><div class="codebox"><pre><code data-language=php>&lt;script&gt;
                    jQuery(document).ready(function(){
                        jQuery(&quot;#activity-&lt;?php bp_activity_id(); ?&gt; .bp-secondary-action&quot;).click(function(){
                            if( jQuery(this).html(&#039;&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;) ) {
                                jQuery(this).html(&#039;&lt;i class=&quot;fa fa-heart-o&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;);
                            }else{
                                jQuery(this).html(&#039;&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;);
                            }
                        });
                    });
                &lt;/script&gt;</code></pre></div><p>وە هێشتانیش تەنها ئەوەیان کاردەکات<br /></p><div class="codebox"><pre><code data-language=php>  jQuery(this).html(&#039;&lt;i class=&quot;fa fa-heart-o&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sabaty zhian)]]></author>
			<pubDate>Wed, 06 Sep 2017 12:13:20 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=265504#p265504</guid>
		</item>
		<item>
			<title><![CDATA[وه‌ڵام: ریفرێش بوو نەوەی پەرە لە تیکەڵکردنی php بە html]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=265501#p265501</link>
			<description><![CDATA[<p>لە جیاتی ئەمە<br /></p><div class="codebox"><pre><code data-language=php>&lt;script&gt;
                    jQuery(document).ready(function(){
                        jQuery(&quot;#activity-&lt;?php bp_activity_id(); ?&gt; .bp-secondary-action&quot;).click(function(){
                            if( jQuery(this).text(&#039;Favorite&#039;) ) {
                                jQuery(this).text(&#039;Remove Favorite&#039;);
                            }else{
                                jQuery(this).text(&#039;Favorite&#039;);
                            }
                        });
                    });
                &lt;/script&gt;</code></pre></div><p>ئەمە دابنێ بزانە کار دەکات<br /></p><div class="codebox"><pre><code data-language=php>&lt;script&gt;
                    jQuery(document).ready(function(){
                        jQuery(&quot;#activity-&lt;?php bp_activity_id(); ?&gt; .bp-secondary-action&quot;).click(function(){
                            if( jQuery(this).text(&#039;&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;) ) {
                                jQuery(this).text(&#039;&lt;i class=&quot;fa fa-heart-o&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;);
                            }else{
                                jQuery(this).text(&#039;&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&#039;);
                            }
                        });
                    });
                &lt;/script&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ڕێنوار)]]></author>
			<pubDate>Wed, 06 Sep 2017 10:03:59 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=265501#p265501</guid>
		</item>
		<item>
			<title><![CDATA[وه‌ڵام: ریفرێش بوو نەوەی پەرە لە تیکەڵکردنی php بە html]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=265498#p265498</link>
			<description><![CDATA[<div class="quotebox"><cite>sabaty zhian نووسی:</cite><blockquote><p>پێشتریش بابەتێکم دانا بۆ کێشەکەم&nbsp; و گەیشتم بە ئەنجام بەلام من نویگەریم تێکرد بۆیە کێشەی درووست کرد کەوەێش گۆرینی نووسین بە هێمابوو کە لە بڕی نووسین کۆدی وەک<br /></p><div class="codebox"><pre><code data-language=php>&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;</code></pre></div><p>دابنێم </p><p>کە لەبڕی Favorite <br /></p><div class="codebox"><pre><code data-language=php>&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;</code></pre></div><p>دابنیم </p><p>و لەبڕی Remove Favorite<br /></p><div class="codebox"><pre><code data-language=php>&lt;i class=&quot;fa fa-heart-o&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;</code></pre></div><p>دابنێم بەڵام کە ئەوەدەکەم پەرەکە ڕیفرێش دەبیت لەگەڵ کلیک کردن</p><p>وە بۆ زانینی چۆن ئەو کۆدەنە گەیشتوونە ئێرە ئەوە بابەتەکەیە<br /><a href="https://www.webchin.org/Meko/viewtopic.php?id=34243">https://www.webchin.org/Meko/viewtopic.php?id=34243</a></p></blockquote></div><p>وە ئەوەش تەواوی کۆدەکانی ئیستا کاری پێدەکەم<br /></p><div class="codebox"><pre><code data-language=php>&lt;?php
/**
 * BuddyPress - Activity Stream (Single Item)
 *
 * This template is used by activity-loop.php and AJAX functions to show
 * each activity.
 *
 * @package BuddyPress
 * @subpackage bp-legacy
 */

/**
 * Fires before the display of an activity entry.
 *
 * @since 1.2.0
 */
do_action( &#039;bp_before_activity_entry&#039; ); ?&gt;

&lt;li class=&quot;&lt;?php bp_activity_css_class(); ?&gt;&quot; id=&quot;activity-&lt;?php bp_activity_id(); ?&gt;&quot;&gt;
    &lt;div class=&quot;activity-avatar&quot;&gt;
        &lt;a href=&quot;&lt;?php bp_activity_user_link(); ?&gt;&quot;&gt;

            &lt;?php bp_activity_avatar(); ?&gt;

        &lt;/a&gt;
    &lt;/div&gt;

    &lt;div class=&quot;activity-content&quot;&gt;

        &lt;div class=&quot;activity-header&quot;&gt;

            &lt;?php bp_activity_action(); ?&gt;

        &lt;/div&gt;

        &lt;?php if ( bp_activity_has_content() ) : ?&gt;

            &lt;div class=&quot;activity-inner&quot;&gt;

                &lt;?php bp_activity_content_body(); ?&gt;

            &lt;/div&gt;

        &lt;?php endif; ?&gt;

        &lt;?php

        /**
         * Fires after the display of an activity entry content.
         *
         * @since 1.2.0
         */
        do_action( &#039;bp_activity_entry_content&#039; ); ?&gt;
    
    &lt;div class=&quot;favorite-and-comment&quot;&gt;
               
               &lt;script&gt;
                    jQuery(document).ready(function(){
                        jQuery(&quot;#activity-&lt;?php bp_activity_id(); ?&gt; .like&quot;).click(function(){
                            if( jQuery(this).html(&#039;&lt;?php _e( &#039;Favorite&#039;, &#039;thrive&#039; ); ?&gt;&#039;) ) {
                                jQuery(this).html(&#039;&lt;i class=&quot;material-icons md-24 top-5 md-dark&quot;&gt;filter_list&lt;/i&gt;&#039;);
                            }else{
                                jQuery(this).html(&#039;&lt;?php _e( &#039;Favorite&#039;, &#039;thrive&#039; ); ?&gt;&#039;);
                            }
                        });
                    });
                &lt;/script&gt;
                &lt;?php if ( bp_activity_can_favorite() ) : ?&gt;

                    &lt;?php if ( !bp_get_activity_is_favorite() ) : ?&gt;
                        
                        &lt;a href=&quot;&lt;?php bp_activity_favorite_link(); ?&gt;&quot; class=&quot;like button fav bp-secondary-action&quot; title=&quot;&lt;?php esc_attr_e( &#039;Mark as Favorite&#039;, &#039;thrive&#039; ); ?&gt;&quot;&gt;&lt;?php _e( &#039;Favorite&#039;, &#039;thrive&#039; ); ?&gt;&lt;/a&gt;

                    &lt;?php else : ?&gt;

                        &lt;a href=&quot;&lt;?php bp_activity_unfavorite_link(); ?&gt;&quot; class=&quot;unlike button unfav bp-secondary-action&quot; title=&quot;&lt;?php esc_attr_e( &#039;Remove Favorite&#039;, &#039;boss&#039; ); ?&gt;&quot;&gt;&lt;?php _e( &#039;Remove Favorite&#039;, &#039;thrive&#039; ); ?&gt;&lt;/a&gt;

                    &lt;?php endif; ?&gt;

                &lt;?php endif; ?&gt;
            &lt;style&gt;
                .w3-modal{z-index:9999999;display: none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#fff;background-color:#fff;
                 background-size: cover;  height: 677px;
                 background-position: center center;}
    
                .w3-dark-grey,.w3-hover-dark-grey:hover,.w3-dark-gray,.w3-hover-dark-gray:hover{color:#fff!important;background-color:#616161!important}
                .w3-btn,.w3-btn-block,.w3-button{border:none;display:inline-block;outline:0;padding:6px 16px;vertical-align:middle;overflow:hidden;text-decoration:none!important;color:#fff;background-color:#000;text-align:center;cursor:pointer;white-space:nowrap}
                .w3-button{color:#000;background-color:#f1f1f1;padding:8px 16px}.w3-button:hover{color:#000!important;background-color:#ccc!important}
                .w3-btn,.w3-btn-floating,.w3-btn-floating-large,.w3-closenav,.w3-opennav,.w3-btn-block,.w3-button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}   
                .w3-disabled,.w3-btn:disabled,.w3-button:disabled,.w3-btn-floating:disabled,.w3-btn-floating-large:disabled{cursor:not-allowed;opacity:0.3}.w3-disabled *,:disabled *{pointer-events:none}
                .w3-bar-block .w3-dropdown-hover .w3-button,.w3-bar-block .w3-dropdown-click .w3-button{width:100%;text-align:left;background-color:inherit;color:inherit;padding:6px 2px 6px 16px}
                .w3-dropdown-hover:hover &gt; .w3-button:first-child,.w3-dropdown-click:hover &gt; .w3-button:first-child{background-color:#ccc;color:#000}
                .w3-bar .w3-button{background-color:inherit;color:inherit;white-space:normal}
                .w3-dropdown-hover.w3-mobile,.w3-dropdown-hover.w3-mobile .w3-btn,.w3-dropdown-hover.w3-mobile .w3-button,.w3-dropdown-click.w3-mobile,.w3-dropdown-click.w3-mobile .w3-btn,.w3-dropdown-click.w3-mobile .w3-button{width:100%}}
                .w3-black,.w3-hover-black:hover{color:#fff!important;background-color:#000!important}
                .w3-left-align{text-align:left!important}.w3-right-align{text-align:right!important}
                
                a.like.button.fav.bp-secondary-action {
                width: 48px;
                height: 48px;
                background: none;
                box-shadow: none;
                color: #000;
                padding: 7px 0px;
                font-size: 10px;
                margin: 0px 10px 0px -50px;
                }
            &lt;/style&gt;
                 &lt;a href=&quot;javascript:void(0)&quot; class=&quot;w3-bar-item w3-button w3-dark-grey w3-button w3-hover-black w3-left-align&quot; onclick=&quot;document.getElementById(&#039;id-comment-&lt;?php bp_activity_id(); ?&gt;&#039;).style.display=&#039;block&#039;&quot;&gt;New Message &lt;i class=&quot;w3-padding fa fa-pencil&quot;&gt;&lt;/i&gt;&lt;/a&gt;

    &lt;div&gt;
        &lt;div class=&quot;activity-meta&quot;&gt;

            &lt;?php if ( bp_get_activity_type() == &#039;activity_comment&#039; ) : ?&gt;

                &lt;a href=&quot;&lt;?php bp_activity_thread_permalink(); ?&gt;&quot; class=&quot;button view bp-secondary-action&quot;&gt;&lt;?php _e( &#039;View Conversation&#039;, &#039;buddypress&#039; ); ?&gt;&lt;/a&gt;

            &lt;?php endif; ?&gt;

            &lt;?php if ( is_user_logged_in() ) : ?&gt;

                &lt;?php if ( bp_activity_can_comment() ) : ?&gt;

                    &lt;a href=&quot;&lt;?php bp_activity_comment_link(); ?&gt;&quot; class=&quot;button acomment-reply bp-primary-action&quot; id=&quot;acomment-comment-&lt;?php bp_activity_id(); ?&gt;&quot;&gt;&lt;?php printf( __( &#039;Comment %s&#039;, &#039;buddypress&#039; ), &#039;&lt;span&gt;&#039; . bp_activity_get_comment_count() . &#039;&lt;/span&gt;&#039; ); ?&gt;&lt;/a&gt;

                &lt;?php endif; ?&gt;

                

                &lt;?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link(); ?&gt;

                &lt;?php

                /**
                 * Fires at the end of the activity entry meta data area.
                 *
                 * @since 1.2.0
                 */
                do_action( &#039;bp_activity_entry_meta&#039; ); ?&gt;

            &lt;?php endif; ?&gt;

        &lt;/div&gt;

    &lt;/div&gt;

    &lt;?php

    /**
     * Fires before the display of the activity entry comments.
     *
     * @since 1.2.0
     */
    do_action( &#039;bp_before_activity_entry_comments&#039; ); ?&gt;

    &lt;?php if ( ( bp_activity_get_comment_count() || bp_activity_can_comment() ) || bp_is_single_activity() ) : ?&gt;

        &lt;div class=&quot;activity-comments&quot;&gt;

            &lt;?php bp_activity_comments(); ?&gt;

            &lt;?php if ( is_user_logged_in() &amp;&amp; bp_activity_can_comment() ) : ?&gt;

                &lt;form action=&quot;&lt;?php bp_activity_comment_form_action(); ?&gt;&quot; method=&quot;post&quot; id=&quot;ac-form-&lt;?php bp_activity_id(); ?&gt;&quot; class=&quot;ac-form&quot;&lt;?php bp_activity_comment_form_nojs_display(); ?&gt;&gt;
                    &lt;div class=&quot;ac-reply-avatar&quot;&gt;&lt;?php bp_loggedin_user_avatar( &#039;width=&#039; . BP_AVATAR_THUMB_WIDTH . &#039;&amp;height=&#039; . BP_AVATAR_THUMB_HEIGHT ); ?&gt;&lt;/div&gt;
                    &lt;div class=&quot;ac-reply-content&quot;&gt;
                        &lt;div class=&quot;ac-textarea&quot;&gt;
                            &lt;label for=&quot;ac-input-&lt;?php bp_activity_id(); ?&gt;&quot; class=&quot;bp-screen-reader-text&quot;&gt;&lt;?php
                                /* translators: accessibility text */
                                _e( &#039;Comment&#039;, &#039;buddypress&#039; );
                            ?&gt;&lt;/label&gt;
                            &lt;textarea id=&quot;ac-input-&lt;?php bp_activity_id(); ?&gt;&quot; class=&quot;ac-input bp-suggestions&quot; name=&quot;ac_input_&lt;?php bp_activity_id(); ?&gt;&quot;&gt;&lt;/textarea&gt;
                        &lt;/div&gt;
                        &lt;input type=&quot;submit&quot; name=&quot;ac_form_submit&quot; value=&quot;&lt;?php esc_attr_e( &#039;Post&#039;, &#039;buddypress&#039; ); ?&gt;&quot; /&gt; &amp;nbsp; &lt;a href=&quot;#&quot; class=&quot;ac-reply-cancel&quot;&gt;&lt;?php _e( &#039;Cancel&#039;, &#039;buddypress&#039; ); ?&gt;&lt;/a&gt;
                        &lt;input type=&quot;hidden&quot; name=&quot;comment_form_id&quot; value=&quot;&lt;?php bp_activity_id(); ?&gt;&quot; /&gt;
                    &lt;/div&gt;

                    &lt;?php

                    /**
                     * Fires after the activity entry comment form.
                     *
                     * @since 1.5.0
                     */
                    do_action( &#039;bp_activity_entry_comments&#039; ); ?&gt;

                    &lt;?php wp_nonce_field( &#039;new_activity_comment&#039;, &#039;_wpnonce_new_activity_comment&#039; ); ?&gt;

                &lt;/form&gt;

            &lt;?php endif; ?&gt;

        &lt;/div&gt;

    &lt;?php endif; ?&gt;

    &lt;?php

    /**
     * Fires after the display of the activity entry comments.
     *
     * @since 1.2.0
     */
    do_action( &#039;bp_after_activity_entry_comments&#039; ); ?&gt;

&lt;/li&gt;
&lt;a class=&quot;w3-button w3-red&quot; onclick=&quot;document.getElementById(&#039;id-comment-&lt;?php bp_activity_id(); ?&gt;&#039;).style.display=&#039;none&#039;&quot;&gt;Cancel  &lt;i class=&quot;fa fa-remove&quot;&gt;&lt;/i&gt;&lt;/a&gt;
        &lt;a class=&quot;w3-button w3-light-grey w3-right&quot; onclick=&quot;document.getElementById(&#039;id-comment-&lt;?php bp_activity_id(); ?&gt;&#039;).style.display=&#039;none&#039;&quot;&gt;Send  &lt;i class=&quot;fa fa-paper-plane&quot;&gt;&lt;/i&gt;&lt;/a&gt; 
      &lt;/div&gt;    
    &lt;/div&gt;
  &lt;/div&gt;
&lt;?php

/**
 * Fires after the display of an activity entry.
 *
 * @since 1.2.0
 */
do_action( &#039;bp_after_activity_entry&#039; );</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sabaty zhian)]]></author>
			<pubDate>Tue, 05 Sep 2017 21:31:35 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=265498#p265498</guid>
		</item>
		<item>
			<title><![CDATA[ریفرێش بوو نەوەی پەرە لە تیکەڵکردنی php بە html]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=265497#p265497</link>
			<description><![CDATA[<p>پێشتریش بابەتێکم دانا بۆ کێشەکەم&nbsp; و گەیشتم بە ئەنجام بەلام من نویگەریم تێکرد بۆیە کێشەی درووست کرد کەوەێش گۆرینی نووسین بە هێمابوو کە لە بڕی نووسین کۆدی وەک<br /></p><div class="codebox"><pre><code data-language=php>&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;</code></pre></div><p>دابنێم </p><p>کە لەبڕی Favorite <br /></p><div class="codebox"><pre><code data-language=php>&lt;i class=&quot;fa fa-heart&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;</code></pre></div><p>دابنیم </p><p>و لەبڕی Remove Favorite<br /></p><div class="codebox"><pre><code data-language=php>&lt;i class=&quot;fa fa-heart-o&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;</code></pre></div><p>دابنێم بەڵام کە ئەوەدەکەم پەرەکە ڕیفرێش دەبیت لەگەڵ کلیک کردن</p><p>وە بۆ زانینی چۆن ئەو کۆدەنە گەیشتوونە ئێرە ئەوە بابەتەکەیە<br /><a href="https://www.webchin.org/Meko/viewtopic.php?id=34243">https://www.webchin.org/Meko/viewtopic.php?id=34243</a></p>]]></description>
			<author><![CDATA[null@example.com (sabaty zhian)]]></author>
			<pubDate>Tue, 05 Sep 2017 21:29:01 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=265497#p265497</guid>
		</item>
	</channel>
</rss>
