المشاركات 11,551 |
+التقييم 321 |
تاريخ التسجيل Jul 2015 |
الاقامة فى الدنيا |
نظام التشغيل windows 8 |
رقم العضوية 18 |
<xf:if is="$xf.visitor.is_admin"> Show content... </xf:if>
<xf:if is="$xf.visitor.is_moderator"> Show content... </xf:if>
<xf:if is="$xf.visitor.is_admin OR $xf.visitor.is_moderator"> Show content... </xf:if>
<xf:if is="$xf.visitor.user_id"> Show content... </xf:if>
<xf:if is="!$xf.visitor.user_id"> Show content... </xf:if>
<xf:if is="$user.is_banned"> Show content... </xf:if>
<xf:if is="$user.like_count|number > x"> Show content... </xf:if>
<xf:if is="$user.message_count|number > x"> Show content... </xf:if>
<xf:if is="$user.trophy_points|number > x"> Show content... </xf:if>
<xf:if is="$xf.visitor.user_id == x"> Show content... </xf:if>
<xf:if is="in_array($xf.visitor.user_id, [x, x, x, x])"> Show content... </xf:if>
<xf:if is="{{$xf.visitor.isMemberOf(x)}}"> Show content... </xf:if>
<xf:if is="{{!$xf.visitor.isMemberOf(x)}}"> Hide content... </xf:if>
<xf:if is="$post.position % $xf.options.messagesPerPage == 0"> Show content... </xf:if>
<xf:if is="$post.position % $xf.options.messagesPerPage == x"> Show content... </xf:if>
<xf:if is="$sidebar"> Show content... </xf:if>
<xf:if is="$template != 'forum_list'"> Show content... </xf:if>
<xf:if is="$template !== 'forum_list'"> Hide content... </xf:if>
<xf:if is="$template == 'forum_post_thread'"> Show content... </xf:if
<xf:if is="$template != 'forum_post_thread'"> Hide content.. </xf:if>
<xf:if is="$template == 'xfrm_category_add_resource'"> Show content.. </xf:if>
<xf:if is="$template != 'xfrm_category_add_resource'"> Hide content.. </xf:if>
<xf:if is="$template == 'search_form'"> Show content.. </xf:if>
<xf:if is="$template != 'search_form'"> Hide content.. </xf:if>
<xf:if is="$template == 'whats_new'"> Show content.. </xf:if>
<xf:if is="$template != 'whats_new'"> Hide content.. </xf:if>
<xf:if is="$template == 'conversation_view'"> Show content.. </xf:if>
<xf:if is="$template != 'conversation_view'"> Hide content.. </xf:if>
<xf:if is="$template == 'conversation_list'"> Show content.. </xf:if>
<xf:if is="$template != 'conversation_list'"> Hide content.. </xf:if>
<xf:if is="$template == 'xfrm_overview'"> Show content.. </xf:if>
<xf:if is="$template != 'xfrm_overview'"> Hide content.. </xf:if>
<xf:if is="$template == 'xfrm_resource_view'"> Show content.. </xf:if>
<xf:if is="$template != 'xfrm_resource_view'"> Hide content.. </xf:if>
<xf:if is="$template == 'thread_view'"> Show content.. </xf:if>
<xf:if is="$template !='thread_view'"> Hide content.. </xf:if>
<xf:if is="$template =='forum_view'"> Show content.. </xf:if>
xf:if is="$template != 'forum_view'"> Hide content.. </xf:if>
<xf:if is="{$xf.visitor.Option.is_discouraged}"> Show content... </xf:if>
<xf:if is="{$xf.visitor.gravatar}"> Show content... </xf:if>
<xf:if is="{$xf.visitor.is_staff}"> Show content... </xf:if>
<xf:if is="{$xf.visitor.isAwaitingEmailConfirmation()}"> Show content... </xf:if>
<xf:if is="in_array({$forum.node_id}, [X,Y,Z])"> Show content.. </xf:if>
<xf:if is="!in_array({$forum.node_id}, [X,Y,Z])"> Hide content.. </xf:if>
<xf:if is="{$forum.node_id} == 3"> Show content.. </xf:if>
<xf:if is="{$forum.node_id} != 3"> Hide content.. </xf:if>
<xf:if is="{$post.position} % {$xf.options.messagesPerPage} == 1"> Show content.. </xf:if>
<xf:if is="{$post.position} % {$xf.options.messagesPerPage} == 0"> Show content.. </xf:if>
<xf:if is="{$xf.visitor.location}"> Show content... </xf:if>
<xf:if is="{$xf.visitor.website}"> Show content... </xf:if>
<xf:if is="{$xf.visitor.signature}"> Show content... </xf:if>
<xf:if is="{$xf.visitor.user_state} == 'valid'"> Show content... </xf:if>
<xf:if is="{$xf.visitor.user_state} == 'email_confirm_edit'"> Show content... </xf:if>
<xf:if is="{$xf.visitor.user_state} == 'email_bounce'"> Show content... </xf:if>
اضافة رد
|
شرح اوامر الدالة if الشرطية للزين فورو 2.0
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
خطأ PHP: الدالة function تم تعطيلها | كلمة حق | ركن مشاكل وطلبات المنتديات | 1 | 05-15-2022 09:04 PM |
زين فورو ماهو | الدعم الفنى للزين فورو | نسخ | اصدارات | طرق الشراء | هيلبرنت | ركن شروحات الزين فورو XENFORO | 21 | 02-13-2021 03:27 PM |
[XF 1.x Style] : استايل Social 1.5.0 للزين فورو | هيلبرنت | استايلات الزين فورو XENFORO | 5 | 03-17-2020 08:08 AM |
[ شرح ] : درس استخدام الجمل الشرطية IF للزين فورو XenForo | هيلبرنت | ركن شروحات الزين فورو XENFORO | 3 | 07-26-2018 10:31 PM |
[XF 1.x Add] : هاك التصويت للزين فورو - xenforo | هيلبرنت | اضافات الزين فورو XENFORO | 3 | 07-21-2017 04:07 PM |