[insert_php]
$qs=$_SERVER['QUERY_STRING'];
if($q!=""){
echo "<iframe src='https://script.google.com/macros/s/AKfycbwmZcgYrEN4vVuBVXGyRRfsSZ231PlnKl09A4Rv8sjaf1K3tWAM/exec?".."' width='100%' height='1300' frameborder='0' marginwidth='0' marginheight='0'>Memuat...</iframe>";
}else{
echo "<form action='https://script.google.com/macros/s/AKfycbxTbLgqvRSD_B7IDOLCybhk8tqRJFVGxcwWmiPcKBG6RcHjD1o/exec' method='get'>Silahkan masukkan kode file yang telah anda dapatkan dari email kami kemudian click tombol download";
$q=$qs;
if($q[0]=="")$q[0]="desa";
echo "<input name='$q[0]' class='form-control' type='text' placeholder='kode_file' value='$q[1]'/>";
}
[/insert_php]
<input type="submit" value="Download" class="btn btn-success" id="submiter" />
</form>
<script language="javascript">
var myForm = document.getElementById('formID');
myForm.onsubmit = function() {
var w = window.open('about:blank','Popup_Window','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=300,left = 312,top = 234');
this.target = 'Popup_Window';
};
function getQueryStringValue (key) {
return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]" + encodeURIComponent(key).replace(/[\.\+\*]/g, "\\$&") + "(?:\\=([^&]*))?)?.*$", "i"), "$1"));
};
//if(getQueryStringValue("idf"))document.getElementById("submiter").click();
</script>
<hr />
[insert_php]
if($q[1]!=""){
echo "<iframe src='https://script.google.com/macros/s/AKfycbwmZcgYrEN4vVuBVXGyRRfsSZ231PlnKl09A4Rv8sjaf1K3tWAM/exec?".$_SERVER['QUERY_STRING']."' width='100%' height='1300' frameborder='0' marginwidth='0' marginheight='0'>Memuat...</iframe>";
}else{
Echo "Jika anda belum memiliki kode file download, silahkan isi formulir berikut ini :
Informasi tentang cara mendapatkan aplikasi akan kami kirim via sms / telp / whatsapp / telegram / email.
<iframe src='https://docs.google.com/forms/d/e/1FAIpQLSdog7f-52zhvI3agYgh0q--6wrQ4L6nkTZjRCYzgvX6dINhvQ/viewform?embedded=true' width='100%' height='1300' frameborder='0' marginwidth='0' marginheight='0'>Memuat...</iframe>";
}
[/insert_php]
Langganan:
Postingan (Atom)
-
a < script > /** * sends a request to the specified url from a form. this will change the window location. * @param {string} path th...
-
function popup ( idbrg ){ $.ajax({ type : 'POST', url : '?plain=app/barang-harga.php...
-
Mount Storage opkg update opkg install kmod-usb-storage block-mount block-hotplug kmod-fs-ext4 kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso885...