init web ems all
This commit is contained in:
49
wxc2_omc/performance/sub_inc/sub_config.inc
Executable file
49
wxc2_omc/performance/sub_inc/sub_config.inc
Executable file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
//<2F>û<EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
if($language == 'eng'){
|
||||
require("../sub_inc/sub_english.inc");
|
||||
}else{
|
||||
require("../sub_inc/sub_chinese_gb.inc");
|
||||
}
|
||||
|
||||
$defineQueryType=array(
|
||||
array('num'=> '0', 'name' => 'All'),
|
||||
array('num'=> '1', 'name' => $strIncomingCallPerE1),
|
||||
array('num'=> '2', 'name' => $strOutgoingCallPerE1),
|
||||
array('num'=> '3', 'name' => $strIncomingCallPerTrunkGroup),
|
||||
array('num'=> '4', 'name' => $strOutgoingCallPerTrunkGroup),
|
||||
array('num'=> '5', 'name' => $strTrunkToSubscriberCall),
|
||||
array('num'=> '6', 'name' => $strTrunkToTrunkCall),
|
||||
array('num'=> '7', 'name' => $strTotalSubscriberToSubscriberCall),
|
||||
array('num'=> '8', 'name' => $strTotalSubscriberToTrunkLocalCall),
|
||||
array('num'=> '9', 'name' => $strTotalSubscriberToTrunkTollCall),
|
||||
array('num'=> '10', 'name' => $strGMSCSMSMeasurementFunction)
|
||||
);
|
||||
|
||||
if($thisOmcType==1){
|
||||
$DEFAULT_SYS="GMSC";
|
||||
}elseif($thisOmcType==9){
|
||||
$DEFAULT_SYS="HBSC";
|
||||
}elseif($thisOmcType==10){
|
||||
$DEFAULT_SYS="SN";
|
||||
}else{
|
||||
$DEFAULT_SYS="MSC";
|
||||
}
|
||||
|
||||
//<2F><>ָ<EFBFBD><D6B8><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><CDB8><EFBFBD>ʾɫ<CABE><C9AB>ͼƬ
|
||||
//$colorNum <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//1:<3A><>ɫ,2:
|
||||
function showImg($colorName,$width,$height,$name='noName',$alt='')
|
||||
{
|
||||
$img_src='';
|
||||
|
||||
$imgName='icon_'.$colorName.'.gif';
|
||||
$img_src ="<img border=\"0\" name=\"$name\" id=\"$name\" src=\"../../images/";
|
||||
$img_src .=$imgName;
|
||||
$img_src .="\" width=\"$width\" height=\"$height\" alt=\"$alt\">";
|
||||
$img_src .= "<input type=\"hidden\" name=\"$name"."_org\" id=\"$name"."_org\" value=\"$height\">";
|
||||
echo "$img_src";
|
||||
}//end of function
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user