Easy And Quick Setting
Download the app and enjoy the perfect service with one subscription.

One service for community managers and mall operators
Real-time response to posts, or purchases, with push notifications Will help

Just download the Dapu App from the Play Store for free without the need for additional app development.

HTML
<form name="sendMessage" id="contactForm"  method="post" action="#" onsubmit="return sendData(this);">
      <input type="text" name="frm_company" required>
      <input type="text" name="frm_email" required>
      <input type="text" name="frm_subject" required>
      <textarea id="message" name="frm_message"></textarea>
      <button type="submit" id="btn_submit" class="btn btn-send">Send Message</button>
</form>
jQuery
function sendData(f){	
	if (!f.frm_company.value || !f.frm_subject.value || !f.frm_message.value) {
		alert("Please check your input.");
		return false;
	}
	var dp_flag = true;
	var sname = f.frm_company.value;
	var email = f.frm_email.value;
	var dp_subtitle = sname + " [ " + email + " ] ";
	var dp_context = f.frm_message.value;
	document.getElementById("btn_submit").disabled = "disabled";
	var s_dr = atob('aHR0cHM6Ly9kYXB1LmZyb210b2IuY29tL2RhcHUvYWpheEZjbU1lc3NhZ2VfY29ycy5waHA=');
	$.ajax({
		url: s_dr,
		type: "POST",
		data: {
			"dp_code":"XDJFSEDSFDSF", //Service code set by the app
			"dp_domain":"dapu.fromtob.com",	//Service Application Domain
			"dp_email":f.frm_email.value, // Posted by email
			"dp_ismem":"0", //Membership
			"dp_name":sname, //Author Name
			'dp_subtitle':dp_subtitle, //Post push titles
			"dp_subject":f.frm_subject.value, //Post title
			"dp_content":dp_context, //Post contents
			"dp_gourl": "https://fromtob.com" //Post link
		},
		dataType: 'json',
		async: false,
		success: function (jsondata) {
			if (jsondata.result == 'false') {
				dp_flag = false;
				alert("Failed to send : " + jsondata.data);
				return false;
			}
		},
		error: function (jqXHR, textStatus, errorThrown) {
			dp_flag = false;
			alert(jqXHR.responseText);
			return false;
		}
	});
	if (dp_flag == false) {
		document.getElementById("btn_submit").disabled = false;
		return false;
	}
	alert("Success.");
	return true;
}
Phone: +82 10-8851-0146
E-mail: fromtob@gmail.com
CONTACT US