function Asc_Teacher_KaoQin_ToDay_Data($考勤日期, $教师姓名, $教师用户名) { global $db, $CurXueQi; global $SHOWTEXT; if ($SHOWTEXT) { print "<BR>同步教师当天考勤数据====================================================<BR>"; } $sql = "select * from edu_teacherkaoqin where 考勤日期='{$考勤日期}' and 教师用户名='{$教师用户名}'"; global $SHOWTEXT; if ($SHOWTEXT) { print $sql . "<BR>"; } $rs2 = $db->Execute($sql); $rs2_a = $rs2->GetArray(); for ($iii = 0; $iii < sizeof($rs2_a); $iii++) { $刷卡时间 = $rs2_a[$iii]['刷卡时间']; global $SHOWTEXT; if ($SHOWTEXT) { print "<BR>DealTimeJieCiShangKe DealTimeJieCiXiaKe============<BR>"; } $DealTimeJieCiShangKe = DealTimeJieCiShangKe($教师姓名, $教师用户名, $考勤日期, $刷卡时间); $DealTimeJieCiXiaKe = DealTimeJieCiXiaKe($教师姓名, $教师用户名, $考勤日期, $刷卡时间); global $SHOWTEXT; if ($SHOWTEXT) { print "<BR>同步教师当天考勤数据 {$教师姓名} {$教师用户名} {$考勤日期} {$刷卡时间}========================="; } } //global $SHOWTEXT; if($SHOWTEXT)print "<BR>同步教师当天考勤数据 $教师姓名 $教师用户名 $考勤日期 $刷卡时间========================="; global $SHOWTEXT; if ($SHOWTEXT && sizeof($rs_a) > 0) { print_R($rs_a); } }
function Asc_Teacher_KaoQin_ToDay_Data($��������, $��ʦ����, $��ʦ�û���) { global $db, $CurXueQi; global $SHOWTEXT; if ($SHOWTEXT) { print "<BR>ͬ����ʦ���쿼������====================================================<BR>"; } $sql = "select * from td_edu.edu_teacherkaoqin where ��������='{$��������}' and ��ʦ�û���='{$��ʦ�û���}'"; global $SHOWTEXT; if ($SHOWTEXT) { print $sql . "<BR>"; } $rs2 = $db->Execute($sql); $rs2_a = $rs2->GetArray(); for ($iii = 0; $iii < sizeof($rs2_a); $iii++) { $ˢ��ʱ�� = $rs2_a[$iii]['ˢ��ʱ��']; $DealTimeJieCiShangKe = DealTimeJieCiShangKe($��ʦ����, $��ʦ�û���, $��������, $ˢ��ʱ��); $DealTimeJieCiXiaKe = DealTimeJieCiXiaKe($��ʦ����, $��ʦ�û���, $��������, $ˢ��ʱ��); } global $SHOWTEXT; if ($SHOWTEXT) { print "<BR>ͬ����ʦ���쿼������===================================================="; } global $SHOWTEXT; if ($SHOWTEXT && sizeof($rs_a) > 0) { print_R($rs_a); } }