[مجابة] مشكلة في هاك الاعلان الشامل

منتدى خاص للنقاش حول هاكات الجيل الثاني أفكارها، مشاكل تركيبها وكل ماله علاقة بها.

المشرف: alhitary

صورة العضو الرمزية
KMHER
عضو جديد
عضو جديد
مشاركات: 6
اشترك في: الاثنين مايو 29, 2006 4:59 pm

[?????] ????? ?? ??? ??????? ??????

مشاركةبواسطة KMHER » الثلاثاء مايو 30, 2006 12:10 pm

??? ??? ?????? ??? ??????? ?????? ??? ?????? 2.0.20

???? ???? ???????
?????? ?? ?????? ??????? ?????? ?? ???? ??? ????? ??????? ????? ?? ??????? ?? ????? ????? ?? ??? posting.php

صورة



??????? ?????? ?? ??????

صورة


??????? ??? ???? ??????? ?? ??? admin_ug_auth.php



????? ?? ??????? ?? ???? ?? ??? admin_ug_auth.php ???? posting.php ???? ???? ??? ??????? ??????

???? ???? ???? ??? ??? ?????
آخر تعديل بواسطة KMHER في الجمعة يوليو 14, 2006 6:43 pm، تم التعديل مرتين في المجمل.




(SKAY)
مشرف سابق
مشرف سابق
مشاركات: 1528
اشترك في: السبت سبتمبر 24, 2005 3:35 pm
مكان: فلسطين
اتصال:

مشاركةبواسطة (SKAY) » الأربعاء مايو 31, 2006 3:18 am

?????? ????? ????? ???? ???????
???? ???? ?????? ??? ?????? ,
http://www.phpbbarabia.com/board/viewtopic.php?t=21168
????? ???? ?? ????? ??????? ????? ????? ??????? ?????? ?????? ????? ?????? ?? ??? posting.ph
???? ??????? ???? ?? ??? ????? , ???? ??????? ????????
?? ??????
Skay
صورة البحث في مواضيع المنتدى خير وسيلة للمحافظة علي وقتكـ
صورة ضع رابط منتداكــ في توقيعك أو ملفكـ الشخصي لتحصل علي الدعم الفني

صورة العضو الرمزية
KMHER
عضو جديد
عضو جديد
مشاركات: 6
اشترك في: الاثنين مايو 29, 2006 4:59 pm

مشاركةبواسطة KMHER » الأربعاء مايو 31, 2006 11:10 pm

?????? ????? ????? ???? ???????


???? ???? ??? ??? ?????? ??? ??????? ???? ?? ?????? ??? ?? ????? ??????


??? ????? ??? ???? ??? ???? ??? ????? ?????? ?????
رابط منتداي

http://kmheer.orgfree.com/forum/

(SKAY)
مشرف سابق
مشرف سابق
مشاركات: 1528
اشترك في: السبت سبتمبر 24, 2005 3:35 pm
مكان: فلسطين
اتصال:

مشاركةبواسطة (SKAY) » الخميس يونيو 01, 2006 12:57 am

?????? ?????? ????? ???? ???????
??? KMHER, ?? ???? ??? ?? ???? ?? ????? ???? ???????? ??????? ??????? ??? ?????

???? ??? ??? ??????? ???????? ???? ??????? :
???? ??T ?????? ?? ???????? overall_header ??????? ????? left ??? right ???? ????????? ?? ?? ????? ?? ?? ???? ?? ????? left ???????? right , ????? ???????? ??? ????? ?? ?????? ??? ??? ????? ???? ??????? ???? ???? ??????? ??? ???? ??????????? ???? ?????
Skay
صورة البحث في مواضيع المنتدى خير وسيلة للمحافظة علي وقتكـ
صورة ضع رابط منتداكــ في توقيعك أو ملفكـ الشخصي لتحصل علي الدعم الفني

صورة العضو الرمزية
KMHER
عضو جديد
عضو جديد
مشاركات: 6
اشترك في: الاثنين مايو 29, 2006 4:59 pm

مشاركةبواسطة KMHER » الخميس يونيو 01, 2006 3:56 am

?????? ????? ????? ???? ???????

??? ??? ???? ????? ????? ???? left ??? RIGHT ?? ??? ???? ??? ????? ???? ???? ?????? ?? ????? :cry:




??? ??? ??? ??? ??????? ??????

