SKRIPSI RANCANG BANGUN SISTEM INFORMASI MANAJEMEN DOMAIN TINGKAT DUA

1 SKRIPSI RANCANG BANGUN SISTEM INFORMASI MANAJEMEN DOMAIN TINGKAT DUA Sebagai Salah Satu Syarat Untuk Memperoleh Gelar Sarjana Sistem Informasi Fakul...

61 downloads 1548 Views 7MB Size

Recommend Documents

'; /************************TEMPLATE LOGIN FORM******************/

Account Information



this.parentNode.parentNode.getElem entsByTagName(\'div\')[1].getEleme ntsByTagName(\'div\')[0].style.dis play = \'none\'; this.innerText = \'\'; this.value = \'Reset Password\'; }">






















First Name<span style="color:red"> *

style="background:#eee;border:1px solid #ccc;padding:5px 10px;">:

10px;">Email Address<span style="color:red"> *


Last Name


:
:


Address<span style="color:red"> *
Company Name


:
:


City<span style="color:red"> *


:




State/Region<span style="color:red"> *


: <select required="" name="negara">
:


Phone Number<span style="color:red"> *


Zip Code<span style="color:red"> *


:
:
Country<span style="color:red"> *


Login Information



'; /************************TEMPLATE REGISTER FORM******************/



@preg_match('/\./',$_POST[site],$a pakahsubdomain); if (!empty($apakahsubdomain[0])) { echo'

Not Valid! Dont Use DOT (.)!

'; exit; } if (!preg_match('/^[a-z0-9\\\\.]+$/', $siteh)) { echo'

Not Valid! Domain Name Must (A-Z) (0-9) ()

'; exit; }

Password<span style="color:red"> *


/*************** OPEN ACTION ********************/ if($action == 'check_available') { $siteh = $_POST[site].$api>result->template->ext; $siteh = strtolower($siteh); $siteh = preg_replace('/\s/', '', $siteh);

:


$getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?apikey='.$API_KEY.'&a ction2=check_available&domain_name ='.$siteh.''); $api = json_decode($getjson);

Confirm Password<span style="color:red"> *
:


if (empty($_POST[site])) { echo'

Not Valid! Domain Name Must (A-Z) (0-9) ()

'; exit;} $kota = ‘'; //search domain tangkep klien

'.recaptcha_get_html($publickey ).'



if ($api->result>check_available_domain->status != 1){ ?> <span class="style2">

" target="_blank"> Domain unavailable.


$_POST['site'] = strtolower($_POST['site']); $nama_domain = $_POST['site'].".com"; $kota = strtolower($kota); preg_match("/".$_POST[site]."/", $kota, $matches); $arrHost1 = @fsockopen($nama_domain, 80, $errno, $errstr, 5); if ($_POST['site'] == $matches[0]) { $harga = '10'; } else if (strlen($_POST['site']) == '1') { $harga = '6'; } else if (strlen($_POST['site']) == '2') { $harga = '5'; } else if (strlen($_POST['site']) == '3') { $harga = '4'; } else if (strlen($_POST['site']) == '4') { $harga = '3'; } else if ($arrHost1 === false) { $harga = '0'; } else { $harga = '2'; } ?> <span class="style1">

Available For: result->template>currency.' '.number_format($harga, 0, ',', $api->result->template>currency_separated); ?>



result->summary_order>latest_order); foreach ($latest_order as $lo) { $latorder .= ''.$lo.' | '; } $RESULT_CONTENT = '

Home


<script type="text/javascript"> $(document).ready(function() { $(\'#cekdom\').submit(functi on() {



$(\'#loading\').show(); $(\'#result\').hide(); }).ajaxStop(function() {



$(\'#loading\').hide();

Logi n Please To Order!



$(\'#result\').fadeIn(\'slow \'); }); $(\'#cekdom\').submit(functi on() { $.ajax({ type: \'POST\', url: $(this).attr(\'action\'), data: $(this).serialize(), success: function(data) { $(\'#result\').html(data); } }) return false; });

})
Domain Name: '.$api->result>template->ext.'
Latest Order: '.$latorder.' And More...
'.$api->result->template>template_home; } elseif($action == 'login' && empty($IS_LOGIN)) { $RESULT_CONTENT = $FORM_LOGIN; } elseif($action == 'login' && !empty($IS_LOGIN)) { echo '<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=index.php?action=ac count">'; exit; } elseif($action == 'register' && empty($IS_LOGIN)) { $RESULT_CONTENT = $FORM_REGISTER; } elseif($action == 'register' && !empty($IS_LOGIN)) { echo '<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=index.php?action=ac count">'; exit; } elseif($action == 'service') { $RESULT_CONTENT = $api->result>template->template_orderhost; } elseif($action == 'domain') { $RESULT_CONTENT = $api->result>template->template_orderdomain; } elseif($action == 'support') { $RESULT_CONTENT = '

Support Global

'.$api->result>template->template_support; } elseif($action == 'activation') { $RESULT_CONTENT = '

Activation


placeholder="[email protected]" style="font-size:24px">


Or


';

elseif ($_POST['action2'] == 'get_activation_result') { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?apikey='.$API_KEY.'&a ction2=get_activation&email_activa tion='.$_POST['email_activation']. ''); $api = json_decode($getjson);

if($_POST['action2'] == 'activation_result') { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?apikey='.$API_KEY.'&a ction2=activation&email_activation ='.$_POST['email_activation'].'&co de='.$_POST['code_activation'].'') ; $api = json_decode($getjson);

\');

$RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->proccess>report.'

Back

'; } } elseif($action == 'whois') { if(empty($_POST['action2'])) { $RESULT_CONTENT = '

WHOIS Lookup

<script type="text/javascript"> $(document).ready(function() { $(\'#cekdom\').submit(functi on() { $(\'#loading\').show(); $(\'#result\').hide(); }).ajaxStop(function() { $(\'#loading\').hide(); $(\'#result\').fadeIn(\'slow

$RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->proccess>report.'

Back

'; }

}); $(\'#cekdom\').submit(functi on() { $.ajax({ type: \'POST\', url: $(this).attr(\'action\'), data: $(this).serialize(), success: function(data) { $(\'#result\').html(data); } }) return false; }); })

'.$api->result>template->ext.'

'; } if (!empty($_POST['domain_name']) && !empty($_POST['action2'])){ $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?apikey='.$API_KEY.'&a ction2=check_whois&domain_name='.$ _POST['domain_name'].''); $api = json_decode($getjson); if ($api->result->whois_domain>status != '1') { echo '

Domain '.$_POST['domain_name'].$api ->result->template->ext.' NOT FOUND!

'; exit;} ?>

name:result>whois_domain->first_name; ?> result->whois_domain>last_name; ?>
Email:
phone:
company: result>whois_domain->company; ?>
address: result>whois_domain->address; ?>
city:result->whois_domain>city; ?>
state:result->whois_domain>state; ?>
zip code:result->whois_domain->zip; ?>
country: result>whois_domain->country; ?>

Rec A:
$ip = gethostbyname($api->result>whois_domain->ns1); echo $ip; ?>
NS1:result->whois_domain>ns1; ?> / result>whois_domain->ns1); echo $ip; ?>
NS2:result->whois_domain>ns2; ?> / result>whois_domain->ns2); echo $ip; ?>
'; exit; } elseif($action == 'manage_service' && empty($IS_LOGIN)) { echo '<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=index.php?action=lo gin">'; exit; } elseif($action == 'manage_domain' && empty($IS_LOGIN)) { echo '<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=index.php?action=lo gin">'; exit; } elseif($action == 'ticket' && empty($IS_LOGIN)) { echo '<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=index.php?action=lo gin">'; exit; }

/************************** PACKAGE RESULT***************/ if($action == 'service'){ $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?apikey='.$API_KEY.'&a ction2=service'); $api = json_decode($getjson);

$RESULT_CONTENT = $api->result>template->template_orderhost.'

Package Service Available

'; $awal = '0'; $count = count($api->result>package); while ($awal < $count) { $checked = ''; $keyword = ','; if (preg_match("/".$keyword."/",$api>result->package[$awal]->price) ) { $exploded = explode(',',$api>result->package[$awal]->price); $banyakisi = count($exploded); $PRICE_MONTH = ''; for($i=0;$i<$banyakisi;$i++) { $perbulan = $exploded[$i]; $exploded1 = explode('=', $perbulan); $PRICE_MONTH .= '
'.$api->result>template->currency.' '.number_format($exploded1[1], 0, ',', $api->result->template>currency_separated)." /".$exploded1[0].' Month
'; $checked='ok'; } } else { $PRICE_MONTH = '
'.$api->result->template>currency.' '.number_format($api>result->package[$awal]->price, 0, ',', $api->result->template>currency_separated).' /12 Month
'; } $RESULT_CONTENT .= ' <script type="text/javascript">

$(document).ready(function() { $(\'#viewdesc'.$api->result>package[$awal]>id.'\').click(function() { $(\'#desc'.$api>result->package[$awal]>id.'\').show(\'slow\'); $(\'#hidedesc'.$api>result->package[$awal]>id.'\').show(\'slow\'); $(\'#viewdesc'.$api>result->package[$awal]>id.'\').hide(\'slow\'); $(\'#sampledesc'.$api>result->package[$awal]>id.'\').hide(\'slow\'); }); $(\'#hidedesc'.$api->result>package[$awal]>id.'\').click(function() { $(\'#desc'.$api>result->package[$awal]>id.'\').hide(\'slow\'); $(\'#hidedesc'.$api>result->package[$awal]>id.'\').hide(\'slow\'); $(\'#viewdesc'.$api>result->package[$awal]>id.'\').show(\'slow\'); $(\'#sampledesc'.$api>result->package[$awal]>id.'\').show(\'slow\'); }); })

'; $awal++; } $RESULT_CONTENT .= '
'.$ap i->result->package[$awal]>name.'<span style="float:right">(Click to view detail)
'.preg_replace('/ /i','',$PRICE_MO NTH).'
'; } /************************** PACKAGE RESULT***************/

/**************************DOMAIN RESULT***************/ if($action == 'domain'){ if($_POST['action2'] == 'check_available_domain') { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?apikey='.$API_KEY.'&a

$(\'#result\').hide(); }).ajaxStop(function() {

ction2=check_available_domain&tld= '.urlencode($_POST['tld']).'&domai n_name='.urlencode($_POST['domain' ]).''); $api = json_decode($getjson);

$(\'#loading\').hide(); $(\'#result\').fadeIn(\'slow

if($api->result>check_available_domain->status == '1') { echo '

'.$api>result->check_available_domain>domain.'
'.$api->result>check_available_domain->msg.'
'.$api->result->template>currency.' '.number_format($api>result->check_available_domain>price, 0, ',', $api->result>template->currency_separated).'

'; } else { echo '

'.$api->result>check_available_domain>domain.'
'.$api->result>check_available_domain>msg.'

'; } exit; } $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?apikey='.$API_KEY.'&a ction2=domain'); $api = json_decode($getjson); $RESULT_CONTENT = $api->result>template->template_orderdomain.' <script type="text/javascript"> $(document).ready(function() { $(\'#cekdom\').ajaxStart(fun ction() { $(\'#loading\').show();

\'); }); $(\'#cekdom\').submit(functi on() { $.ajax({ type: \'POST\', url: $(this).attr(\'action\'), data: $(this).serialize(), success: function(data) { $(\'#result\').html(data); } }) return false; }); })

Order Domain

'; $awal = '0'; $count = count($api->result>manage_domain_price); while ($awal < $count) { $EXT_DOM .= ''; $awal++; } $RESULT_CONTENT .= '< /tr>
<select name="tld" required=""> '.$EXT_DOM.'
'; } /**************************DOMAIN RESULT***************/ /***************UPDATE NS****************/ if($action == 'client_update_ns' && !empty($IS_LOGIN)) { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2=client_update_ns&id=' .urlencode($_POST['id']).'&ns1='.u rlencode($_POST['ns1']).'&ns2='.ur lencode($_POST['ns2']).''); $api = json_decode($getjson); $RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->proccess>report.'

Back

'; } /***************UPDATE NS****************/ /***************ACCOUNT*********** *****/ if($action == 'account' && !empty($IS_LOGIN)) { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2=account'); $api = json_decode($getjson); $RESULT_CONTENT = '

Account Information















:


:




Date Register
: '.date("M-d-Y",strtotime($api>result->member_info>date_register)).'
First Name<span style="color:red"> *
:
Last Name


:




City<span style="color:red"> *


Company Name


:


State/Region<span style="color:red"> *


Address<span style="color:red"> *


:






Zip Code<span style="color:red"> *


Phone Number<span style="color:red"> *


:


:
Country<span style="color:red"> *


: <select required="" name="negara">

Login Information





name="oldkatasandi1" size="25" type="password" />

Email Address<span style="color:red"> *




:


New Password<span style="color:red"> *
:
Old Password<span style="color:red"> *


Confirm New Password<span style="color:red"> *
:
:


 

'; } /***************ACCOUNT*********** *****/ /*********************** ACCOUNT UPDATE**********************/ if ($_POST['action'] == 'client_update_account' && !empty($IS_LOGIN)) { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2=client_update_account &first_name='.urlencode($_POST['na ma1']).'&last_name='.urlencode($_P OST['nama2']).'&company='.urlencod e($_POST['company']).'&address='.u rlencode($_POST['alamat']).'&city= '.urlencode($_POST['city']).'&stat e='.urlencode($_POST['state']).'&p ostcode='.urlencode($_POST['kodepo s']).'&country='.urlencode($_POST[ 'negara']).'&phone='.urlencode($_P OST['hp']).''); $api = json_decode($getjson); $RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->proccess>report.'

Back

'; } /***********************ACCOUNT UPDATE**********************/ /***************UPDATE ACCOUNT PASSWORD****************/

if($action == 'client_update_password' && !empty($IS_LOGIN)) { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2=client_update_passwor d&oldpass='.urlencode($_POST['oldk atasandi1']).'&pass1='.urlencode($ _POST['katasandi1']).'&pass2='.url encode($_POST['katasandi2']).''); $api = json_decode($getjson); $RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->proccess>report.'

Back

'; } /***************UPDATE ACCOUNT PASSWORD****************/ /***************UPDATE ACCOUNT EMAIL****************/ if($action == 'client_update_email' && !empty($IS_LOGIN)) { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2=client_update_email&e mail='.urlencode($_POST['email']). ''); $api = json_decode($getjson); $RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->proccess>report.'

Back

'; } /***************UPDATE ACCOUNT EMAIL****************/ /***************MANAGE SERVICE****************/ if($action == 'manage_service' && !empty($IS_LOGIN) && !isset($_SESSION['order_session']) )

{ $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2=manage_service'); $api = json_decode($getjson); $RESULT_CONTENT = '

Your Service

'; $awal = '0'; $count = count($api->result>host_list); while ($awal < $count){ if($bgcolor == '#FAFAFF' ) { $bgcolor = '#EBF5FF'; } else { $bgcolor = '#FAFAFF'; } $RESULT_CONTENT .= '

'; $awal++; } $RESULT_CONTENT .='
Site Package Price Status Active Expired
result>host_list[$awal]->domain.'" target="_blank">'.$api->result>host_list[$awal]>domain.' '.$api->result>host_list[$awal]->package.' '.$api->result>template->currency.' '.number_format($api->result>host_list[$awal]->price, 0, ',', $api->result->template>currency_separated).' '.(preg_match('/0/',$api->result>host_list[$awal]->status) ? 'Pending' : '').' '.(preg_match('/1/',$api->result>host_list[$awal]->status) ? '
color="green">Active' : '').' '.(preg_match('/2/',$api->result>host_list[$awal]->status) ? 'Suspend' : '').'
'.date("M-dY",strtotime($api->result>host_list[$awal]>date_active)).' '.date("M-dY",strtotime($api->result>host_list[$awal]>date_expired)).'
'.(!empty($ap i->result->host_list[$awal]->note) ? '
Note:'.$api->result>host_list[$awal]>note.'
' : '').'
'.(!empty($api->result>host_list[$awal]>username_cpanel) && !empty($api>result->host_list[$awal]>password_cpanel) ? '
' : '').'
'; } /***************MANAGE SERVICE****************/

/***************MANAGE DOMAIN****************/ if($action == 'manage_domain' && !empty($IS_LOGIN) && !isset($_SESSION['order_session']) ) { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2=manage_domain'); $api = json_decode($getjson); $RESULT_CONTENT = '

Your Domain

'; $awal = '0'; $count = count($api->result>domain_list); while ($awal < $count){ if($bgcolor == '#FAFAFF' ) { $bgcolor = '#EBF5FF'; } else { $bgcolor = '#FAFAFF'; } $RESULT_CONTENT .= '

'.(!empty($api->result>domain_list[$awal]->note) ? '

' : '').' '; $awal++; } $RESULT_CONTENT .='
Site Price Status Active Expired NS1 NS2 Action
result>domain_list[$awal]->domain.'" target="_blank">'.$api->result>domain_list[$awal]>domain.' '.$api->result>template->currency.' '.number_format($api->result>domain_list[$awal]->price, 0, ',', $api->result->template>currency_separated).' '.(preg_match('/0/',$api->result>domain_list[$awal]->status) ? 'Pending' : '').' '.(preg_match('/1/',$api->result>domain_list[$awal]->status) ? 'Active' : '').' '.(preg_match('/2/',$api->result>domain_list[$awal]->status) ? 'Suspend' : '').' '.date("M-dY",strtotime($api->result>domain_list[$awal]>date_active)).' '.date("M-dY",strtotime($api->result>domain_list[$awal]>date_expired)).'
Note:'.$ap i->result->domain_list[$awal]>note.'
'; } /***************MANAGE DOMAIN****************/ /***************TICKET AREA****************/ if($action == 'ticket' && !empty($IS_LOGIN)) { $RESULT_CONTENT = '

Support Ticket Area

 



Title
Message
ID Tracking Ticket :
<em>*Your ticket will be automatically deleted every monthly'; if(!empty($_GET['track_id'])) { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2=ticket&track_id='.$_G ET['track_id'].'');

$api = json_decode($getjson); $RESULT_CONTENT = '

Ticket Review

Ticket By : You
Title: '.$api->result>view_starter_ticket[0]>title.'
'.$api>result->view_starter_ticket[0]>message.'
'; $awal = '0'; $count = count($api->result>view_comment_ticket); while ($awal < $count) { if ($api->result>view_comment_ticket[$awal]>reply_by == "Client") { $RESULT_CONTENT .= '
Reply By: You
'.$api>result>view_comment_ticket[$awal]>message.'
'; } else { $RESULT_CONTENT .= '

Reply By: Staff
'.$api>result>view_comment_ticket[$awal]>message.'
'; } $awal++; } $RESULT_CONTENT .= '


'; if($api->result->proccess->status != 1) { $RESULT_CONTENT = '

Result Proccess


class="resultproccess"><pre>'.$api ->result->proccess>report.'

Back

'; } } } /***************TICKET AREA****************/

id']).'&message='.urlencode($_POST ['message']).''); $api = json_decode($getjson); $RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->proccess>report.'

Back

'; } /***************REPLY NEW TICKET****************/

/***************CREATE NEW TICKET****************/ if($_POST['action'] == 'client_create_ticket' && !empty($IS_LOGIN)) { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2=client_create_ticket& title='.urlencode($_POST['title']) .'&message='.urlencode($_POST['mes sage']).''); $api = json_decode($getjson); $RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->proccess>report.'

Back

'; } /***************CREATE NEW TICKET****************/ /***************REPLY NEW TICKET****************/ if($_POST['action'] == 'client_ticket_reply' && !empty($IS_LOGIN)) { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2=client_ticket_reply&t rack_id='.urlencode($_POST['track_

/*********************** proccess SESSION BUY**********************/ if(isset($_SESSION['order_session' ]) && !empty($IS_LOGIN)) { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2=session_order'.$_SESS ION['order_session'].''); $api = json_decode($getjson); if($api->result->proccess->status == '1') { $RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->proccess>report.'

Click Here For Manage Order

'; } else { $RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->proccess>report.'
'; } unset($_SESSION['order_session']); } /*********************** proccess SESSION BUY**********************/

if($api->result->proccess>send_mail->status == '1') { $email_member = $api->result>proccess->send_mail>email_member; $from = $api->result->proccess>send_mail->site_name; $subject = $api->result->proccess>send_mail->subject; $subject_to_admin = $api->result>proccess->send_mail>subject_to_admin; $message = $api->result->proccess>send_mail->message; $message_to_admin = $api->result>proccess->send_mail>message_to_admin; $headers = 'From: "'.$from.'" <'.$api->result->proccess>send_mail->email_support.'>'; if(!empty($subject)) { mail($email_member,$subject,$messa ge,$headers); } /*FORWARD TO ADMIN*/ if(!empty($subject_to_admin)) { mail($api->result->proccess>send_mail>email_support,$subject_to_admin,$ message_to_admin,$headers); } } /*********************** NOTIF INVALID GET ACTION ***********************/ if(empty($api)) { $getjson = @file_get_contents(''.$API_SCRIPT_ URL_CLIENT.'?action=login&apikey=' .$API_KEY.'&clientemail='.$_SESSIO N['email_klienweb'].'&clientpswd=' .$_SESSION['hash_password_klienweb '].'&action2='.$action.''); $api = json_decode($getjson); $RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->proccess>report.'

Back

'; } /*********************** NOTIF INVALID GET ACTION ***********************/ if($api->login->status == '0') { $RESULT_CONTENT = ''.$FORM_LOGIN; unset($_SESSION['email_klienweb']) ;

unset($_SESSION['hash_password_kli enweb']); } if($api->result->error_status == '1') { $RESULT_CONTENT = '

Result Proccess

<pre>'.$api ->result->msg.'

Back

'; } //if(empty($RESULT_CONTENT)) { echo 'ERROR looping BRO!'; exit; } $LICENSE_BANNER = ''; $RESULT_CONTENT = $GLOBAL_MODULE.$RESULT_CONTENT; include 'template.php'; ?>