- Channel Template File Not found or have no access!
- $_POST['tpl'] = emptyempty($_POST['tpl']) ? '' : trim(str_replace(array('..', '/', '//'), array('', '', ''), $_POST['tpl']));
- $tpl_query = $_SGLOBAL['db']->query("SELECT type,tpl,upnameid FROM ".tname('channels')." WHERE nameid='$nameid'");
- $tpl_channel = $_SGLOBAL['db']->fetch_array($tpl_query);
- if($tpl_channel['type']=='user' && emptyempty($tpl_channel['upnameid'])){
- $_POST['tpl'] = $tpl_channel['tpl'];
- }
新闻热点
疑难解答