Example #1
0
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;
			}
Example #2
0
//$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();
Example #3
0
	            	<?php 
        $stPass = "";
        if ($pass > 0) {
            $stPass = "******";
        } else {
            $stPass = "******";
        }
        ?>
	            	<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;
}
?>
Example #4
0
<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();
		</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 () {
Example #6
0
    }
    ?>
			</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"];
        ?>
Example #7
0
	
	<?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();
Example #8
0
    

	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,
Example #9
0
 &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);
Example #10
0
" 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 
Example #11
0
        </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();
Example #12
0
	<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>
Example #13
0
			<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>
Example #14
0
} 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>
Example #15
0
	</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() {});
Example #16
0
	<div style="display:block; height:10px"></div>

	<strong><?php 
echo dic("Tracking.AlertEmail");
?>
: <span style="font-size:10px; color:#666">(<?php 
echo dic("Tracking.Example");
?>
: John@google.com, Marc@yahoo.com)</span>:</strong><br />
	<input id="txt_emails" type="text" value="" class="textboxcalender corner5 text5" style="width:622px; height:22px; font-size:11px"/><br />
	<div style="display:block; height:10px"></div>
	<strong><?php 
echo dic("Tracking.AlertPhone");
?>
: <span style="font-size:10px; color:#666">(<?php 
echo dic("Tracking.MacExample");
?>
: 075100000, 071100000)</span>:</strong><br />
	<input id="txt_phones" type="text" value="" class="textboxcalender corner5 text5" style="width:622px; height:22px; font-size:11px"/><br />
</div>
	<br/>
	<br/>
	</body>
	<script>
	for (var i=0; i <= <?php 
echo $cnt3;
?>
 -1; i++)
	{
		$('#btnGroupMap' + i).button({ icons: { primary: "ui-icon-search"} });
		$('#btnMapPoi' + i).button({ icons: { primary: "ui-icon-search"} });
Example #17
0
        $sqlAl1 = "";
    } else {
        if ($sidx == "2") {
            $dsVehByOE = query("select id from vehicles where organisationid=" . $oeid);
            while ($row = pg_fetch_array($dsVehByOE)) {
                $sqlAl1 .= "insert into alarms (alarmtypeid, settings, available, emails, sms, soundid, snooze, clientid, vehicleid, poiid, uniqid, typeofgroup) ";
                $sqlAl1 .= " Values ('9', '" . $oeid . "', '" . $_avail . "', '" . $em . "', '" . $ph . "', 1, '" . $snooze . "', '" . session("client_id") . "', '" . $row["id"] . "', '" . $id . "', '" . $q . "', '" . $sidx . "')";
                $dsAl1 = query($sqlAl1);
                $sqlAl1 = "";
            }
        } else {
            $dsVehByCID = query("select id from vehicles where clientid=" . session("client_id"));
            while ($row = pg_fetch_array($dsVehByCID)) {
                $sqlAl1 .= "insert into alarms (alarmtypeid, settings, available, emails, sms, soundid, snooze, clientid, vehicleid, poiid, uniqid, typeofgroup) ";
                $sqlAl1 .= " Values ('9', '" . $oeid . "', '" . $_avail . "', '" . $em . "', '" . $ph . "', 1, '" . $snooze . "', '" . session("client_id") . "', '" . $row["id"] . "', '" . $id . "', '" . $q . "', '" . $sidx . "')";
                $dsAl1 = query($sqlAl1);
                $sqlAl1 = "";
            }
        }
    }
}
$sql3 = "select fillcolor from pointsofinterestgroups where id=" . $_ppgid;
$dsCol = query($sql3);
if ($type == "2") {
    $str = dic("Tracking.GeoFenceRecord") . "&&@^";
} else {
    $str = dic("successfullyPolygon") . "&&@^";
}
$str .= "" . $id . "&&@^" . pg_fetch_result($dsCol, 0, "fillcolor") . "";
print $str;
closedb();
				<span style="margin-top:0px; margin-right:5px; background-color:#FFFFFF; background-image: url(../images/<?php 
        echo $photo;
        ?>
.png); background-size:100%" class="tfm-teams cornerBig">&nbsp;</span>
				<?php 
        echo $txt;
        ?>
			</a>
			<?php 
    }
}
if ($cntPOI == 0) {
    ?>
<a class="list-item" style="color:#a1a1a1">
		<span onclick="" class="MyListInner" style="width:95%"><?php 
    echo dic("No results were found for searched criteria");
    ?>
 !</span>		
</a>

<?php 
}
closedb();
?>
<script>
	//debugger;
	//for each (var item in $(".search-item").children()) {
	  
	//}
	//var tt= $(".search-item").get(0).offsetLeft
	//$(".MyListInner").scrollTo(0,$(".MyListInner").get(0).offsetLeft)
