<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[مەکۆکانی وێبچن - نیشاندانی دواین په‌یام له‌ په‌ڕه‌ی سه‌ره‌تا]]></title>
		<link>https://www.webchin.org/Meko/viewtopic.php?id=18109</link>
		<atom:link href="https://www.webchin.org/Meko/extern.php?action=feed&amp;tid=18109&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[دواترین و نوێترین په‌یامه‌كان له‌ نیشاندانی دواین په‌یام له‌ په‌ڕه‌ی سه‌ره‌تا.]]></description>
		<lastBuildDate>Fri, 06 Aug 2010 20:52:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[وه‌ڵام: نیشاندانی دواین په‌یام له‌ په‌ڕه‌ی سه‌ره‌تا]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=146740#p146740</link>
			<description><![CDATA[<p>ده‌ست خوش کاک گه‌يلان</p>]]></description>
			<author><![CDATA[null@example.com (Safen-sherwani)]]></author>
			<pubDate>Fri, 06 Aug 2010 20:52:36 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=146740#p146740</guid>
		</item>
		<item>
			<title><![CDATA[وه‌ڵام: نیشاندانی دواین په‌یام له‌ په‌ڕه‌ی سه‌ره‌تا]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=146470#p146470</link>
			<description><![CDATA[<p>سه‌رکه‌وتوبیت.</p>]]></description>
			<author><![CDATA[null@example.com (گه‌یلان)]]></author>
			<pubDate>Wed, 04 Aug 2010 21:34:56 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=146470#p146470</guid>
		</item>
		<item>
			<title><![CDATA[وه‌ڵام: نیشاندانی دواین په‌یام له‌ په‌ڕه‌ی سه‌ره‌تا]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=146468#p146468</link>
			<description><![CDATA[<p>تێگه‌یشتم مه‌منون</p>]]></description>
			<author><![CDATA[null@example.com (MBA)]]></author>
			<pubDate>Wed, 04 Aug 2010 21:22:33 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=146468#p146468</guid>
		</item>
		<item>
			<title><![CDATA[وه‌ڵام: نیشاندانی دواین په‌یام له‌ په‌ڕه‌ی سه‌ره‌تا]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=146465#p146465</link>
			<description><![CDATA[<p>پرسیاره‌که‌ت ڕوونتر بکه‌..</p>]]></description>
			<author><![CDATA[null@example.com (گه‌یلان)]]></author>
			<pubDate>Wed, 04 Aug 2010 21:07:45 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=146465#p146465</guid>
		</item>
		<item>
			<title><![CDATA[وه‌ڵام: نیشاندانی دواین په‌یام له‌ په‌ڕه‌ی سه‌ره‌تا]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=146455#p146455</link>
			<description><![CDATA[<p>ده‌ست خۆش&nbsp; كاك گه‌یلان چه‌ند بابه‌ت پیشان ده‌دات</p>]]></description>
			<author><![CDATA[null@example.com (MBA)]]></author>
			<pubDate>Wed, 04 Aug 2010 20:25:31 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=146455#p146455</guid>
		</item>
		<item>
			<title><![CDATA[وه‌ڵام: نیشاندانی دواین په‌یام له‌ په‌ڕه‌ی سه‌ره‌تا]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=146357#p146357</link>
			<description><![CDATA[<p>هیوادارم سوودی بۆت هه‌بێت.</p>]]></description>
			<author><![CDATA[null@example.com (گه‌یلان)]]></author>
			<pubDate>Wed, 04 Aug 2010 09:18:49 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=146357#p146357</guid>
		</item>
		<item>
			<title><![CDATA[وه‌ڵام: نیشاندانی دواین په‌یام له‌ په‌ڕه‌ی سه‌ره‌تا]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=146340#p146340</link>
			<description><![CDATA[<p>ده‌ست خۆش كاكه‌ گه‌یلان بژیت</p>]]></description>
			<author><![CDATA[null@example.com (CARLOS-VELA)]]></author>
			<pubDate>Wed, 04 Aug 2010 08:08:10 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=146340#p146340</guid>
		</item>
		<item>
			<title><![CDATA[نیشاندانی دواین په‌یام له‌ په‌ڕه‌ی سه‌ره‌تا]]></title>
			<link>https://www.webchin.org/Meko/viewtopic.php?pid=146315#p146315</link>
			<description><![CDATA[<p>سڵاو،<br />له‌م بابه‌ت باس له‌چۆنیه‌تی نیشاندانی دواین په‌یام ده‌که‌ین له‌ په‌ڕه‌ی سه‌ره‌تا،<br />نمونه‌،<br /><span class="postimg"><img src="http://webchinupload.com/files/serderr.png" alt="http://webchinupload.com/files/serderr.png" /></span></p><p>بۆ جێبه‌جێ کردنی ئه‌م هه‌نگاوانه‌ بکه‌،<br />په‌ڕه‌ی index.php بکه‌وه‌،<br />له‌ له‌ دێڕی 68 بگه‌ڕی بۆ ئه‌مه‌،<br /></p><div class="codebox"><pre><code data-language=php>$query = array(
    &#039;SELECT&#039;    =&gt; &#039;c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster&#039;,
    &#039;FROM&#039;        =&gt; &#039;categories AS c&#039;,
    &#039;JOINS&#039;        =&gt; array(
        array(
            &#039;INNER JOIN&#039;    =&gt; &#039;forums AS f&#039;,
            &#039;ON&#039;            =&gt; &#039;c.id=f.cat_id&#039;
        ),
        array(
            &#039;LEFT JOIN&#039;        =&gt; &#039;forum_perms AS fp&#039;,
            &#039;ON&#039;            =&gt; &#039;(fp.forum_id=f.id AND fp.group_id=&#039;.$forum_user[&#039;g_id&#039;].&#039;)&#039;
        )
    ),
    &#039;WHERE&#039;        =&gt; &#039;fp.read_forum IS NULL OR fp.read_forum=1&#039;,
    &#039;ORDER BY&#039;    =&gt; &#039;c.disp_position, c.id, f.disp_position&#039;
);</code></pre></div><p>بیگۆڕه‌ بۆ ئه‌مه‌،<br /></p><div class="codebox"><pre><code data-language=php>$query = array(
    &#039;SELECT&#039;    =&gt; &#039;c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster, t.subject&#039;,
    &#039;FROM&#039;        =&gt; &#039;categories AS c&#039;,
    &#039;JOINS&#039;        =&gt; array(
        array(
            &#039;INNER JOIN&#039;    =&gt; &#039;forums AS f&#039;,
            &#039;ON&#039;            =&gt; &#039;c.id=f.cat_id&#039;
        ),
        array(
            &#039;LEFT JOIN&#039;     =&gt; &#039;topics AS t&#039;,
            &#039;ON&#039;            =&gt; &#039;t.last_post_id=f.last_post_id&#039;
        ),
        array(
            &#039;LEFT JOIN&#039;     =&gt; &#039;forum_perms AS fp&#039;,
            &#039;ON&#039;            =&gt; &#039;(fp.forum_id=f.id AND fp.group_id=&#039;.$forum_user[&#039;g_id&#039;].&#039;)&#039;
        )
    ),
    &#039;WHERE&#039;        =&gt; &#039;fp.read_forum IS NULL OR fp.read_forum=1&#039;,
    &#039;ORDER BY&#039;    =&gt; &#039;c.disp_position, c.id, f.disp_position&#039;
);</code></pre></div><p>هه‌ر له‌هه‌مان په‌ڕگه‌ له‌ دێڕی 205 بگه‌ڕێ بۆ ئه‌مه‌،<br /></p><div class="codebox"><pre><code data-language=php>            $forum_page[&#039;item_body&#039;][&#039;info&#039;][&#039;lastpost&#039;] = &#039;&lt;li class=&quot;info-lastpost&quot;&gt;&lt;span class=&quot;label&quot;&gt;&#039;.$lang_index[&#039;Last post&#039;].&#039;&lt;/span&gt; &lt;strong&gt;&lt;a href=&quot;&#039;.forum_link($forum_url[&#039;post&#039;], $cur_forum[&#039;last_post_id&#039;]).&#039;&quot;&gt;&#039;.format_time($cur_forum[&#039;last_post&#039;]).&#039;&lt;/a&gt;&lt;/strong&gt; &lt;cite&gt;&#039;.sprintf($lang_index[&#039;Last poster&#039;], forum_htmlencode($cur_forum[&#039;last_poster&#039;])).&#039;&lt;/cite&gt;&lt;/li&gt;&#039;;</code></pre></div><p>بیگۆڕه‌ بۆ ئه‌مه‌،<br /></p><div class="codebox"><pre><code data-language=php>$forum_page[&#039;item_body&#039;][&#039;info&#039;][&#039;lastpost&#039;] = &#039;&lt;li class=&quot;info-lastpost&quot;&gt;&lt;span class=&quot;label&quot;&gt;&#039;.$lang_index[&#039;Last post&#039;].&#039;&lt;/span&gt; &lt;strong&gt;&lt;a href=&quot;&#039;.forum_link($forum_url[&#039;post&#039;], $cur_forum[&#039;last_post_id&#039;]).&#039;&quot;&gt;&#039;.limit_characters(forum_htmlencode($cur_forum[&#039;subject&#039;])).&#039;&lt;/a&gt;&lt;/strong&gt; &lt;cite&gt;&#039;.sprintf($lang_index[&#039;Last poster&#039;], forum_htmlencode($cur_forum[&#039;last_poster&#039;])).&#039;&lt;/cite&gt;&lt;strong&gt;&#039;.format_time($cur_forum[&#039;last_post&#039;]).&#039;&lt;/strong&gt;&lt;/li&gt;&#039;;</code></pre></div><p>پاشان ئه‌م په‌ڕگه‌یه‌ پاشه‌که‌وت بکه‌ و باری بکه‌وه‌.<br />پاشان ئه‌م په‌ڕگه‌یه‌ بکه‌وه‌ include/Functions.php<br />له‌ دێڕی 111 بگه‌رێ بۆ ئه‌م کۆده‌،<br /></p><div class="codebox"><pre><code data-language=php>//
// Common helpers and forum&#039;s wrappers for PHP functions
//</code></pre></div><p>ئه‌مه‌ی له‌دوا زیاد بکه‌،<br /></p><div class="codebox"><pre><code data-language=php>function limit_characters ($str)
{
        if ( strlen ( $str ) &lt;= 30 )
        {
            return $str;
        }
        else {
            return substr ( $str, 0, 30 ) . &#039;...&#039;;
        }
}</code></pre></div><p>پاشان په‌ڕگه‌ی Functions.php پاشاکه‌وت بکه‌ و باری بکه‌وه‌.</p><p>سه‌رکه‌وتوبن.</p>]]></description>
			<author><![CDATA[null@example.com (گه‌یلان)]]></author>
			<pubDate>Tue, 03 Aug 2010 23:19:37 +0000</pubDate>
			<guid>https://www.webchin.org/Meko/viewtopic.php?pid=146315#p146315</guid>
		</item>
	</channel>
</rss>
