صفحة 1 من 2 12 الأخيرةالأخيرة
النتائج 1 إلى 15 من 19

الموضوع: خبراء الــ Nuke ... يدخلون هنا بخصوص " ..... "

  1. #1
    عضو نشيط جدا
    تاريخ التسجيل
    Jun 2003
    المشاركات
    560

    خبراء الــ Nuke ... يدخلون هنا بخصوص " ..... "



    احاول اليومين هاذي اشتغل على النيوك ... بس فيه مشكله بسيطه جداً ويا ليت الخبراء يعطونا الحل ...

    المشكله هي أنه في أسفل كل مقاله يوجد التالي :

    ##############################

    أرسلت بواسطة umar في Thursday, December 11 (1 قراءة)
    (أقرأ المزيد ... | 3464 حرفا زيادة | تعليقات? | التقييم: 0)

    ##############################


    وأنا أريد أن ازيل كل الموجود في الأعلى ما عدى ...

    #######

    إقرأ المزيد + التقييم

    #######

    ملف الثيم هنا لمن يرغب في المساعدة


    كود PHP:
    <?php

    $bgcolor1 
    "#ffffff";
    $bgcolor2 "#9cbee6";
    $bgcolor3 "#d3e2ea";
    $bgcolor4 "#0E3259";
    $textcolor1 "#000000";
    $textcolor2 "#000000";

    function 
    OpenTable() {
        global 
    $bgcolor1$bgcolor2;
        echo 
    "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
        echo 
    "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
    }

    function 
    CloseTable() {
        echo 
    "</td></tr></table></td></tr></table>\n";
    }

    function 
    OpenTable2() {
        global 
    $bgcolor1$bgcolor2;
        echo 
    "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
        echo 
    "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
    }

    function 
    CloseTable2() {
        echo 
    "</td></tr></table></td></tr></table>\n";
    }

    function 
    FormatStory($thetext$notes$aid$informant) {
        global 
    $anonymous;
        if (
    $notes != "") {
        
    $notes "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
        } else {
        
    $notes "";
        }
        if (
    "$aid== "$informant") {
        echo 
    "<font class=\"content\">$thetext$notes</font>\n";
        } else {
        if(
    $informant != "") {
            
    $boxstuff "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$informant\">$informant</a> ";
        } else {
            
    $boxstuff "$anonymous ";
        }
        
    $boxstuff .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
        echo 
    "<font class=\"content\">$boxstuff</font>\n";
        }
    }

    /************************************************************/
    /* Function themeheader()                                   */
    /************************************************************/

    function themeheader() {
        global 
    $banners;
        echo 
    "<body bgcolor=\"#0E3259\" text=\"#000000\" link=\"0000ff\">"
        
    ."<br>";
        if (
    $banners) {
        include(
    "banners.php");
        echo 
    "<br>";
        }

        echo 
    "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\" align=\"center\">\n"
        
    ."<tr><td width=\"100%\">\n"
        
    ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
        
    ."<tr><td width=\"100%\">\n"
        
    ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
        
    ."<tr><td width=\"100%\" height=\"88\" bgcolor=\"#FFFFFF\">\n"
        
    ."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=\"left\"><a href=\"index.php\"><img border=\"0\" src=\"themes/DeepBlue/images/logo.gif\" alt=\"Welcome to $sitename!\" hspace=\"20\"></a></td><td align=\"right\"><img border=\"0\" src=\"themes/DeepBlue/images/logo-graphic.gif\"></td></tr></table></td></tr>\n"
        
    ."<tr><td width=\"100%\" bgcolor=\"#000000\" height=\"19\" valign=\"bottom\">\n"
        
    ."<a href=\"index.php\"><img border=\"0\" src=\"themes/DeepBlue/images/home.gif\" width=\"140\" height=\"18\"></a>"
        
    ."<a href=\"modules.php?name=Your_Account\"><img border=\"0\" src=\"themes/DeepBlue/images/account.gif\" width=\"140\" height=\"18\"></a>"
        
    ."<a href=\"modules.php?name=Downloads\"><img border=\"0\" src=\"themes/DeepBlue/images/downloads.gif\" width=\"140\" height=\"18\"></a>"
        
    ."<a href=\"modules.php?name=Submit_News\"><img border=\"0\" src=\"themes/DeepBlue/images/submit.gif\" width=\"140\" height=\"18\"></a>"
        
    ."<a href=\"modules.php?name=Topics\"><img border=\"0\" src=\"themes/DeepBlue/images/topics.gif\" width=\"140\" height=\"18\"></a>"
        
    ."<a href=\"modules.php?name=Top\"><img border=\"0\" src=\"themes/DeepBlue/images/top10.gif\" width=\"140\" height=\"18\"></a>"
        
    ."</td></tr><tr><td width=\"100%\" height=\"10\" bgcolor=\"#d3e2ea\">\n"
        
    ."</td></tr></table>\n"
        
    ."</td></tr><tr><td width=\"100%\"><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td bgcolor='#d3e2ea'>\n"
    ;
        
    $public_msg public_message();
        echo 
    "$public_msg<br>";
        echo 
    "</td></tr></table><table width=\"840\" cellpadding=\"0\" bgcolor=\"d3e2ea\" cellspacing=\"0\" border=\"0\">\n"
        
    ."<tr valign=\"top\">\n"
        
    ."<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
        
    ."<td width=\"138\" bgcolor=\"d3e2ea\" valign=\"top\">\n";
        
    blocks(left);
        echo 
    "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
    }

    /************************************************************/
    /* Function themefooter()                                   */
    /*                                                          */
    /* Control the footer for your site. You don't need to      */
    /* close BODY and HTML tags at the end. In some part call   */
    /* the function for right blocks with: blocks(right);       */
    /* Also, $index variable need to be global and is used to   */
    /* determine if the page your're viewing is the Homepage or */
    /* and internal one.                                        */
    /************************************************************/

    function themefooter() {
        global 
    $index;
        echo 
    "<br>";
        if (
    $index == 1) {
        echo 
    "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"d3e2ea\">\n";
        
    blocks(right);
        echo 
    "<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\">";
        }
     else {
        echo 
    "</td><td colspan=\"2\"><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\">";
        }
        echo 
    "<br><br></td></tr></table>\n"
        
    ."<br><center>";
        
    footmsg();
        echo 
    "</center>";
    }


    function 
    themeindex ($aid$informant$time$title$counter$topic$thetext$notes$morelink$topicname$topicimage$topictext) {
        global 
    $anonymous$tipath;
        echo 
    "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
        
    ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
        
    ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
        
    ."<img src=\"themes/DeepBlue/images/dot.gif\" border=\"0\"></td><td width=\"100%\" bgcolor=\"#FFFFFF\"><font class=\"option\"><b>&nbsp;$title</b></font></td></tr>\n"
        
    ."<tr><td colspan=\"2\" bgcolor=\"#FFFFFF\"><br>\n"
        
    ."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n"
        
    ."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
        
    FormatStory($thetext$notes$aid$informant);
        echo 
    "</td></tr></table>\n"
        
    ."</td></tr></table><br>\n"
        
    ."</td></tr><tr><td bgcolor=\"#FFFFFF\" align=\"center\">\n"
        
    ."<font class=\"tiny\">"._POSTEDBY." ";
        
    formatAidHeader($aid);
        echo 
    " "._ON.$time $timezone ($counter "._READS.")<br></font>\n"
        
    ."<font class=\"content\">$morelink</font></center><br>\n"
        
    ."<img src=\"themes/DeepBlue/images/pixel.gif\" border=\"0\" height=\"3\">\n"
        
    ."</td></tr></table>\n"
        
    ."</td></tr></table><br>\n";
    }

    function 
    themearticle ($aid$informant$datetime$title$thetext$topic$topicname$topicimage$topictext) {
        global 
    $admin$sid$tipath;
        echo 
    "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
        
    ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
        
    ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
        
    ."<img src=\"themes/DeepBlue/images/dot.gif\" border=\"0\"></td><td width=\"100%\" bgcolor=\"#FFFFFF\"><font class=\"option\"><b>&nbsp;$title</b></font></td></tr>\n"
        
    ."<tr><td colspan=\"2\" bgcolor=\"#FFFFFF\"><br>\n"
        
    ."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n"
        
    ."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
        
    FormatStory($thetext$notes=""$aid$informant);
        echo 
    "</td></tr></table>\n"
        
    ."</td></tr></table><br>\n"
        
    ."</td></tr></table>\n"
        
    ."</td></tr></table><br><br>\n";
    }

    function 
    themesidebox($title$content) {
        echo 
    "<table border=\"0\" align=\"center\" width=\"138\" cellpadding=\"0\" cellspacing=\"0\">"
        
    ."<tr><td background=\"themes/DeepBlue/images/table-title.gif\" width=\"138\" height=\"20\">"
        
    ."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#FFFFFF\"><b>$title</b></font>"
        
    ."</td></tr><tr><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"100%\" height=\"3\"></td></tr></table>\n"
        
    ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"138\">\n"
        
    ."<tr><td width=\"138\" bgcolor=\"#000000\">\n"
        
    ."<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\" width=\"138\">\n"
        
    ."<tr><td width=\"138\" bgcolor=\"#ffffff\">\n"
        
    ."$content"
        
    ."</td></tr></table></td></tr></table><br>";
    }

    ?>






    __________________
    لا إله إلا الله
    umar غير متواجد حالياً


  2. #2
    عضو نشيط جدا
    تاريخ التسجيل
    Jun 2003
    المشاركات
    560


    مو معقول ولا إجابة :anger2: واغلب مواضيع المنتدى عن المجلة :anger2:

    :anger2: :anger2: :anger2: :anger2: :anger2:

    يا أخوان عطوناااااااااااااااااااااا حل ... بارك الله فيكم





    __________________
    لا إله إلا الله
    umar غير متواجد حالياً

  3. #3
    عضو نشيط
    تاريخ التسجيل
    Nov 2003
    المشاركات
    85


    اخوي انصحك تدخل هنا وتعرض مشكلتك
    www.n4a.net
    انا والله ما اعرف لكن هنا تجد قسم مختص في النيوك
    تحياتي






    __________________
    جميع المواضيع اللتي قمت بكتابتها قديمه
    الرجاء من الاخوه التاكد من تاريخ الموضوع


    وشكرا
    Hamd غير متواجد حالياً

  4. #4


    أرفق الملف





    __________________
    FreeGraphics
    النادي غير متواجد حالياً

  5. #5
    عضو نشيط جدا
    تاريخ التسجيل
    Jun 2003
    المشاركات
    560


    أشكرك جزيل الشكر ومقدما اخي النادي وبارك الله فيك

    اعتقد ان الملف الذي يفترض أن يتم التعديل عليه هو ملف mainfile.php

    وها انا أرفقه لك





    __________________
    لا إله إلا الله
    umar غير متواجد حالياً

  6. #6
    عضو نشيط جدا
    تاريخ التسجيل
    Jun 2003
    المشاركات
    560


    رد مقتبس من umar
    أشكرك جزيل الشكر ومقدما اخي النادي وبارك الله فيك

    اعتقد ان الملف الذي يفترض أن يتم التعديل عليه هو ملف mainfile.php

    وها انا أرفقه لك






    الملفات المرفقة الملفات المرفقة
    __________________
    لا إله إلا الله
    umar غير متواجد حالياً

  7. #7


    الملف خطاء .. ليس هذا ..

    التعديل يتم من داخل موديل الأخبار لديك ..

    ماهو النوع المستخدم لديك ؟





    __________________
    FreeGraphics
    النادي غير متواجد حالياً

  8. #8
    عضو نشيط جدا
    تاريخ التسجيل
    Jun 2003
    المشاركات
    560


    النيوك الأخيره الاصدار 7

    اتعبتك معي جعلك للجنة امين





    __________________
    لا إله إلا الله
    umar غير متواجد حالياً

  9. #9
    عضو نشيط جدا
    تاريخ التسجيل
    Jun 2003
    المشاركات
    560


    وهذا ملف الاخبار





    الملفات المرفقة الملفات المرفقة
    • نوع الملف: zip news.zip‏ (21.5 كيلوبايت, 58 مشاهدات)
    __________________
    لا إله إلا الله
    umar غير متواجد حالياً

  10. #10
    عضو نشيط
    تاريخ التسجيل
    Feb 2003
    المشاركات
    207


    تم تعديله ولكن لم أجربه بإذن الله يعمل معك كما تريد إظهار إقرأ المزيد + التقييم





    irctoolz غير متواجد حالياً

  11. #11
    عضو نشيط
    تاريخ التسجيل
    Feb 2003
    المشاركات
    207


    الملف بعد التعديل





    الملفات المرفقة الملفات المرفقة
    • نوع الملف: zip news.zip‏ (21.3 كيلوبايت, 61 مشاهدات)
    irctoolz غير متواجد حالياً

  12. #12
    عضو نشيط جدا
    تاريخ التسجيل
    Jun 2003
    المشاركات
    560


    الله يجزاك خير ... يا اخ irctoolz ويوفقك إن شاء الله.

    بس ما نفعت التعديلات اللي انت سويتها ... والمجلة كلها عيت تنتفح ويطلع لي هالخطأ هذا بالنسبة للملف الأول

    Parse error: parse error in /hsphere/local/home/html/modules/News/index.php on line 108

    بس والله شاكر لك من كل قلبي عناء التعديل وحب المساعدة

    وفي انتظار تعديلات الاخ النادي ... جزاه الله الجنه

    ###################

    اخي irctoolz سأجرب الملف الثاني الذي قلت أنه بعد التعديل ... وحتى ذلك الوقت ... لك تحياتي

    ##################





    __________________
    لا إله إلا الله
    umar غير متواجد حالياً

  13. #13
    عضو نشيط جدا
    تاريخ التسجيل
    Jun 2003
    المشاركات
    560


    يا جعلك الجنة ووالديك يا خوي irctoolz

    بالنسبة للمف اللي انت حطيته رقم ثنين ... فقد اشتغل معي بس فيه مشكله بسيطه وتحتاج تعديل ... ولا ادري وين التعديل فيه ..

    أقرأ المزيد ... """"" اصبحت بدون لنك ... فقط كتابة ولا يستطيع القاريء ان يقرأ المزيد ...

    وملاحظة اخرى لا زالت ... وهي لا تزال هذا السطر موجود ... واريد مسحه بالكامل وهو :

    ####################
    أرسلت بواسطة المشرف في Thursday, December 11 (11 قراءة)
    ####################

    وشاكر ومقدر كثيراً لمجهودك ... وبارك الله في علمك وجزاك الجنه انت ومن تحب





    __________________
    لا إله إلا الله
    umar غير متواجد حالياً

  14. #14


    معليش أخوي أنا أستخدم إصدار أقدم من هذا ..

    إفتح موديل news

    إفتح ملف index.php

    توجه الى السطر 112 ...ألغيه كامل

    السطر الذي يليه لا تغير به شيء

    السطر 114 بدل الصفر برقم ( 1 ) **(( السطر 114 سوفة يصبح 113 بعد تطبيق الخطوة الأولى )) **

    شوف النتيجة ...

    ولا تنسى تاخذ نسخة إحتياطية من الملف





    __________________
    FreeGraphics
    النادي غير متواجد حالياً

  15. #15


    بعد تطبيقك للخطوات في ملف الأخبار توجه الى ملف الثيم

    إذا كان الثيم لديك عبارة عن صفحات html إعمل التالي :

    إفتح الصفحة story_home.html

    سوفة تجد كلمة $posted إحذفها وإحفظ عملك .

    وبالتوفيق إنشالله





    الصور المرفقة الصور المرفقة  
    __________________
    FreeGraphics
    النادي غير متواجد حالياً





ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض