Skip to content

Commit

Permalink
Update timerpt.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hjelmua committed Feb 27, 2018
1 parent 98fba1d commit 8cff797
Showing 1 changed file with 0 additions and 77 deletions.
77 changes: 0 additions & 77 deletions reports/timerpt.php
Expand Up @@ -149,84 +149,7 @@



/*
echo '<div class="row">
<div class="col-xs-8">
<div class="box box-info">
<!-- /.box-header -->';
echo " <form name='form' action='$self' method='post' onsubmit=\"return isFromOrToDate();\">\n";
echo '<div class="box-header with-border"><h3 class="box-title">';
echo " <i class='fa fa-book'></i>&nbsp;&nbsp;&nbsp;Daily
Time Report</div></div>\n";
echo " <input type='hidden' name='date_format' value='$js_datefmt'>\n";
if ($username_dropdown_only == "yes") {
$query = "select * from ".$db_prefix."employees order by empfullname asc";
$result = mysqli_query($GLOBALS["___mysqli_ston"], $query);
echo " Username:
<select name='user_name'>\n";
echo " <option value ='All'>All</option>\n";
while ($row=mysqli_fetch_array($result)) {
$tmp_empfullname = stripslashes("".$row['empfullname']."");
echo " <option>$tmp_empfullname</option>\n";
}
echo " </select>&nbsp;*\n";
mysqli_free_result($result);
} else {
echo "<div class='form-group'><label>Choose Office: </label> <select name='office_name' class='form-control select2 pull-right' style='width: 50%;' onchange='group_names();'></select></div>";
echo "<div class='form-group'><label>Choose Group: </label> <select name='group_name' class='form-control select2 pull-right' style='width: 50%;' onchange='user_names();'></select></div>\n";
echo " <div class='form-group'><label>Choose Username: </label> <select name='user_name' class='form-control select2 pull-right' style='width: 50%;'></select></div>\n";
}
echo " From Date: ($tmp_datefmt) <div class='input-group date'><div class='input-group-addon'><i class='fa fa-calendar'></i></div><input type='text' size='10' maxlength='10' name='from_date' id='datepicker'>&nbsp;*&nbsp;&nbsp;</div></div>\n";
echo " To Date: ($tmp_datefmt)
<div class='input-group date'><div class='input-group-addon'><i class='fa fa-calendar'></i></div><input type='text' size='10' maxlength='10' name='to_date' id='datepicker1'>&nbsp;*&nbsp;&nbsp;
</div></div>";
echo " *&nbsp;required&nbsp;\n";
echo " <div id=\"mydiv\">&nbsp;</div>\n";
echo " <div class='form-group'><div class='radio'>
<label>Export to CSV? (link to CSV file will be in the top right of the next page)</label>\n";

echo "";
if (strtolower($export_csv) == "yes") {
echo " <input type='radio' name='csv' value='1' checked>&nbsp;Yes\n";
echo " &nbsp;No <input type='radio' name='csv' value='0'></div></div>\n";
} else {
echo " <tr><td><input type='radio' name='csv' value='1'>&nbsp;Yes &nbsp; No <input type='radio' name='csv' value='0' checked></div></div>\n";
}
if (strtolower($ip_logging) == "yes") {
echo " <div class='form-group'><div class='radio'><label>&nbsp;&nbsp;&nbsp;Display connecting ip address information?</label>\n";
if ($display_ip == "yes") {
echo " <input type='radio' name='tmp_display_ip' value='1' checked>&nbsp;Yes<input type='radio' name='tmp_display_ip' value='0'>&nbsp;No</div></div>\n";
} else {
echo " <input type='radio' name='tmp_display_ip' value='1' >&nbsp;Yes
<input type='radio' name='tmp_display_ip' value='0' checked>&nbsp;No</div></div>\n";
}
}
echo '<div class="box-footer">';
echo '
<a href="index.php"><button type="submit" name="submit" value="Edit Time" class="btn btn-default pull-right"><i class="fa fa-ban"></i> Cancel</button></a>
<button type="submit" class="btn btn-success">Next <i class="fa fa-arrow-right"></i></button></div>
';
echo " </form>\n";
echo "</div></div></div></div>";
*/
include '../theme/templates/endmaincontent.inc';
include '../footer.php';
include '../theme/templates/controlsidebar.inc';
Expand Down

0 comments on commit 8cff797

Please sign in to comment.