上边的$vd['content']在哪定义的,没有找到,在哪里找
回复讨论(解决方案) 你用的应该是一个框架吧,在控器中传过来的$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( );?>