??? ??? ??? ?????? ?????? ?? ???????





كود: تحديد الكل

############################################################## 
## MOD Title:          Global announcement 
## MOD Author:         Niels < ncr@db9.dk > (Niels Chr. R?d) http://mods.db9.dk 
## MOD Description:    This mod, makes it posible to post global
##                     announcements viewable in all forums.
## MOD Version:        1.2.9
## MOD Compatibility:  2.0.20
## 
## Installation Level: Intermediate
## Installation Time:  15 Minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit:      14
##      index.php
##      modcp.php
##      posting.php 
##      search.php 
##      viewforum.php 
##      admin/admin_forumauth.php 
##      admin/admin_ug_auth.php 
##      includes/auth.php
##      includes/constants.php 
##      includes/functions.php
##      language/lang_english/lang_admin.php 
##      language/lang_english/lang_main.php 
##      templates/subSilver/subSilver.cfg 
##      templates/subSilver/viewforum_body.tpl
##
## Included Files:     3
##      root/templates/subSilver/images/folder_global_announce.gif
##      root/templates/subSilver/images/folder_global_announce_new.gif
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2 
############################################################## 
## For security purposes, please check: http://www.phpbb.com/mods/ 
## for the latest version of this MOD. Although MODs are checked 
## before being allowed in the MODs Database there is no guarantee 
## that there are no security problems within the MOD. No support 
## will be given for MODs not found within the MODs Database which 
## can be found at http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: 
## 
## 1. Full MOD description
## -----------
## This mod, makes it posible to post global announcements
## viewable in all forums, it suppport auth level, witch means
## you can define in forum permissions, who have right to post
## global announcements, note though that if you have given
## this rights in one forum, then it gives no meaning to restrict
## it to the same user(s) in another forum - the post is global
## Note also that once a global announcement is posted, the
## permission on the topic, will be the same as that forum
## where it is initially posted, this is useful if you wan to
## restrict your users from replying - solution is to post the
## global announcement inside a forum where the users can not
## reply, the subject of the global announcement will though
## always be visible, even though the user have no rigths , it
## is first when they try to view the topic, that the permission
## in the original forum takes over.
## There is a known isue this this mod, a global announcement
## will still "belong" to the forum where it original was posted,
## this means that if a user reply to sutch a post, then they will
## be redirected to that forum, nothing to do about that, also
## when using search, it will be displayed "as" in the original
## posted forum.
## If you wish to assign special rigths to the global announcement,
## then you may costumice the constants.php , change the value of
## HIDDEN_CAT witch a category id,. This category is hidden to all
## except ADMIN inside this category, make a forum with a empty
## name, and post the global announcement here that way preventing
## the users to se the forum, where the global announcement is posted
## make this forum "view_auth" ALL and "read_auth" ALL, all
## other settings are up to you (in current version of phpbb2,
## you can't create a forum without a name, but you can
## change/delete the name after it is created ! )
##
## 2. EasyMOD
## -----------
## This MOD is compatible and can be installed by EasyMOD
## of Nuttzy (but is not officially EasyMOD Compliant)!
## http://area51.phpbb.com/phpBB22/viewforum.php?sid=&f=15
##
## However, on alpha releases of EM and meanwhile beta or 
## final release some actions are NOT performed.
## You'll have to do them manually !
##
## 2.1 Translation are not managed
## -----------
## EM can not already manage actions for any other
## language than English (but language intructions are proceed
## to all installed languages in order to prevent errors).
## So the translations provided with this MOD must be installed
## manually if you need them.
##
## 3. Official last version link
## -----------
## Meanwhile the phpBB group validation and as the MOD is not yet
## in the phpBB MOD database, check this official link for updates...
## http://mods.db9.dk/viewtopic.php?t=17
##
############################################################## 
## MOD History: 
## 
##   2006-04-17 - Version 1.2.9
##      - Added 2.0.18+ fix
##      - Removed updatefile and added normal SQL instructions
#       - EasyMod templatefixes
##
##   2003-12-13 - Version 1.2.8
##      - phpBB template & EasyMOD compliance enhancement
##      - Chinese Traditional Taiwan, Dutch, Estonian, French,
##        German, Hungarian, Icelandic, Italian, Lithuanian
##        Polish & Spanish translations now provide with the MOD
## 
##   2003-08-05 - Version 1.2.7
##      - corrected the how-to header
## 
##   ????-??-?? - Version 1.2.6
##      - corrected some problem in the how-to related to EM - if other mods was installed
##      - posting.php updated, as the code hade changed slightly
## 
##   ????-??-?? - Version 1.2.5
##        - verifyed for 2.0.6. and EM ready
## 
##   ????-??-?? - Version 1.2.4
##        - improved the code into search.php thanks to the user "FX"
## 
##   ????-??-?? - Version 1.2.3
##        - includes images for "fi apple" template
## 
##   ????-??-?? - Version 1.2.2
##        - fixed that the "hidden" cattegory "global_announcement" was showen in drop-down box
## 
##   ????-??-?? - Version 1.2.1
##        - folder URL of folder_global_announce_new.gif was wrong
## 
##   ????-??-?? - Version 1.2.0
##        - now confirmed on phpBB2 ver 2.0.2, minor changes needed
## 
##   ????-??-?? - Version 1.0.7
##        - makes it posible to make a hidden category, so global announcement can be controlled more exact	
## 
##   ????-??-?? - Version 1.0.6
##        - one more typo fixed in the admin_ug_auth.php
## 
##   ????-??-?? - Version 1.0.5
##        - History started, fixed a error in admin_ug_auth.php
## 
##   ????-??-?? - Version 1.0.0
##        - initial release
## 
##   ????-??-?? - Version 0.9.0
##        - initial beta
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
# 
#-----[ COPY ]------------------------------------------------ 
# 
copy root/templates/subSilver/images/folder_global_announce.gif to templates/subSilver/images/folder_global_announce.gif
copy root/templates/subSilver/images/folder_global_announce_new.gif to templates/subSilver/images/folder_global_announce_new.gif

