<?php
class Vote_Label extends netsControl {
	public function Vote_Label(){
		$this->netsControl();
	}
	public function Control($pColumn){
		$tmpControl=$pColumn['stcotName'].'Txt'.$pColumn['NameExtend'];
		$tmpIntroduct='';
		if(strlen($pColumn['stcoctUiIntroduct'])>0 && $pColumn['stcoctUiIntroduct']!='&nbsp;'){
			$tmpIntroduct='<div id="'.$tmpControl.'_Messagebox" class="ControlIntroduct">'.$pColumn['stcoctUiIntroduct'].'</div>';
		}else{
			$tmpIntroduct='<div id="'.$tmpControl.'_Messagebox" class="DHidden">'.$pColumn['stcoctUiIntroduct'].'</div>';
		}
?>
<!-- #<?php echo ($pColumn['stcotName']); ?> -->
<div class="VoteC_LabelBox"><div id="<?php echo($tmpControl); ?>_Label" class="VoteC_Label" style="<?php echo ($pColumn['ControlStyle']); ?>"><?php echo ($pColumn['Value']); ?></div></div>
<textarea id="<?php echo($tmpControl); ?>" name="<?php echo($tmpControl); ?>" class="DHidden"><?php echo ($pColumn['Value']); ?></textarea>

<input id="<?php echo($tmpControl); ?>ID" name="<?php echo($tmpControl); ?>ID" value="<?php echo ($pColumn['Control_ID']); ?>" type="hidden" />
<?php
	}
}
?>