[2.0.22] هاك ألوان المجموعات
المشرف: alhitary
???? ?? ???? ????? ????? ?? index.body
??? ?? ???? ???? ?? :
???? ???? :
?? ???? ???? index.body ??? ???? ???
كود: تحديد الكل
{LOGGED_IN_USER_LIST}
كود: تحديد الكل
[ {L_WHOSONLINE_MOD} ]<br/>
كود: تحديد الكل
{LOGGED_IN_USER_LIST}
Skay
البحث في مواضيع المنتدى خير وسيلة للمحافظة علي وقتكـ
ضع رابط منتداكــ في توقيعك أو ملفكـ الشخصي لتحصل علي الدعم الفني


- صمت الحروف
- عضو متميز
- مشاركات: 341
- اشترك في: الأربعاء أغسطس 11, 2004 11:18 pm
- مكان: على الماسنجر
- اتصال:
????? ?? ??? ???????? ??????
??? ?????:
??? ?????:
كود: تحديد الكل
{EHDAA}
{LAST_TOPICS_MARQUEE}
<br>
<table border="0" cellpadding="2" cellspacing="1" width="100%" class="forumline" height="60" >
<tr>
<form method="post" action="{S_LOGIN_ACTION}">
<td class="row1" width="73%" ><span class="genmed">
<img border="0" src="templates/khgl/images/images_az/navbits_start.gif"><span class="nav"> {L_INDEX}</span></td>
<!-- BEGIN switch_user_logged_out -->
<td class="row1">
<span class="gensmall">
{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
<!-- BEGIN switch_allow_autologin -->
<input class="text" type="checkbox" name="autologin" value="ON" />???????
<!-- END switch_allow_autologin -->
<br> {L_PASSWORD}:
<input class="post" type="password" name="password" size="10" maxlength="32" />
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span> </td>
</form>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<td class="row1" align="center"><span class="gensmall">
<b>????? ? ??????</b>
<br><a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br>{LAST_VISIT_DATE}<br><a href="{U_PRIVATEMSGS}" class="nav" >{PRIVATE_MESSAGE_INFO}</a>
</span></td>
<!-- END switch_user_logged_in -->
</tr>
</table>
<br>
<!-- BEGIN switch_user_logged_out -->
</p>
<table border="0" cellpadding="2" cellspacing="1" width="100%" class="forumline" >
<tr>
<th class="thCornerL" height="20" >
<p align="right">????? ? ?? ?? {L_INDEX}</th>
</tr>
<tr>
<td class="row1" ><span class="genmed">
??? ???? ??? ??????? ?????? ?? ? ???? ?? ??????
<a href="{U_FAQ}" class="nav" >??????? ???????</a> ?????? ??? ?????? ???? ??? ????
<a href="{U_REGISTER}" class="nav" >???????</a> ??? ????? ????????? ?? ????? ????????? . ??? ???? ?????? ??? ???? ??????? ? ??????? ?????? ??? ????????? ???????? ??????? ??????? . ?? ???????? ?????? ????? ???? ???? ????.
</spen></td>
</tr>
</table>
<br>
<!-- END switch_user_logged_out -->
<!-- BEGIN show_news -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th class="thCornerL" height="25" nowrap="nowrap"> {L_NEWS} </th>
</tr>
<tr>
<td class="row1" width="100%"><span class="gen"><p align="center">{NEWS_BLOCK}</p></span></td>
</tr>
</table><br />
<!-- END show_news -->
<!-- Welcome Panel STARTS -->
<table width="100%" cellpadding="3" cellspacing="1" class="forumline">
<tr>
<th colspan="3" class="thCornerL" height="25" nowrap="nowrap" align="left">????? ??? ?? ???? ??????? ???????</th>
</tr>
<!-- BEGIN switch_user_logged_in -->
<tr>
<td class="row1" align="left" valign="top" width="45%"><span class="gensmall">{WELCOME_USER}<br />{CURRENT_TIME} | {S_TIMEZONE}<br />
{LAST_VISIT_DATE}<br />
{WELCOME_NEWS}<br />
<a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a>
</span></td>
<td class="row1" align="center" valign="top" width="10%">{AVATAR_IMG}
</td>
<td class="row1" align="right" valign="top" width="45%"><span class="gensmall">{TOTAL_POSTS}<br />{WELCOME_MEMBERS}<br />
{WELCOME_ONLINE}<br /><br />
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> | <a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><br />
</span></td>
</tr>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<tr>
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" maxlength="32" />
{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" />
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /></span> </td>
</tr>
</form>
<!-- END switch_user_logged_out -->
</table>
<!-- Welcome panel ENDS -->
<br />
<!-- BEGIN catrow -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catright" colspan="5" height="20">
<p align="center"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
</tr>
<tr>
<th colspan="2" class="thCornerL" height="20"> {L_FORUM} </th>
<th class="thCornerR" height="20"> {L_LASTPOST} </th>
<th class="thTop" height="20"> {L_TOPICS} </th>
<th class="thTop" height="20"> {L_POSTS} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50">
<img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="56%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a></span>
<br><table border="0" cellpadding="3" cellspacing="0" width="100%" class="forumline" >
<tr>
<td class="row2" >
<p><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></td>
</tr>
</table>
</td>
<td class="row2" align="center" height="50" width="30%"> <span class="gensmall">
{catrow.forumrow.LAST_POST}</span></td>
<td class="row1" align="center" height="50" width="7%"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" height="50" width="7%"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
</tr>
<!-- END forumrow -->
</table>
<br>
<!-- END catrow -->
<!-- BEGIN switch_user_logged_in -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
<tr>
<td align="left" >
<span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
</td>
</tr>
</table>
<!-- END switch_user_logged_in -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" colspan="2" height="28">
<p align="right"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
</tr>
<tr>
<td class="row2" colspan="2" height="28">
<p align="right"><span class="nav">{RECORD_USERS}</span></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle"><img src="templates/khgl/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="right" width="100%">
<p align="right"><span class="gensmall">{LOGGED_IN_USER_LIST}, {TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]</span></td>
</tr>
<tr>
<td class="row2" colspan="2" height="28">
<p align="right"><span class="nav"> ???????? {L_INDEX}</span> </td>
</tr>
<tr>
<td class="row1" align="center" valign="middle">
<img src="templates/khgl/images/stats.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="right"><span class="gensmall">[ {TOTAL_POSTS} ],[ {TOTAL_USERS} ],[ {NEWEST_USER} ]</span>
<span class="gensmall"><br />{USERS_OF_THE_DAY_LIST}</span></td>
</span></td>
</tr>
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr>
<td align="right" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
<td align="right" valign="top">
<p align="left"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
<br />
<table cellspacing="3" border="0" align="center" cellpadding="0">
<tr>
<td width="20" align="center"><img src="templates/khgl/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="templates/khgl/images/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="templates/khgl/images/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
<br>
<TABLE cellSpacing="1" cellPadding="3" width="100%" align="center" border="0" class="forumline">
<tr>
<th colspan="2">???? 5 ???? </th>
<th colspan="2">??? 5 ??????</th>
<th colspan="2">??? 5 ??????</th>
</tr>
<tr>
<td align="center" width="16%" class="row3"><span class="gen">???????</span></td>
<td align="center" width="16%" class="row3"><span class="gen">?????????</span></td>
<td align="center" width="16%" class="row3"><span class="gen">????????</span></td>
<td align="center" width="16%" class="row3"><span class="gen">?????????</span></td>
<td align="center" width="16%" class="row3"><span class="gen">????????</span></td>
<td align="center" width="16%" class="row3"><span class="gen">?????????</span></td>
</tr>
<!-- BEGIN mini -->
<tr>
<td align="center" class="{mini.ROW}"><span class="gen"><a href="{mini.POSTER}">{mini.POSTERA}</a></span></td>
<td align="center" class="{mini.ROW}"><span class="gen">{mini.NBPOSTS}</span></td>
<td align="center" class="{mini.ROW}"><span class="gen"><a href="{mini.NEWMB}">{mini.NBNAME}</a></span></td>
<td align="center" class="{mini.ROW}"><span class="gen">{mini.POST}</span></td>
<td align="center" class="{mini.ROW}"><span class="gen"><a href="{mini.TOPIC}">{mini.NOM}</a></span></td>
<td align="center" class="{mini.ROW}"><span class="gen">{mini.ID}</span></td>
</tr>
<!-- END mini -->
<!-- BEGIN pop -->
<!-- END pop -->
</table>
<br>
احذر احد اكبر النصابين في العالم علاء مفيد الشربجي والموجود لدينا في هذا المنتدى بإسمين
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
??? ??? ?????
???? ?? :
??? ????
???? ?? :
كود: تحديد الكل
[ {L_WHOSONLINE_MOD} ]
كود: تحديد الكل
<br/>{LOGGED_IN_USER_LIST}
Skay
البحث في مواضيع المنتدى خير وسيلة للمحافظة علي وقتكـ
ضع رابط منتداكــ في توقيعك أو ملفكـ الشخصي لتحصل علي الدعم الفني


- صمت الحروف
- عضو متميز
- مشاركات: 341
- اشترك في: الأربعاء أغسطس 11, 2004 11:18 pm
- مكان: على الماسنجر
- اتصال:
??? ????
??????? ?????? ???? ??? ??? ?? ???? ??? ?????? ??????
??? ??????
??????? ?????? ???? ??? ??? ?? ???? ??? ?????? ??????
??? ??????
احذر احد اكبر النصابين في العالم علاء مفيد الشربجي والموجود لدينا في هذا المنتدى بإسمين
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
?? ????? ?????? ?????????? ??? ????? ??????? , ?????? ?????? ??????? , ????? ??? ?????? ????? ????? ??? ?? index.body , ????? ??? ?? ??? includes/page_header.php ???? ????? ?????? ??????? ?????? كتب:??? ????
??????? ?????? ???? ??? ??? ?? ???? ??? ?????? ??????
??? ??????
Skay
البحث في مواضيع المنتدى خير وسيلة للمحافظة علي وقتكـ
ضع رابط منتداكــ في توقيعك أو ملفكـ الشخصي لتحصل علي الدعم الفني


- صمت الحروف
- عضو متميز
- مشاركات: 341
- اشترك في: الأربعاء أغسطس 11, 2004 11:18 pm
- مكان: على الماسنجر
- اتصال:
??? ??? /page_header.php ???? ????? ????? ???? ????
?????? ????
?????? ????
كود: تحديد الكل
<?php
/***************************************************************************
* page_header.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: page_header.php,v 1.106.2.24 2005/03/26 14:15:59 acydburn Exp $
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
define('HEADER_INC', TRUE);
//
// Welcome panel - START
// Code by hmvdesign.com // High Velocity Media // Anthony Coy
//
$header_username = $userdata['username'];
$avatar_img2 = '';
if ( $userdata['session_logged_out'] )
{
$avatar_img2 = '<img src="images/guest.gif" alt="" border="0" />';
}
if ( $userdata['user_avatar_type'] && $userdata['user_allowavatar'] )
{
switch( $userdata['user_avatar_type'] )
{
case USER_AVATAR_UPLOAD:
$avatar_img2 = ( $board_config['allow_avatar_upload'] ) ? '<img src="' . $board_config['avatar_path'] . '/' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
break;
case USER_AVATAR_REMOTE:
$avatar_img2 = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
break;
case USER_AVATAR_GALLERY:
$avatar_img2 = ( $board_config['allow_avatar_local'] ) ? '<img src="' . $board_config['avatar_gallery_path'] . '/' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
break;
}
}
//
// Welcome Panel - END
//
//
// gzip_compression
//
$do_gzip_compress = FALSE;
if($board_config['gzip_compress'])
{
$phpver = phpversion();
if($phpver >= "4.0.4pl1")
{
if(extension_loaded("zlib"))
{
if (headers_sent() != TRUE)
{
$gz_possible = isset($HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]) && eregi("gzip, deflate",$HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]);
if ($gz_possible) ob_start("ob_gzhandler");
}
}
}
else if($phpver > "4.0")
{
if(strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip'))
{
if(extension_loaded("zlib"))
{
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);
header("Content-Encoding: gzip");
}
}
}
}
//
// Parse and show the overall header.
//
$template->set_filenames(array(
'overall_header' => ( empty($gen_simple_header) ) ? 'overall_header.tpl' : 'simple_header.tpl')
);
//
// Generate logged in/logged out status
//
if ( $userdata['session_logged_in'] )
{
$u_login_logout = 'login.'.$phpEx.'?logout=true&sid=' . $userdata['session_id'];
$l_login_logout = $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]';
}
else
{
$u_login_logout = 'login.'.$phpEx;
$l_login_logout = $lang['Login'];
}
$s_last_visit = ( $userdata['session_logged_in'] ) ? create_date($board_config['default_dateformat'], $userdata['user_lastvisit'], $board_config['board_timezone']) : '';
//
// Get basic (usernames + totals) online
// situation
//
$logged_visible_online = 0;
$logged_hidden_online = 0;
$guests_online = 0;
$online_userlist='<table width="100%"><tr><th>??????? ?????????? ?????</th></tr></table><table border="1" cellspacing="5" cellpadding="0" bordercolor="#F9DCBB" ><tr>';
$l_online_users = '';
if (defined('SHOW_ONLINE'))
{
$user_forum_sql = ( !empty($forum_id) ) ? "AND s.session_page = " . intval($forum_id) : '';
$sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
WHERE u.user_id = s.session_user_id
AND s.session_time >= ".( time() - 300 ) . "
$user_forum_sql
ORDER BY u.username ASC, s.session_ip ASC";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql);
}
$userlist_ary = array();
$userlist_visible = array();
$prev_user_id = 0;
$prev_user_ip = $prev_session_ip = '';
$wtab1=0;
while( $row = $db->sql_fetchrow($result) )
{
// User is logged in and therefor not a guest
if ( $row['session_logged_in'] )
{
// Skip multiple sessions for one user
if ( $row['user_id'] != $prev_user_id )
{
$style_color = '';
if ( $row['user_level'] == ADMIN )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor3'] . '"';
$border_color= 'style="border-color:#' . $theme['fontcolor3'] .';border-style:solid"';
$border_color= 'style="border-color:#' . $theme['fontcolor3'] .
';border-style:solid"';
}
else if ( $row['user_level'] == MOD )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor2'] .
'"';
$border_color='style="border-color:#' . $theme['fontcolor2'] .
';border-style:solid"';
}
else
{
$style_color = '';
if ( $row['user_level'] == ADMIN )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor3'] . '"';
}
else if ( $row['user_level'] == MOD )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor2'] . '"';
}
if ( $row['user_allow_viewonline'] )
{
$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
$logged_visible_online++;
}
else
{
$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
$logged_hidden_online++;
}}
if ( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
{
$online_userlist .= ( $online_userlist != '' ) ? '<td width="10%" align="center" '.$border_color.'><span class="gensmall"> ' . $user_online_link : $user_online_link.'</span></td>';
$wtab1++;
if($wtab1==6)
{
$online_userlist=$online_userlist.'</tr><tr>';
$wtab1=0;
}
}
}
$prev_user_id = $row['user_id'];
}
else
{
// Skip multiple sessions for one user
if ( $row['session_ip'] != $prev_session_ip )
{
$guests_online++;
}
}
$prev_session_ip = $row['session_ip'];
}
$online_userlist = $online_userlist .'</tr></table>';
$db->sql_freeresult($result);
if ( empty($online_userlist) )
{
$online_userlist = $lang['None'];
}
$online_userlist = ( ( isset($forum_id) ) ? $lang['Browsing_forum'] : $lang['Registered_users'] ) . ' ' . $online_userlist;
$total_online_users = $logged_visible_online + $logged_hidden_online + $guests_online;
if ( $total_online_users > $board_config['record_online_users'])
{
$board_config['record_online_users'] = $total_online_users;
$board_config['record_online_date'] = time();
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '$total_online_users'
WHERE config_name = 'record_online_users'";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update online user record (nr of users)', '', __LINE__, __FILE__, $sql);
}
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '" . $board_config['record_online_date'] . "'
WHERE config_name = 'record_online_date'";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update online user record (date)', '', __LINE__, __FILE__, $sql);
}
}
if ( $total_online_users == 0 )
{
$l_t_user_s = $lang['Online_users_zero_total'];
}
else if ( $total_online_users == 1 )
{
$l_t_user_s = $lang['Online_user_total'];
}
else
{
$l_t_user_s = $lang['Online_users_total'];
}
if ( $logged_visible_online == 0 )
{
$l_r_user_s = $lang['Reg_users_zero_total'];
}
else if ( $logged_visible_online == 1 )
{
$l_r_user_s = $lang['Reg_user_total'];
}
else
{
$l_r_user_s = $lang['Reg_users_total'];
}
if ( $logged_hidden_online == 0 )
{
$l_h_user_s = $lang['Hidden_users_zero_total'];
}
else if ( $logged_hidden_online == 1 )
{
$l_h_user_s = $lang['Hidden_user_total'];
}
else
{
$l_h_user_s = $lang['Hidden_users_total'];
}
if ( $guests_online == 0 )
{
$l_g_user_s = $lang['Guest_users_zero_total'];
}
else if ( $guests_online == 1 )
{
$l_g_user_s = $lang['Guest_user_total'];
}
else
{
$l_g_user_s = $lang['Guest_users_total'];
}
$l_online_users = sprintf($l_t_user_s, $total_online_users);
$l_online_users .= sprintf($l_r_user_s, $logged_visible_online);
$l_online_users .= sprintf($l_h_user_s, $logged_hidden_online);
$l_online_users .= sprintf($l_g_user_s, $guests_online);
}
//
// Users of the day MOD
//
$sql = "SELECT user_id, username, user_allow_viewonline, user_level, user_session_time
FROM ".USERS_TABLE."
WHERE user_id > 0
ORDER BY user_level DESC, username ASC";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user/day information', '', __LINE__, __FILE__, $sql);
}
$day_userlist = '<table border="1" cellspacing="5" cellpadding="0" bordercolor="#F9DCBB"><tr>';
$not_day_userlist = '';
while( $row = $db->sql_fetchrow($result) )
{
$style_color = '';
if ( $row['user_level'] == ADMIN )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor3'] . '"';
}
else if ( $row['user_level'] == MOD )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor2'] . '"';
$border_color= 'style="border-color:#' . $theme['fontcolor2'] .';border-style:solid"';
}
else
{
$border_color= 'style="border-color:#f35e15;border-style:solid"';
}
if ( $row['user_allow_viewonline'] )
{
$user_day_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
}
else
{
$user_day_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
}
if ( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
{
if ( $row['user_session_time'] >= ( time() - 86400 ) )
{
$day_userlist .= ( $day_userlist != '' ) ? ' <td width="10%" align="center" '.$border_color.'><span class="gensmall">' .
$user_day_link : $user_day_link.'</span></td>';
$wtab++;
if($wtab==6) /////????? ????? ????? 6 ??? ??? ???????? ?? ?? ???
{
$day_userlist=$day_userlist.'</tr><tr>';
$wtab=0;
}
}
else $not_day_userlist .= ( $not_day_userlist != '' ) ? ', ' . $user_day_link : $user_day_link;
}
}
if ( empty($day_userlist) )
{
$day_userlist = $lang['None'];
}
$day_userlist=$day_userlist.'</tr></table>';
$day_userlist ='<table width="100%"><tr><th>'.(( isset($forum_id) ) ? '' : $lang
['Day_users']) . ' ' . '</th></tr></table>'. $day_userlist ;
if ( empty($not_day_userlist) )
{
$not_day_userlist = $lang['None'];
}
$not_day_userlist = ( ( isset($forum_id) ) ? '' : $lang['Not_day_users'] ) . ' ' . $not_day_userlist;
if ( $display_not_day_userlist )
{
$day_userlist .= '<br />' . $not_day_userlist;
}
//
// End of MOD
//
$display_not_day_userlist = 1;$wtab=0;// change to 0 here if you don't want the list of the users who didn't visit to be displayed
//
// Obtain number of new private messages
// if user is logged in
//
//
//
if ( ($userdata['session_logged_in']) && (empty($gen_simple_header)) )
{
if ( $userdata['user_new_privmsg'] )
{
$l_message_new = ( $userdata['user_new_privmsg'] == 1 ) ? $lang['New_pm'] : $lang['New_pms'];
$l_privmsgs_text = sprintf($l_message_new, $userdata['user_new_privmsg']);
if ( $userdata['user_last_privmsg'] > $userdata['user_lastvisit'] )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_last_privmsg = " . $userdata['user_lastvisit'] . "
WHERE user_id = " . $userdata['user_id'];
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update private message new/read time for user', '', __LINE__, __FILE__, $sql);
}
$s_privmsg_new = 1;
$icon_pm = $images['pm_new_msg'];
}
else
{
$s_privmsg_new = 0;
$icon_pm = $images['pm_new_msg'];
}
}
else
{
$l_privmsgs_text = $lang['No_new_pm'];
$s_privmsg_new = 0;
$icon_pm = $images['pm_no_new_msg'];
}
if ( $userdata['user_unread_privmsg'] )
{
$l_message_unread = ( $userdata['user_unread_privmsg'] == 1 ) ? $lang['Unread_pm'] : $lang['Unread_pms'];
$l_privmsgs_text_unread = sprintf($l_message_unread, $userdata['user_unread_privmsg']);
}
else
{
$l_privmsgs_text_unread = $lang['No_unread_pm'];
}
}
else
{
$icon_pm = $images['pm_no_new_msg'];
$l_privmsgs_text = $lang['Login_check_pm'];
$l_privmsgs_text_unread = '';
$s_privmsg_new = 0;
}
//
// Generate HTML required for Mozilla Navigation bar
//
if (!isset($nav_links))
{
$nav_links = array();
}
$nav_links_html = '';
$nav_link_proto = '<link rel="%s" href="%s" title="%s" />' . "\n";
while( list($nav_item, $nav_array) = @each($nav_links) )
{
if ( !empty($nav_array['url']) )
{
$nav_links_html .= sprintf($nav_link_proto, $nav_item, append_sid($nav_array['url']), $nav_array['title']);
}
else
{
// We have a nested array, used for items like <link rel='chapter'> that can occur more than once.
while( list(,$nested_array) = each($nav_array) )
{
$nav_links_html .= sprintf($nav_link_proto, $nav_item, $nested_array['url'], $nested_array['title']);
}
}
}
// Format Timezone. We are unable to use array_pop here, because of PHP3 compatibility
$l_timezone = explode('.', $board_config['board_timezone']);
$l_timezone = (count($l_timezone) > 1 && $l_timezone[count($l_timezone)-1] != 0) ? $lang[sprintf('%.1f', $board_config['board_timezone'])] : $lang[number_format($board_config['board_timezone'])];
//
// The following assigns all _common_ variables that may be used at any point
// in a template.
//
$template->assign_vars(array(
'SITENAME' => $board_config['sitename'],
'SITE_DESCRIPTION' => $board_config['site_desc'],
'PAGE_TITLE' => $page_title,
'LAST_VISIT_DATE' => sprintf($lang['You_last_visit'], $s_last_visit),
'CURRENT_TIME' => sprintf($lang['Current_time'], create_date($board_config['default_dateformat'], time(), $board_config['board_timezone'])),
'TOTAL_USERS_ONLINE' => $l_online_users,
'LOGGED_IN_USER_LIST' => $online_userlist,
'USERS_OF_THE_DAY_LIST' => $day_userlist,
'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone'])),
'PRIVATE_MESSAGE_INFO' => $l_privmsgs_text,
'PRIVATE_MESSAGE_INFO_UNREAD' => $l_privmsgs_text_unread,
'PRIVATE_MESSAGE_NEW_FLAG' => $s_privmsg_new,
'AVATAR_IMG' => $avatar_img2,
'HEADER_USERNAME' => $header_username,
'WELCOME_ONLINE' => sprintf($lang['Welcome_online_members'], $total_online_users, $logged_visible_online, $guests_online),
'USER_NAME' => ( !$userdata['session_logged_in'] ) ? $lang['Guest'] : $userdata['username'],
'USER_EMAIL' => ( !$userdata['session_logged_in'] ) ? '??? ?????' : $userdata['user_email'],
'PRIVMSG_IMG' => $icon_pm,
'L_USERNAME' => $lang['Username'],
'L_PASSWORD' => $lang['Password'],
'L_LOGIN_LOGOUT' => $l_login_logout,
'L_LOGIN' => $lang['Login'],
'L_LOG_ME_IN' => $lang['Log_me_in'],
'L_AUTO_LOGIN' => $lang['Log_me_in'],
'L_INDEX' => sprintf($lang['Forum_Index'], $board_config['sitename']),
'L_NEWS' => $lang['Site_News'],
'L_REGISTER' => $lang['Register'],
'L_PROFILE' => $lang['Profile'],
'L_SEARCH' => $lang['Search'],
'L_PRIVATEMSGS' => $lang['Private_Messages'],
'L_WHO_IS_ONLINE' => $lang['Who_is_Online'],
'L_MEMBERLIST' => $lang['Memberlist'],
'L_FAQ' => $lang['FAQ'],
'L_USERGROUPS' => $lang['Usergroups'],
'L_SEARCH_NEW' => $lang['Search_new'],
'L_SEARCH_UNANSWERED' => $lang['Search_unanswered'],
'L_SEARCH_SELF' => $lang['Search_your_posts'],
'L_WHOSONLINE_ADMIN' => sprintf($lang['Admin_online_color'], '<span style="color:#' . $theme['fontcolor3'] . '">', '</span>'),
'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),
'U_SEARCH_UNANSWERED' => append_sid('search.'.$phpEx.'?search_id=unanswered'),
'U_SEARCH_SELF' => append_sid('search.'.$phpEx.'?search_id=egosearch'),
'U_SEARCH_NEW' => append_sid('search.'.$phpEx.'?search_id=newposts'),
'U_INDEX' => append_sid('index.'.$phpEx),
'U_REGISTER' => append_sid('profile.'.$phpEx.'?mode=register'),
'U_PROFILE' => append_sid('profile.'.$phpEx.'?mode=editprofile'),
'U_PRIVATEMSGS' => append_sid('privmsg.'.$phpEx.'?folder=inbox'),
'U_PRIVATEMSGS_POPUP' => append_sid('privmsg.'.$phpEx.'?mode=newpm'),
'U_SEARCH' => append_sid('search.'.$phpEx),
'U_MEMBERLIST' => append_sid('memberlist.'.$phpEx),
'U_MODCP' => append_sid('modcp.'.$phpEx),
'U_FAQ' => append_sid('faq.'.$phpEx),
'U_VIEWONLINE' => append_sid('viewonline.'.$phpEx),
'U_LOGIN_LOGOUT' => append_sid($u_login_logout),
'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),
'S_CONTENT_DIRECTION' => $lang['DIRECTION'],
'S_CONTENT_ENCODING' => $lang['ENCODING'],
'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'],
'S_TIMEZONE' => sprintf($lang['All_times'], $l_timezone),
'S_LOGIN_ACTION' => append_sid('login.'.$phpEx),
'T_HEAD_STYLESHEET' => $theme['head_stylesheet'],
'T_BODY_BACKGROUND' => $theme['body_background'],
'T_BODY_BGCOLOR' => '#'.$theme['body_bgcolor'],
'T_BODY_TEXT' => '#'.$theme['body_text'],
'T_BODY_LINK' => '#'.$theme['body_link'],
'T_BODY_VLINK' => '#'.$theme['body_vlink'],
'T_BODY_ALINK' => '#'.$theme['body_alink'],
'T_BODY_HLINK' => '#'.$theme['body_hlink'],
'T_TR_COLOR1' => '#'.$theme['tr_color1'],
'T_TR_COLOR2' => '#'.$theme['tr_color2'],
'T_TR_COLOR3' => '#'.$theme['tr_color3'],
'T_TR_CLASS1' => $theme['tr_class1'],
'T_TR_CLASS2' => $theme['tr_class2'],
'T_TR_CLASS3' => $theme['tr_class3'],
'T_TH_COLOR1' => '#'.$theme['th_color1'],
'T_TH_COLOR2' => '#'.$theme['th_color2'],
'T_TH_COLOR3' => '#'.$theme['th_color3'],
'T_TH_CLASS1' => $theme['th_class1'],
'T_TH_CLASS2' => $theme['th_class2'],
'T_TH_CLASS3' => $theme['th_class3'],
'T_TD_COLOR1' => '#'.$theme['td_color1'],
'T_TD_COLOR2' => '#'.$theme['td_color2'],
'T_TD_COLOR3' => '#'.$theme['td_color3'],
'T_TD_CLASS1' => $theme['td_class1'],
'T_TD_CLASS2' => $theme['td_class2'],
'T_TD_CLASS3' => $theme['td_class3'],
'T_FONTFACE1' => $theme['fontface1'],
'T_FONTFACE2' => $theme['fontface2'],
'T_FONTFACE3' => $theme['fontface3'],
'T_FONTSIZE1' => $theme['fontsize1'],
'T_FONTSIZE2' => $theme['fontsize2'],
'T_FONTSIZE3' => $theme['fontsize3'],
'T_FONTCOLOR1' => '#'.$theme['fontcolor1'],
'T_FONTCOLOR2' => '#'.$theme['fontcolor2'],
'T_FONTCOLOR3' => '#'.$theme['fontcolor3'],
'T_SPAN_CLASS1' => $theme['span_class1'],
'T_SPAN_CLASS2' => $theme['span_class2'],
'T_SPAN_CLASS3' => $theme['span_class3'],
'NEWS_BLOCK' => $board_config['news_text'],
'NAV_LINKS' => $nav_links_html)
);
//
// News Block?
//
if($board_config['news_status'] == "1"){
$template->assign_block_vars('show_news', array());
} else {
$template->assign_block_vars('hide_news', array());
}
//
// Login box?
//
if ( !$userdata['session_logged_in'] )
{
$template->assign_block_vars('switch_user_logged_out', array());
//
// Allow autologin?
//
if (!isset($board_config['allow_autologin']) || $board_config['allow_autologin'] )
{
$template->assign_block_vars('switch_allow_autologin', array());
$template->assign_block_vars('switch_user_logged_out.switch_allow_autologin', array());
}
}
else
{
$template->assign_block_vars('switch_user_logged_in', array());
if ( !empty($userdata['user_popup_pm']) )
{
$template->assign_block_vars('switch_enable_pm_popup', array());
}
}
// Add no-cache control for cookies if they are set
//$c_no_cache = (isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid']) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_data'])) ? 'no-cache="set-cookie", ' : '';
// Work around for "current" Apache 2 + PHP module which seems to not
// cope with private cache control setting
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2'))
{
header ('Cache-Control: no-cache, pre-check=0, post-check=0');
}
else
{
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');
$template->pparse('overall_header');if ($board_config['show_scroll_marquee'])
{
include($phpbb_root_path . 'last_topics.'.$phpEx);
}
?>
احذر احد اكبر النصابين في العالم علاء مفيد الشربجي والموجود لدينا في هذا المنتدى بإسمين
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
- صمت الحروف
- عضو متميز
- مشاركات: 341
- اشترك في: الأربعاء أغسطس 11, 2004 11:18 pm
- مكان: على الماسنجر
- اتصال:
??? ??????? ????
???? ????? ??????? ??? ??? /page_header.php
????? ???? ???? ??????
???? ????? ??????? ??? ??? /page_header.php
????? ???? ???? ??????
كود: تحديد الكل
<?php
/***************************************************************************
* page_header.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: page_header.php,v 1.106.2.24 2005/03/26 14:15:59 acydburn Exp $
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
define('HEADER_INC', TRUE);
//
// Welcome panel - START
// Code by hmvdesign.com // High Velocity Media // Anthony Coy
//
$header_username = $userdata['username'];
$avatar_img2 = '';
if ( $userdata['session_logged_out'] )
{
$avatar_img2 = '<img src="images/guest.gif" alt="" border="0" />';
}
if ( $userdata['user_avatar_type'] && $userdata['user_allowavatar'] )
{
switch( $userdata['user_avatar_type'] )
{
case USER_AVATAR_UPLOAD:
$avatar_img2 = ( $board_config['allow_avatar_upload'] ) ? '<img src="' . $board_config['avatar_path'] . '/' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
break;
case USER_AVATAR_REMOTE:
$avatar_img2 = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
break;
case USER_AVATAR_GALLERY:
$avatar_img2 = ( $board_config['allow_avatar_local'] ) ? '<img src="' . $board_config['avatar_gallery_path'] . '/' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
break;
}
}
//
// Welcome Panel - END
//
//
// gzip_compression
//
$do_gzip_compress = FALSE;
if($board_config['gzip_compress'])
{
$phpver = phpversion();
if($phpver >= "4.0.4pl1")
{
if(extension_loaded("zlib"))
{
if (headers_sent() != TRUE)
{
$gz_possible = isset($HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]) && eregi("gzip, deflate",$HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]);
if ($gz_possible) ob_start("ob_gzhandler");
}
}
}
else if($phpver > "4.0")
{
if(strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip'))
{
if(extension_loaded("zlib"))
{
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);
header("Content-Encoding: gzip");
}
}
}
}
//
// Parse and show the overall header.
//
$template->set_filenames(array(
'overall_header' => ( empty($gen_simple_header) ) ? 'overall_header.tpl' : 'simple_header.tpl')
);
//
// Generate logged in/logged out status
//
if ( $userdata['session_logged_in'] )
{
$u_login_logout = 'login.'.$phpEx.'?logout=true&sid=' . $userdata['session_id'];
$l_login_logout = $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]';
}
else
{
$u_login_logout = 'login.'.$phpEx;
$l_login_logout = $lang['Login'];
}
$s_last_visit = ( $userdata['session_logged_in'] ) ? create_date($board_config['default_dateformat'], $userdata['user_lastvisit'], $board_config['board_timezone']) : '';
//
// Get basic (usernames + totals) online
// situation
//
$logged_visible_online = 0;
$logged_hidden_online = 0;
$guests_online = 0;
$online_userlist='<table width="100%"><tr><th>??????? ?????????? ?????</th></tr></table><table border="1" cellspacing="5" cellpadding="0" bordercolor="#F9DCBB" ><tr>';
$l_online_users = '';
if (defined('SHOW_ONLINE'))
{
$user_forum_sql = ( !empty($forum_id) ) ? "AND s.session_page = " . intval($forum_id) : '';
$sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
WHERE u.user_id = s.session_user_id
AND s.session_time >= ".( time() - 300 ) . "
$user_forum_sql
ORDER BY u.username ASC, s.session_ip ASC";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql);
}
$userlist_ary = array();
$userlist_visible = array();
$prev_user_id = 0;
$prev_user_ip = $prev_session_ip = '';
$wtab1=0;
while( $row = $db->sql_fetchrow($result) )
{
// User is logged in and therefor not a guest
if ( $row['session_logged_in'] )
{
// Skip multiple sessions for one user
if ( $row['user_id'] != $prev_user_id )
{
$style_color = '';
if ( $row['user_level'] == ADMIN )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor3'] . '"';
$border_color= 'style="border-color:#' . $theme['fontcolor3'] .';border-style:solid"';
$border_color= 'style="border-color:#' . $theme['fontcolor3'] .
';border-style:solid"';
}
else if ( $row['user_level'] == MOD )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor2'] .
'"';
$border_color='style="border-color:#' . $theme['fontcolor2'] .
';border-style:solid"';
}
else
{
$style_color = '';
if ( $row['user_level'] == ADMIN )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor3'] . '"';
}
else if ( $row['user_level'] == MOD )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor2'] . '"';
}
if ( $row['user_allow_viewonline'] )
{
$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
$logged_visible_online++;
}
else
{
$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
$logged_hidden_online++;
}}
if ( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
{
$online_userlist .= ( $online_userlist != '' ) ? '<td width="10%" align="center" '.$border_color.'><span class="gensmall"> ' . $user_online_link : $user_online_link.'</span></td>';
$wtab1++;
if($wtab1==6)
{
$online_userlist=$online_userlist.'</tr><tr>';
$wtab1=0;
}
}
}
$prev_user_id = $row['user_id'];
}
else
{
// Skip multiple sessions for one user
if ( $row['session_ip'] != $prev_session_ip )
{
$guests_online++;
}
}
$prev_session_ip = $row['session_ip'];
}
$online_userlist = $online_userlist .'</tr></table>';
$db->sql_freeresult($result);
if ( empty($online_userlist) )
{
$online_userlist = $lang['None'];
}
$online_userlist = ( ( isset($forum_id) ) ? $lang['Browsing_forum'] : $lang['Registered_users'] ) . ' ' . $online_userlist;
$total_online_users = $logged_visible_online + $logged_hidden_online + $guests_online;
if ( $total_online_users > $board_config['record_online_users'])
{
$board_config['record_online_users'] = $total_online_users;
$board_config['record_online_date'] = time();
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '$total_online_users'
WHERE config_name = 'record_online_users'";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update online user record (nr of users)', '', __LINE__, __FILE__, $sql);
}
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '" . $board_config['record_online_date'] . "'
WHERE config_name = 'record_online_date'";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update online user record (date)', '', __LINE__, __FILE__, $sql);
}
}
if ( $total_online_users == 0 )
{
$l_t_user_s = $lang['Online_users_zero_total'];
}
else if ( $total_online_users == 1 )
{
$l_t_user_s = $lang['Online_user_total'];
}
else
{
$l_t_user_s = $lang['Online_users_total'];
}
if ( $logged_visible_online == 0 )
{
$l_r_user_s = $lang['Reg_users_zero_total'];
}
else if ( $logged_visible_online == 1 )
{
$l_r_user_s = $lang['Reg_user_total'];
}
else
{
$l_r_user_s = $lang['Reg_users_total'];
}
if ( $logged_hidden_online == 0 )
{
$l_h_user_s = $lang['Hidden_users_zero_total'];
}
else if ( $logged_hidden_online == 1 )
{
$l_h_user_s = $lang['Hidden_user_total'];
}
else
{
$l_h_user_s = $lang['Hidden_users_total'];
}
if ( $guests_online == 0 )
{
$l_g_user_s = $lang['Guest_users_zero_total'];
}
else if ( $guests_online == 1 )
{
$l_g_user_s = $lang['Guest_user_total'];
}
else
{
$l_g_user_s = $lang['Guest_users_total'];
}
$l_online_users = sprintf($l_t_user_s, $total_online_users);
$l_online_users .= sprintf($l_r_user_s, $logged_visible_online);
$l_online_users .= sprintf($l_h_user_s, $logged_hidden_online);
$l_online_users .= sprintf($l_g_user_s, $guests_online);
}
//
// Users of the day MOD
//
$sql = "SELECT user_id, username, user_allow_viewonline, user_level, user_session_time
FROM ".USERS_TABLE."
WHERE user_id > 0
ORDER BY user_level DESC, username ASC";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user/day information', '', __LINE__, __FILE__, $sql);
}
$day_userlist = '<table border="1" cellspacing="5" cellpadding="0" bordercolor="#F9DCBB"><tr>';
$not_day_userlist = '';
while( $row = $db->sql_fetchrow($result) )
{
$style_color = '';
if ( $row['user_level'] == ADMIN )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor3'] . '"';
}
else if ( $row['user_level'] == MOD )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor2'] . '"';
$border_color= 'style="border-color:#' . $theme['fontcolor2'] .';border-style:solid"';
}
else
{
$border_color= 'style="border-color:#f35e15;border-style:solid"';
}
if ( $row['user_allow_viewonline'] )
{
$user_day_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
}
else
{
$user_day_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
}
if ( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
{
if ( $row['user_session_time'] >= ( time() - 86400 ) )
{
$day_userlist .= ( $day_userlist != '' ) ? ' <td width="10%" align="center" '.$border_color.'><span class="gensmall">' .
$user_day_link : $user_day_link.'</span></td>';
$wtab++;
if($wtab==6) /////????? ????? ????? 6 ??? ??? ???????? ?? ?? ???
{
$day_userlist=$day_userlist.'</tr><tr>';
$wtab=0;
}
}
else $not_day_userlist .= ( $not_day_userlist != '' ) ? ', ' . $user_day_link : $user_day_link;
}
}
if ( empty($day_userlist) )
{
$day_userlist = $lang['None'];
}
$day_userlist=$day_userlist.'</tr></table>';
$day_userlist ='<table width="100%"><tr><th>'.(( isset($forum_id) ) ? '' : $lang
['Day_users']) . ' ' . '</th></tr></table>'. $day_userlist ;
if ( empty($not_day_userlist) )
{
$not_day_userlist = $lang['None'];
}
$not_day_userlist = ( ( isset($forum_id) ) ? '' : $lang['Not_day_users'] ) . ' ' . $not_day_userlist;
if ( $display_not_day_userlist )
{
$day_userlist .= '<br />' . $not_day_userlist;
}
//
// End of MOD
//
$display_not_day_userlist = 1;$wtab=0;// change to 0 here if you don't want the list of the users who didn't visit to be displayed
//
// Obtain number of new private messages
// if user is logged in
//
//
//
if ( ($userdata['session_logged_in']) && (empty($gen_simple_header)) )
{
if ( $userdata['user_new_privmsg'] )
{
$l_message_new = ( $userdata['user_new_privmsg'] == 1 ) ? $lang['New_pm'] : $lang['New_pms'];
$l_privmsgs_text = sprintf($l_message_new, $userdata['user_new_privmsg']);
if ( $userdata['user_last_privmsg'] > $userdata['user_lastvisit'] )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_last_privmsg = " . $userdata['user_lastvisit'] . "
WHERE user_id = " . $userdata['user_id'];
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update private message new/read time for user', '', __LINE__, __FILE__, $sql);
}
$s_privmsg_new = 1;
$icon_pm = $images['pm_new_msg'];
}
else
{
$s_privmsg_new = 0;
$icon_pm = $images['pm_new_msg'];
}
}
else
{
$l_privmsgs_text = $lang['No_new_pm'];
$s_privmsg_new = 0;
$icon_pm = $images['pm_no_new_msg'];
}
if ( $userdata['user_unread_privmsg'] )
{
$l_message_unread = ( $userdata['user_unread_privmsg'] == 1 ) ? $lang['Unread_pm'] : $lang['Unread_pms'];
$l_privmsgs_text_unread = sprintf($l_message_unread, $userdata['user_unread_privmsg']);
}
else
{
$l_privmsgs_text_unread = $lang['No_unread_pm'];
}
}
else
{
$icon_pm = $images['pm_no_new_msg'];
$l_privmsgs_text = $lang['Login_check_pm'];
$l_privmsgs_text_unread = '';
$s_privmsg_new = 0;
}
//
// Generate HTML required for Mozilla Navigation bar
//
if (!isset($nav_links))
{
$nav_links = array();
}
$nav_links_html = '';
$nav_link_proto = '<link rel="%s" href="%s" title="%s" />' . "\n";
while( list($nav_item, $nav_array) = @each($nav_links) )
{
if ( !empty($nav_array['url']) )
{
$nav_links_html .= sprintf($nav_link_proto, $nav_item, append_sid($nav_array['url']), $nav_array['title']);
}
else
{
// We have a nested array, used for items like <link rel='chapter'> that can occur more than once.
while( list(,$nested_array) = each($nav_array) )
{
$nav_links_html .= sprintf($nav_link_proto, $nav_item, $nested_array['url'], $nested_array['title']);
}
}
}
// Format Timezone. We are unable to use array_pop here, because of PHP3 compatibility
$l_timezone = explode('.', $board_config['board_timezone']);
$l_timezone = (count($l_timezone) > 1 && $l_timezone[count($l_timezone)-1] != 0) ? $lang[sprintf('%.1f', $board_config['board_timezone'])] : $lang[number_format($board_config['board_timezone'])];
//
// The following assigns all _common_ variables that may be used at any point
// in a template.
//
$template->assign_vars(array(
'SITENAME' => $board_config['sitename'],
'SITE_DESCRIPTION' => $board_config['site_desc'],
'PAGE_TITLE' => $page_title,
'LAST_VISIT_DATE' => sprintf($lang['You_last_visit'], $s_last_visit),
'CURRENT_TIME' => sprintf($lang['Current_time'], create_date($board_config['default_dateformat'], time(), $board_config['board_timezone'])),
'TOTAL_USERS_ONLINE' => $l_online_users,
'LOGGED_IN_USER_LIST' => $online_userlist,
'USERS_OF_THE_DAY_LIST' => $day_userlist,
'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone'])),
'PRIVATE_MESSAGE_INFO' => $l_privmsgs_text,
'PRIVATE_MESSAGE_INFO_UNREAD' => $l_privmsgs_text_unread,
'PRIVATE_MESSAGE_NEW_FLAG' => $s_privmsg_new,
'AVATAR_IMG' => $avatar_img2,
'HEADER_USERNAME' => $header_username,
'WELCOME_ONLINE' => sprintf($lang['Welcome_online_members'], $total_online_users, $logged_visible_online, $guests_online),
'USER_NAME' => ( !$userdata['session_logged_in'] ) ? $lang['Guest'] : $userdata['username'],
'USER_EMAIL' => ( !$userdata['session_logged_in'] ) ? '??? ?????' : $userdata['user_email'],
'PRIVMSG_IMG' => $icon_pm,
'L_USERNAME' => $lang['Username'],
'L_PASSWORD' => $lang['Password'],
'L_LOGIN_LOGOUT' => $l_login_logout,
'L_LOGIN' => $lang['Login'],
'L_LOG_ME_IN' => $lang['Log_me_in'],
'L_AUTO_LOGIN' => $lang['Log_me_in'],
'L_INDEX' => sprintf($lang['Forum_Index'], $board_config['sitename']),
'L_NEWS' => $lang['Site_News'],
'L_REGISTER' => $lang['Register'],
'L_PROFILE' => $lang['Profile'],
'L_SEARCH' => $lang['Search'],
'L_PRIVATEMSGS' => $lang['Private_Messages'],
'L_WHO_IS_ONLINE' => $lang['Who_is_Online'],
'L_MEMBERLIST' => $lang['Memberlist'],
'L_FAQ' => $lang['FAQ'],
'L_USERGROUPS' => $lang['Usergroups'],
'L_SEARCH_NEW' => $lang['Search_new'],
'L_SEARCH_UNANSWERED' => $lang['Search_unanswered'],
'L_SEARCH_SELF' => $lang['Search_your_posts'],
'L_WHOSONLINE_ADMIN' => sprintf($lang['Admin_online_color'], '<span style="color:#' . $theme['fontcolor3'] . '">', '</span>'),
'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),
'U_SEARCH_UNANSWERED' => append_sid('search.'.$phpEx.'?search_id=unanswered'),
'U_SEARCH_SELF' => append_sid('search.'.$phpEx.'?search_id=egosearch'),
'U_SEARCH_NEW' => append_sid('search.'.$phpEx.'?search_id=newposts'),
'U_INDEX' => append_sid('index.'.$phpEx),
'U_REGISTER' => append_sid('profile.'.$phpEx.'?mode=register'),
'U_PROFILE' => append_sid('profile.'.$phpEx.'?mode=editprofile'),
'U_PRIVATEMSGS' => append_sid('privmsg.'.$phpEx.'?folder=inbox'),
'U_PRIVATEMSGS_POPUP' => append_sid('privmsg.'.$phpEx.'?mode=newpm'),
'U_SEARCH' => append_sid('search.'.$phpEx),
'U_MEMBERLIST' => append_sid('memberlist.'.$phpEx),
'U_MODCP' => append_sid('modcp.'.$phpEx),
'U_FAQ' => append_sid('faq.'.$phpEx),
'U_VIEWONLINE' => append_sid('viewonline.'.$phpEx),
'U_LOGIN_LOGOUT' => append_sid($u_login_logout),
'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),
'S_CONTENT_DIRECTION' => $lang['DIRECTION'],
'S_CONTENT_ENCODING' => $lang['ENCODING'],
'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'],
'S_TIMEZONE' => sprintf($lang['All_times'], $l_timezone),
'S_LOGIN_ACTION' => append_sid('login.'.$phpEx),
'T_HEAD_STYLESHEET' => $theme['head_stylesheet'],
'T_BODY_BACKGROUND' => $theme['body_background'],
'T_BODY_BGCOLOR' => '#'.$theme['body_bgcolor'],
'T_BODY_TEXT' => '#'.$theme['body_text'],
'T_BODY_LINK' => '#'.$theme['body_link'],
'T_BODY_VLINK' => '#'.$theme['body_vlink'],
'T_BODY_ALINK' => '#'.$theme['body_alink'],
'T_BODY_HLINK' => '#'.$theme['body_hlink'],
'T_TR_COLOR1' => '#'.$theme['tr_color1'],
'T_TR_COLOR2' => '#'.$theme['tr_color2'],
'T_TR_COLOR3' => '#'.$theme['tr_color3'],
'T_TR_CLASS1' => $theme['tr_class1'],
'T_TR_CLASS2' => $theme['tr_class2'],
'T_TR_CLASS3' => $theme['tr_class3'],
'T_TH_COLOR1' => '#'.$theme['th_color1'],
'T_TH_COLOR2' => '#'.$theme['th_color2'],
'T_TH_COLOR3' => '#'.$theme['th_color3'],
'T_TH_CLASS1' => $theme['th_class1'],
'T_TH_CLASS2' => $theme['th_class2'],
'T_TH_CLASS3' => $theme['th_class3'],
'T_TD_COLOR1' => '#'.$theme['td_color1'],
'T_TD_COLOR2' => '#'.$theme['td_color2'],
'T_TD_COLOR3' => '#'.$theme['td_color3'],
'T_TD_CLASS1' => $theme['td_class1'],
'T_TD_CLASS2' => $theme['td_class2'],
'T_TD_CLASS3' => $theme['td_class3'],
'T_FONTFACE1' => $theme['fontface1'],
'T_FONTFACE2' => $theme['fontface2'],
'T_FONTFACE3' => $theme['fontface3'],
'T_FONTSIZE1' => $theme['fontsize1'],
'T_FONTSIZE2' => $theme['fontsize2'],
'T_FONTSIZE3' => $theme['fontsize3'],
'T_FONTCOLOR1' => '#'.$theme['fontcolor1'],
'T_FONTCOLOR2' => '#'.$theme['fontcolor2'],
'T_FONTCOLOR3' => '#'.$theme['fontcolor3'],
'T_SPAN_CLASS1' => $theme['span_class1'],
'T_SPAN_CLASS2' => $theme['span_class2'],
'T_SPAN_CLASS3' => $theme['span_class3'],
'NEWS_BLOCK' => $board_config['news_text'],
'NAV_LINKS' => $nav_links_html)
);
//
// News Block?
//
if($board_config['news_status'] == "1"){
$template->assign_block_vars('show_news', array());
} else {
$template->assign_block_vars('hide_news', array());
}
//
// Login box?
//
if ( !$userdata['session_logged_in'] )
{
$template->assign_block_vars('switch_user_logged_out', array());
//
// Allow autologin?
//
if (!isset($board_config['allow_autologin']) || $board_config['allow_autologin'] )
{
$template->assign_block_vars('switch_allow_autologin', array());
$template->assign_block_vars('switch_user_logged_out.switch_allow_autologin', array());
}
}
else
{
$template->assign_block_vars('switch_user_logged_in', array());
if ( !empty($userdata['user_popup_pm']) )
{
$template->assign_block_vars('switch_enable_pm_popup', array());
}
}
// Add no-cache control for cookies if they are set
//$c_no_cache = (isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid']) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_data'])) ? 'no-cache="set-cookie", ' : '';
// Work around for "current" Apache 2 + PHP module which seems to not
// cope with private cache control setting
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2'))
{
header ('Cache-Control: no-cache, pre-check=0, post-check=0');
}
else
{
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');
$template->pparse('overall_header');if ($board_config['show_scroll_marquee'])
{
include($phpbb_root_path . 'last_topics.'.$phpEx);
}
?>
احذر احد اكبر النصابين في العالم علاء مفيد الشربجي والموجود لدينا في هذا المنتدى بإسمين
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
????? ??? ?? ???? ??? ??????? ?????? ?????? ?????? ??? ????? ???? ???? ??????? ??? ?? ??????? ????? ??????? ??? ???? ??????? ???? ?? ???? ??? ???? ??????? ??? , ???? ?? ???? ?? ?? ??? ??? ????? ????? ??? ?? ?? ???? ??????
Skay
البحث في مواضيع المنتدى خير وسيلة للمحافظة علي وقتكـ
ضع رابط منتداكــ في توقيعك أو ملفكـ الشخصي لتحصل علي الدعم الفني


- صمت الحروف
- عضو متميز
- مشاركات: 341
- اشترك في: الأربعاء أغسطس 11, 2004 11:18 pm
- مكان: على الماسنجر
- اتصال:
??????? ?????? ???? ????????
احذر احد اكبر النصابين في العالم علاء مفيد الشربجي والموجود لدينا في هذا المنتدى بإسمين
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
- صمت الحروف
- عضو متميز
- مشاركات: 341
- اشترك في: الأربعاء أغسطس 11, 2004 11:18 pm
- مكان: على الماسنجر
- اتصال:
??? ??? index.php
كود: تحديد الكل
<?php
/***************************************************************************
* index.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: index.php,v 1.99.2.3 2004/07/11 16:46:15 acydburn Exp $
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
// Welcome Panel - START
if ( $userdata['session_logged_in'] )
{
if ( $userdata['user_level'] == ADMIN )
{
$welcome_user_level = sprintf(strtolower($lang['Admin_online_color']), '<span style="color:#' . $theme['fontcolor3'] . '"><b>', '</b></span>');
$welcome_username = '<span style="color:#' . $theme['fontcolor3'] . '"><b>' . $userdata['username'] . '</b></span>';
}
else if ( $userdata['user_level'] == MOD )
{
$welcome_user_level = sprintf(strtolower($lang['Mod_online_color']), '<span style="color:#' . $theme['fontcolor2'] . '"><b>', '</b></span>');
$welcome_username = '<span style="color:#' . $theme['fontcolor2'] . '"><b>' . $userdata['username'] . '</b></span>';
}
else
{
$welcome_user_level = '<b>' . $lang['Welcome_normal_user'] . '</b>';
$welcome_username = '<b>' . $userdata['username'] . '</b>';
}
// Get number of user's posts
if ( $userdata['user_posts'] == 0 )
{
$welcome_user_posts = $lang['Welcome_user_no_posts'];
}
else
{
$welcome_user_posts = ( $userdata['user_posts'] == 1 ) ? $lang['Welcome_user_one_post'] : $lang['Welcome_user_posts'];
$welcome_user_posts = sprintf($welcome_user_posts, '<a href="' . append_sid('search.'.$phpEx.'?search_id=egosearch') . '">', $userdata['user_posts'], '</a>');
}
$welcome_username = sprintf($lang['Welcome_user'], $welcome_username);
$welcome_user_info = sprintf($lang['Welcome_user_info'], $welcome_user_level, $board_config['sitename'], $welcome_user_regdate) . $welcome_user_posts;
// Get number of new posts
$sql = "SELECT COUNT(post_id) as total
FROM " . POSTS_TABLE . "
WHERE post_time >= " . $userdata['user_lastvisit'] . "
AND poster_id != " . $userdata['user_id'];
$result = $db->sql_query($sql);
if( $result )
{
$row = $db->sql_fetchrow($result);
if ( $row['total'] == 0 )
{
$welcome_new_posts = $lang['Welcome_no_new_posts'];
}
else
{
$welcome_new_posts = ( $row['total'] == 1 ) ? $lang['Welcome_one_new_post'] : $lang['Welcome_new_posts'];
$welcome_new_posts = sprintf($welcome_new_posts, '<a href="' . append_sid('search.'.$phpEx.'?search_id=newposts') . '">', $row['total'], '</a>');
}
}
$db->sql_freeresult($result);
// Get number of new topics
$sql = "SELECT COUNT(topic_id) as total
FROM " . TOPICS_TABLE . "
WHERE topic_time >= " . $userdata['user_lastvisit'];
$result = $db->sql_query($sql);
if( $result )
{
$row = $db->sql_fetchrow($result);
if ( $row['total'] == 0 )
{
$welcome_new_topics = $lang['Welcome_no_new_topics'];
}
else
{
$welcome_new_topics = ( $row['total'] == 1 ) ? $lang['Welcome_one_new_topic'] : $lang['Welcome_new_topics'];
$welcome_new_topics = sprintf($welcome_new_topics, '<a href="' . append_sid('search.'.$phpEx.'?search_id=newtopics') . '">', $row['total'], '</a>');
}
}
$db->sql_freeresult($result);
// Group previous data
$welcome_news = $lang['Welcome_since_last_visit'] . $welcome_new_posts . ' | ' . $welcome_new_topics;
}
else
{
$welcome_username = sprintf($lang['Welcome_user'], '<b>' . $lang['Guest'] . '</b>');
$welcome_news = '';
$welcome_user_info = $lang['Welcome_guest_info'] . ' ' . sprintf($lang['Welcome_register'], '<a href="' . append_sid('profile.'.$phpEx.'?mode=register') . '">', '</a>', $board_config['sitename']);
}
// Welcome Panel - END
//
//
$viewcat = ( !empty($HTTP_GET_VARS[POST_CAT_URL]) ) ? $HTTP_GET_VARS[POST_CAT_URL] : -1;
if( isset($HTTP_GET_VARS['mark']) || isset($HTTP_POST_VARS['mark']) )
{
$mark_read = ( isset($HTTP_POST_VARS['mark']) ) ? $HTTP_POST_VARS['mark'] : $HTTP_GET_VARS['mark'];
}
else
{
$mark_read = '';
}
//
// Handle marking posts
//
if( $mark_read == 'forums' )
{
if( $userdata['session_logged_in'] )
{
setcookie($board_config['cookie_name'] . '_f_all', time(), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
}
$template->assign_vars(array(
"META" => '<meta http-equiv="refresh" content="3;url=' .append_sid("index.$phpEx") . '">')
);
$message = $lang['Forums_marked_read'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a> ');
message_die(GENERAL_MESSAGE, $message);
}
//
// End handle marking posts
//
$tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) : array();
$tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) : array();
//
// If you don't use these stats on your index you may want to consider
// removing them
//
$total_posts = get_db_stat('postcount');
$total_users = get_db_stat('usercount');
$newest_userdata = get_db_stat('newestuser');
$newest_user = $newest_userdata['username'];
$newest_uid = $newest_userdata['user_id'];
if( $total_posts == 0 )
{
$l_total_post_s = $lang['Posted_articles_zero_total'];
}
else if( $total_posts == 1 )
{
$l_total_post_s = $lang['Posted_article_total'];
}
else
{
$l_total_post_s = $lang['Posted_articles_total'];
}
if( $total_users == 0 )
{
$l_total_user_s = $lang['Registered_users_zero_total'];
}
else if( $total_users == 1 )
{
$l_total_user_s = $lang['Registered_user_total'];
}
else
{
$l_total_user_s = $lang['Registered_users_total'];
}
//
// Start page proper
//
$sql = "SELECT c.cat_id, c.cat_title, c.cat_order
FROM " . CATEGORIES_TABLE . " c
ORDER BY c.cat_order";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query categories list', '', __LINE__, __FILE__, $sql);
}
//
// News Block Smilies Pass
//
$board_config['news_text'] = smilies_pass($board_config['news_text']);
$category_rows = array();
while ($row = $db->sql_fetchrow($result))
{
$category_rows[] = $row;
}
$db->sql_freeresult($result);
if( ( $total_categories = count($category_rows) ) )
{
//
// Define appropriate SQL
//
switch(SQL_LAYER)
{
case 'postgresql':
$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
FROM " . FORUMS_TABLE . " f, " . POSTS_TABLE . " p, " . USERS_TABLE . " u
WHERE p.post_id = f.forum_last_post_id
AND u.user_id = p.poster_id
UNION (
SELECT f.*, NULL, NULL, NULL, NULL
FROM " . FORUMS_TABLE . " f
WHERE NOT EXISTS (
SELECT p.post_time
FROM " . POSTS_TABLE . " p
WHERE p.post_id = f.forum_last_post_id
)
)
ORDER BY cat_id, forum_order";
break;
case 'oracle':
$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
FROM " . FORUMS_TABLE . " f, " . POSTS_TABLE . " p, " . USERS_TABLE . " u
WHERE p.post_id = f.forum_last_post_id(+)
AND u.user_id = p.poster_id(+)
ORDER BY f.cat_id, f.forum_order";
break;
default:
$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id, t.topic_title, t.topic_last_post_id " .
" FROM ((( " . FORUMS_TABLE . " f " .
" LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id )" .
" LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id ) " .
" LEFT JOIN " . TOPICS_TABLE . " t ON t.topic_last_post_id = p.post_id ) " .
" ORDER BY f.cat_id, f.forum_order";
break;
}
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query forums information', '', __LINE__, __FILE__, $sql);
}
$forum_data = array();
$topic_last_ary = array();
$i=0;
while( $row = $db->sql_fetchrow($result) )
{
if (!in_array($row['topic_last_post_id'], $topic_last_ary) || $row['topic_last_post_id']==0) {
$topic_last_ary[i]=$row['topic_last_post_id'];
$i++;
$forum_data[] = $row;
}
}
$db->sql_freeresult($result);
unset($topic_last_ary);
if ( !($total_forums = count($forum_data)) )
{
message_die(GENERAL_MESSAGE, $lang['No_forums']);
}
//
// Filter topic_title not allowed to read
//
if ( !($userdata['user_level'] == ADMIN && $userdata['session_logged_in']) ) {
$auth_read_all = array();
$auth_read_all=auth(AUTH_READ, AUTH_LIST_ALL, $userdata, $forum_data);
$auth_data = '';
for($i=0; $i<count($forum_data); $i++)
{
if (!$auth_read_all[$forum_data[$i]['forum_id']]['auth_read']) {
$forum_data[$i]['topic_title']='';
}
}
}
//
// Define censored word matches
//
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replacement_word);
//
// Obtain a list of topic ids which contain
// posts made since user last visited
//
if ($userdata['session_logged_in'])
{
// 60 days limit
if ($userdata['user_lastvisit'] < (time() - 5184000))
{
$userdata['user_lastvisit'] = time() - 5184000;
}
$sql = "SELECT t.forum_id, t.topic_id, p.post_time
FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p
WHERE p.post_id = t.topic_last_post_id
AND p.post_time > " . $userdata['user_lastvisit'] . "
AND t.topic_moved_id = 0";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query new topic information', '', __LINE__, __FILE__, $sql);
}
$new_topic_data = array();
while( $topic_data = $db->sql_fetchrow($result) )
{
$new_topic_data[$topic_data['forum_id']][$topic_data['topic_id']] = $topic_data['post_time'];
}
$db->sql_freeresult($result);
}
//
// Obtain list of moderators of each forum
// First users, then groups ... broken into two queries
//
$sql = "SELECT aa.forum_id, u.user_id, u.username
FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g, " . USERS_TABLE . " u
WHERE aa.auth_mod = " . TRUE . "
AND g.group_single_user = 1
AND ug.group_id = aa.group_id
AND g.group_id = aa.group_id
AND u.user_id = ug.user_id
GROUP BY u.user_id, u.username, aa.forum_id
ORDER BY aa.forum_id, u.user_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query forum moderator information', '', __LINE__, __FILE__, $sql);
}
$forum_moderators = array();
while( $row = $db->sql_fetchrow($result) )
{
$forum_moderators[$row['forum_id']][] = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '">' . $row['username'] . '</a>';
}
$db->sql_freeresult($result);
$sql = "SELECT aa.forum_id, g.group_id, g.group_name
FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g
WHERE aa.auth_mod = " . TRUE . "
AND g.group_single_user = 0
AND g.group_type <> " . GROUP_HIDDEN . "
AND ug.group_id = aa.group_id
AND g.group_id = aa.group_id
GROUP BY g.group_id, g.group_name, aa.forum_id
ORDER BY aa.forum_id, g.group_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query forum moderator information', '', __LINE__, __FILE__, $sql);
}
while( $row = $db->sql_fetchrow($result) )
{
$forum_moderators[$row['forum_id']][] = '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=" . $row['group_id']) . '">' . $row['group_name'] . '</a>';
}
$db->sql_freeresult($result);
//
// Find which forums are visible for this user
//
$is_auth_ary = array();
$is_auth_ary = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata, $forum_data);
//
// Start output of page
//
define('SHOW_ONLINE', true);
$page_title = $lang['Index'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array(
'body' => 'index_body.tpl')
);
$template->assign_vars(array(
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
// Welcome Panel - START
'WELCOME_USER' => $welcome_username,
'WELCOME_NEWS' => $welcome_news,
'WELCOME_USER_INFO' => $welcome_user_info,
'WELCOME' => sprintf($lang['Welcome']),
'WELCOME_MEMBERS' => sprintf($lang['Welcome_members'], $total_users, '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),
// Welcome Panel - END
'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),
'FORUM_IMG' => $images['forum'],
'FORUM_NEW_IMG' => $images['forum_new'],
'FORUM_LOCKED_IMG' => $images['forum_locked'],
'L_FORUM' => $lang['Forum'],
'L_TOPICS' => $lang['Topics'],
'L_REPLIES' => $lang['Replies'],
'L_VIEWS' => $lang['Views'],
'L_POSTS' => $lang['Posts'],
'L_LASTPOST' => $lang['Last_Post'],
'L_NO_NEW_POSTS' => $lang['No_new_posts'],
'L_NEW_POSTS' => $lang['New_posts'],
'L_NO_NEW_POSTS_LOCKED' => $lang['No_new_posts_locked'],
'L_NEW_POSTS_LOCKED' => $lang['New_posts_locked'],
'L_ONLINE_EXPLAIN' => $lang['Online_explain'],
'L_MODERATOR' => $lang['Moderators'],
'L_FORUM_LOCKED' => $lang['Forum_is_locked'],
'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'],
'U_MARK_READ' => append_sid("index.$phpEx?mark=forums"))
);
//
// Let's decide which categories we should display
//
$display_categories = array();
for ($i = 0; $i < $total_forums; $i++ )
{
if ($is_auth_ary[$forum_data[$i]['forum_id']]['auth_view'])
{
$display_categories[$forum_data[$i]['cat_id']] = true;
}
}
//
// Okay, let's build the index
//
for($i = 0; $i < $total_categories; $i++)
{
$cat_id = $category_rows[$i]['cat_id'];
//
// Yes, we should, so first dump out the category
// title, then, if appropriate the forum list
//
if (isset($display_categories[$cat_id]) && $display_categories[$cat_id])
{
$template->assign_block_vars('catrow', array(
'CAT_ID' => $cat_id,
'CAT_DESC' => $category_rows[$i]['cat_title'],
'U_VIEWCAT' => append_sid("index.$phpEx?" . POST_CAT_URL . "=$cat_id"))
);
if ( $viewcat == $cat_id || $viewcat == -1 )
{
for($j = 0; $j < $total_forums; $j++)
{
if ( $forum_data[$j]['cat_id'] == $cat_id )
{
$forum_id = $forum_data[$j]['forum_id'];
if ( $is_auth_ary[$forum_id]['auth_view'] )
{
if ( $forum_data[$j]['forum_status'] == FORUM_LOCKED )
{
$folder_image = $images['forum_locked'];
$folder_alt = $lang['Forum_locked'];
}
else
{
$unread_topics = false;
if ( $userdata['session_logged_in'] )
{
if ( !empty($new_topic_data[$forum_id]) )
{
$forum_last_post_time = 0;
while( list($check_topic_id, $check_post_time) = @each($new_topic_data[$forum_id]) )
{
if ( empty($tracking_topics[$check_topic_id]) )
{
$unread_topics = true;
$forum_last_post_time = max($check_post_time, $forum_last_post_time);
}
else
{
if ( $tracking_topics[$check_topic_id] < $check_post_time )
{
$unread_topics = true;
$forum_last_post_time = max($check_post_time, $forum_last_post_time);
}
}
}
if ( !empty($tracking_forums[$forum_id]) )
{
if ( $tracking_forums[$forum_id] > $forum_last_post_time )
{
$unread_topics = false;
}
}
if ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all']) )
{
if ( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all'] > $forum_last_post_time )
{
$unread_topics = false;
}
}
}
}
$folder_image = ( $unread_topics ) ? $images['forum_new'] : $images['forum'];
$folder_alt = ( $unread_topics ) ? $lang['New_posts'] : $lang['No_new_posts'];
}
$posts = $forum_data[$j]['forum_posts'];
$topics = $forum_data[$j]['forum_topics'];
if ( $forum_data[$j]['forum_last_post_id'] )
{
$topic_title = $forum_data[$j]['topic_title'];
$topic_title2 = $forum_data[$j]['topic_title'];
//
// Censor topic title
//
if ( count($orig_word) )
{
$topic_title = preg_replace($orig_word, $replacement_word, $topic_title);
$topic_title2 = preg_replace($orig_word, $replacement_word, $topic_title2);
}
if (strlen($topic_title)>27) {
$topic_title = substr($topic_title,0,24) . '...';
}
$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);
$last_post = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '" title="' . $topic_title2 . '">' . $topic_title . '</a><br>';
$last_post .= $last_post_time . ' <a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '"></a><br>' . $lang['by'] . ' ';
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '</a> ';
}
else
{
$last_post = $lang['No_Posts'];
}
if ( count($forum_moderators[$forum_id]) > 0 )
{
$l_moderators = ( count($forum_moderators[$forum_id]) == 1 ) ? $lang['Moderator'] : $lang['Moderators'];
$moderator_list = implode(', ', $forum_moderators[$forum_id]);
}
else
{
$l_moderators = ' ';
$moderator_list = ' ';
}
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars('catrow.forumrow', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'FORUM_FOLDER_IMG' => $folder_image,
'FORUM_NAME' => $forum_data[$j]['forum_name'],
'FORUM_DESC' => $forum_data[$j]['forum_desc'],
'POSTS' => $forum_data[$j]['forum_posts'],
'TOPICS' => $forum_data[$j]['forum_topics'],
'LAST_POST' => $last_post,
'MODERATORS' => $moderator_list,
'L_MODERATOR' => $l_moderators,
'L_FORUM_FOLDER_ALT' => $folder_alt,
'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))
);
}
}
}
}
}
} // for ... categories
}// if ... total_categories
else
{
message_die(GENERAL_MESSAGE, $lang['No_forums']);
}
require_once("honor.php");
//
// Generate the page
//
//
// generation des mini stats (top5 utilisateurs)
//
$top_posting_users_sql="SELECT user_id,username,user_posts FROM phpbb_users where user_id>0 ORDER BY user_posts DESC LIMIT 5";
$top_posting_users = $db->sql_query($top_posting_users_sql);
$last_topic_replies_sql="SELECT topic_id,topic_title,topic_views FROM phpbb_topics where topic_id>0 ORDER BY topic_id DESC LIMIT 5";
$last_replies = $db->sql_query($last_topic_replies_sql);
$new_mb_sql="SELECT user_id,username,user_posts FROM phpbb_users ORDER BY user_id DESC LIMIT 5";
$new_mb = $db->sql_query($new_mb_sql);
// pr?paration de l'affichage (top5 utilisateurs)
while ($line = mysql_fetch_array($top_posting_users) AND $line2 = mysql_fetch_array($last_replies) AND $line3 = mysql_fetch_array($new_mb)) {
$rank++;
if($num==1) {
$class=row1;
$num = 0;
} else {
$class=row2;
$num++;
}
$usertop5 = append_sid("profile.php?mode=viewprofile&u=".$line['user_id']);
$newmb = append_sid("profile.php?mode=viewprofile&u=".$line3['user_id']);
$topic = append_sid("viewtopic.php?t=".$line2['topic_id']);
$sql = "SELECT poster_id, COUNT(*) AS real_user_posts
FROM ".POSTS_TABLE. "
WHERE poster_id = ".$line['user_id']."
GROUP BY poster_id";
$result = $db->sql_query($sql);
$rowuserposts = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
$posts_per_day = $rowuserposts['real_user_posts'];
$sql = "SELECT poster_id, COUNT(*) AS real_user_posts
FROM ".POSTS_TABLE. "
WHERE poster_id = ".$line3['user_id']."
GROUP BY poster_id";
$result = $db->sql_query($sql);
$rowuserposts = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
$posts_per_day2 = $rowuserposts['real_user_posts'];
$template->assign_block_vars('mini', array(
'NEWMB' => $newmb,
'NBNAME' => $line3['username'],
'POST' => $posts_per_day2,
'POSTER' => $usertop5,
'POSTERA' => $line['username'],
'NBPOSTS' => $posts_per_day,
'TOPIC' => $topic,
'ID' => $line2['topic_views'],
'ROW' => $class,
'NOM' => $line2['topic_title'])
);
};
// fin du top 5 utilisateurs
//
//sujet le plus populaire
//
$topic_views_sql="SELECT topic_title,topic_views,topic_id FROM phpbb_topics ORDER BY topic_views DESC LIMIT 1";
$more_views = $db->sql_query($topic_views_sql);
while ($line = mysql_fetch_array($more_views)) {
$topic = append_sid("viewtopic.php?t=".$line['topic_id']);
$template->assign_block_vars('pop', array(
'TOPIC' => $topic,
'POST' => $line['topic_title'],
'NB' => $line['topic_views'])
);
};
// fin du sujet le plus populaire
// Begin Ehdaa
if ($board_config['show_ehdaa'])
{
include($phpbb_root_path . 'ehdaa.'.$phpEx);
}
// End Ehdaa
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
احذر احد اكبر النصابين في العالم علاء مفيد الشربجي والموجود لدينا في هذا المنتدى بإسمين
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
- صمت الحروف
- عضو متميز
- مشاركات: 341
- اشترك في: الأربعاء أغسطس 11, 2004 11:18 pm
- مكان: على الماسنجر
- اتصال:
??? ?????? ???? ??? ?????? ???????
??????? ??? ?? ????????
???? ?????? ?? ???? ???? ????? ?? ??? ?????????? ???? ?????? ??? ?????? ???
????????? ???? ????? ?????? ??? ??????? ?? ????????
????? ???? ?? ????? ??????????
??????? ??? ??? ???? ???????? ????????
????? ??
??????? ??? ?? ????????
???? ?????? ?? ???? ???? ????? ?? ??? ?????????? ???? ?????? ??? ?????? ???
????????? ???? ????? ?????? ??? ??????? ?? ????????
????? ???? ?? ????? ??????????
??????? ??? ??? ???? ???????? ????????
????? ??
احذر احد اكبر النصابين في العالم علاء مفيد الشربجي والموجود لدينا في هذا المنتدى بإسمين
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
( Micro$oft && supercool ) ابا عن جد
تابع هذا الموضوع:
http://www.phpbbarabia.com/board/viewtopic.php?t=24412
احذروا من هذا الموقع
السراج التطويرية الشاملة
>> http://www.elsiraj.net
فهو نصاب وحرامي درجة اولى
- momo2020
- عضو فعال
- مشاركات: 625
- اشترك في: الأربعاء ديسمبر 21, 2005 3:08 am
- مكان: مصـــ ام الدنيا ـــر
- اتصال:
????? ?? ??? ???? ????? ???? ?? ???? ????? ??? ??????? ( ????? ????????? - ???????????)???? ?????? ?? ???? ???? ????? ?? ??? ?????????? ???? ?????? ??? ?????? ???
?? ??? ???? ???? ??????? ??? ??? ???? ???? ???????:o
كلمتان خفيفتان على اللسان ثقيلتان في الميزان حبيبتان الى الرحمن .. سبحان الله وبحمده سبحان الله العظيم .
هـــلا

- momo2020
- عضو فعال
- مشاركات: 625
- اشترك في: الأربعاء ديسمبر 21, 2005 3:08 am
- مكان: مصـــ ام الدنيا ـــر
- اتصال:
??? ?? ??????? ??? ???????
?? ???? ?????????? ?? ??????:
??? ?? ???? ????? ?????????:
[/b]
???? ?? ??? ?? ???? ?? ??? ??????? ?????? ?????
??? ??? ???? ???? ????
??????
?? ???? ?????????? ?? ??????:
كود: تحديد الكل
#
#-----[ ???? ]------------------------------------------
#
/templates/subSilver/index_body.tpl
#
#-----[ ???? ]------------------------------------------
#
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
#
#-----[ ???????? ??]------------------------------------
#
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}<br /><br />{USERS_OF_THE_DAY_LIST}</span></td>
كود: تحديد الكل
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
[ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]
#
#-----[ REPLACE WITH ]------------------------------------------
#
{COLOR_GROUPS_LIST}
???? ?? ??? ?? ???? ?? ??? ??????? ?????? ?????
??? ??? ???? ???? ????
??????

كلمتان خفيفتان على اللسان ثقيلتان في الميزان حبيبتان الى الرحمن .. سبحان الله وبحمده سبحان الله العظيم .
هـــلا

????? ? ????? ????? ???? ???????
??? ???? ?? ??? ????
?????? ???????
??? ?? ?? ???? ?? ?????? ???? ??? ????? ????
??? ???????? ?????? ???????? ??? dr.3 ????? ???? ?????? ??
?? ???? ??? ???????? ?? ????? ???? ????? ?????? ??????? ??????? ?? ??
??? dr.3 ???? ??????? ?????? ??? ?????? ??????? ???? ?? ?????? ???? ????? ??? index.php
???? ??? ??????? ???
???? ???? ?? ???? ????????? ???????
?????? ???????
???? ????? ?? ???? ?????? ??? ????? ????????? ???? ?? ????? ??????
??? ???
???? ???? ?? ???? ????????? ???????
????? ?? ??? ????? ???? ??????? ??????
???? ??? ???????
??? ??? ???? ???? ?????????
??? ???? .. ?? ??? ????
?????? : ???????? ????????
?????? ???? phpbb2.0.19
?????? ?????? golden ??????
??????? ??????
???? ??????? : http://ammory.amidal.com/phpbb
??? ???? ?? ??? ????
?????? ???????
??? ?? ?? ???? ?? ?????? ???? ??? ????? ????
??? ???????? ?????? ???????? ??? dr.3 ????? ???? ?????? ??
?? ???? ??? ???????? ?? ????? ???? ????? ?????? ??????? ??????? ?? ??
??? dr.3 ???? ??????? ?????? ??? ?????? ??????? ???? ?? ?????? ???? ????? ??? index.php
???? ??? ??????? ???
???? ???? ?? ???? ????????? ???????
DEBUG MODE
SQL Error : 1146 Table 'amory_phpb1.COLOR_GROUPS_TABLE' doesn't exist
SELECT group_id, group_name FROM COLOR_GROUPS_TABLE
Line : 145
File : admin_color_groups.php
?????? ???????
???? ????? ?? ???? ?????? ??? ????? ????????? ???? ?? ????? ??????
??? ???
???? ???? ?? ???? ????????? ???????
DEBUG MODE
SQL Error : 1146 Table 'amory_phpb1.COLOR_GROUPS_TABLE' doesn't exist
SELECT group_id, group_name FROM COLOR_GROUPS_TABLE
Line : 145
File : admin_color_groups.php
????? ?? ??? ????? ???? ??????? ??????
???? ??? ???????
??? ??? ???? ???? ?????????
??? ???? .. ?? ??? ????
?????? : ???????? ????????
?????? ???? phpbb2.0.19
?????? ?????? golden ??????
??????? ??????
???? ??????? : http://ammory.amidal.com/phpbb
تفضلوا بالدخول لـ شبكة المصمم الليبي للتصميم والاستضافة
الموجودون الآن
المتصفحون للمنتدى الآن: لا يوجد أعضاء مسجلين متصلين و 4 زوار