$vo.sid,'nid'=>$vo2.nid]); $web_dir = $web_url; if (strpos($web_dir,".") !== false){ $web_dir = substr($web_dir, 0, strpos($web_dir,'.')); } if (strpos($web_dir,"-") !== false){ $web_dir = substr($web_dir, 0, strpos($web_dir,'-')); } $sharename= $obj['vod_name']; $sharename = str_replace('《','',$sharename); $sharename = str_replace('》','',$sharename);$version = parse_ini_file(substr($maccms['path_tpl'], strlen($maccms['path'])).'info.ini'); $version = stristr('127.0.0.1|120.79.47.250', substr($_SERVER['HTTP_HOST'], 0, 7)) == true ? time() : $version['version']; $file = 'template/conch/asset/admin/Conch.php'; $newfile = 'application/admin/controller/Conch.php'; if (file_exists($newfile)) {} else { copy($file,$newfile); } $file = 'template/conch/asset/admin/hltheme.php'; $newfile = 'application/extra/hltheme.php'; if (file_exists($newfile)) {} else { copy($file,$newfile); } $file = 'template/conch/asset/admin/theme.html'; $dir = 'application/admin/view/conch'; $newfile = 'application/admin/view/conch/theme.html'; if (file_exists($dir)) {} else { mkdir($dir, 0777); copy($file,$newfile); } $conch = file_exists('application/extra/hltheme.php') ? require('application/extra/hltheme.php') : require(substr($maccms['path_tpl'], strlen($maccms['path'])).'asset/admin/hltheme.php'); if($maccms['aid']==1): ?>