# 
#-----[ SQL ]------------------------------------------------- 
# 
ALTER TABLE phpbb_forums ADD auth_globalannounce TINYINT (2) DEFAULT "3" NOT NULL AFTER auth_announce;
ALTER TABLE phpbb_auth_access ADD auth_globalannounce TINYINT (1) not null AFTER auth_announce;

# 
#-----[ OPEN ]------------------------------------------------ 
# 
index.php

# 
#-----[ FIND ]------------------------------------------------ 
# 
FROM " . CATEGORIES_TABLE . " c

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	".(($userdata['user_level']!=ADMIN)? "WHERE c.cat_id<>'".HIDDEN_CAT."'" :"" )."
# 
#-----[ OPEN ]------------------------------------------------ 
# 
modcp.php

# 
#-----[ FIND ]------------------------------------------------ 
# 
if ( $row['topic_type'] == POST_ANNOUNCE ) 

# 
#-----[ BEFORE, ADD ]----------------------------------------- 
#

// Start add - Global announcement MOD
if ( $row['topic_type'] == POST_GLOBAL_ANNOUNCE ) 
{ 
   $folder_img = $images['folder_global_announce']; 
   $folder_alt = $lang['Global_announcement']; 
}else 
// End add - Global announcement MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
if ( $topic_type == POST_ANNOUNCE ) 

# 
#-----[ BEFORE, ADD ]----------------------------------------- 
#

// Start add - Global announcement MOD
if ( $topic_type == POST_GLOBAL_ANNOUNCE ) 
{ 
   $topic_type = $lang['Topic_global_announcement'] . ' '; 
}else 
// End add - Global announcement MOD

# 
#-----[ OPEN ]------------------------------------------------ 
# 
posting.php

