Viewing file: Rep0105.php (61 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
งานการเจ้าหน้าที่ วิทยาลัยพยาบาลบรมราชชนนี นครราชสีมา
query($nameData);
while($values = $rsData->fetch_assoc()){
$name=$values['name'];
$surName=$values['surName'];
}
?>
ชั่วโมงวิชาการวิชาชีพและคุณธรรมจริยธรรม(พัฒนาภายใน) |
จำนวน(ช.ม.) |
% (ช.ม.) |
จำนวน (โครงการ) |
ข้อมูล |
0 ";
$rs= $conn->query($ach);
while($values = $rs->fetch_assoc()){
$ac_hour_in=$values['ac_hour_in'];
$idperin1=$values['idperin1'];
}
//จำนวนชั่วโมงวิชาชีพ(พัฒนาภายใน)
$prh="SELECT SUM(pr_hour_in) AS pr_hour_in , COUNT(idper) AS idperin2 FROM TrainingHours WHERE fiyear='$yearSearch' AND idper='$personCode' AND pr_hour_in<>0 ";
$rs= $conn->query($prh);
while($values = $rs->fetch_assoc()){
$pr_hour_in=$values['pr_hour_in'];
$idperin2=$values['idperin2'];
}
//จำนวนชั่วโมงคุณธรรมจริยธรรม(พัฒนาภายใน)
$moralh="SELECT SUM(moral_hour_in) AS moral_hour_in , COUNT(idper) AS idperin3 FROM TrainingHours WHERE fiyear='$yearSearch' AND idper='$personCode' AND moral_hour_in<>0 ";
$rs= $conn->query($moralh);
while($values = $rs->fetch_assoc()){
$moral_hour_in=$values['moral_hour_in'];
$idperin3=$values['idperin3'];
}
//รวมจำนวนชั่วโมงพัฒนาภายในทั้งหมด
$sumTotalIn=($ac_hour_in+$pr_hour_in+$moral_hour_in);
//รวมจำนวนโครงการพัฒนาภายในทั้งหมด
$sumProjectIn=($idperin1+$idperin2+$idperin3);
?>
ชม.วก. : จำนวนชั่วโมงวิชาการ(พัฒนาภายใน) |
=number_format($ac_hour_in,0)?> |
=number_format(($ac_hour_in/$sumTotalIn)*100,2)?> % |
=number_format($idperin1,0)?> |
![](https://img.icons8.com/color/48/000000/folder-invoices.png) |
ชม.วช. : จำนวนชั่วโมงวิชาชีพ(พัฒนาภายใน) |
=number_format($pr_hour_in,0)?> |
=number_format(($pr_hour_in/$sumTotalIn)*100,2)?> % |
=number_format($idperin2,0)?> |
![](https://img.icons8.com/color/48/000000/folder-invoices.png) |
ชม.คธ. : จำนวนชั่วโมงคุณธรรมจริยธรรม(พัฒนาภายใน) |
=number_format($moral_hour_in,0)?> |
=number_format(($moral_hour_in/$sumTotalIn)*100,2)?> % |
=number_format($idperin3,0)?> |
![](https://img.icons8.com/color/48/000000/folder-invoices.png) |
รวมทั้งหมด |
=number_format($sumTotalIn,0)?> |
|
      =number_format($sumProjectIn,0)?> |
query($nameData);
while($values = $rsData->fetch_assoc()){
$name=$values['name'];
$surName=$values['surName'];
}
?>
ชั่วโมงวิชาการวิชาชีพและคุณธรรมจริยธรรม(พัฒนาภายนอกใช้งบ) |
จำนวน(ช.ม.) |
% (ช.ม.) |
งบประมาณที่ใช้ |
จำนวน (โครงการ) |
ข้อมูล |
0 AND ac_money<>0 ";
$rs= $conn->query($acho);
while($values = $rs->fetch_assoc()){
$ac_hour_outbudget=$values['ac_hour_outbudget'];
$idperino1=$values['idperino1'];
$ac_money=$values['ac_money'];
}
//จำนวนชั่วโมงวิชาชีพ(พัฒนาภายนอก) ใช้งบ
$prho="SELECT SUM(pr_hour_outbudget) AS pr_hour_outbudget , COUNT(idper) AS idperino2 , SUM(pr_money) AS pr_money FROM TrainingHours WHERE fiyear='$yearSearch' AND idper='$personCode' AND pr_hour_outbudget<>0 AND pr_money<>0 ";
$rs= $conn->query($prho);
while($values = $rs->fetch_assoc()){
$pr_hour_outbudget=$values['pr_hour_outbudget'];
$idperino2=$values['idperino2'];
$pr_money=$values['pr_money'];
}
//จำนวนชั่วโมงคุณธรรมจริยธรรม(พัฒนาภายนอก) ใช้งบ
$moralh="SELECT SUM(moral_hour_outbudget) AS moral_hour_outbudget , COUNT(idper) AS idperino3 , SUM(moral_money) AS moral_money FROM TrainingHours WHERE fiyear='$yearSearch' AND idper='$personCode' AND moral_hour_outbudget<>0 AND moral_money<>0 ";
$rs= $conn->query($moralh);
while($values = $rs->fetch_assoc()){
$moral_hour_outbudget=$values['moral_hour_outbudget'];
$idperino3=$values['idperino3'];
$moral_money=$values['moral_money'];
}
//รวมจำนวนชั่วโมงพัฒนาภายนอกใช้งบทั้งหมด
$sumTotalOut=($ac_hour_outbudget+$pr_hour_outbudget+$moral_hour_outbudget);
//รวมจำนวนงบประมาณพัฒนาภายนอกใช้งบทั้งหมด
$sumBudjet=($ac_money+$pr_money+$moral_money);
//รวมจำนวนโครงการพัฒนาภายนอกใช้งบทั้งหมด
$sumProject=($idperino1+$idperino2+$idperino3);
?>
ชม.วก. : จำนวนชั่วโมงวิชาการ(พัฒนาภายนอกใช้งบ) |
=number_format($ac_hour_outbudget,0)?> |
=number_format(($ac_hour_outbudget/$sumTotalOut)*100,2)?> % |
=number_format($ac_money,2)?> |
=number_format($idperino1,0)?> |
![](https://img.icons8.com/color/48/000000/folder-invoices.png) |
ชม.วช. : จำนวนชั่วโมงวิชาชีพ(พัฒนาภายนอกใช้งบ) |
=number_format($pr_hour_outbudget,0)?> |
=number_format(($pr_hour_outbudget/$sumTotalOut)*100,2)?> % |
=number_format($pr_money,2)?> |
=number_format($idperino2,0)?> |
![](https://img.icons8.com/color/48/000000/folder-invoices.png) |
ชม.คธ. : จำนวนชั่วโมงคุณธรรมจริยธรรม(พัฒนาภายนอกใช้งบ) |
=number_format($moral_hour_outbudget,0)?> |
=number_format(($moral_hour_outbudget/$sumTotalOut)*100,2)?> % |
=number_format($moral_money,2)?> |
=number_format($idperino3,0)?> |
![](https://img.icons8.com/color/48/000000/folder-invoices.png) |
รวมทั้งหมด |
=number_format($sumTotalOut,0)?> |
|
=number_format($sumBudjet,2)?> |
      =number_format($sumProject,0)?> |
query($nameData);
while($values = $rsData->fetch_assoc()){
$name=$values['name'];
$surName=$values['surName'];
}
?>
ชั่วโมงวิชาการวิชาชีพและคุณธรรมจริยธรรม(พัฒนาภายนอกไม่ใช้งบ) |
จำนวน(ช.ม.) |
% (ช.ม.) |
จำนวน (โครงการ) |
ข้อมูล |
0 ";
$rs= $conn->query($achNo);
while($values = $rs->fetch_assoc()){
$ac_hour_out=$values['ac_hour_out'];
$idperinNo1=$values['idperinNo1'];
}
//จำนวนชั่วโมงวิชาชีพ(พัฒนาภายนอกไม่ใช้งบ)
$prhNo="SELECT SUM(pr_hour_out) AS pr_hour_out , COUNT(idper) AS idperinNo2 FROM TrainingHours WHERE fiyear='$yearSearch' AND idper='$personCode' AND pr_hour_out<>0 ";
$rs= $conn->query($prhNo);
while($values = $rs->fetch_assoc()){
$pr_hour_out=$values['pr_hour_out'];
$idperinNo2=$values['idperinNo2'];
}
//จำนวนชั่วโมงคุณธรรมจริยธรรม(พัฒนาภายนอกไม่ใช้งบ)
$moralhNo="SELECT SUM(moral_hour_out) AS moral_hour_out , COUNT(idper) AS idperinNo3 FROM TrainingHours WHERE fiyear='$yearSearch' AND idper='$personCode' AND moral_hour_out<>0 ";
$rs= $conn->query($moralhNo);
while($values = $rs->fetch_assoc()){
$moral_hour_out=$values['moral_hour_out'];
$idperinNo3=$values['idperinNo3'];
}
//รวมจำนวนชั่วโมงพัฒนาภายนอกไม่ใช้งบทั้งหมด
$sumTotalNo=($ac_hour_out+$pr_hour_out+$moral_hour_out);
//รวมจำนวนโครงการพัฒนาภายนอกไม่ใช้งบทั้งหมด
$sumProjectNo=($idperinNo1+$idperinNo2+$idperinNo3);
?>
ชม.วก. : จำนวนชั่วโมงวิชาการ(พัฒนาภายนอกไม่ใช้งบ) |
=number_format($ac_hour_out,0)?> |
=number_format(($ac_hour_out/$sumTotalNo)*100,2)?> % |
=number_format($idperinNo1,0)?> |
![](https://img.icons8.com/color/48/000000/folder-invoices.png) |
ชม.วช. : จำนวนชั่วโมงวิชาชีพ(พัฒนาภายนอกไม่ใช้งบ) |
=number_format($pr_hour_out,0)?> |
=number_format(($pr_hour_out/$sumTotalNo)*100,2)?> % |
=number_format($idperinNo2,0)?> |
![](https://img.icons8.com/color/48/000000/folder-invoices.png) |
ชม.คธ. : จำนวนชั่วโมงคุณธรรมจริยธรรม(พัฒนาภายนอกไม่ใช้งบ) |
=number_format($moral_hour_out,0)?> |
=number_format(($moral_hour_out/$sumTotalNo)*100,2)?> % |
=number_format($idperinNo3,0)?> |
![](https://img.icons8.com/color/48/000000/folder-invoices.png) |
รวมทั้งหมด |
=number_format($sumTotalNo,0)?> |
|
      =number_format($sumProjectNo,0)?> |
query($nameData);
while($values = $rsData->fetch_assoc()){
$name=$values['name'];
$surName=$values['surName'];
}
?>
รายการวิเคราะห์ข้อมูล |
ค่าของข้อมูล |
ด้านงบประมาณในการพัฒนาตนเอง |
query($personmoney);
while($values = $rs->fetch_assoc()){
$budgetSet=$values['budgetSet'];
}
//รวมจำนวนชั่วโมงวิชาการทั้งหมด
$sumAC=($ac_hour_in+$ac_hour_outbudget+$ac_hour_out);
//รวมจำนวนชั่วโมงวิชาชีพทั้งหมด
$sumPR=($pr_hour_in+$pr_hour_outbudget+$pr_hour_out);
//รวมจำนวนชั่วโมงคุณธรรมจริยธรรมทั้งหมด
$sumMO=($moral_hour_in+$moral_hour_outbudget+$moral_hour_out);
if($sumAC>=6){
$condition1="(ผ่าน)";
}else{
$condition1="(ไม่ผ่าน)";
}
if($sumPR>=6){
$condition2="(ผ่าน)";
}else{
$condition2="(ไม่ผ่าน)";
}
if($sumMO>=6){
$condition3="(ผ่าน)";
}else{
$condition3="(ไม่ผ่าน)";
}
if($sumAC>=6 && $sumPR>=6 && $sumMO>=6){
$anlyze="(ผ่าน)";
}else{
$anlyze="(ไม่ผ่าน)";
}
?>
* จำนวนงบพัฒนาตนเองที่ตั้งไว้สำหรับ =$name?> =$surName?> |
=number_format($budgetSet,2)?> บาท |
* จำนวนงบพัฒนาตนเองที่ใช้ไปแล้ว |
=number_format($sumBudjet,2)?> บาท |
* ร้อยละของงบพัฒนาตนเองที่ใช้ไปแล้ว |
=number_format(($sumBudjet/$budgetSet)*100,2)?> % |
* จำนวนงบพัฒนาตนเองคงเหลือ |
=number_format($budgetSet-$sumBudjet,2)?> บาท |
* ร้อยละของงบพัฒนาตนเองคงเหลือ |
=number_format((($budgetSet-$sumBudjet)/$budgetSet)*100,2)?> % |
ด้านชั่วโมงการพัฒนาตนเอง |
* จำนวนชั่วโมงพัฒนาวิชาการทั้งหมด |
=number_format($sumAC,0)?> ชั่วโมง =$condition1?> |
* จำนวนชั่วโมงพัฒนาวิชาชีพทั้งหมด |
=number_format($sumPR,0)?> ชั่วโมง =$condition2?> |
* จำนวนชั่วโมงพัฒนาคุณธรรมจริยธรรมทั้งหมด |
=number_format($sumMO,0)?> ชั่วโมง =$condition3?> |
* รวมจำนวนชั่วโมงพัฒนาตนเองทั้งหมด (ชั่วโมงวิชาการ วิชาชีพ และคุณธรรมจริยธรรม ใน 1 ปีการศึกษา ของบุคลากร จะต้องมีครบทั้ง วิชาการ วิชาชีพ และคุณธรรมจริงธรรม และต้องมีจำนวนชั่วโมงรวมวิชาการ วิชาชีพ คุณธรรมจริงธรรม รวมกันไม่น้อย กว่า 15 ชั่วโมง โดยที่จะต้องบังคับให้มีคือ วิชาชีพ) |
=number_format($sumAC+$sumPR+$sumMO,0)?> ชั่วโมง =$anlyze?> |
|