" />css/.css" />images/favicon.ico" type="image/x-icon"/> 上边的$vd['content']在哪定义的,没有找到,在哪里找 回复讨论(解决方案)">
时间:2021-07-01 10:21:17 帮助过:26人阅读
- 直销商系统 css/.css" />images/favicon.ico" type="image/x-icon"/>
你用的应该是一个框架吧,在控器中传过来的$vd是一个数组,所以在视图就可以使用下标了。
文件是view的话 ,找对应的Controller
这是主页上的内容
$g_mod = request( "m", "mod_".$R3c53a5814a );$R9036dcfc79 = $g_mod;$R8eeb1221ae = explode( "_", $g_mod );if ( $R8eeb1221ae[0] == "mod" ){ $Rd3c3fd7322 = $moddir;}else{ $Rd3c3fd7322 = $comdir;}$g_controller = ucfirst( request( "c", "home" ) );$g_action = ucfirst( request( "a", "index" ) );$Rfd821ceebb = UPATH_ROOT.DS.$Rd3c3fd7322.DS.$g_mod.DS."Controllers".DS.ucfirst( $g_controller )."Controller".".php";if ( $Rd3c3fd7322 == $moddir ){ $R0652a93b4e = UPATH_ROOT.$vipdir1.DS.$Rd3c3fd7322.DS.$g_mod.DS."Views";}else{ $R0652a93b4e = UPATH_ROOT.DS.$Rd3c3fd7322.DS.$g_mod.DS."Views";}if ( !file_exists( $Rfd821ceebb ) ){ header( "location:index.php" ); exit( );}$path_cache = UPATH_ROOT.$vipdir1.DS."content".DS.$cache.DS."template";$R0f8fc17896 = UPATH_ROOT.DS."content".DS.$cache.DS;$R6a7824e5bd = UPATH_ROOT.$vipdir1.DS."content".DS.$cache.DS."site".DS;$R2f2157ac24 = $R0f8fc17896."agent".DS;$R892a70c08a = $R0f8fc17896."product".DS;define( "DATACACHE", $R0f8fc17896 );define( "SITECACHE", $R6a7824e5bd );define( "ACACHE", $R2f2157ac24 );define( "PCACHE", $R892a70c08a );if ( $baseurl == "" || $baseurl == "/" ){ $Ra1b993256f = "/";}else{ $Ra1b993256f = $baseurl."/";}$R881aa6e00a = $g_mod;if ( $g_mod == "mod_agent" ){ $R881aa6e00a = "mod_b2b";}$path_content = $baseurl.$vipdir2."/content/".$R881aa6e00a."/";require_once( "libraries".DS."umebiz".DS."controller".".php" );require_once( "libraries".DS."umebiz".DS."factory.php" );require_once( $Rfd821ceebb );define( "UPATH_WEBROOT", $Ra1b993256f );define( "DBPREFIX", $dbprefix );define( "VROOT", $vdir );define( "UPATH_CONTENT", $path_content );$Rb91e88361d = $vdir != "" ? $vdir."/" : "";define( "UPATH_SHARECONTENT", $Rb91e88361d."content/mod_shared/" );define( "UPATH_HELPER", "libraries".DS."umebiz".DS."helper".DS );define( "UPATH_PAY", "libraries".DS."umebiz".DS."pay".DS );define( "UPATH_PICTURE", "content/mod_shared/skins/picture/" );require_once( UPATH_HELPER."HtmlHelper.php" );require_once( UPATH_HELPER."HomeHelper.php" );$R3e33e017cd = ucfirst( $g_controller )."Controller";$Rbbd82f1834 = new $R3e33e017cd( );if ( !method_exists( $Rbbd82f1834, $g_action ) ){ header( "location:index.php" ); exit( );}if ( $g_mod == "mod_agent" || $g_mod == "mod_b2b" ){ include( "authority.php" ); $R7135610620 = $g_mod."_".ucfirst( $g_controller )."_".ucfirst( $g_action ); $R4c8e7226c5 = isset( $R5383a87c60[$R7135610620] ) ? $R5383a87c60[$R7135610620] : -1; $Rbbd82f1834->Authority( $R4c8e7226c5 );}$Rbbd82f1834->CheckSomething( );$Rbbd82f1834->$g_action( );?>