예제 #1
0
		 <?php echo gettext("TERMINATE CAUSE"); ?>
		</td>
		<td class="tableBody"  width="10%" align="center" style="padding: 2px;">
		 <?php echo gettext("BUY"); ?>
		</td>
		<td class="tableBody"  width="10%" align="center" style="padding: 2px;">
		 <?php echo gettext("SELL"); ?>
		</td>
		<td class="tableBody"  width="10%" align="center" style="padding: 2px;">
		 <?php echo gettext("RATE"); ?>
		</td>
		
	</tr>
 
	<?php 
		$dialstatus_list = Constants::getDialStatusList ();
		$i=0;
		foreach ($call_result as $call) {
			if($i%2==0) $bg="#fcfbfb";
			else  $bg="#f2f2ee";
	?>
			<tr bgcolor="<?php echo $bg; ?>"  >
				<td class="tableBody" align="center">
				  <?php echo $call['starttime']; ?>
				</td>
			
				<td class="tableBody" align="center">
				  <?php echo $call['calledstation']; ?>
				</td>
			
				<td class="tableBody"  align="center">
예제 #2
0
파일: Misc.php 프로젝트: saydulk/a2billing
function linkto_TC($id)
{
    $call_status = Constants::getDialStatusList();
    if (!empty($call_status[$id][0])) {
        echo $call_status[$id][0];
    } else {
        echo gettext("UNKNOWN");
    }
}