# 
#-----[ FIND ]------------------------------------------ 
#
$topic_type = ( in_array($topic_type, array(POST_NORMAL


# 
#-----[ IN-LINE FIND ]------------------------------------------ 
#
POST_ANNOUNCE

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
#
, POST_GLOBAL_ANNOUNCE


# 
#-----[ FIND ]------------------------------------------------ 
# 
if ( $topic_type == POST_ANNOUNCE )

# 
#-----[ BEFORE, ADD ]----------------------------------------- 
#

// Start add - Global announcement MOD
if ( $topic_type == POST_GLOBAL_ANNOUNCE ) 
{
$is_auth_type = 'auth_globalannounce'; 
}
else 
// End add - Global announcement MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
$topic_type = ( $topic_type != $post_data['topic_type'] && !$is_auth['auth_sticky'] && !$is_auth['auth_announce'] ) ? $post_data['topic_type'] : $topic_type;

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
)

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
# 
 && !$is_auth['auth_globalannounce'] 

# 
#-----[ FIND ]------------------------------------------------ 
# 
   $topic_type_toggle .= ' /> ' . $lang['Post_Announcement'] . '  '; 
} 

# 
#-----[ AFTER, ADD ]------------------------------------------
#

// Start add - Global announcement MOD
if( $is_auth['auth_globalannounce'] ) 
{ 
   $topic_type_toggle .= '<input type="radio" name="topictype" value="' . POST_GLOBAL_ANNOUNCE . '"'; 
   if ( $post_data['topic_type'] == POST_GLOBAL_ANNOUNCE || $topic_type == POST_GLOBAL_ANNOUNCE ) 

   if ( $post_data['topic_type'] == POST_GLOBAL_ANNOUNCE ) 
   { 
      $topic_type_toggle .= ' checked="checked"'; 
   } 
   $topic_type_toggle .= ' /> ' . $lang['Post_global_announcement'] . '  '; 
} 
// End add - Global announcement MOD

# 
#-----[ OPEN ]------------------------------------------------ 
# 
search.php
 
# 
#-----[ FIND ]------------------------------------------------ 
# 
if ($topic_type == POST_ANNOUNCE)
{
	$topic_type = 
}

# 
#-----[ BEFORE, ADD ]----------------------------------------- 
#

// Start add - Global announcement MOD
if($topic_type == POST_GLOBAL_ANNOUNCE ) 
{ 
   $topic_type = $lang['Topic_global_announcement'] . " "; 
} else
// End add - Global announcement MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
else if ( $searchset[$i]['topic_type'] == POST_ANNOUNCE )

# 
#-----[ BEFORE, ADD ]----------------------------------------- 
#

// Start add - Global announcement MOD
else if ( $searchset[$i]['topic_type'] == POST_GLOBAL_ANNOUNCE  ) 
{ 
   $folder =  $images['folder_global_announce']; 
   $folder_new = $images['folder_global_announce_new']; 
} 
// End add - Global announcement MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
$sql = "SELECT c.cat_title, c.cat_id, f.forum_name, f.forum_id  
	FROM " . CATEGORIES_TABLE . " c, " . FORUMS_TABLE . " f
	WHERE f.cat_id = c.cat_id

# 
#-----[ AFTER, ADD ]------------------------------------------
#
	".(($userdata['user_level'] == ADMIN)? "" : " AND c.cat_id<>'".HIDDEN_CAT."'" )."
# 
#-----[ OPEN ]------------------------------------------------ 
# 
viewforum.php

# 
#-----[ FIND ]------------------------------------------------ 
# 
// 
// All announcement data, this keeps announcements 
// on each viewforum page ... 

# 
#-----[ BEFORE, ADD ]----------------------------------------- 
#

// 
// All GLOBAL announcement data, this keeps GLOBAL announcements 
// on each viewforum page ... 
// 
$sql = "SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_time, p.post_username 
   FROM " . TOPICS_TABLE . " t, " . USERS_TABLE . " u, " . POSTS_TABLE . " p, " . USERS_TABLE . " u2 
   WHERE t.topic_poster = u.user_id 
      AND p.post_id = t.topic_last_post_id 
      AND p.poster_id = u2.user_id 
      AND t.topic_type = " . POST_GLOBAL_ANNOUNCE . " 
   ORDER BY t.topic_last_post_id DESC "; 
if( !$result = $db->sql_query($sql) ) 
{ 
   message_die(GENERAL_ERROR, "Couldn't obtain topic information", "", __LINE__, __FILE__, $sql); 
} 

$topic_rowset = array(); 
$total_announcements = 0; 
while( $row = $db->sql_fetchrow($result) ) 
{ 
   $topic_rowset[] = $row; 
   $total_announcements++; 
} 

$db->sql_freeresult($result); 
// End add - Global announcement MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
$topic_rowset = array();
$total_announcements = 0;

# 
#-----[ REPLACE WITH ]---------------------------------------- 
# 

// 2 rows deleted - Global announcement MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
		AND t.topic_type <> " . POST_ANNOUNCE . " 

# 
#-----[ AFTER, ADD ]------------------------------------------
#
		AND t.topic_type <> " . POST_GLOBAL_ANNOUNCE . " 
# 
#-----[ FIND ]------------------------------------------------ 
# 
'FOLDER_ANNOUNCE_NEW_IMG' => $images['folder_announce_new'],

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

// Start add - Global announcement MOD
'FOLDER_GLOBAL_ANNOUNCE_IMG' => $images['folder_global_announce'],
'FOLDER_GLOBAL_ANNOUNCE_NEW_IMG' => $images['folder_global_announce_new'],
// End add - Global announcement MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
'L_ANNOUNCEMENT' => $lang['Post_Announcement'], 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

// Start add - Global announcement MOD
'L_GLOBAL_ANNOUNCEMENT' => $lang['Post_global_announcement'], 
// End add - Global announcement MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
if( $topic_type == POST_ANNOUNCE ) 
{ 
	$topic_type = $lang['Topic_Announcement'] . ' ';
} 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

// Start add - Global announcement MOD
else if( $topic_type == POST_GLOBAL_ANNOUNCE ) 
{ 
   $topic_type = $lang['Topic_global_announcement'] . ' '; 
} 
// End add - Global announcement MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE ) 
{ 
   $folder = $images['folder_announce']; 

# 
#-----[ BEFORE, ADD ]----------------------------------------- 
#

// Start add - Global announcement MOD
if( $topic_rowset[$i]['topic_type'] == POST_GLOBAL_ANNOUNCE ) 
{ 
	$folder = $images['folder_global_announce']; 
	$folder_new = $images['folder_global_announce_new']; 
} 
else 
// End add - Global announcement MOD

# 
#-----[ OPEN ]------------------------------------------------ 
# 
admin/admin_forumauth.php

# 
#-----[ FIND ]------------------------------------------------ 
# 
//                View      Read      Post      Reply     Edit     Delete    Sticky   Announce    Vote      Poll

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

// Globalannounce added

# 
#-----[ FIND ]------------------------------------------------ 
# 
$simple_auth_ary = array(
0  => array(

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
),

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
# 
, AUTH_MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
1  => array(

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
),

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
#
, AUTH_MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
2  => array(

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
),

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
#
, AUTH_MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
3  => array(

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
),

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
#
, AUTH_MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
4  => array(

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
),

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
#
, AUTH_MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
5  => array(

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
),

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
#
, AUTH_MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
6  => array(

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
),

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
#
, AUTH_MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
$forum_auth_fields = array(

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
);

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
# 
, 'auth_globalannounce'

# 
#-----[ FIND ]------------------------------------------------ 
# 
']);

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
);

# 
#-----[ IN-LINE REPLACE WITH ]-------------------------------- 
#
,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

// Start add - Global announcement MOD
'auth_globalannounce' => $lang['Globalannounce']);
// End add - Global announcement MOD

# 
#-----[ OPEN ]------------------------------------------------ 
# 
admin/admin_ug_auth.php

# 
#-----[ FIND ]------------------------------------------------ 
# 
$forum_auth_fields = array(

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
);

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
#
, 'auth_globalannounce'

# 
#-----[ FIND ]------------------------------------------------ 
# 
'auth_announce' => AUTH_ANNOUNCE, 

# 
#-----[ FIND ]------------------------------------------------ 
# 
);

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
);

