فيه خطا هذا الهاك

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

المشرف: alhitary

صورة العضو الرمزية
ضـو البــدر
عضو جديد
عضو جديد
مشاركات: 91
اشترك في: الاثنين مايو 30, 2005 12:39 pm

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

مشاركةبواسطة ضـو البــدر » الخميس يوليو 28, 2005 2:05 pm

???Announcements On Index

??? ???

#
#-----[ ???? ]------------------------------------------
#

else if ( $searchset[$i]['topic_vote'] )
{
$folder = $images['folder_poll'];
$folder_new = $images['folder_poll_new'];
}

#
#-----[ ???? ]------------------------------------------
#

admin/admin_board.php


???? ?????? ????? ??? ?????
قريبـا

انتـظرو منتـديـات جـوريـ ^.^




صورة العضو الرمزية
ضـو البــدر
عضو جديد
عضو جديد
مشاركات: 91
اشترك في: الاثنين مايو 30, 2005 12:39 pm

مشاركةبواسطة ضـو البــدر » الخميس يوليو 28, 2005 3:19 pm

???.
قريبـا

انتـظرو منتـديـات جـوريـ ^.^

AC
المؤسس
المؤسس
مشاركات: 1939
اشترك في: الجمعة مايو 17, 2002 7:32 am
مكان: السعودية
اتصال:

مشاركةبواسطة AC » الجمعة يوليو 29, 2005 5:59 am

?????? ?????

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

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

?????? :)
لوكان الجهل رجلاً لقتلته

I Hate vBulletin

نِـثَـارٌ (مدونتي) | | وافــــر >> Wapher.Com || مُفيد.كوم >> MoFFed.Com

:idea: البريد والرسائل الخاصه لايعدان السبيل الامثل للدعم الفني :idea:

صورة العضو الرمزية
ضـو البــدر
عضو جديد
عضو جديد
مشاركات: 91
اشترك في: الاثنين مايو 30, 2005 12:39 pm

مشاركةبواسطة ضـو البــدر » الجمعة يوليو 29, 2005 7:46 am

????? ????
قريبـا

انتـظرو منتـديـات جـوريـ ^.^

AC
المؤسس
المؤسس
مشاركات: 1939
اشترك في: الجمعة مايو 17, 2002 7:32 am
مكان: السعودية
اتصال:

مشاركةبواسطة AC » السبت يوليو 30, 2005 4:41 am

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

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

############################################################## 
## MOD Title: [2.0.4] announces from forums on index
## MOD Author: Ptirhiik < admin@rpgnet-fr.com > (Pierre) http://www.rpgnet-fr.com/ 
## MOD Description: This mod picks the announce thru all the forums and displays them on
##			the index according to user's auths.
## MOD Version: 1.0.0  
## 
## Installation Level: easy
## Installation Time: 10 Minutes 
## Files To Edit:
##			index.php,
##			templates/subSilver/index_body.tpl,
##			language/lang_english/subSilver/lang_admin.php,
##			admin/admin_board.php,
##			templates/subSilver/admin/board_config_body.tpl
## Included Files: n/a
##############################################################
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/ 
############################################################## 
############################################################## 
## Author Note: 
##		the default display duration of an announce on the index is 7 days.
##		you can adjust it at your need in the ACP
##############################################################
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
#
#-----[ ???? ]------------------------------------------
#
index.php
#
#-----[ ???? ?? ]------------------------------------------
#
	//
	// Okay, let's build the index
	//
