الدعم العربي لمنتديات phpBB
http://www.phpbbarabia.com/community/
كود: تحديد الكل
$user->setup(array('memberlist', 'groups'));
كود: تحديد الكل
, 'groups'
كود: تحديد الكل
, 'mods/points'
كود: تحديد الكل
'U_REMOVE_FOE' => ($foe) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=zebra&remove=1&mode=foes&usernames[]=' . $user_id) : '',
كود: تحديد الكل
'POINTS_NAME' => $config['points_name'],
'POINTS' => $member['user_points'],
'POINTS_ENABLE' => $config['points_enable'],
كود: تحديد الكل
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/message_parser.' . $phpEx);
كود: تحديد الكل
include($phpbb_root_path . 'includes/mods/functions_points.' . $phpEx);
كود: تحديد الكل
meta_refresh(3, $redirect_url);
$message = ($mode == 'edit') ? 'POST_EDITED' : 'POST_STORED';
كود: تحديد الكل
//Simple Points System
$user->add_lang('mods/points');
if($user->data['is_registered'] && (in_array($mode, array('reply', 'post', 'quote'))) && $auth->acl_get('f_points', $data['forum_id']))
{
$amount = (($mode == 'reply') || ($mode == "quote")) ? $config['points_post'] : $config['points_topic'];
add_points($user->data['user_id'], $amount);
}
$points_message = ($config['points_enable'] && (in_array($mode, array('reply', 'post', 'quote'))) && $auth->acl_get('f_points', $data['forum_id'])) ? '<br /><br />' . sprintf($user->lang['POINTS_EARNED'], $amount, $config['points_name']) . '<br /><br />' : '';
كود: تحديد الكل
$message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>');s
كود: تحديد الكل
$user->lang[$message] .
كود: تحديد الكل
$points_message .
كود: تحديد الكل
// Start session management
$user->session_begin();
$auth->acl($user->data);
كود: تحديد الكل
$user->add_lang('mods/points');
كود: تحديد الكل
'allow_pm' => 0,
كود: تحديد الكل
'points' => '',
كود: تحديد الكل
'search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", 'search_author=' . urlencode($row['username']) .'&showresults=posts') : '',
كود: تحديد الكل
'points' => $row['user_points'],
كود: تحديد الكل
'L_IGNORE_POST' => ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&p={$row['post_id']}&view=show#p{$row['post_id']}" . '">', '</a>') : '',
كود: تحديد الكل
'POINTS_NAME' => $config['points_name'],
'POINTS' => $user_cache[$poster_id]['points'],
'POINTS_ENABLE' => $config['points_enable'],
كود: تحديد الكل
<dl>
<dt><label for="interests">{L_INTERESTS}:</label></dt>
<dd><textarea id="interests" name="interests" rows="3" cols="30">{INTERESTS}</textarea></dd>
</dl>
كود: تحديد الكل
<dl>
<dt><label for="points">{L_POINTS}:</label></dt>
<dd><input id="points" type="text" name="points" value="{POINTS}" /></dd>
</dl>
كود: تحديد الكل
$user->add_lang('acp/board');
كود: تحديد الكل
$user->add_lang('mods/points');
كود: تحديد الكل
'max_post_img_height' => array('lang' => 'MAX_POST_IMG_HEIGHT', 'validate' => 'int:0', 'type' => 'text:5:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),
كود: تحديد الكل
'legend3' => 'GENERAL_POINTS',
'points_enable' => array('lang' => 'ENABLE_POINTS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
'points_topic' => array('lang' => 'POINTS_PER_TOPIC', 'validate' => 'int', 'type' => 'text:5:4', 'explain' => false),
'points_post' => array('lang' => 'POINTS_PER_POST', 'validate' => 'int', 'type' => 'text:5:4', 'explain' => false),
'points_name' => array('lang' => 'POINTS_NAME', 'validate' => 'string', 'type' => 'text:25:100', 'explain' => false),
كود: تحديد الكل
'interests' => utf8_normalize_nfc(request_var('interests', $user_row['user_interests'], true)),
كود: تحديد الكل
'points' => request_var('points', $user_row['user_points']),
كود: تحديد الكل
'interests' => array('string', true, 2, 500),
كود: تحديد الكل
'points' => array('num', true, 1),
كود: تحديد الكل
$sql_ary = array(
'user_icq' => $data['icq'],
'user_aim' => $data['aim'],
'user_msnm' => $data['msn'],
'user_yim' => $data['yim'],
'user_jabber' => $data['jabber'],
'user_website' => $data['website'],
'user_from' => $data['location'],
'user_occ' => $data['occupation'],
'user_interests'=> $data['interests'],
كود: تحديد الكل
'user_points' => $data['points'],
كود: تحديد الكل
'OCCUPATION' => $data['occupation'],
'INTERESTS' => $data['interests'],
كود: تحديد الكل
'POINTS' => $data['points'],
'L_POINTS' => $config['points_name'],
كود: تحديد الكل
$user->add_lang('acp/permissions');
كود: تحديد الكل
$user->add_lang('mods/points');
كود: تحديد الكل
$user->add_lang('acp/permissions');
كود: تحديد الكل
$user->add_lang('mods/points');
كود: تحديد الكل
<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
كود: تحديد الكل
<!-- IF postrow.POINTS_ENABLE --><dd><strong>{postrow.POINTS_NAME}:</strong> {postrow.POINTS}</dd><!-- ENDIF -->
كود: تحديد الكل
<!-- IF INTERESTS --><dt>{L_INTERESTS}:</dt> <dd>{INTERESTS}</dd><!-- ENDIF -->
كود: تحديد الكل
<!-- IF POINTS_ENABLE --><dt>{POINTS_NAME}:</dt> <dd>{POINTS}</dd><!-- ENDIF -->
كود: تحديد الكل
<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
كود: تحديد الكل
<!-- IF postrow.POINTS_ENABLE --><br /><b>{postrow.POINTS_NAME}:</b> {postrow.POINTS}<!-- ENDIF -->
كود: تحديد الكل
<tr>
<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_INTERESTS}: </td>
<td><!-- IF INTERESTS --><b class="genmed">{INTERESTS}</b><!-- ENDIF --></td>
</tr>
كود: تحديد الكل
<!-- IF POINTS_ENABLE -->
<tr>
<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{POINTS_NAME}: </td>
<td><b>{POINTS}</b></td>
</tr>
<!-- ENDIF -->
كود: تحديد الكل
'U_FAQ' => append_sid("{$phpbb_root_path}faq.$phpEx"),
كود: تحديد الكل
'U_SHOP' => append_sid("{$phpbb_root_path}shop.$phpEx"),
كود: تحديد الكل
'S_BOARD_DISABLED' => ($config['board_disable']) ? true : false,
كود: تحديد الكل
'S_SHOP_LINK' => ($config['shop_open'] || $config['shoplink_show']) ? true : false,
كود: تحديد الكل
define('SESSIONS_KEYS_TABLE', $table_prefix . 'sessions_keys');
كود: تحديد الكل
define('SHOP_ITEMS_TABLE', $table_prefix . 'items');
define('SHOP_ITEMS_USER_TABLE', $table_prefix . 'items_user');
كود: تحديد الكل
'SETTINGS' => '?????????',
كود: تحديد الكل
'??????' => 'SHOP',
'SHOP_ITEM_SHELF' => '?? ???????',
كود: تحديد الكل
'ACP_SERVER_SETTINGS' => '??????? ??????',
كود: تحديد الكل
'ACP_PHANTOMS_MODS' => '??????? ???????? ??????',
'ACP_SHOP_CONFIG' => '??????? ??????',
'??????? ???????' => 'Shop Item Management' ,
'ACP_SHOP_MOD' => '??? ??????',
كود: تحديد الكل
'settings' => '?????????',
كود: تحديد الكل
'shop_mod' => '??? ??????',
كود: تحديد الكل
'acl_a_search' => array('lang' => 'Can manage search backends and settings', 'cat' => 'misc'),
كود: تحديد الكل
'acl_a_shop_mod' => array('lang' => 'Can alter shop mod settings', 'cat' => 'shop_mod'),
كود: تحديد الكل
'UCP_PROFILE_SIGNATURE' => '????? ???????',
كود: تحديد الكل
'UCP_SHOP' => '??????',
'UCP_SHOP_INVENTORY' => '???? ??????',
كود: تحديد الكل
if (!$first_unread && $post_unread)
{
$s_first_unread = $first_unread = true;
}
كود: تحديد الكل
//get shelf information for the shop mod
if ($config['shop_shelf_size_sig'] != 0)
{
require_once($phpbb_root_path . 'includes/functions_shop.' . $phpEx);
$shop = new shop;
$items = $shop->get_item_list_user(null, 'shelf_display = true');
$sig_shelf = $items?true:false;
}
else
{
$sig_shelf = false;
}
كود: تحديد الكل
'L_IGNORE_POST' => ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&p={$row['post_id']}&view=show#p{$row['post_id']}" . '">', '</a>') : '',
كود: تحديد الكل
'S_SIG_SHELF' => $sig_shelf,
كود: تحديد الكل
$template->assign_block_vars('postrow', $postrow);
كود: تحديد الكل
//SHOP MOD
if ($sig_shelf)
{
$j = 0;
foreach ($items as $item)
{
$j++;
//although the ACP and UCP should prevent the database from having more items on the shelf than the config value permits, we check for it here just in case
if ($j > $config['shop_shelf_size_sig'])
{
break;
}
$template->assign_block_vars('postrow.shelf_items_sig', array(
'ICON' => $item->data['icon'],
'ICON_WIDTH' => $item->data['icon_width'],
'ICON_HEIGHT' => $item->data['icon_height'],
));
}
}
كود: تحديد الكل
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
كود: تحديد الكل
<li class="icon-shop"><a href="{U_SHOP}">{L_SHOP}</a></li>
كود: تحديد الكل
<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
كود: تحديد الكل
<!-- IF postrow.S_SIG_SHELF --><div class="signature"><strong>{L_SHOP_ITEM_SHELF}</strong><br />
<!-- BEGIN shelf_items_sig -->
<img src="{T_ICONS_PATH}shop_icons/{shelf_items_sig.ICON}" height="{shelf_items_sig.ICON_HEIGHT}" width="{shelf_items_sig.ICON_WIDTH}" />
<!-- END shelf_items_sig -->
</div><!-- ENDIF -->
كود: تحديد الكل
.icon-faq { background-image: url("{T_THEME_PATH}/images/icon_faq.gif"); }
كود: تحديد الكل
.icon-shop { background-image: url("{T_THEME_PATH}/images/icon_shop.gif"); }
كود: تحديد الكل
.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
كود: تحديد الكل
.icon-faq,
كود: تحديد الكل
.icon-shop,
كود: تحديد الكل
.rtl .sitehome, .rtl .icon-faq, .rtl .icon-members, .rtl .icon-home, .rtl .icon-ucp, .rtl .icon-register, .rtl .icon-logout,
كود: تحديد الكل
.rtl .icon-faq,
كود: تحديد الكل
.rtl .icon-shop,
كود: تحديد الكل
<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
كود: تحديد الكل
<a href="{U_SHOP}"><img src="{T_THEME_PATH}/images/icon_mini_shop.gif" width="12" height="13" alt="*" /> {L_SHOP}</a>
كود: تحديد الكل
<!-- IF postrow.SIGNATURE -->
<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
<!-- ENDIF -->
كود: تحديد الكل
<!-- IF postrow.S_SIG_SHELF --><div class="signature"><strong>{L_SHOP_ITEM_SHELF}</strong><br />
<!-- BEGIN shelf_items_sig -->
<img src="{T_ICONS_PATH}shop_icons/{shelf_items_sig.ICON}" height="{shelf_items_sig.ICON_HEIGHT}" width="{shelf_items_sig.ICON_WIDTH}" />
<!-- END shelf_items_sig -->
</div><!-- ENDIF -->
?????? ?????..
?????? ??? ????? ?? ???? ??? phpbb
????? ?? ?????? ??????? ??? ???? ?? ????? ??????.. ????? ???? ?? phpbbarabia ??? ?? ???? ?? ??????.. ??? ???? ???? ??? ????? ????? ?? ????? ??????(??? ?? ??????? ??? ???? ????????? ???).. ?? ???? ??? ???? 100%
?? ????? ?????? ????? ??????.. ??? ????? ??????:
?? ??? ?????? ??? ????? ?????..
???? ????? ?????? ?? ????? ???????? ???????..
?????? ????? ??? ??? ???? ????? ???? ?????
???? ????? ????? ??? ????? ????? ?? ???????..
??????? ??? ????? ??? ????????? (??? ?? ????)
??????? ??? ????? ??? ?????? ?? ????? ??? ???? ????? ?????
?? ?????? ????.. ???? ?????? ????? ??????? ???? ??? ????? ?? ??????? ?????? ??? ?? ?????.. ????? ??? ????? ??? ?????? ?? ???????? ???????
?? ?? ??? ???? ??? ?? ??? ?? ?? ?????? ??? ??????? ?????? ??? ?????????? ??????? ?????
?? ?????
???? ?? ???? ???? ?????