public function actionIndex()
{
$no_image = Product::model()->getImageWithSize(100, 100);
$directory = Yii::app()->basePath . '/image/data/';
if (isset($_GET['field'])) {
$field = $_GET['field'];
} else {
$field = '';
}
if (isset($_GET['CKEditorFuncNum'])) {
$fckeditor = $_GET['CKEditorFuncNum'];
} else {
$fckeditor = false;
}
$this->renderPartial('index', array('no_image' => $no_image, 'directory' => $directory, 'field' => $field, 'fckeditor' => $fckeditor));
}