| Server IP : 134.236.49.22 / Your IP : 216.73.216.114 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/map/ |
Upload File : |
<?php
$ebits = ini_get('error_reporting');
error_reporting($ebits ^ E_NOTICE);
include( "../KPI/function.php" );
?>
<script type="text/javascript">
function getValue(vname)
{
var n = document.getElementById(vname).value
return n;
}
function changeFunc() {
var URL;
URL= "<?php echo $_SERVER['PHP_SELF'] ?>";
URL+= "?&bdate=";
URL+= getValue('date');
URL+= "&id_no=";
URL+= getValue('id_no');
URL+= "&eva=";
URL+= getValue('goal3');
URL+= "&def=";
URL+= getValue('def');
URL+= "&goal=";
URL+= getValue('goal2');
URL+= "&compair=";
URL+= getValue('goal1');
window.location= URL;
}
</script>
<script language="JavaScript" src="../KPI/date-picker.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-3-typeahead/4.0.2/bootstrap3-typeahead.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.13/js/bootstrap-multiselect.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.13/css/bootstrap-multiselect.css" />
</script>
<html>
<head>
<title>ºÑ¹·Ö¡¢éÍÁÙÅKPI</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
</head>
<body>
<p><br>
<?php
$id_no = $_GET['id_no'] ;
$compair =$_GET['compair'] ;
$eva =$_GET['eva'] ;
$goal =$_GET['goal'] ;
$def =$_GET['def'] ;
if (isset($_GET['bdate'])) {
$reportDate =trim($_GET['bdate']);
//if (strpos($reportDate,'/')==
$curDate = (substr($reportDate,6)-543).'-'.substr($reportDate,3,2).'-'.substr($reportDate,0,2);
} else {
$reportDate =trim(date("d/m/").(date("Y")+543));
$curDate = date('Y-m-d');
}
$indicators ='';
$xgoal = 'x';
$HA_no = '' ;
$PA_no = '' ;
$def = '' ;
mysql_select_db("KPI");
mysql_query("SET NAMES 'tis620'; ");
$sql='select * from indicators where id_no="'.$id_no.'" limit 1';
$result = mysql_query($sql);
if ($result) {
while ($object = mysql_fetch_object($result)) {
$xgoal = $object -> goal;
$id_no = $object ->id_no;
$indicators = $object -> indicators;
$deptList = $object -> dept;
$name1 =$object -> name1;
$name2 =$object -> name2;
$HA_no =$object -> HA;
$PA_no =$object -> PA;
$def =$object -> def;
}
$sql="select * from result where id_no='".$id_no."' and date = '".$curDate."' limit 1" ;
$result = mysql_query($sql);
while ($object = mysql_fetch_object($result)) {
$total = $object -> total;
$amount = $object ->amount;
}
} else {
$id_no ="not found";
$indicators ="";
$goal ="";
}
mysql_close($objConnect);
?>
<p>
<p>
<form id="form1" name="form1" method="post" enctype="multipart/form-data" action="" >
<table width="800" bordercolor="#66FFFF" align="center" bgcolor="#00FFFF" background="../KPI/image/00000.jpg">
<tr>
<td height="56" colspan="3" bordercolor="#FF0000" bgcolor="#33FF00"><h1 align="center">ºÑ¹·Ö¡¢éÍÁÙÅ</h1></td>
</tr>
<br>
<tr>
<td width="170" height="35" align="right">Lat </td>
<td colspan="2">
<input type="text" name="lat" id="lat" size="30" value="<? echo $lat;?>"></td>
</tr>
<tr>
<td height="38" align="right">Lon </td>
<td colspan="2">
<input type="text" name="lon" id="lon" size="30" value="<? echo $lon;?>"></td>
</tr>
<tr>
<td> </td>
<td width="210">
<div align="center">
<input name="insert" type="submit" value="ºÑ¹·Ö¡" id="label4" >
</div>
<p></td>
<td width="404"></td>
</tr>
</table>
</form>
<script>
$(document).ready(function(){
$('#framework').multiselect({
nonSelectedText: 'àÅ×͡˹èǧҹ',
enableFiltering: true,
enableCaseInsensitiveFiltering: true,
buttonWidth:'400px'
});
$('#framework_form').on('submit', function(event){
event.preventDefault();
var form_data = $(this).serialize();
$.ajax({
url:"insert.php",
method:"POST",
data:form_data,
success:function(data)
{
$('#framework option:selected').each(function(){
$(this).prop('selected', false);
});
$('#framework').multiselect('refresh');
alert(data);
}
});
});
});
</script>
<br>
<div align="center"><img src="../KPI/image/13-135406_image-of-hospital-building-clipart-6-hospital-clip.png" width="236" height="124"><img src="../KPI/image/010.jpg" width="573" height="69"><img src="../KPI/image/images.jpg" width="196" height="135" ></div>