صفحة 1 من 1

????? ??? ???? ?????? ??????? ?? ????? (??? ???????? ??????)

مرسل: الخميس مارس 12, 2009 1:01 pm
بواسطة ealshabaan
???? ????? ... ????????!... ??????? ??? ??? ?????
?? ???? ??????? ???? ????? ?? ??? ???????? ??????? ?? ??????? ????? ?? ???? ????? ??? ?? ???? ????.. ?? ??????? ??? ???????? ??????? ?????? ??????? ??????? (???? ???? ???????????? ???? ?????????)
????? ?????? ??? http://www.tech-nuke.com/main ????????.
???? ??? ?????????
?????? ????

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl" lang="ar">  
???????? ??????

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

<?

// change to the path to your forum
$path = '../forum/';

// amount of topics to show
$amount = 5;

// forum ids to NOT show topics forum, separated by commas
$exclude = '';

// ------ no need to edit below ------ //

require_once("{$path}config.php");

$conid = mysql_connect($dbhost, $dbuser, $dbpasswd);
$db    = mysql_select_db($dbname, $conid);

unset($dbpasswd);

$sql_where = 'WHERE `forum_id` > -1 '; 

if($exclude != '') 
{     
    $exclude_forums = explode(',', $exclude); 
    foreach ($exclude_forums as $id) 
    { 
        if ($id > 0) 
        { 
            $sql_where .= ' AND `forum_id` <> ' . trim($id); 
        } 
    } 
} 

$sql = "SELECT `topic_id`, `topic_title` FROM `{$table_prefix}topics`  {$sql_where} ORDER BY `topic_time`DESC LIMIT 0, {$amount}";
$result = mysql_query($sql, $conid);

$topics_html = '';
while($topic = mysql_fetch_array($result))
{
    $topics_html .= "<a href=\"{$path}viewtopic.php?t={$topic['topic_id']}\">{$topic['topic_title']}</a><br />";
}
mysql_close($conid);

echo $topics_html;

?> 

??? ???? ?????? ?????? ????? ????:
?????: 123456
????? ?????: 123abc

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

????? ??? ???? ?????? ??????? ?? ????? (??? ???????? ??????)

مرسل: الخميس مارس 12, 2009 2:40 pm
بواسطة مهند قمرة
???? ???? ???? ??? ????? ???? ????? ??????
???????? ???? ?? ????? ??? UTF-8 ?????? ????? ??????? ???? ?????.

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

????? ??? ???? ?????? ??????? ?? ????? (??? ???????? ??????)

مرسل: الخميس مارس 12, 2009 3:01 pm
بواسطة ealshabaan
??? ???? ????? ?? ??? ????????? ????????. ??? ?? ?????? http://community.spyka.co.uk/showthread.php?t=17257
??? ??? ??????? ???? ?? ??? ?? ??.
??????????, ??? ???? ??????? ?????? ??? ??? php. ?????? ?????? UTF-8 ?? ????? ??? ?????

????? ??? ???? ?????? ??????? ?? ????? (??? ???????? ??????)

مرسل: الجمعة مارس 13, 2009 12:53 am
بواسطة ealshabaan
?? ??? ???? ???? ??????

????? ??? ???? ?????? ??????? ?? ????? (??? ???????? ??????)

مرسل: الجمعة مارس 13, 2009 7:53 am
بواسطة ealshabaan
???? ?? ??? ???? ???? ??? ?????????! :D

????? ??? ???? ?????? ??????? ?? ????? (??? ???????? ??????)

مرسل: السبت مارس 14, 2009 1:21 am
بواسطة the shadow
????? ???? ??????? ????????? ?? ????? ???????? ?????? iso

??? ????? ?? ???? ???????
http://phpbbarabia.com/community/viewto ... 64&t=29123

????? ??? ???? ?????? ??????? ?? ????? (??? ???????? ??????)

مرسل: الأحد مارس 15, 2009 5:46 pm
بواسطة ealshabaan
???? ???? ?? ??????? php : ??? ??????? http://www.montadaphp.net/t4180/
???? ?????? ?? ????? ?? ??? ???????? ???????: www.tech-nuke.com/main