-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joseph Topotushko
committed
Aug 23, 2017
1 parent
5ced592
commit 01380c9
Showing
10 changed files
with
166 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
</div><!--frameContent--> | ||
</div><!--#body--> | ||
<div id="error_log"> | ||
<?php | ||
echo "<pre>"; | ||
print_r($arrErrorLog); | ||
echo "</pre>"; | ||
?> | ||
</div> | ||
<div id="debug_info"><?php echo $strDebugInfo; ?></div> | ||
</body> | ||
</html> | ||
<?php | ||
include ('../common/izintra/inc-frame_bottom.php'); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,37 @@ | ||
<!DOCTYPE html> | ||
<?php | ||
//echo $strDocType."\r\n"; | ||
if (isset($_COOKIE["UserMessage"])) { | ||
$strUserMessage = $_COOKIE["UserMessage"]; | ||
SetCookie("UserMessage", ""); | ||
} | ||
ob_start(); | ||
?> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> | ||
<meta name="platform" content="IZ_Intra v3.01 Date UI"/> | ||
<meta name="author" content="Igor Zhuravlev" /> | ||
<title><?php echo $arrUsrData["pagTitle$strLocal"].($strPageSubtitle?" | ".$strPageSubtitle:""); ?></title> | ||
<script type="text/javascript"> | ||
var arrUsrData = <?php echo json_encode($arrUsrData);?>; | ||
var strLocal = '<?php echo $strLocal; ?>'; | ||
</script> | ||
<!--Scripts loaded by LoadJS--> | ||
<?php | ||
loadJS(); | ||
?> | ||
<!--Styles loaded by LoadCSS--> | ||
<?php | ||
loadCSS(); | ||
?> | ||
<!--Frame-specific HEAD tags--> | ||
<?php | ||
echo "\t".$strHead."\r\n"; | ||
?> | ||
<!--End of frame-specific HEAD tags--> | ||
<div id='topbar-company-select'> | ||
<select id='company-select' name='company'> | ||
<?php | ||
$sql = "SELECT * FROM common_db.tbl_company"; | ||
$rs = $oSQL->q($sql); | ||
while ($rw = $oSQL->f($rs)){ | ||
?> | ||
<option value="<?php echo $rw['comID'];?>" <?php if ($rw['comID']==$company) echo 'selected';?>><?php echo $rw["comTitle$strLocal"];?></option> | ||
<?php | ||
} | ||
?> | ||
</select> | ||
</div> | ||
<div id='topbar-search'> | ||
<form method="GET" id="customer-search" action='rep_sales_kpi_new.php'> | ||
<input name='cntID' placeholder='Customer...'/> | ||
<span id="customerSearchButton" class='fa fa-lg fa-search'></span> | ||
</form> | ||
|
||
</div> | ||
<script> | ||
$(document).ready(function(){ | ||
MsgShow(); | ||
$(document).ready(function(){ | ||
$('#customerSearchButton').click(function(){ | ||
$('#customer-search').submit(); | ||
}); | ||
$('#company-select').change(function(){ | ||
location.search = 'company='+$(this).val(); | ||
}); | ||
}); | ||
</script> | ||
<img src='/common/images/spinner-orange.gif' style='display:none;'/> | ||
</head> | ||
<body> | ||
<div id="body"> | ||
<div style="display:none;" id="sysmsg"<?php echo (preg_match("/ERROR/", $strUserMessage) ? " class='error'" : "") ;?>><?php echo $strUserMessage ; ?></div> | ||
<?php | ||
if (!$flagNoMenu && is_array($arrActions)) { | ||
?> | ||
<div id="menubar" class="menubar"> | ||
<div id="loader"><img alt="Connecting..." src="/common/images/ajax-loader-orange.gif" /></div> | ||
<ul class="menu-h"> | ||
<?php | ||
for ($i=0;$i<count($arrActions);$i++) { | ||
$strClass = 'sprite '.$arrActions[$i]['class']; | ||
$isJS = preg_match("/javascript\:(.+)$/", $arrActions[$i]['action'], $arrJSAction); | ||
if (!$isJS){ | ||
echo "\t<li><a class='{$strClass}' href=\"".$arrActions[$i]['action']."\">".$arrActions[$i]['title']."</a></li>\r\n"; | ||
} else { | ||
echo "\t<li><a class='{$strClass}' href=\"".$arrActions[$i]['action']."\" onclick=\"".$arrJSAction[1]."; return false;\">".$arrActions[$i]['title']."</a></li>\r\n"; | ||
} | ||
} | ||
?> | ||
</ul> | ||
</div> | ||
<div id='vspacer'> </div> | ||
<?php | ||
} | ||
if ($_DEBUG) { | ||
echo "<h1>Debug information</h1><h2>\$_SERVER:</h2>\r\n<pre>";print_r($_SERVER);echo "</pre>\r\n"; | ||
} ?> | ||
<div id="frameContent" class="content"><!--End of frame top template(includes/inc_frame-top.php)--> | ||
$Intra->projectTopbar = ob_get_clean(); | ||
include('../common/izintra/inc-frame_top.php'); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,7 +107,4 @@ | |
if ($denominator!=1) { | ||
$arrUsrData["pagTitle$strLocal"] .= ' x'.$denominator; | ||
} | ||
|
||
|
||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.