# 
#-----[ IN-LINE REPLACE WITH ]-------------------------------- 
#
,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

// Start add - Global announcement MOD
'auth_globalannounce' => AUTH_GLOBALANNOUNCE);
// End add - Global announcement MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
']);

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
);

# 
#-----[ IN-LINE REPLACE WITH ]-------------------------------- 
#
,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

// Start add - Global announcement MOD
'auth_globalannounce' => $lang['Globalannounce']);
// End add - Global announcement MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
SET auth_view = 0,
WHERE

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
 WHERE

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
# 
, auth_globalannounce = 0 

# 
#-----[ FIND ]------------------------------------------------ 
# 
SET auth_view = 0,
WHERE

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
 WHERE

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
# 
, auth_globalannounce = 0 

# 
#-----[ OPEN ]------------------------------------------------ 
# 
includes/auth.php
 
# 
#-----[ FIND ]------------------------------------------------ 
# 
case AUTH_ALL:
$a_sql = '

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
';

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
# 
, a.auth_globalannounce

# 
#-----[ FIND ]------------------------------------------------ 
# 
$auth_fields = array(

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
);

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
# 
, 'auth_globalannounce'

# 
#-----[ FIND ]------------------------------------------------ 
# 
default:
break;

# 
#-----[ BEFORE, ADD ]----------------------------------------- 
# 