#
#-----[ ??? ???? ]------------------------------------------
#
//-- mod : annonces ---------------------------------------------------------------------------------
//-- add
	//
	// dur?e d'une annonce : 7 jours par d?faut par rapport au dernier reply
	$announcement_duration = 7;
	if ( !isset( $board_config['announcement_duration'] ) )
	{
		$sqlw = "insert into ".CONFIG_TABLE." (config_name,config_value) VALUES('announcement_duration','" . $announcement_duration . "')";
		if ( !($resultw = $db->sql_query($sqlw)) ) message_die(GENERAL_ERROR, 'Could not add key sub_forum in config table', '', __LINE__, __FILE__, $sql);
	}
	if ( isset( $board_config['announcement_duration'] ) )
	{
		$announcement_duration = $board_config['announcement_duration'];
	}
	$time_floor = time() - ( ($announcement_duration-1) * 24 * 3600 );
	//-------------------------------------------
	//
	// aller chercher les annonces
	//
	//-------------------------------------------
	$sql = 'select t.* '.
			'from '.TOPICS_TABLE.' as t, '.POSTS_TABLE. ' as p, '. FORUMS_TABLE . ' as f ' .
			'where p.post_id = t.topic_last_post_id and f.forum_id = t.forum_id and t.topic_type="'.POST_ANNOUNCE.'" '.
			'and p.post_time >= '.$time_floor . ' ' .
			'order by p.post_time desc';
	if( !($result = $db->sql_query($sql)) ) 
		message_die(GENERAL_ERROR, 'Could not query topic list :'. $sql, '', __LINE__, __FILE__, $sql);
	while ($row = $db->sql_fetchrow($result))
	{
		$w_is_auth = array();
		$w_is_auth = auth(AUTH_ALL, $row['forum_id'], $userdata);
		if( $w_is_auth['auth_view'] && $w_is_auth['auth_read'] ) $topicrow[] = $row;
	}
	if ( count($topicrow) > 0 )
	{
		$template->assign_block_vars('switch_annonce',array(
			'L_ANNONCE' => $lang['Post_Announcement'],
			)
		);
		for ($i=0;$i<count($topicrow);$i++)
		{
			$topic_url = append_sid("viewtopic.$phpEx?".POST_TOPIC_URL."=".$topicrow[$i]['topic_id']);
			$template->assign_block_vars('switch_annonce.topicrow',array(
				'TOPIC_FOLDER_IMG'   => $images['folder_announce'],
				'L_TOPIC_FOLDER_ALT' => $lang['Post_Announcement'],
				'U_VIEW_TOPIC'       => $topic_url,
				'TOPIC_TITLE'        => $topicrow[$i]['topic_title']
				)
			);
		}
	}
//-- fin mod : annonces -----------------------------------------------------------------------------
#
#-----[ ???? ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ ???? ?? ]------------------------------------------
#
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr> 
	<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
#
#-----[ ??? ???? ]------------------------------------------
#
<!-- mod : annonces -->
<!-- BEGIN switch_annonce -->
<table width="100%" cellpadding="1" cellspacing="1" border="0" class="forumline">
  <tr>
	<th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap"><span class="tableTitle">{switch_annonce.L_ANNONCE}</span></th>
  </tr>
  <!-- BEGIN topicrow -->
  <tr>
	<td class="row1" align="center" valign="middle" width="35" height="25">
		<img src="{switch_annonce.topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.switch_annonce.L_TOPIC_FOLDER_ALT}" title="{switch_annonce.topicrow.L_TOPIC_FOLDER_ALT}" />
	</td>
	<td class="row1">
		<span class="topictitle"> <a href="{switch_annonce.topicrow.U_VIEW_TOPIC}" class="topictitle">{switch_annonce.topicrow.TOPIC_TITLE}</a></span>
	</td>
  </tr> 
  <!-- END topicrow -->
</table>
<!-- END switch_annonce -->
<!-- fin mod : annonces -->
#
#-----[ ???? ]------------------------------------------
#
language/lang_arabic/lang_admin.php
#
#-----[ ???? ?? ]------------------------------------------
#
//
// That's all Folks!
// -------------------------------------------------
#
#-----[ ??? ???? ]------------------------------------------
#
//-- mod : annonces ---------------------------------------------------------------------------------
//-- add
$lang['announcement_duration'] = '??? ??? ??????? ?? ?????? ????????';
//-- fin mod : annonces -----------------------------------------------------------------------------
#
#-----[ ???? ]------------------------------------------
#
admin/admin_board.php
#
#-----[ ???? ?? ]------------------------------------------
#
$template->assign_vars(array(
#
#-----[ ??? ???? ]------------------------------------------
#
//-- mod : annonces ---------------------------------------------------------------------------------
//-- add
	"L_ANNOUNCEMENT_DURATION" => $lang['announcement_duration'],
	"ANNOUNCEMENT_DURATION" => $new['announcement_duration'],
//-- fin mod : annonces -----------------------------------------------------------------------------
#
#-----[ ???? ]------------------------------------------
#
templates/subSilver/admin/board_config_body.tpl
#
#-----[ ???? ?? ]------------------------------------------
#
	<tr>
	  <th class="thHead" colspan="2">{L_ABILITIES_SETTINGS}</th>
	</tr>
#
#-----[ ??? ???? ]------------------------------------------
#
<!-- mod : annonces -->
	<tr>
	  <td class="row1">{L_ANNOUNCEMENT_DURATION}</td>
	  <td class="row2"><input type="text" name="announcement_duration" size="4" maxlength="4" value="{ANNOUNCEMENT_DURATION}" /></td>
	</tr>
<!-- fin mod : annonces -->
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
لوكان الجهل رجلاً لقتلته

I Hate vBulletin

نِـثَـارٌ (مدونتي) | | وافــــر >> Wapher.Com || مُفيد.كوم >> MoFFed.Com

:idea: البريد والرسائل الخاصه لايعدان السبيل الامثل للدعم الفني :idea:


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

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

المتصفحون للمنتدى الآن: لا يوجد أعضاء مسجلين متصلين و 12 زائرًا