<?php $query = 'SELECT mname as text, mnumber as value FROM '.sql_table('member');
$template['name'] = 'memberid[' . $idx . ']';
- showlist($query,'select',$template);
+ echo showlist($query,'select',$template);
?>
</td>
<td>
<?php $query = 'SELECT bname as text, bnumber as value FROM '.sql_table('blog');
$template['name'] = 'blogid';
$template['selected'] = $CONF['DefaultBlog'];
- showlist($query,'select',$template);
+ echo showlist($query,'select',$template);
?>
</div>
<div>
<?php $query = 'SELECT mname as text, mnumber as value FROM '.sql_table('member');
$template['name'] = 'newowner';
- showlist($query,'select',$template);
+ echo showlist($query,'select',$template);
?>
</li>
</ul>
function bc_doConversion() {
- global $HTTP_POST_VARS;
+ global $HTTP_POST_VARS, $manager;
// 1. get all data
$authorcount = intval($HTTP_POST_VARS['authorcount']);
}
// add authors to blog team
- $b = new Blog($nucleus_blogid);
+ $b =& $manager->getBlog($nucleus_blogid);
global $catid;
$catid = $b->getDefaultCategory();