当前位置: 首页>>代码示例>>PHP>>正文


PHP dic函数代码示例

本文整理汇总了PHP中dic函数的典型用法代码示例。如果您正苦于以下问题:PHP dic函数的具体用法?PHP dic怎么用?PHP dic使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了dic函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: kiklopSetCookie

function kiklopSetCookie (c_name,value,expiredays) {
	var exdate=new Date();
	exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=c_name+ "=" +escape(value)+
	((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
}
	$(document).ready(function () {
		$(document.body).click(function(event) {
			var usernameField = '<?php 
echo $username;
?>
';
			if(usernameField!==""){
				$('#txtpassword').focus();
				toastr.info('<?php 
echo dic("Settings.InsertPass");
?>
');
			}

			var hide = true;
			for(var i=0; i<event.target.attributes.length; i++)
				if(event.target.attributes[i].value.indexOf("languageNew") != -1)
				{
					hide = false;
				}
			if(hide)
			{
				$.powerTip.hide();
				test = 1;
			}
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:index.php

示例2: opendb

//$d2 = explode(".", $d1[2]);
//echo $dat . "<br />";
//echo $d . "_" . $m . "_" . $a[0] . "_" . $d1[0] . "_" . $d1[1] . "_" . $d2[0] . "_" . $d2[1];
//exit;
opendb();
$dsvv = query("select * from alarmtypes order by code asc");
?>
	<table border="1">
	<?php 
while ($row = pg_fetch_array($dsvv)) {
    ?>
        <tr>
            <td style="padding: 5px"><?php 
    echo $row["id"];
    ?>
</td>
            <td style="padding: 5px"><?php 
    dic($row["name"]);
    ?>
</td>
            <td style="padding: 5px"><?php 
    echo $row["code"];
    ?>
</td>
        </tr>
	<?php 
}
?>
	</table>
	<?php 
closedb();
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:testAlarmi.php

示例3: dic

	            	<?php 
        $stPass = "";
        if ($pass > 0) {
            $stPass = "style='color:green;'";
        } else {
            $stPass = "style='color:red;'";
        }
        ?>
	            	<span id="spanPass-<?php 
        echo $drVehicle["id"];
        ?>
" <?php 
        echo $stPass;
        ?>
 onmousemove="ShowPopup(event, '<span class=\'text5\'><?php 
        echo dic("Reports.CurrPassengers");
        ?>
</span>')" onmouseout="HidePopup()"><?php 
        echo $pass;
        ?>
</span>
	            </td>
	             <?php 
    }
    ?>
	        </tr>
	        <?php 
    $cnt++;
    $lastOrgName = $orgName;
}
?>
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:CurrentData1.php

示例4: opendb

<script>
lang = '<?php 
echo $cLang;
?>
';
</script>


	<?php 
opendb();
$id = str_replace("'", "''", NNull($_GET['id'], ''));
$dsedit = query("select * from clubcards where id=" . $id . " and clientid = " . Session("client_id"));
?>

	<table>
            <tr>
                <td class="text5" style="font-weight:bold; font-size = 15px ;"><?php 
echo dic("Settings.NameClubCard");
?>
:</td>
                <td>
                     <input id="CardName1" type="text" value="<?php 
echo pg_fetch_result($dsedit, 0, "cardname");
?>
" class="textboxcalender corner5 text5" style="width:200px; height:22px; font-size:11px"/>
                </td>
            </tr>
   </table>

<?php 
closedb();
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:__EditClubCard.php

示例5: dic

		</tr>
		<?php 
        $cnt++;
        $lastNalog = $drActivity["orderno"];
    }
    ?>
</table>
<br><br>

<?php 
} else {
    ?>
	<br>
		<div id="noData" style="padding-left:25px; font-size:24px; font-style:italic; padding-bottom:40px" class="text4">
     		<?php 
    dic("Reports.NoData");
    ?>
		 </div>
	<?php 
}
?>
</body>

<?php 
closedb();
?>
</html>


<script>
	top.$(document).ready(function () {
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:ActivityReportContent.php

示例6: dic

    }
    ?>
			</div>
		<?php 
}
?>
	</div>
</div>

<?php 
$cntz = 0;
if ($AllowViewZone == "1") {
    ?>
<div id="menu-5" class="menu-container" style="width:100%">
	<a id="menu-title-5" href="#" class="menu-title text3" onClick="OnMenuClick(5)" style="width:100%"><?php 
    echo dic("Tracking.geofence");
    ?>
</a>
	<div id="menu-container-5" style="width:230px; padding-left:10px; padding-bottom:10px; padding-top:10px; overflow:auto">
		<div id="add_del_geofence">
			<?php 
    $dsZone = query("select ca.*, ppg.fillcolor color from pointsofinterest ca left outer join pointsofinterestgroups ppg on ca.groupid=ppg.id where ca.type=2 and ca.clientid=" . session("client_id"));
    while ($row = pg_fetch_array($dsZone)) {
        ?>
					<div style="width:94%; border:1px solid #95b1d7; background-color:#c6d7f2; margin-bottom:5px; overflow:auto" class="text5">
						<input id="zona_<?php 
        echo $cntz;
        ?>
" type="checkbox" onChange="if (this.checked==true){checkGF(1); DrawZoneOnLive('<?php 
        echo $row["id"];
        ?>
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:getLeftList_04032013.php

示例7: opendb

	
	<?php 
opendb();
$id = str_replace("'", "''", NNull($_GET['id'], ''));
$dsedit = query("select * from route_operation where id=" . $id . " and clientid = " . Session("client_id"));
?>

		<br><br>
		<table align = "center">
            <tr>
                <td class="text5" style="font-weight:bold; font-size = 15px ;"><?php 
dic("Settings.NameOfThe");
?>
 <?php 
dic("Settings.Operation");
?>
:</td>
                <td>
                     <input id="operacijaPromeni" type="text" value="<?php 
echo pg_fetch_result($dsedit, 0, "name");
?>
" class="textboxcalender corner5 text5" style="width:200px; height:22px; font-size:11px"/>
                </td>
            </tr>
   		</table>
   		
   		
   		
<?php 
closedb();
开发者ID:hew86i,项目名称:panorama,代码行数:29,代码来源:__EditOperationName.php

示例8: dic

    

	LoadMaps()
    
    if(_selSplit != "" && _selSplit !="0")
    {
        $('#div-spliter').remove();
    }
	iPadSettings()
	
	$('#icon-draw-path').mousemove(function(event) {ShowPopup(event, '<?php 
echo dic("Tracking.ShowHideAllVeh");
?>
')});
    $('#icon-draw-path-down').mousemove(function(event) {ShowPopup(event, '<?php 
echo dic("Tracking.ShowHideVeh");
?>
')});
	$('#icon-draw-path').mouseout(function() {HidePopup()});
    $('#icon-draw-path-down').mouseout(function() {HidePopup()});
	

    ShowActiveBoard();
    for(var i=0; i<Maps.length; i++){
        if(Maps[i] != null)
            zoomWorldScreen(Maps[i], DefMapZoom);
    }

	$.ajax({
       url: "../pdf/index.php",
       context: document.body,
开发者ID:hew86i,项目名称:panorama,代码行数:29,代码来源:testpdf.php

示例9: dic

 &nbsp;(<font style="font-size:10px"><?php 
                echo dic("Settings.Petrol");
                ?>
</font>) <?php 
            }
            if ($row1["name"] == "Дизел") {
                ?>
 &nbsp;(<font style="font-size:10px"><?php 
                echo dic("Settings.Diesel");
                ?>
</font>) <?php 
            }
            if ($row1["name"] == "LPG") {
                ?>
&nbsp;(<font style="font-size:10px"><?php 
                echo dic("Settings.Gas");
                ?>
</font>)	   <?php 
            }
            ?>

				</div></td>

					<td id="td-4-<?php 
            echo $cnt;
            ?>
" align="center" class="td-row text2">
			        	<table width=100%>
			        		<tr class="text2">
			        			<td align="center"><?php 
            echo DateTimeFormat($rV["lastregistration"], $dateformat);
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:Vehicles.php

示例10: dic

" style="width:10px; height:10px"></div></td><td width="180px" height="20px" class="text2"><?php 
echo dic("Tracking.Engaged");
?>
</td></tr>'
		legendStr = legendStr + '	<tr><td width="20px" height="20px"><div class="gnMarkerList<?php 
echo pg_fetch_result($dsSt, 0, "TaximeterOFFPassengerON");
?>
" style="width:10px; height:10px"></div></td><td width="180px" height="20px" class="text2"><?php 
echo dic("Tracking.TaxOffPassOn");
?>
</td></tr>'
		legendStr = legendStr + '	<tr><td width="20px" height="20px"><div class="gnMarkerList<?php 
echo pg_fetch_result($dsSt, 0, "PassiveON");
?>
" style="width:10px; height:10px"></div></td><td width="180px" height="20px" class="text2"><?php 
echo dic("Tracking.TaxOn");
?>
</td></tr>'
	}
	legendStr = legendStr + '</table>'

	
	var _dt = '<?php 
echo $dat;
?>
';
	var _reg = '<?php 
echo $reg;
?>
';
	var _type = '<?php 
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:LoadMap.php

示例11: dic

        </tr>
		<tr>
        	<td colspan="2" style="height: 100px; padding-left: 22px;">
        		<button id="btnSave" onclick="AddPrivilegesSettings('<?php 
echo $userID;
?>
')"><?php 
dic("Settings.SaveSettings");
?>
</button>
        		<button id="btncancel3" onclick="selectall()"><?php 
dic("Settings.SelectAll");
?>
</button>
        		<button id="btncancel2" onclick="cancel()"><?php 
dic("Fm.Cancel");
?>
</button>
        	</td>
        </tr>
    </table>
	<br />
	<br />
</body>

</html>

<script type="text/javascript">
	var clickAll = true;
	function cancel() {
        top.ShowWait();
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:Privileges.php

示例12: dic

	<script type="text/javascript" src="../js/share.js"></script>
	<script type="text/javascript" src="../js/settings.js"></script>
	<script type="text/javascript" src="../js/iScroll.js"></script>
	
    <script type="text/javascript" src="../pdf/pdf.js"></script>
    <script type="text/javascript" src="../js/jquery-ui.js"></script>
	<script type="text/javascript" src="fm.js"></script>
	<script type="text/javascript" src="./js/highcharts.src.js"></script>
  
    <link href="../css/ui-lightness/jquery-ui-1.8.14.custom.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-ui-timepicker-addon.js" type="text/javascript"></script>
    <script src="../js/jquery-ui.js"></script>

 <body>
 
  <?php 
//  $cLang = getQUERY('l');
?>

   
<?php 
echo dic("Fm.SureDel");
?>

<?php 
closedb();
?>
</body>

</html>
开发者ID:hew86i,项目名称:panorama,代码行数:30,代码来源:Delete.php

示例13: dic_

			<td width = "25%" style="font-weight:bold" class ="text2"  align="left"><?php echo dic_("Settings.SMS")?></td>
			<td width = "75%" style="font-weight:bold" class ="text2"><input id = "sms" class="textboxcalender corner5 text5" type="text" style = "width:365px"></input></td>
		</tr>
		<?php
		}
		?>
		<tr>
			<td width = "25%" valign="middle" style="font-weight:bold" class ="text2" align="left"><?php dic("Settings.Sound")?></td>
			<td width = "75%" valign="middle">
			<select id = "zvukot" style="font-size: 11px; position: relative; top: 0px ;visibility: visible; float:left" class="combobox text2">
			<option value = "1"><?php dic("Settings.Sound")?> 1</option>

			<option value = "2"><?php dic("Settings.Sound")?> 2</option>
			<option value = "3"><?php dic("Settings.Sound")?> 3</option>
			<option value = "4"><?php dic("Settings.Sound")?> 4</option>
			<option value = "5"><?php dic("Settings.Sound")?> 5</option>

			</select>
			<audio id="demo" src="../tracking/sound/bells_alarm.ogg"></audio>
			<button id="play" onclick="document.getElementById('demo').play()" style="position: relative; width: 35px;height: 28px; margin-left:10px;"></button>
			<button id="pause" onclick="document.getElementById('demo').pause()" style="position: relative; width: 35px;height: 28px;"></button>
			<button id="poglasno" onclick="document.getElementById('demo').volume+=0.1" style="position: relative; width: 35px;height: 28px;"></button>
			<button id="potivko" onclick="document.getElementById('demo').volume-=0.1" style="position: relative; width: 35px;height: 28px;"></button>
			</td>
		</tr>
		<tr>
			<td width = "25%" style="font-weight:bold" class ="text2"  align="left"><?php echo dic_("Settings.AvailableFor1")?>:</td>
			<td width = "75%" style="font-weight:bold" class ="text2"><div id="gfAvail" class="corner5">
			<input type="radio" value="1" id="GFcheck1" name="radio" checked="checked" /><label for="GFcheck1"><?php echo dic_("Settings.User")?></label>
			<input type="radio" value="2" id="GFcheck2" name="radio" /><label for="GFcheck2"><?php echo dic_("Reports.OrgUnit")?></label>
			<input type="radio" value="3" id="GFcheck3" name="radio" /><label for="GFcheck3"><?php echo dic_("Settings.Company")?></label>
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:alerts.php

示例14: dic_

} else {
    ?>
            
            <div id="noData" style="padding:10px; font-size:30px; font-style:italic;" class="text4">
	        	<?php 
    echo dic_("Routes.NotCreatedPreOrders");
    ?>
	   		</div>
            <?php 
}
?>
	</div>
	
	<br><br>
	<div id="div-promeni" title="<?php 
echo dic("Routes.MOrder");
?>
" style="display:none">
		<iframe id="frm-promeni" frameborder="0" scrolling="yes" style="width:100%; height:100%; overflow-y: auto; overflow-x: hidden"></iframe>
	</div>
	<br>
	<div id="footer-rights-new" class="textFooter" style="padding:10px 10px 10px 10px">

	</div>
	<br>    
	
		
</div>

</body>
</html>
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:PredefiniraniNalozi.php

示例15: dic

	</div>
	
	<br>
	<div id="footer-rights-new" class="textFooter" style="padding:10px 10px 10px 10px">

	</div>
	<br>    
</div>
	<div id="div-promeni" title="<?php 
echo dic("Routes.MOrder");
?>
" style="display:none">
		<iframe id="frm-promeni" frameborder="0" scrolling="yes" style="width:100%; height:100%; overflow-y: auto; overflow-x: hidden"></iframe>
	</div>
	<div id="div-print" title="<?php 
echo dic("Routes.PrintingOrder");
?>
" style="display:none">
		<iframe id="frm-print" frameborder="0" scrolling="no" style="width:100%; height:1200px"></iframe>
	</div>
	<iframe id="frm-excel" frameborder="0" scrolling="no" style="display:none"></iframe>
</body>
</html>



<script type="text/javascript">

	function hideDiv(_cnt) {
		if($('#detail'+_cnt).css('display') == 'none') {
			$('#detail'+_cnt).fadeIn("slow", function() {});
开发者ID:hew86i,项目名称:panorama,代码行数:31,代码来源:SiteNaloziNew.php


注:本文中的dic函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。