public function run()
 {
     $optionString = "";
     if (is_array($this->htmlOptions)) {
         foreach ($this->htmlOptions as $key => $value) {
             $optionString .= " {$key}=\"{$value}\"";
         }
     }
     //var_dump(CategoryTree::getHtmlListOption($this->baseId, $this->selected, $this->contentType));exit;
     $str = "<select class='form-control' name=\"{$this->name}\" id=\"{$this->id}\"{$optionString}>" . '<option value="">--หมวดเนื้อหา--</option>' . CategoryTree::getHtmlListOption($this->baseId, $this->selected, $this->contentType) . "</select>";
     echo $str;
 }
									</div>
								<?php 
    }
    ?>
								<?php 
} else {
    ?>
									<div class="col-md-12 portlet-box-content categoryClone" data-rank="1">
										<p></p>
										<div class="col-md-4">
											<label class="control-label pull-right" id="add-category">หมวดหมู่</label>
										</div>
										<div class="col-md-8">
											<div class="main-category">
												<?php 
    echo Html::dropDownList('categoryId', '', [0 => 'เลือกหมวดหมู่'] + CategoryTree::getAllRootNode(), ['id' => '', 'class' => 'form-control']);
    ?>
												<a class="btn btn-sm yellow clear-category" data-id="1" data-cat-id="cat_id_1" data-cat-title="cat_title_1" data-action="clear" ><i class="fa fa-ban"></i> ล้างข้อมูล</a>
												<a class="btn btn-sm red delete-category" data-id="1" data-cat-id="cat_id_1" data-cat-title="cat_title_1" data-action="delete" ><i class="fa fa-minus"></i> ลบ</a>
											</div>	
										</div>
										<div id="ajax-modal" class="modal fade" tabindex="-1"></div>
									</div>
								<?php 
}
?>
								</div>
								<div class="row">
									<div class="col-md-12 portlet-box-content">
										<div class="col-md-4"></div>
										<div class="col-md-8">