// Start add - Global announcement MOD
case AUTH_GLOBALANNOUNCE: 
$a_sql = 'a.auth_globalannounce'; 
$auth_fields = array('auth_globalannounce'); 
break; 
// End add - Global announcement MOD

# 
#-----[ OPEN ]------------------------------------------------ 
# 
includes/constants.php

# 
#-----[ FIND ]------------------------------------------------ 
# 
define('AUTH_ATTACH', 11); 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

// Start add - Global announcement MOD
define('AUTH_GLOBALANNOUNCE', 12); 
define('HIDDEN_CAT', 0); // NOTE: change this value to the forum id, of the forum, witch you would like to be hidden
// End add - Global announcement MOD

# 
#-----[ OPEN ]------------------------------------------------ 
# 
includes/functions.php

# 
#-----[ FIND ]------------------------------------------------ 
# 
function make_jumpbox
{
	global

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
;

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
# 
, $userdata

# 
#-----[ FIND ]------------------------------------------------ 
# 
$sql = "SELECT 
FROM " . CATEGORIES_TABLE . " c, " . FORUMS_TABLE . " f
WHERE f.cat_id = c.cat_id

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
		".(($userdata['user_level'] == ADMIN)? "" : " AND c.cat_id<>'".HIDDEN_CAT."'" )."
# 
#-----[ OPEN ]------------------------------------------------ 
# 
language/lang_english/lang_admin.php

# 
#-----[ FIND ]------------------------------------------------ 
# 
?>

# 
#-----[ BEFORE, ADD ]----------------------------------------- 
#

// Start add - Global announcement MOD
$lang['Globalannounce'] ='Global Announce'; 
// End add - Global announcement MOD

# 
#-----[ OPEN ]------------------------------------------------ 
#
language/lang_english/lang_main.php

# 
#-----[ FIND ]------------------------------------------------ 
# 
?>

# 
#-----[ BEFORE, ADD ]----------------------------------------- 
# 

// Start add - Global announcement MOD
$lang['Topic_global_announcement']='<b>Global Announcement:</b>'; 
$lang['Post_global_announcement'] = 'Global Announcement';
// End add - Global announcement MOD

# 
#-----[ OPEN ]------------------------------------------------ 
# 
# Remember to do this to all instaled template on the board
#
templates/subSilver/subSilver.cfg

# 
#-----[ FIND ]------------------------------------------------ 
# 
$images['folder_announce_new'] = "$current_template_images/folder_announce_new.gif";

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

// Start add - Global announcement MOD
$images['folder_global_announce'] = "$current_template_images/folder_global_announce.gif";
$images['folder_global_announce_new'] = "$current_template_images/folder_global_announce_new.gif";
// End add - Global announcement MOD

# 
#-----[ OPEN ]------------------------------------------------ 
# 
# Remember to do this to all instaled template on the board
#
templates/subSilver/viewforum_body.tpl

# 
#-----[ FIND ]------------------------------------------------ 
# 
<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_ANNOUNCEMENT}</td>

# 
#-----[ REPLACE WITH ]---------------------------------------- 
# 

<!-- Start replacement - Global announcement MOD -->
<td width="20" align="center"><img src="{FOLDER_GLOBAL_ANNOUNCE_IMG}" alt="{L_GLOBAL_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_GLOBAL_ANNOUNCEMENT}</td>
<!-- End replacement - Global announcement MOD -->

# 
#-----[ FIND ]------------------------------------------------ 
# 
<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
<td class="gensmall">{L_STICKY}</td>

# 
#-----[ REPLACE WITH ]---------------------------------------- 
# 

<!-- Start replacement - Global announcement MOD -->
<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_ANNOUNCEMENT}</td>
<!-- End replacement - Global announcement MOD -->

# 
#-----[ FIND ]------------------------------------------------ 
# 
<td class="gensmall"><img src="{FOLDER_LOCKED_IMG}"
<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

<!-- Start add - Global announcement MOD -->
<td>  </td>
<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
<td class="gensmall">{L_STICKY}</td>
<!-- End add - Global announcement MOD -->

# 
#-----[ DIY INSTRUCTIONS ]------------------------------------------ 
#
In the translations directory you find instructions for editting other languages.
EasyMod put the English language also in other languages, so make sure you remove
that before you add the original language strings.


