Beispiel #1
0
echo GetMessage('RATING_SETTINGS_FRM_RATING_INFO_AVG');
?>
:</td>
			<td><?php 
echo round($arValueInfo['AVG'], 2);
?>
</td>
		</tr>
		<tr class="heading">
			<td colspan="2"><?php 
echo GetMessage('RATING_SETTINGS_CAT_CONFIG');
?>
</td>
		</tr>
	<?
	$db_res = CRatings::GetWeightList(array("RATING_TO" => "ASC"), array());
	$conditionCount = 0;
	$conditionMaxCount = 0;
	?>
		<tr>
			<td colspan="2" align="left" class="rating_settings" id="rating_settings_weight">
				<?
				$arCondition = array();
				while ($res = $db_res->Fetch())
				{
					$arCondition[] = $res;
					$conditionMaxCount++;
				}
				foreach($arCondition as $key => $res)
				{
					$conditionCount++;