www.gusucode.com > 08CMS空白站群系统 3.3 繁体 UTF-8 > upload/media.php
<? include_once './include/general.inc.php'; include_once M_ROOT.'./include/common.fun.php'; include_once M_ROOT.'./include/archive.cls.php'; include_once M_ROOT.'./include/follow.fun.php'; $aid = empty($aid) ? 0 : max(0,intval($aid)); !$aid && message(lang('confirmchoose archive')); $tname = empty($tname) ? '' : trim($tname); empty($tname) && message(lang('please point attachment content source field')); $temparr = array(); $temparr['tname'] = $tname; $temparr['tmode'] = empty($tmode) ? 0 : 1; $temparr['fid'] = empty($fid) ? 0 : max(0,intval($fid)); $arc = new cls_archive(); follow_dynamic($aid,'media',$temparr); ?>