# 
#-----[ SAVE/CLOSE ALL FILES ]-------------------------------- 
# 
# EoM
رابط منتداي

http://kmheer.orgfree.com/forum/

(SKAY)
مشرف سابق
مشرف سابق
مشاركات: 1528
اشترك في: السبت سبتمبر 24, 2005 3:35 pm
مكان: فلسطين
اتصال:

مشاركةبواسطة (SKAY) » الخميس يونيو 01, 2006 4:56 am

?????? ????? ????? ???? ???????
???? ??? ????? ???? ?? ???????? ??????? ?? ????? ??? ?? ??? ????? ?? ?? ?? ???
?? ???? ???????? ?????
??????? ?????? ???????? ???? ?? ??? ?????? ?? ????? ????????
?? ??????
Skay
صورة البحث في مواضيع المنتدى خير وسيلة للمحافظة علي وقتكـ
صورة ضع رابط منتداكــ في توقيعك أو ملفكـ الشخصي لتحصل علي الدعم الفني

صورة العضو الرمزية
KMHER
عضو جديد
عضو جديد
مشاركات: 6
اشترك في: الاثنين مايو 29, 2006 4:59 pm

مشاركةبواسطة KMHER » الخميس يونيو 01, 2006 3:07 pm

??????? ???? ??????? ?????? ???? ?????? ?? ???? ????



??????? ???? overall header ??? ??

كود: تحديد الكل

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/OrangeAura/OrangeAura.css" type="text/css">
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
        if ( {PRIVATE_MESSAGE_NEW_FLAG} )
        {
                window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
        }
//-->
</script>
<!-- END switch_enable_pm_popup -->
<link rel="alternate" title="{L_RSS}" href="{U_RSS}"

type="application/rss+xml">
</head>
<body background="templates/OrangeAura/images/bg.gif" border="0" bgproperties="fixed" topmargin="0">

<a name="top"></a>

<table width="85%" cellspacing="0" cellpadding="0" border="0" align="center" class="tableline">
                <td class="bodyline">
                <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
                        <tr>
                <td background="templates/OrangeAura/images/header3.gif" height="76">
                <a href="faq.php"><img border="0" src="templates/OrangeAura/images/faq.gif" width="40" height="50" alt="{L_FAQ}"></a><a href="search.php"><img border="0" src="templates/OrangeAura/images/search.gif" width="40" height="50" alt="{L_SEARCH}"></a><a href="memberlist.php"><img border="0" src="templates/OrangeAura/images/memberlist.gif" width="40" height="50" alt="{L_MEMBERLIST}"></a><a href="groupcp.php"><img border="0" src="templates/OrangeAura/images/groups.gif" width="40" height="50" alt="{L_USERGROUPS}"></a><a href="profile.php?mode=register"><img border="0" src="templates/OrangeAura/images/register.gif" width="40" height="50" alt="{L_REGISTER}"></a><a href="login.php"><img border="0" src="templates/OrangeAura/images/login.gif" width="40" height="50" alt="{L_LOGIN_LOGOUT}"></a><a href="privmsg.php?folder=inbox"><img border="0" src="templates/OrangeAura/images/pm.gif" width="40" height="50" alt="{L_PRIVATEMSGS}"></a><a href="profile.php?mode=editprofile"><img border="0" src="templates/OrangeAura/images/profile.gif" width="40" height="50" alt="{L_PROFILE}"></a><a href="{U_LOGIN_LOGOUT}"><img border="0" src="templates/OrangeAura/images/logout.gif" width="40" height="50" alt="{L_LOGIN_LOGOUT}"></a><td background="templates/OrangeAura/images/header3.gif" height="76">

<!-- BEGIN switch_user_logged_out -->

<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->

<!-- END switch_user_logged_in -->

                <a href="index.php">
<img border="0" src="templates/OrangeAura/images/logo.gif" width="230" height="76" alt="{L_INDEX}" align="right"></a></tr>
<tr>
<td background="templates/OrangeAura/images/header2.gif" height="44">
 <td background="templates/OrangeAura/images/header2.gif" height="44">
<img border="0" src="templates/OrangeAura/images/header1.gif" width="231" height="44" align="right"></tr>
</td>
        </table>
        </br>
?????? ??????? ????? ???? ????? ????? ?? phpbb :cry: :cry:
رابط منتداي