Example #19
0
?>
:</label>
                <?php 
$find = query("SELECT id,name from pointsofinterestgroups where clientid = " . Session("client_id") . "order by name");
$n = 1;
?>

			    <select id="GroupName1" class="combobox text2">
			    <option id="<?php 
echo $n;
?>
" value = "<?php 
echo $n;
?>
"><?php 
echo dic("Settings.NotGroupedItems");
?>
 </option>
			    <?php 
while ($row = pg_fetch_array($find)) {
    $data[] = $row;
}
foreach ($data as $row) {
    ?>

			    <option id="<?php 
    echo $row["id"];
    ?>
" value = "<?php 
    echo $row["id"];
    ?>
Example #20
0
						$brojac++;
					}
					?>
				</div>
			<?php } ?>
			<br><br>&nbsp;
	</div>
</div>

<?php
	$cntz=0;
	if($AllowViewZone == "1")
	{
?>
<div id="menu-4" class="menu-container" style="width:248px">
	<a id="menu-title-4" href="#" class="menu-title text3" onClick="OnMenuClick(4)" style="width:100%"><?php echo dic("Tracking.geofence")?>
		<img src="../images/downMenu1.png" width="8" height="11" style="position: relative; float: right; opacity: 0.13; right: 40px; top: 2px; " />
		<img src="../images/upMenu1.png" width="8" height="11" style="position: relative; float: right; opacity: 0.13; right: 40px; top: 1px; " />
	</a>
	<div id="menu-container-4" style="width:230px; padding-left:10px; padding-bottom:10px; padding-top:10px; overflow-y: hidden; overflow-x:auto;">
		<div id="add_del_geofence">
			<?php
				$str3 = "";
				if (session("role_id")."" != "2")
					$str3 = " and (ca.userid in (select id from users where organisationid in (select organisationid from users where id=" . session("user_id") . ")) or ca.userid=" . session("user_id") . " or ca.available = 3)";
    
				$dsZone = query("select ca.*, ppg.fillcolor color from pointsofinterest ca left outer join pointsofinterestgroups ppg on ca.groupid=ppg.id where ca.active='1' and ca.type=2 and ca.clientid=" . session("client_id") . $str3 . " ORDER BY ca.name asc");
				
				while($row = pg_fetch_array($dsZone))
				{
				?>
Example #21
0
        <tr><td colspan=2 style="border:1px solid #bebebe; font-weight:bold"><strong><?php 
dic("Reports.Company");
?>
:</strong></td><td style="border:1px solid #bebebe;" colspan="11"><?php 
echo session("company");
?>
</td></tr>
 		<tr><td colspan=2 style="border:1px solid #bebebe; font-weight:bold"><strong><?php 
dic("Reports.CreationDate");
?>
:</strong></td><td align="left" style="border:1px solid #bebebe;" colspan="11"><?php 
echo $CreationDate;
?>
</td></tr>
        <tr><td colspan=2 style="border:1px solid #bebebe; font-weight:bold"><strong><?php 
dic("Reports.DateTimeRange");
?>
:</strong></td><td style="border:1px solid #bebebe;" colspan="11"><?php 
echo $sd;
?>
 - <?php 
echo $ed;
?>
</td></tr>
        <tr><td colspan=13></td></tr>
    </table>
    
	<?php 
$_datumCnt = $sdG;
while (DateDiffDays($edG, $_datumCnt) < 0) {
    $cnt = 1;
Example #22
0
						<td width="24%" style="padding-left: 10px;"><?php 
        echo dic_("Reports.Total");
        ?>
 <?php 
        if ($clientUnit == "mi") {
            echo dic("Route.Miles");
        } else {
            echo dic("Fm.Km");
        }
        ?>
: <strong style="color:#800"><?php 
        echo number_format((double) $row["totalkm"], 2, '.', '');
        ?>
&nbsp;<?php 
        if ($clientUnit == "mi") {
            echo dic("Route.Miles");
        } else {
            echo "km";
        }
        ?>
</strong></td>
						<td width="24%" style="padding-left: 10px;"><?php 
        echo dic_("Reports.TotalTime");
        ?>
: <strong style="color:#800"><?php 
        echo Sec2Str1($row["totaltime"]);
        ?>
</strong></td>
					</tr>
					<tr>
						<td style="text-align: right"><?php 
Example #23
0
<div id="dialog-message" title="<?php 
echo dic("Reports.Message");
?>
" style="display:none">
	<p>
		<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
		<div id="div-msgbox" style="font-size:14px"></div>
	</p>
</div>

<div id="div-loading" class="BlackText2 shadow"><img src="../images/loading.gif" border="0" align="absmiddle" width="16" height="16" /> <?php 
echo dic("Settings.Loading");
?>
...</div>
<div id="dialog-map" title="<?php 
echo dic("Reports.ViewOnMap");
?>
" style="display:none">
<p></p>
</div>
<div id="Loading-gif" style="display:none; width:200px; height:100px;" title="Loading...">
    <img src="../images/loading_bar1.gif" style="width:150px"/>
</div>
</body>
</html>

<script>
	var snoozeTmp = 0;
	snooze = '<?php 
echo $snooze;
?>
Example #24
0
?>
</font></td--> 
					<td align = "center" width="10%" height="25px" align="center" class="text2_" style="font-weight:bold; background-color:#E5E3E3; border:1px dotted #2f5185;"><font color = "#ff6633"><?php 
dic("Tracking.Delete");
?>
</font></td>
		        </tr>
		  		</thead>
		  		<tbody id="predefmess" style="position: relative; display: block; margin-top: 25px; width: 666px;">
	  			<?php 
if (pg_num_rows($quckmess) == 0) {
    ?>
					<tr><td>
						<div id="noDataquickmess" style="padding: 40px; font-size:20px; font-style:italic;" class="text4">
							<?php 
    dic("Reports.NoData1");
    ?>
						</div>
					</td></tr>
				<?php 
} else {
    ?>
				<?php 
    while ($row3 = pg_fetch_array($quckmess)) {
        $opac = '1';
        $dis = 'none';
        if ($row3["flag"] == "0") {
            $opac = '0.5';
            $dis = 'block';
        }
        ?>
Example #25
0
include "../include/dictionary2.php";
?>

<?php 
// error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);  // [josip] za error reports
header("Content-type: text/html; charset=utf-8");
opendb();
$all_alerts = query("select a.*,at.name, at.description, v.registration, v.code, v.id vid from alarms a left join alarmtypes at on a.alarmtypeid=at.id left join vehicles v on a.vehicleid=v.id\n\t\t\t\t\twhere a.clientid=357 and at.id <> 11\n\t\t\t\t\torder by cast(a.uniqid as integer) desc, alarmtypeid");
$vehReg = array();
$oldUniqID = 1;
$setBreak = false;
$allRows = pg_fetch_all($all_alerts);
// print_r($allRows);
foreach ($allRows as $key => $row3) {
    echo "------------ <br>";
    echo dic($row3["name"]);
    if ($key > 0) {
        echo "<br> red pred: " . $allRows[$key - 1]["uniqid"] . " <br> ";
    }
    echo "<br> ------------ <br>";
}
// if ($oldUniqID == 1) {
// 	$oldUniqID = (int)$row3["uniqid"];
// }
// if($oldUniqID != (int)$row3["uniqid"] ) {
// 	$oldUniqID = (int)$row3["uniqid"];
// 	$setBreak = true;
// }
// 	$tmpColor = '#2f5185';
// 	if ($_SESSION['role_id'] == "2") {
// 		$checkVeh = dlookup("select count(*) from vehicles where clientID=" . session("client_id") . " and active='1' and id=".$row3["vid"]);
Example #26
0
                  </tr>
                  <tr>
                      <td width=20% style="font-weight:bold;"><?php 
dic("Settings.TitleOrg");
?>
:</td>
                      <td width=30% style="padding-left:10px"><input id="name" value="<?php 
echo $name;
?>
" type="text" size=22 style="color: #2F5185; font-family: Arial,Helvetica,sans-serif; font-size: 11px; height:25px; border: 1px solid #CCCCCC; border-radius: 5px 5px 5px 5px; width:300px; padding-left:5px"/></td>
                      
                  </tr>
                  <tr>
                     
                      <td  width=20% style="font-weight:bold; padding-bottom:56px"><?php 
dic("Fm.Note");
?>
:</td>
                      <td style="padding-left:10px">
                           <textarea id="desc" style=" border: 1px solid #CCCCCC; border-radius: 5px 5px 5px 5px; color: #2F5185; font-family: Arial,Helvetica,sans-serif; font-size: 11px; width:99%; height:80px; padding:5px"><?php 
echo $desc;
?>
</textarea> 
                      </td>
                  </tr>
              
     </table>

</body>

Example #27
0
     <br>
		<table align = "center" width = "100%">
			<tr>
				<td colspan = "2" class ="text2" align = "center" style="color:#414141">
					<span class="ui-icon ui-icon-alert" style="position: absolute; top: 25px; left: 15px;"></span>
				<div style="width: 250px; padding-left: 20px; padding-bottom: 10px; text-align: center;"><?php echo dic("dinara5")?></div> </td></tr>
			<tr>
				<td style="color:#414141" class ="text2" width="90px" align = "right"><?php echo dic_("EnterPass")?> </td>
				<td style="color:#414141" class ="text2" width="150px" align = "left">
					<input type="password" class="textboxCalender corner5" id="dodTipPraznik" style="width:150px">
				</td>
			</tr>
		</table>
    </div>
    
    <div id="dialog-message" title="<?php echo dic("Reports.Message")?>" style="display:none">
	 <p>
		<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
		<div id="div-msgbox" style="font-size:14px"></div>
	 </p>
	</div>
	
   	</body>
   	
   	<script>
	function msgboxPetar(msg) {
    $("#DivInfoForAll").css({ display: 'none' });
    $('#div-msgbox').html(msg);
    $("#dialog-message").dialog({
        modal: true,
        zIndex: 9999, resizable: false,
Example #28
0
    echo 'disabled';
}
?>
 type="text" style = "width:365px"></input>
	     		</td>
		     </tr>
		     <tr>
		     	<td width = "25%"></td>	
		     	<td width = "75%" style="font-weight:bold ; " class ="text2"><font color = RED style="font-size = 10px"><?php 
echo dic("Reports.SchNote");
?>
</font></td>
		     </tr>
		     <tr>
		     	<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 = "txt_phones" class="textboxcalender corner5 text5" <?php 
if (!$allowedAlarms) {
    echo 'disabled';
}
?>
 type="text" style = "width:365px"></input></td>
		     </tr>
	     	
		 <?php 
if (!$allowedAlarms) {
    ?>
								</td>
							</tr>
Example #29
0
echo session("company");
?>
&nbsp;|&nbsp;<?php 
echo session("user_fullname");
?>
&nbsp;|&nbsp;<?php 
echo $CreationDate;
?>
&nbsp;|&nbsp;<?php 
dic("Reports.From");
?>
: <?php 
echo $sd;
?>
&nbsp;-&nbsp;<?php 
dic("Reports.To");
?>
: <?php 
echo $ed;
?>
		</div><br>   
	
	</div>
<div id="kalendarM" style="display: none; width: 625px; height: 168px; background-color: White; position: absolute;" class="shadow">
	<iframe id="ifrmkal" src="timeframe.php?l=<?php 
echo $cLang;
?>
" style="width:100%; border: 0px; height: 100%" scrolling="no"></iframe>
</div>

    </body>
Example #30
0
echo dic("Tracking.GroupName");
?>
</span><input id="GroupNameAdd" type="text" class="textboxCalender corner5" style="width:220px" /><br /><br />
    <span style="display:block; width:90px; float:left; margin-left:20px; padding-top:7px;"><?php 
echo dic("Tracking.Color");
?>
</span>
    <div id="colorPicker2">
		<span id="colorPicker1" style="cursor: pointer; float:left; border:1px solid black; width:20px; height:20px;margin:5px;"></span>
		<input id="clickAny" type="text" class="textboxCalender corner5" onchange="changecolor()" value="" style="width:120px; display: none;" />
		<br><br>
	</div>
    <img id="loadingIconsPOI" style="visibility: hidden; width: 140px; position: absolute; left: 125px; top: 180px;" src="../images/loading_bar1.gif" alt="" />
    <br><br>
    <span id="spanIconsPOI" style="display:block; width:90px; float:left; margin-left:20px; position: relative; top: 70px;"><?php 
echo dic("General.Icon");
?>
</span>
    <table id="tblIconsPOI" border="0" style="width: 268px; text-align: center; position: relative; top: -10px; left: -15px;">
        <tr>
        	<td>
        		<span id="GroupIconImg0" class="iconpin icon-poi-0"></span>
    		</td>
    		<td>
        		<span id="GroupIconImg1" class="iconpin icon-poi-1"></span>
        	</td>
    		<td>
        		<span id="GroupIconImg2" class="iconpin icon-poi-2"></span>
    		</td>
    		<td>
        		<span id="GroupIconImg3" class="iconpin icon-poi-3"></span>