本文整理汇总了PHP中dic_函数的典型用法代码示例。如果您正苦于以下问题:PHP dic_函数的具体用法?PHP dic_怎么用?PHP dic_使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了dic_函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: dic_
$veh = $drSch["vehicle"];
if ($veh == "0") {
$veh = dic_("Reports.AllVehicles");
}
$period = dic_("Reports." . $drSch["period"] . "");
$day = "";
if ($drSch["day"] != "") {
$day = dic_("Reports." . $drSch["day"] . "");
}
$ranArr = explode("Last", $drSch["range"]);
if ($ranArr[1] > 1) {
$range = $ranArr[1] . " " . dic_("Reports.Days_");
} else {
$range = $ranArr[1] . " " . dic_("Reports.Day_");
}
$report = dic_("Reports." . $drSch["report"]);
if ($drSch["report"] == "CustomizedReport") {
$report = dlookup("select name from reportgenerator where id = " . $drSch["repid"]);
}
?>
<tr id="veh<?php
echo $cnt_1;
?>
" style="cursor:pointer" onmouseover="over(<?php
echo $cnt_;
?>
, 1)" onmouseout="out(<?php
echo $cnt_;
?>
示例2: dlookup
$to = dlookup("select registration from vehicles where id=" . pg_fetch_result($mess, 0, "toid"));
}
?>
<?php
echo dic_("Reports.To");
?>
: <strong><?php
echo $to;
?>
</strong>
<?php
}
?>
<br>
<?php
echo dic_("Reports.DateTime");
?>
: <strong><?php
echo DateTimeFormat(pg_fetch_result($mess, 0, "datetime"), $datetimeformat);
?>
</strong>
</td>
</tr>
<tr>
<td colspan=2 style="padding-top:25px">
<?php
echo pg_fetch_result($mess, 0, "body");
?>
</td>
</tr>
示例3: dic_
<td style="<?php
echo $dtaximeterS;
?>
; width:10%; font-size:11px;" align="center" class="corner5 text5 <?php
echo $classTr;
?>
colTaximeter">
<?php
$stTaxi = "";
$currDataTaxi = "";
if (pg_fetch_result($dsCurrPos, 0, $taxiCol) == 1) {
$stTaxi = "style='color:green;'";
$currDataTaxi = dic_("Reports.ON1");
} else {
$stTaxi = "style='color:red;'";
$currDataTaxi = dic_("Reports.OFF1");
}
?>
<span id="spanTaxi-<?php
echo $drVehicle["id"];
?>
" <?php
echo $stTaxi;
?>
onmousemove="ShowPopup(event, '<span class=\'text5\'><?php
echo dic("Reports.CurrTaximeter");
?>
</span>')" onmouseout="HidePopup()"><?php
echo $currDataTaxi;
?>
</span>
示例4: Sec2Str2
</td>
<td height="22px" align="center" style="background-color:#fff; border:1px dotted #B8B8B8" class="text2"><?php
echo Sec2Str2($drActivity["totaltime"]);
?>
</td>
<td height="22px" align="center" style="background-color:#fff; border:1px dotted #B8B8B8" class="text2"><?php
echo Sec2Str2($drActivity["idletime"]);
?>
</td>
<td height="22px" align="center" style="background-color:#fff; border:1px dotted #B8B8B8" class="text2"><?php
echo number_format(round($drActivity["distance"] * $metricvalue1, 1));
?>
</td>
<td height="22px" align="center" style="background-color:#fff; border:1px dotted #B8B8B8" class="text2">
<img width="24" height="24" border="0" src="../images/zoom.png" style="cursor:pointer" title="<?php
echo dic_("Reports.ViewOnMap");
?>
" onClick="OpenMapActivity('<?php
echo session("user_id");
?>
', '<?php
echo session("client_id");
?>
', '<?php
echo DateTimeFormat($drActivity["startdate"], "d-m-Y H:i:s");
?>
', '<?php
echo DateTimeFormat($drActivity["enddate"], "d-m-Y H:i:s");
?>
', '<?php
echo $reg;
示例5: opendb
/sessionexpired/?l=" + '<?php
echo $cLang;
?>
';
</script>
<?php
opendb();
?>
<div align=left style='padding-top:25px; margin-left:45px'>
<table>
<tr>
<td style='font-family:Arial, Helvetica, sans-serif; font-size:11px; font-weight:normal; color:#2f5185; text-decoration: none;'><?php
echo dic_("Reports.EnterNewComp");
?>
:</td>
<tr>
<tr>
<td>
<input id="compname" type="text" class="text1-" style="border-radius: 5px 5px 5px 5px; border: 1px solid #CCCCCC; padding-left:5px; height:24px; width:270px; text-align:left; font-family:Arial, Helvetica, sans-serif; font-size:11px; font-weight:normal;" />
</td>
</tr>
</table>
</div>
<?php
closedb();
?>
示例6: dic_
</table>
</td>
</tr>
</table>
</td></tr>
<tr id="sent-trr-<?php
echo $cc;
?>
" style="height:1px;">
<td><div style="border-bottom:1px dotted #bebebe; width:93%; margin-left:8px"></div></td>
</tr>
<?php
$cc++;
$totalSent--;
}
if (pg_num_rows($dsMessInbox) == 0) {
?>
<tr style="height:10px;">
<td><div class="text2_" style="margin-left:8px">- <?php
echo dic_("Reports.Empty");
?>
-</div></td>
</tr>
<?php
}
?>
</tbody>
<?php
closedb();
exit;
示例7: session_start
include "../include/functions.php";
include "../include/params.php";
include "../include/dictionary2.php";
?>
<?php
include "../include/db.php";
session_start();
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<?php
opendb();
$cost = getQUERY("cost");
?>
<body>
<div class="text5" style="font-size: 13px"><?php
echo dic_('Reports.SureDelCost');
?>
<strong><?php
echo $cost;
?>
</strong>?</div>
</body>
</html>
示例8: dic_
}
?>
<td width=80px style="font-size:11px" align="center" class="corner5 text5 <?php
echo $classTr;
?>
">
<div <?php
echo $stTaxi;
?>
>
<?php
$stTaxi = "";
if (pg_fetch_result($dsCurrPos, 0, $taxiCol) == 1) {
echo dic_("Reports.ON1");
} else {
echo dic_("Reports.OFF1");
}
?>
</div>
</td>
<td width=60px style="font-size:11px" align="center" class="corner5 text5 <?php
echo $classTr;
?>
">
<?php
$stPass = "";
$pass = dlookup("select getpassengers" . $passrup . "(" . pg_fetch_result($dsCurrPos, 0, $passCol) . ")");
if ($pass > 0) {
$stPass = "style='color:green;'";
} else {
$stPass = "style='color:red;'";
示例9: dic_
<?php
}
?>
</div>
<br>
</div>
<?php
$cnt++;
}
} 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>
示例10: dic_
}
if ($row["pause4"] != "0") {
?>
<td style="padding-left: 30px" class="style2"><?php
echo dic_("Tracking.FourthPause");
?>
: <strong style="color:#800"><?php
echo $row["pause4"];
?>
min</strong></td>
<?php
}
if ($row["pause5"] != "0") {
?>
<td style="padding-left: 30px" class="style2"><?php
echo dic_("Tracking.FifthPause");
?>
: <strong style="color:#800"><?php
echo $row["pause5"];
?>
min</strong></td>
<?php
}
?>
</tr>
</table>
</td>
<!--td height="30px" align="left" valign="middle" class="style2">Прва Пауза: <strong class="style3"><?php
echo pg_fetch_result($dsNalog, 0, "pause1");
?>
min</strong></td>
示例11: dic
</span>
<input id="txtusername" type="text" name="txtusername" class="BlackText corner5" value="<?php
echo $username;
?>
">
<input id="txtpassword" type="password" name="txtpassword" class="BlackText corner5">
<input type="submit" class="BlackText corner5" id="btnlogin" name="btnlogin" value="<?php
dic("Login.Button");
?>
">
<span id="lbl-error-login-msg" class="BlackText2" <?php
echo $errorString;
?>
><?php
echo $isActive == 0 ? dic_("Login.WrongPassword") . "!!!" : dic_("Login.UserIsNotActive") . " <a href=\"mailto:support@gps.mk\">support@gps.mk</a>";
?>
</span> <!-- new -->
<label id="lbl-remember-me" class="BlackText1" style="position:absolute; left:190px; top:65px; color:#000; font-weight:bold; width:200px"><input name="chkRememberMe" id="chkRememberMe" type="checkbox" <?php
echo $r14Chk;
?>
><?php
dic("Login.keepLogged");
?>
</label>
</form>
</div>
<div id="footer-rights" class="textFooter"><a href="<?php
echo $CopyrightLink;
示例12: opendb
echo $cLang;
?>
';
</script>
<?php
// $cLang = getQUERY("l");
opendb();
?>
<div align=left style='padding-top:25px; margin-left:45px'>
<table>
<tr>
<td style='font-family:Arial, Helvetica, sans-serif; font-size:11px; font-weight:normal; color:#2f5185; text-decoration: none;'><?php
echo dic_("Reports.EnterNewExecutor");
?>
:</td>
<tr>
<tr>
<td>
<input id="locname" type="text" class="text1-" style="border-radius: 5px 5px 5px 5px; border: 1px solid #CCCCCC; padding-left:5px; height:24px; width:270px; text-align:left; font-family:Arial, Helvetica, sans-serif; font-size:11px; font-weight:normal;" />
</td>
</tr>
</table>
</div>
<?php
closedb();
?>
示例13: dic_
</button>
<button id="btn-clear" onClick="CistiForma()"><?php
echo dic_("Routes.Clear");
?>
</button>
<br><br>
</div>
<br><br>
<br>
<div id="footer-rights-new" class="textFooter" style="padding:10px 10px 10px 10px"></div>
<div id="div-reports" style="display:none" title="<?php
echo dic_("Routes.SearchOrdersTitle");
?>
">
<iframe id="frm-reports" frameborder="0" scrolling="yes" style="width:100%; height:100%; overflow: hidden"></iframe>
</div>
<br><br>
</div>
</body>
</html>
<script type="text/javascript">
lang = '<?php
示例14: FilterByVeh
function FilterByVeh() {
$.ajax({
url: 'filterbyveh.php?id=' + txt_vozilo.value,
success: function (data) {
if (data == "Zero") {
txt_sofer1.disabled = true;
txt_sofer2.disabled = true;
txt_sofer3.disabled = true;
} else {
//var dat = JXG.decompress(data);
var dat = data;
txt_sofer1.disabled = false;
txt_sofer2.disabled = false;
txt_sofer3.disabled = false;
var _opt = "<option value='0'><?php echo dic_("Routes.SelectUser")?></option>";
for (var i = 0; i < dat.split("%@").length - 1; i++) {
_opt += "<option value='" + dat.split("%@")[i].split("|")[0] + "'>" + dat.split("%@")[i].split("|")[1] + " - " + dat.split("%@")[i].split("|")[2] + "</option>";
}
$('#txt_sofer1').empty();
$('#txt_sofer1').html(_opt);
$('#txt_sofer2').empty();
$('#txt_sofer2').html(_opt);
$('#txt_sofer3').empty();
$('#txt_sofer3').html(_opt);
}
}
});
}
function changeCulture() {
示例15: dic_
<?php
echo dic_("Settings.Min");
?>
</strong></td>
<?php
}
if ($row["pause5"] != "0") {
?>
<td style="padding-left: 30px" class="style2"><?php
echo dic_("Tracking.FifthPause");
?>
: <strong style="color:#800"><?php
echo $row["pause5"];
?>
<?php
echo dic_("Settings.Min");
?>
</strong></td>
<?php
}
?>
</tr>
</table>
</td>
<!--td height="30px" align="left" valign="middle" class="style2">Прва Пауза: <strong class="style3"><?php
echo pg_fetch_result($dsNalog, 0, "pause1");
?>
min</strong></td>
<td height="30px" align="right" valign="middle" class="style2"> </td-->
</tr>
<?php