Ejemplo n.º 1
0
	<div style="padding-top: 4px; width: 98%">
		<span id="messageDisplay">
			<?php 
if (empty($list)) {
    echo $dispMessage;
}
?>
&nbsp;
		</span>
	</div>

	<div style="text-align: right; padding-top: 4px; width: 98%">
		<?php 
$temp = $this->popArr['count'];
$commonFunc = new CommonFunctions();
$pageStr = $commonFunc->printPageLinks($temp, $currentPage);
$pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
echo $pageStr;
?>
&nbsp;
	</div>

	<div class="roundbox">
		<table width="100%" border="0" cellpadding="5" cellspacing="0" class="">
		  <tr style="white-space: nowrap">
			<td width="50" nowrap="nowrap" class="listViewThS1" scope="col">
				<?php 
if ($allowDelete) {
    ?>
					<input type='checkbox' class='checkbox' name='allCheck' value='' onclick="doHandleAll();" />
				<?php 
        echo $records['message'];
        ?>
</span>
    </div>
<?php 
    }
    ?>
<!-- Message box: Ends -->


<!-- Paging: Begins -->
<?php 
    if (isset($records['recordsCount']) && $records['recordsCount'] > 50) {
        echo '<div id="paging">';
        $commonFunc = new CommonFunctions();
        $pageStr = $commonFunc->printPageLinks($records['recordsCount'], $records['pageNo'], 50);
        $pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
        echo $pageStr;
        echo '</div>';
    }
    ?>
<!-- Paging: Ends -->

<?php 
    if (isset($records['editMode'])) {
        ?>
<form id="frmSaveAttendanceReport" name="frmSaveAttendanceReport" method="post" action="?timecode=Time&action=Save_Attendance_Report">
<?php 
    }
    ?>
                ?>
</a>
    <?php 
            }
            ?>

<?php 
        }
    }
    ?>
        </div>
        <div class="noresultsbar"></div>
        <div class="pagingbar">
<?php 
    $commonFunc = new CommonFunctions();
    $pageStr = $commonFunc->printPageLinks($allRecords, $currentPage);
    $pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
    echo $pageStr;
    ?>
        </div>
    </div>
    <br class="clear"/>

<table border="0" cellpadding="0" cellspacing="0" class="data-table">
  <thead>
	<tr>
<?php 
    if (isset($_REQUEST['id']) && empty($_REQUEST['id']) && ($_SESSION['isAdmin'] == 'Yes' || isset($_SESSION['empID']) && (!empty($empInfo) && $empInfo[0] != $_SESSION['empID']))) {
        ?>

			<?php 
Ejemplo n.º 4
0
		<hr style="width:420px;float:left;margin:15px 0px 15px 0px"/>
  <?php 
if (empty($empTimeArray)) {
    ?>
		<br/><div class="notice" style="float:left"><?php 
    echo $lang_Time_Activity_Report_NoEvents;
    ?>
</div>
  <?php 
} else {
    ?>
		<div class="paging">
		<?php 
    $commonFunc = new CommonFunctions();
    $pageStr = $commonFunc->printPageLinks($count, $pageNo);
    $pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
    echo $pageStr;
    ?>
		</div></br>

      <div style="float:left">
		<table width="250" class="simpleList" >
			<thead>
				<tr>
				<th class="listViewThS1"><?php 
    echo $lang_Time_Activity_Report_EmployeeName;
    ?>
</th>
				<th class="listViewThS1"><?php 
    echo $lang_Time_TimeInHours;
        ?>
';" />
        <?php 
    }
    ?>
        <br class="clear"/>
    </div>

</table>
</form>
<!-- Search form ends -->
<div class="pagingbar">
<?php 
    if (!isset($oneEmployee)) {
        $commonFunc = new CommonFunctions();
        $pageStr = $commonFunc->printPageLinks($records[4], $records[3], 50);
        $pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
        echo $pageStr;
    }
    ?>
</div><br class="clear" />
<!-- Summary form begins -->
<form name="hspFullSummary" id="hspFullSummary" action="" method="post">
<input type="hidden" name="pageNo" value="<?php 
    echo $records[3];
    ?>
">
<table border="0" cellspacing="0" cellpadding="0" class="data-table">
<thead>

  <tr>
" />
<?php 
    }
    ?>
        </div>
        <div class="noresultsbar"><?php 
    echo !is_array($records) ? $lang_Error_NoRecordsFound : '';
    ?>
</div>
        
		<!-- Paging: Begins -->
		<?php 
    if ($recordsCount > 50) {
        echo '<div class="pagingbar">';
        $commonFunc = new CommonFunctions();
        $pageStr = $commonFunc->printPageLinks($recordsCount, $pageNo, 50);
        $pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
        echo $pageStr;
        echo '</div>';
    }
    ?>
		<!-- Paging: Ends -->
        
    <br class="clear" />
    </div>
<?php 
}
?>
    <br class="clear" />

<table border="0" cellpadding="0" cellspacing="0" class="data-table">
Ejemplo n.º 7
0
        onMouseOut="this.src='../../themes/beyondT/pictures/btn_add.gif';"
        onMouseOver="this.src='../../themes/beyondT/pictures/btn_add_02.gif';"
        src="../../themes/beyondT/pictures/btn_add.gif">
    <img
        onClick="<?php 
    echo $delBtnAction;
    ?>
"
        src="../../themes/beyondT/pictures/btn_delete.gif"
        onMouseOut="this.src='../../themes/beyondT/pictures/btn_delete.gif';"
        onMouseOver="this.src='../../themes/beyondT/pictures/btn_delete_02.gif';">
</div>
</td><td>
<?php 
    $commonFunc = new CommonFunctions();
    $pageStr = $commonFunc->printPageLinks($this->popArr['recordCount'], $this->popArr['pageNo'], 10);
    $pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
    echo $pageStr;
    ?>
</td>
</tr>
</table>
<?php 
}
?>

<!--Property List section-->
<?php 
if (!isset($this->getArr['action'])) {
    ?>