PK JáZµžU .htaccessnu „[µü¤ DirectoryIndex index.phpPK JáZù@rK K index.phpnu „[µü¤ PK JáZ–Zäï ï database/connectweb.phpnu „[µü¤
PK JáZµžU database/.htaccessnu „[µü¤ DirectoryIndex index.phpPK JáZðkü ü database/connect.phpnu „[µü¤
PK JáZù@rK K database/index.phpnu „[µü¤ PK JáZ/¾OÊ Ê database/connect.php~nu „[µü¤
PK JáZÇá÷XÊ Ê initweb.phpnu „[µü¤ format("m/d/Y");
$toTime =Explode(":", date('H:i:s'));
$tDate = explode("/",$toDate);
$mycDay=$tDate[1];
$mycMonth=$tDate[0];
$mycYear=$tDate[2];
$myTime = $toTime[0];
$myMinute = $toTime[1];
$mySecond = $toTime[2];
$currentTime = $myTime . ':' . $myMinute . ':' . $mySecond;
$date = new DateTime($toDate);
$week = $date->format("W");
//echo $week;
///*onfocus="this.value=''"> */
//error if other account is not activated all accounts cannot log in
if (logged_in() === true){
$session_user_id = $_SESSION['u_id'];
$user_data = user_data($session_user_id,'u_id','if_doc_id','can_issue_medicine','u_password2','edit_patient_reocrd','add_payment','u_password','u_name','u_position','u_fname','u_lname','u_status','u_locked',
'u_locked_count','company_assignment','account_type','u_password','branch_dashboard','executive_dashboard','nurse_station','update_index','admin_clearance','nurse_access_only',
'guard_access_only','view_phic_alert','add_new_patient','add_new_user','add_new_doctor','add_new_hmo','add_new_package','add_new_medicine','add_new_payment','package_availment',
'check_in','check_out','create_new_session','close_avail_package','system_config','executive_report','start_session','cancel_session','deferred_session','lab_check_out',
'access_rights','rpt_patients_record','rpt_soa_list_sponsor','rpt_hmo_list_sponsor','received_new_payment','receive_new_delivery','view_unposted_delivery','view_posted_delivery',
'stk_transfer','view_posted_stk','view_unposted_stk','view_posted_dr','rpt_payment_summary','sales_journal','cash_receipt_journal','stock_card','cancel_payment','stock_adjustment','doctoc_access','executive_access','add_sponsor','search_patient','billing');
if(user_active($user_data['u_name']) == false)
{
session_destroy();
Header('Location: logout.php');
}
}
//if (user_active($username)
$errors = array();
$err_count;
function secalert(){
echo "
";
}
function login_update(){
$user=$user_data['u_name'];
$logged="INSERT INTO `login_history` (`log_id`,`u_name`,`remarks`,`date`,`time`)
VALUES('','$username','IN','$toDate','$currentTime')";
if(!mysql_query($logged))
{
die('Error: ' . mysql_error());
}
}
function logout_update(){
$user=$user_data['user_name'];
$logged="INSERT INTO `login_history` (`log_id`,`u_name`,`remarks`,`date`,`time`)
VALUES('','$user','OUT','$toDate','$currentTime')";
if(!mysql_query($logged))
{
die('Error: ' . mysql_error());
}
}
?>
PK JáZÏñuD D pagination.htmlnu „[µü¤
Bootstrap Example
Pagination
The .pagination class provides pagination links:
PK JáZY§ã‘; ; init2.phpnu „[µü¤ format("Y-m-d");
$toTime =Explode(":", date('H:i:s'));
$tDate = explode("/",$toDate);
$mycDay=$tDate[2];
$mycMonth=$tDate[1];
$mycYear=$tDate[0];
$myTime = $toTime[0];
$myMinute = $toTime[1];
$mySecond = $toTime[2];
$currentTime = $myTime . ':' . $myMinute . ':' . $mySecond;
$date = new DateTime($toDate);
$week = $date->format("W");
//echo "Arnel ".$currentTime;
//https://www.allphptricks.com/demo/ PHP TRICKS
///*onfocus="this.value=''"> */
//error if other account is not activated all accounts cannot log in
if (logged_in() === true){
$session_user_id = $_SESSION['u_id'];
$user_data = user_data($session_user_id,'u_name','u_id','employee_id','u_fname','u_lname','dealer','company','account_type', 'CL_ADM','PAY_ADM','CHK_ADM','HRD_ADM','TRE_ADM','LEG_ADM','RES_ADM','CHK_CRE','OBL_ADM','DEL_ADM');
if(user_active($user_data['u_name']) == false)
{
session_destroy();
Header('Location: logout.php');
}
}
//##########################################################################
// ITEXMO SEND SMS API - PHP - CURL METHOD
// Visit www.itexmo.com/developers.php for more info about this API
//##########################################################################
function itexmoCGlobal($number,$message,$apicode,$passwd){
$ch = curl_init();
$itexmo = array('1' => $number, '2' => $message, '3' => $apicode, 'passwd' => $passwd);
curl_setopt($ch, CURLOPT_URL,"https://www.itexmo.com/php_api/api.php");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,
http_build_query($itexmo));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
return curl_exec ($ch);
curl_close ($ch);
}
//##########################################################################
// ITEXMO SEND SMS API - PHP - CURL-LESS METHOD
// Visit www.itexmo.com/developers.php for more info about this API
//##########################################################################
//$MyAPIcode = "TR-AUTOH331398_2V9R5";
//$MyPasswd = "36k)y3(915";
function itexmo($number,$message,$MyAPIcode,$MyPasswd){
$url = 'https://www.itexmo.com/php_api/api.php';
$itexmo = array('1' => $number, '2' => $message, '3' => $MyAPIcode, 'passwd' => $MyPasswd );
$param = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($itexmo),
),
);
$context = stream_context_create($param);
return file_get_contents($url, false, $context);
}
//##########################################################################
?>
PK JáZ@Ô<Ò Ò init.phpnu „[µü¤ format("Y-m-d");
$toTime =Explode(":", date('H:i:s'));
$tDate = explode("/",$toDate);
$mycDay=$tDate[2];
$mycMonth=$tDate[1];
$mycYear=$tDate[0];
if(!empty($_SERVER['HTTP_CLIENT_IP']))
{
//check ip from share internet
$ip = $_SERVER['HTTP_CLIENT_IP'];
}
else if(!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
{
//to check ip is pass from proxy
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
}
else{
$ip = $_SERVER['REMOTE_ADDR'];
}
//echo $ip;
$myTime = $toTime[0];
$myMinute = $toTime[1];
$mySecond = $toTime[2];
$currentTime = $myTime . ':' . $myMinute . ':' . $mySecond;
$date = new DateTime($toDate);
$week = $date->format("W");
//echo "Arnel ".$currentTime;
//https://www.allphptricks.com/demo/ PHP TRICKS
///*onfocus="this.value=''"> */
//error if other account is not activated all accounts cannot log in
$cookieUID ="cookieID";
if (logged_in() === true){
$session_user_id = $_SESSION['u_id'];
setcookie($cookieUID, $session_user_id, time() + (86400 * 30), "/"); // 86400 = 1 day
$user_data = user_data($session_user_id,'u_name','u_id','employee_id','u_fname','u_lname','dealer','company','account_type', 'CL_ADM','PAY_ADM','CHK_ADM','HRD_ADM','TRE_ADM','LEG_ADM','RES_ADM','CHK_CRE','OBL_ADM','DEL_ADM','ASA_ADM','ASA_MKTG','ASA_FNI','IT_ADM','CH_COMP');
if(user_active($user_data['u_name']) == false)
{
session_destroy();
Header("Refresh:0");
Header('Location: index.php');
}
}
function AddRewards($getEMPID,$MyPoints,$getModuleName,$myDate,$myTime){
$myRewards="INSERT INTO `ahg_pts` (`id`,`emp_id`,`points_earned`,`myDate`,`myTime`,`module_name`)
VALUES('','$getEMPID','$MyPoints','$myDate','$myTime','$getModuleName')";
if(!mysql_query($myRewards))
{
die('Error: ' . mysql_error());
}
}
//##########################################################################
// ITEXMO SEND SMS API - PHP - CURL METHOD
// Visit www.itexmo.com/developers.php for more info about this API
//##########################################################################
function itexmoCGlobalAAA($number,$message,$apicode,$passwd){
$ch = curl_init();
$itexmo = array('1' => $number, '2' => $message, '3' => $apicode, 'passwd' => $passwd);
curl_setopt($ch, CURLOPT_URL,"https://www.itexmo.com/php_api/api.php");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,
http_build_query($itexmo));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
return curl_exec ($ch);
curl_close ($ch);
}
//##########################################################################
// ITEXMO SEND SMS API - PHP - CURL-LESS METHOD
// Visit www.itexmo.com/developers.php for more info about this API
//##########################################################################
//$MyAPIcode = "TR-AUTOH331398_2V9R5";
//$MyPasswd = "36k)y3(915";
function itexmoAA($number,$message,$MyAPIcode,$MyPasswd){
$url = 'https://www.itexmo.com/php_api/api.php';
$itexmo = array('1' => $number, '2' => $message, '3' => $MyAPIcode, 'passwd' => $MyPasswd );
$param = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($itexmo),
),
);
$context = stream_context_create($param);
return file_get_contents($url, false, $context);
}
//##########################################################################
function itexmo($number,$message,$apicode,$passwd){
$url = 'https://www.itexmo.com/php_api/api.php';
$itexmo = array('1' => $number, '2' => $message, '3' => $apicode, 'passwd' => $passwd );
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($itexmo));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$server_output = curl_exec($ch);
curl_close ($ch);
return $server_output;
}
//##########################################################################
function itexmoCGlobal($number,$message,$apicode,$passwd){
$url = 'https://www.itexmo.com/php_api/api.php';
$itexmo = array('1' => $number, '2' => $message, '3' => $apicode, 'passwd' => $passwd );
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($itexmo));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$server_output = curl_exec($ch);
curl_close ($ch);
return $server_output;
}
?>PK °
äZ¸Wóìô ô SMSTest.phpnu „[µü¤ PK °
äZºâ‰O error_lognu „[µü¤ [23-Jun-2021 00:11:09 UTC] PHP Warning: include(core/init.php): failed to open stream: No such file or directory in /home/autoph/public_html/connect/home/core/SMSTest.php on line 2
[23-Jun-2021 00:11:09 UTC] PHP Warning: include(core/init.php): failed to open stream: No such file or directory in /home/autoph/public_html/connect/home/core/SMSTest.php on line 2
[23-Jun-2021 00:11:09 UTC] PHP Warning: include(): Failed opening 'core/init.php' for inclusion (include_path='.:/opt/cpanel/ea-php54/root/usr/share/pear') in /home/autoph/public_html/connect/home/core/SMSTest.php on line 2
[23-Jun-2021 00:11:09 UTC] PHP Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/autoph/public_html/connect/home/core/SMSTest.php on line 3
[23-Jun-2021 00:11:09 UTC] PHP Warning: mysql_query(): A link to the server could not be established in /home/autoph/public_html/connect/home/core/SMSTest.php on line 3
[23-Jun-2021 00:11:09 UTC] PHP Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/autoph/public_html/connect/home/core/SMSTest.php on line 3
[23-Jun-2021 00:11:09 UTC] PHP Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/autoph/public_html/connect/home/core/SMSTest.php on line 4
[23-Jun-2021 00:11:09 UTC] PHP Warning: mysql_query(): A link to the server could not be established in /home/autoph/public_html/connect/home/core/SMSTest.php on line 4
[23-Jun-2021 00:11:09 UTC] PHP Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/autoph/public_html/connect/home/core/SMSTest.php on line 4
[23-Jun-2021 00:11:09 UTC] PHP Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/autoph/public_html/connect/home/core/SMSTest.php on line 5
[23-Jun-2021 00:11:09 UTC] PHP Warning: mysql_query(): A link to the server could not be established in /home/autoph/public_html/connect/home/core/SMSTest.php on line 5
[23-Jun-2021 00:11:09 UTC] PHP Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/autoph/public_html/connect/home/core/SMSTest.php on line 5
[23-Jun-2021 00:11:09 UTC] PHP Fatal error: Call to undefined function itexmo() in /home/autoph/public_html/connect/home/core/SMSTest.php on line 8
PK JáZµžU .htaccessnu „[µü¤ PK JáZù@rK K Q index.phpnu „[µü¤ PK JáZ–Zäï ï Õ database/connectweb.phpnu „[µü¤ PK JáZµžU database/.htaccessnu „[µü¤ PK JáZðkü ü e database/connect.phpnu „[µü¤ PK JáZù@rK K ¥ database/index.phpnu „[µü¤ PK JáZ/¾OÊ Ê 2 database/connect.php~nu „[µü¤ PK JáZÇá÷XÊ Ê A initweb.phpnu „[µü¤ PK JáZÏñuD D F pagination.htmlnu „[µü¤ PK JáZY§ã‘; ; É init2.phpnu „[µü¤ PK JáZ@Ô<Ò Ò =! init.phpnu „[µü¤ PK °
äZ¸Wóìô ô G5 SMSTest.phpnu „[µü¤ PK °
äZºâ‰O v7 error_lognu „[µü¤ PK
õ ¾@