<?php
$new_data[1] = array('options' => '', 'title' => '¤W¶Ç', 'side' => '0', 'weight' => '13', 'visible' => '0');

//select CONCAT('//',`name`,'\\n\$new_data[',`func_num`,'] = array(\'options\' => \'',`options`,'\', \'title\' => \'',`title`,'\', \'side\' => \'',`side`,'\', \'weight\' => \'',`weight`,'\', \'visible\' => \'',`visible`,'\');')from `xx_newblocks` where `dirname`='tad_assignment' and `block_type`!='D' order by `func_num`