http://kmheer.orgfree.com/forum/

صورة العضو الرمزية
KMHER
عضو جديد
عضو جديد
مشاركات: 6
اشترك في: الاثنين مايو 29, 2006 4:59 pm

مشاركةبواسطة KMHER » الخميس يونيو 01, 2006 4:21 pm

?????? ?????


??? ??? ???? ??????? ????? ????? ????

كود: تحديد الكل

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/OrangeAura/OrangeAura.css" type="text/css">
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
        if ( {PRIVATE_MESSAGE_NEW_FLAG} )
        {
                window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
        }
//-->
</script>
<!-- END switch_enable_pm_popup -->
<link rel="alternate" title="{L_RSS}" href="{U_RSS}"

type="application/rss+xml">
</head>
<body background="templates/OrangeAura/images/bg.gif" border="0" bgproperties="fixed" topmargin="0">

<a name="top"></a>

<table width="85%" cellspacing="0" cellpadding="0" border="0" align="center" class="tableline">
                <td class="bodyline">
                <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
                        <tr>
                <td background="templates/OrangeAura/images/header3.gif" height="76">
                <a href="faq.php"><img border="0" src="templates/OrangeAura/images/faq.gif" width="40" height="50" alt="{L_FAQ}"></a><a href="search.php"><img border="0" src="templates/OrangeAura/images/search.gif" width="40" height="50" alt="{L_SEARCH}"></a><a href="memberlist.php"><img border="0" src="templates/OrangeAura/images/memberlist.gif" width="40" height="50" alt="{L_MEMBERLIST}"></a><a href="groupcp.php"><img border="0" src="templates/OrangeAura/images/groups.gif" width="40" height="50" alt="{L_USERGROUPS}"></a><a href="profile.php?mode=register"><img border="0" src="templates/OrangeAura/images/register.gif" width="40" height="50" alt="{L_REGISTER}"></a><a href="login.php"><img border="0" src="templates/OrangeAura/images/login.gif" width="40" height="50" alt="{L_LOGIN_LOGOUT}"></a><a href="privmsg.php?folder=inbox"><img border="0" src="templates/OrangeAura/images/pm.gif" width="40" height="50" alt="{L_PRIVATEMSGS}"></a><a href="profile.php?mode=editprofile"><img border="0" src="templates/OrangeAura/images/profile.gif" width="40" height="50" alt="{L_PROFILE}"></a><a href="{U_LOGIN_LOGOUT}"><img border="0" src="templates/OrangeAura/images/logout.gif" width="40" height="50" alt="{L_LOGIN_LOGOUT}"></a><td background="templates/OrangeAura/images/header3.gif" height="76">

<!-- BEGIN switch_user_logged_out -->

<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->

<!-- END switch_user_logged_in -->

<a href="index.php">
<img border="0" src="templates/OrangeAura/images/logo.gif" width="230" height="76" alt="{L_INDEX}" align="left"></a></tr>
<tr>
<td background="templates/OrangeAura/images/header2.gif" height="44">
<td background="templates/OrangeAura/images/header2.gif" height="44">
<img border="0" src="templates/OrangeAura/images/header1.gif" width="231" height="44" align="left">

</tr>
</td>
        </table>

???? ????? ??????? ???? ?????

?????? ??? ?? ?? ???????
رابط منتداي

http://kmheer.orgfree.com/forum/

(SKAY)
مشرف سابق
مشرف سابق
مشاركات: 1528
اشترك في: السبت سبتمبر 24, 2005 3:35 pm
مكان: فلسطين
اتصال:

مشاركةبواسطة (SKAY) » الخميس يونيو 01, 2006 10:28 pm

??? KMHER, ?? ????? ????? ????? ??? ???? ????? ??? ???? ??? ???? ????? ??? ???? ??? ??????? ??????? ?? ??? ?? ???? ??????? ????? ???? ?????? ?????? ?????
?? ??????
Skay
صورة البحث في مواضيع المنتدى خير وسيلة للمحافظة علي وقتكـ
صورة ضع رابط منتداكــ في توقيعك أو ملفكـ الشخصي لتحصل علي الدعم الفني


العودة إلى ”[ ×.2.0 ] الهاكات“

الموجودون الآن

المتصفحون للمنتدى الآن: Amazon [Bot], Semrush [Bot] و 32 زائرًا