النتائج 1 إلى 3 من 3

الموضوع: مكتبة الهاكات (الجيل الثالث)

  1. #1

    مكتبة الهاكات (الجيل الثالث)



    هاي يا شباب ان شاء الله هابداء معاكوا في انشاء اكبر مكتبة هاكات في الشبكة كلها.
    ارجوا ملاحظة ان الهاكات للجيل الثالث و اذا كان لاحدكم استفسار ارجوا كتابته في موضوع مستقل حتي يكون هذا الموضوع مجرد مكتبة فقط و انشاء الله سنقوم بالرد علي كل الاستفسارات و بعمل شروحات اذا لزم الامر, ولكن قبل البدء في ان شاء المكتبة ارجوا الاخذ في الاتعبار بعض النقاط و هي:

    1- عند التطبيق يجب أن تكون على نسخة من ملف (php) احتياطية يتم عليها التطبيق
    2- اجعل هناك مسافات في القوالب للتطبيق حتى لا تكون هناك مشاكل فإذا تم بشكل صحيح قارب المسافات
    3- ( مهم ) يجب أخذ نسخ احتياطية من قاعدة البيانات قبل عمل أي نسخ سواء للتطبيق أو التثبيت حتى لا تقع مشاكل
    4- نفذ المطلوب بشكل صحيح وخطوة خطوة فلا تحدث مشاكل
    5- في حال مللت من الهاك وأحببت تغييره أو حذفه يجب أن يتطابق القالب مع ملف (php ) فلو حذفت القالب فقط لسبب لك مشاكل فيجب الانتباه لذلك


    و شكرا





    __________________
    Secrets7Days


  2. #2


    [LEFT]2- هاك المواضيع المتشابهة

    أفتح تمبلت / newthread

    وأبحث عن التالي :

    كود PHP:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <title>$vboptions[bbtitle] - $vbphrase[post_new_thread]</title>
    $headinclude


    أضف تحته التالي :

    كود PHP:
    <script language="javascript">

    function showFind(object)
    {
    if(object.value != '')
    {
    document.findicon.src = "$stylevar[imgdir_button]/findicon_on.gif";
    document.findicon.style.cursor = "pointer";
    }
    else
    {
    document.findicon.src = "$stylevar[imgdir_button]/findicon_off.gif";
    document.findicon.style.cursor = "default";
    }
    }

    function openWindow()
    {
    if(document.vbform.subject.value != '')
    {
    var subject = document.vbform.subject.value;
    var width = 650;
    var height = 325;
    var winL = (screen.width - width) / 2;
    var winT = (screen.height - height) / 2;

    window.open('findtopic.php?s='+subject,
    'vWindow',
    'scrollbars=yes,toolbar=no,status=no,width='+width +',height='+height+',top='+winT+',left='+winL
    );
    }
    else
    {
    window.alert("You must complete the subject field");
    }
    }

    </script>


    أبحث عن التالي :
    كود PHP:
    <td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>



    وأستبدله بالتالي :


    كود PHP:
    <td><input type="text" class="bginput" name="subject" onChange="showFind(this)" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
    <td>&nbsp;&nbsp;</td>
    <td><img name="findicon" src="$stylevar[imgdir_button]/findicon_off.gif" alt="Search for existing topics" onclick="openWindow()" /></td>



    أضف تمبلت جديد بأسم / newthread_find


    كود PHP:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <title>$vboptions[bbtitle] - تم البحث عن المواضيع التالية </title>

    <if condition="empty($threads)">
    <script language="javascript">
    window.alert("لا توجد مواضيع مشابه له:\n\"$subject\"");
    window.close();
    </script>
    </if>

    $headinclude

    </head>
    <body>

    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
    <tr>
    <td align="center" class="tcat" width="100%" colspan="5">
    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('similarthreads')"><img id="collapseimg_similarthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_similarthreads].gif" alt="" border="0" /></a>قائمة
    المواضيع المتشابه لــ&nbsp; <i>"</i><b><i>&nbsp; $subject "</i> </b>
    </td>
    </tr>
    </thead>
    <tbody id="collapseobj_similarthreads" style="$vbcollapse[collapseobj_similarthreads]">
    <tr class="thead" align="center">
    <td class="thead" width="40%">$vbphrase[thread]</td>
    <td class="thead" width="15%" nowrap="nowrap">$vbphrase[thread_starter]</td>
    <td class="thead" width="20%">$vbphrase[forum]</td>
    <td class="thead" width="5%">$vbphrase[replies]</td>
    <td class="thead" width="20%">$vbphrase[last_post]</td>
    </tr>
    $threads
    </tbody>
    </table>

    </body>
    </html>



    أضف تمبلت جديد بأسم / newthread_find_list


    كود PHP:
    <tr>
    <td class="alt1" align="$stylevar
    "><if condition="$simthread['issubscribed']"><img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="" title="$vbphrase[you_are_subscribed_to_this_thread]" align="center" />&nbsp;</if><span class="smallfont"><a href="showthread.php?$session[sessionurl]t=$simthread[threadid]" title="$simthread[preview]" target="_blank">$simthread[title]</a></span></td>
    <td class="alt2" nowrap="nowrap"><span class="smallfont">$simthread[postusername]</span></td>
    <td class="alt1" nowrap="nowrap"><span class="smallfont">$simthread[forumtitle]</span></td>
    <td class="alt2" align="center"><span class="smallfont">$simthread[replycount]</span></td>
    <td class="alt1" align="$stylevar[right]"><span class="smallfont">$simthread[lastreplydate] <span class="time">$simthread[lastreplytime]</span></span></td>
    </tr>

    __________________






    __________________
    Secrets7Days

  3. #3


    3- هاك الاعضاء الذين تواجدوا اليوم في المنتدى



    فتح ملف/ index.php
    بحث عن



    كود PHP:
    // ### ALL DONE! SPIT OUT THE HTML AND LET'S GET OUTA HERE... ###


    أضف فوقه

    كود PHP:
    // ### TODAY ONLINE USERS BY PATTO ###########################################
    $todayactiveusers = '';
    $todaystarttime = mktime(0, 0, 0, date('m'), date('d'), date('Y'));

    $todaynumbervisible = 0;
    $todaynumberregistered = 0;

    $todayforumusers = $DB_site->query("SELECT
    user.userid, user.username, (user.options & $_USEROPTIONS[invisible]) AS invisible, user.usergroupid, user.lastactivity,
    IF(displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid
    FROM " . TABLE_PREFIX . "user
    WHERE user.lastactivity >= $todaystarttime
    ORDER BY " . iif($permissions['genericpermissions'] & CANSEEHIDDEN, 'invisible ASC, ') . "username ASC, lastactivity DESC
    ");

    if ($bbuserinfo['userid'])
    {
    // fakes the user being online for an initial page view of index.php
    $bbuserinfo['joingroupid'] = iif($bbuserinfo['displaygroupid'], $bbuserinfo['displaygroupid'], $bbuserinfo['usergroupid']);
    $todayuserinfos = array
    (
    $bbuserinfo['userid'] => array
    (
    'userid' => $bbuserinfo['userid'],
    'username' => $bbuserinfo['username'],
    'invisible' => $bbuserinfo['invisible'],
    'lastactivity' => TIMENOW,
    'musername' => fetch_musername($bbuserinfo, 'joingroupid')
    )
    );
    $todaynumberregistered = 1;
    $todaynumbervisible = 1;
    fetch_online_status($todayuserinfos[$bbuserinfo['userid']]);
    $todayloggedin = $todayuserinfos[$bbuserinfo['userid']];
    eval('$todayactiveusers = ", ' . fetch_template('forumhome_todayloggedinuser') . '";');
    }
    else
    {
    $todayuserinfos = array();
    }

    while ($todayloggedin = $DB_site->fetch_array($todayforumusers))
    {
    $todayuserid = $todayloggedin[userid];
    if (!$todayuserid)
    { // Guest
    $todaynumberguest++;
    }
    else if (empty($todayuserinfos["$todayuserid"]['lastactivity']) OR ($todayuserinfos["$todayuserid"]['lastactivity'] < $todayloggedin['lastactivity']))
    {
    $todayuserinfos["$todayuserid"] = $todayloggedin;
    $todaynumberregistered++;
    $todayloggedin['musername'] = fetch_musername($todayloggedin);

    if ($todayloggedin['invisible'])
    {
    if (($permissions['genericpermissions'] & CANSEEHIDDEN) OR $todayloggedin['userid'] == $bbuserinfo['userid'])
    {
    // user is online and invisible BUT bbuser can see them
    $todayloggedin['invisiblemark'] = '*';
    $todaynumbervisible++;
    eval('$todayactiveusers .= ", ' . fetch_template('forumhome_todayloggedinuser') . '";');
    }
    }
    else
    {
    // user is online and visible
    $todaynumbervisible++;
    eval('$todayactiveusers .= ", ' . fetch_template('forumhome_todayloggedinuser') . '";');
    }

    //if (fetch_online_status($todayloggedin))
    //{
    // $todaynumbervisible++;
    // eval('$todayactiveusers .= ", ' . fetch_template('forumhome_todayloggedinuser') . '";');
    //}
    }
    }

    // memory saving
    unset($todayuserinfos, $todayloggedin);

    $todayactiveusers = substr($todayactiveusers , 2); // get rid of initial comma

    $DB_site->free_result($todayloggedins);

    $todaynumberinvisible = $todaynumberregistered - $todaynumbervisible;
    $todaytotalonline = $todaynumberregistered - $todaynumberinvisible;

    // ### MAX LOGGEDIN USERS ################################
    $todaymaxusers = unserialize($datastore['todaymaxonline']);
    if (intval($todaymaxusers['todaymaxonline']) <= $todaynumberregistered)
    {
    $todaymaxusers['todaymaxonline'] = $todaynumberregistered;
    $todaymaxusers['todaymaxonlinedate'] = TIMENOW;
    $DB_site->query("REPLACE INTO " . TABLE_PREFIX . "datastore (title, data) VALUES ('todaymaxonline', '" . addslashes(serialize($todaymaxusers)) . "')");
    }

    $todayrecordusers = $todaymaxusers['todaymaxonline'];
    $todayrecorddate = vbdate($vboptions['dateformat'], $todaymaxusers['todaymaxonlinedate'], 1);



    أضف تمبلت جديد بأسم / forumhome_todayloggedinuser


    كود PHP:
    <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid">
    <input style="font-size: 10px; vertical-align: middle; color: #3858AD; font-family: MS Sans Serif; letter-spacing: 0px; text-align: center; border-style: solid; border-width: 1px; padding-left: 0px; padding-right: 2px; padding-top: 0px; padding-bottom: 0px; background-color: #FFFFFF" size="15" value="$todayloggedin[musername]" name="oline"></a>$invisibleuser


    أفتح تمبلت /FORUMHOME
    بحث عن

    كود PHP:
    <!-- end logged-in users -->
    </if>


    أضف تحته التالي

    كود PHP:
    <!-- today logged-in users -->
    <tbody>
    <tr>
    <td class="thead" colspan="2">
    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_todayactiveusers')"><img id="collapseimg_forumhome_todayactiveusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_todayactiveusers].gif" alt="" border="0" /></a>
    عدد الاعضاء الذي تواجدوا اليوم في المنتدى&nbsp; : $todaytotalonline
    </td>
    </tr>
    </tbody>
    <tbody id="collapseobj_forumhome_todayactiveusers" style="$vbcollapse[collapseobj_forumhome_todayactiveusers]">
    <tr>
    <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_link.gif" border="0" /></td>
    <td class="alt1" width="100%">
    <div class="smallfont">
    <div>$todayactiveusers</div>
    </div>
    </td>
    </tr>
    </tbody>
    <!-- end today logged-in users-->

    __________________






    __________________
    Secrets7Days





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

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

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