Your IP : 216.73.217.79


Current Path : /var/www/cesa.co.za/cpdadmin/
Upload File :
Current File : /var/www/cesa.co.za/cpdadmin/footer.php

<?php if (@$gsExport == "") { ?>
	<p>&nbsp;</p>
	<!-- right column (end) -->
	<?php if (isset($gsTimer)) $gsTimer->Stop() ?>
	</td>
	</tr>
	</table>
	<!-- content (end) -->
	<!-- footer (begin) --><!-- *** Note: Only licensed users are allowed to remove or change the following copyright statement. *** -->
	<div class="ewFooterRow">
		<div class="ewFooterText">&nbsp;<?php echo $Language->ProjectPhrase("FooterText") ?></div>
		<!-- Place other links, for example, disclaimer, here -->
	</div>
	<!-- footer (end) -->
	</div>
	<table cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<div id="ewAddOptDialog" class="phpmaker"></div>
			</td>
		</tr>
	</table>
	<table cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<div id="ewEmailDialog" class="phpmaker">
					<?php include "ewemail7.php" ?>
				</div>
			</td>
		</tr>
	</table>
	<div class="yui-tt" id="ewTooltipDiv" style="visibility: hidden; border: 0px;" name="ewTooltipDivDiv"></div>
<?php } ?>
<script type="text/javascript">
	<!--
	<?php if (@$gsExport == "" || @$gsExport == "print") { ?>
		ewDom.getElementsByClassName(EW_TABLE_CLASS, "TABLE", null, ew_SetupTable); // init the table
	<?php } ?>
	<?php if (@$gsExport == "") { ?>
		ew_InitAddOptDialog(); // Init the add option dialog
		ew_InitEmailDialog(); // Init the email dialog
	<?php } ?>

	//
	-->
</script>
<?php if (@$gsExport == "") { ?>
	<script language="JavaScript" type="text/javascript">
		<!--
		// Write your global startup script here
		// document.write("page loaded");
		//
		function check() {
			// Create XMLHttpRequest object
			var xhr = new XMLHttpRequest();
			xhr.open('GET', '/cpdadmin/ajax/session-keep-alive.php', true);
			xhr.setRequestHeader('Content-Type', 'application/json');

			xhr.onreadystatechange = function() {
				if (xhr.readyState === 4) {
					// Request completed, session kept alive
					// You can add error handling here if needed
					// console.log('Session keep-alive completed');
				}
			};

			xhr.onerror = function() {
				// Handle network errors silently
				// console.log('Session keep-alive failed');
			};

			xhr.send();
		}

		// Start the session keep-alive when page loads
		document.addEventListener('DOMContentLoaded', function() {
			// Initial check
			check();

			// Set up interval to check every 100 seconds
			setInterval(function() {
				check();
			}, 100000); // 100 seconds = 100,000 milliseconds
		});
		-->
	</script>
<?php } ?>
</body>

</html>