How did this address come from?

Source: Internet
Author: User
How did this address come from?
This post was last edited by lghyt3 on 2014-01-12 23:40:53

Recently in the Discuz Forum, its Forum entry page does not have an HTML tag, but after clicking on the section that appears, do not know how to do, the first figure to indicate, we note the image of the top edge of the address bar ID changes

Here is the code, I looked at it, there is no address bar in this format "http://127.0.0.1/bbs/forum.php ?Mod=forumdisplay&fid=38 "Especially this question mark,
The code is as follows:
 
/**
* [discuz!] (C) 2001-2099 Comsenz Inc.
* This was not a freeware, use was subject to license terms
*
* $Id: forum.php 33828 2013-08-20 02:29:32z Nemohou $
*/


Define (' Apptypeid ', 2);
Define (' Curscript ', ' Forum ');


Require './source/class/class_core.php ';


Require './source/function/function_forum.php ';


$modarray = Array (' Ajax ', ' announcement ', ' attachment ', ' forumdisplay ',
' group ', ' image ', ' Index ', ' Medal ', ' Misc ', ' MODCP ', ' notice ', ' post ', ' redirect ',
' Relatekw ', ' relatethread ', ' rss ', ' topicadmin ', ' Trade ', ' viewthread ', ' tags ', ' collection ', ' Guide '
);

$modcachelist = Array (
' Index ' = = Array (' Announcements ', ' onlinelist ', ' forumlinks ',
' Heats ', ' historyposts ', ' Onlinerecord ', ' userstats ', ' diytemplatenameforum '),
' Forumdisplay ' = = Array (' smilies ', ' announcements_forum ', ' globalstick ', ' forums ',
' Onlinelist ', ' Forumstick ', ' threadtable_info ', ' threadtableids ', ' stamps ', ' diytemplatenameforum '),
' Viewthread ' = = Array (' smilies ', ' smileytypes ', ' forums ', ' usergroups ',
' Stamps ', ' bbcodes ', ' smilies ', ' custominfo ', ' groupicon ', ' stamps ',
' Threadtableids ', ' threadtable_info ', ' posttable_info ', ' diytemplatenameforum '),
' redirect ' = = Array (' Threadtableids ', ' threadtable_info ', ' posttable_info '),
' Post ' = = Array (' Bbcodes_display ', ' bbcodes ', ' smileycodes ', ' smilies ', ' smileytypes ',
' Domainwhitelist ', ' albumcategory '),
' Space ' = = Array (' fields_required ', ' fields_optional ', ' custominfo '),
' Group ' = = Array (' GroupType ', ' Diytemplatenamegroup '),
);

$mod =!in_array (C::app ()->var[' mod '), $modarray)? ' Index ': C::app ()->var[' mod ');

Define (' Curmodule ', $mod);
$cachelist = Array ();
if (Isset ($modcachelist [Curmodule])) {
$cachelist = $modcachelist [Curmodule];

$cachelist [] = ' plugin ';
$cachelist [] = ' pluginlanguage_system ';
}
if (C::app ()->var[' mod ') = = ' Group ') {
$_g[' basescript '] = ' group ';
}

C::app ()->cachelist = $cachelist;
C::app ()->init ();


Loadforum ();


Set_rssauth ();


Runhooks ();



$navtitle = Str_replace (' {bbname} ', $_g[' setting ' [' Bbname '], $_g[' setting ' [' Seotitle '] [' Forum ']);
$_g[' Setting ' [' threadhidethreshold '] = 1;
Require Discuz_root. /source/module/forum/forum_ '. $mod. PHP ';

?>

Share to: more


------Solution--------------------
Ajax, asynchronous invocation
------Solution--------------------
The last sentence require discuz_root. /source/module/forum/forum_ '. $mod. PHP '; This should be the address where the view HTML is located
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.