{"id":8019,"date":"2023-08-05T01:39:08","date_gmt":"2023-08-05T01:39:08","guid":{"rendered":"https:\/\/opensanghafoundation.org\/newsite\/?page_id=8019"},"modified":"2024-09-05T02:59:01","modified_gmt":"2024-09-05T02:59:01","slug":"text-files","status":"publish","type":"page","link":"https:\/\/opensanghafoundation.org\/newsite\/text-files\/","title":{"rendered":"text files"},"content":{"rendered":"\n\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n<meta charset=\"UTF-8\">\r\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n<title>Your Page Title<\/title>\r\n<style>\r\n.custom-icon-top-left {\r\nposition: fixed;\r\ntop: 0px;\r\nleft: 0px;\r\nwidth: 200px;\r\nheight: 41px;\r\nbackground-image: url('https:\/\/opensanghafoundation.org\/newsite\/wp-content\/uploads\/2024\/07\/osf-logo-horizontal-white-200x41%201.png');\r\nbackground-size: cover;\r\ncursor: pointer;\r\nz-index: 1000;\r\n}\r\n.custom-icon-lower-right {\r\nposition: fixed;\r\ntop: 0px;\r\nleft: 260px;\r\nwidth: 50px;\r\nheight: 50px;\r\nbackground-image: url('https:\/\/opensanghafoundation.org\/newsite\/wp-content\/uploads\/icons\/bsearch.png');\r\nbackground-size: cover;\r\ncursor: pointer;\r\nz-index: 1000;\r\n}\r\n.login-logout-button {\r\nposition: absolute;\r\ntop: -15px;\r\nright: 10px;\r\npadding: 10px 20px;\r\nbackground-color: red;\r\ncolor: white;\r\ntext-decoration: none;\r\nborder-radius: 5px;\r\nz-index: 1000;\r\n}\r\n<\/style>\r\n<\/head>\r\n<body>\r\n<div class=\"custom-icon-top-left\" onclick=\"window.location.href='https:\/\/opensanghafoundation.org\/newsite\/'\"><\/div>\r\n<div class=\"custom-icon-lower-right\" onclick=\"window.location.href='https:\/\/opensanghafoundation.org\/newsite\/detail-search\/'\"><\/div>\r\n<a href=\"https:\/\/opensanghafoundation.org\/newsite\/login\/\" class=\"login-logout-button\">Login<\/a><\/body>\r\n<\/html>  <style>\r\nbody {\r\n    background-image: url('https:\/\/opensanghafoundation.org\/newsite\/wp-includes\/osf\/background-posts\/lite beige.png');\r\n    background-size: cover;\r\n    background-position: center;\r\n}\r\n<\/style>\n<table><td><img decoding=\"async\" src=\"https:\/\/opensanghafoundation.org\/newsite\/wp-includes\/osf\/top-icons\/hrreswa_071317.thm.gif\" alt=\"ok\" width=\"80px\" height=\"80px\" style=\"float: left;  border-radius: 50%; margin-top: 0px;\" \/><b><span style=\"font-size: 40px; color: #000000; margin-top: 40px;\">Text Files<\/span><\/b><img decoding=\"async\" src=\"https:\/\/opensanghafoundation.org\/newsite\/wp-includes\/osf\/top-icons\/M11.gif\" alt=\"ok\" width=\"80px\" height=\"80px\" style=\"float: right; border-radius: 50%; margin-top: 0px;\" \/><\/td><\/table>\n<!--\n[usp_visitor]\n[usp-login-form]\n[\/usp_visitor]\n--><\/p>\n<p><!--\n\n<h1 style=\"text-align: center;\">Text files<\/h1>\n\n--><\/p>\n<h5 style=\"text-align: center;\"> Click on file to view<\/h5>\n<h6><b> <!DOCTYPE html>\r\n<html>\r\n<head>\r\n\t<meta charset=\"UTF-8\">\t\r\n\t<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Noto+Sans&display=swap\" rel=\"stylesheet\">\r\n<style>\r\n#content {\r\n  font-family: 'Noto Sans', sans-serif;\r\n  display: none; \/* Initially hidden *\/\r\n}\r\n<\/style>\r\n<script>\r\n\r\n\t\r\nfunction showFile(fileName) {\r\n\r\nvar left = (screen.width - 450) \/ 2;\r\nvar top = - 20 + (screen.height - 550) \/ 2 ;\r\n\t\r\nvar newWindow = window.open(\"\", fileName, \"width=600,height=500,top=\" + top + \",left=\" + left);\r\nnewWindow.location.href = fileName;\r\n}\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\nfunction setFileValue1() {\r\ndocument.getElementById('the_file').value = window.the_file;\r\n}\r\n\r\n\r\nfunction setFileValue() {\r\n\/\/ Set the file name to the input\r\nvar fileName = window.the_file;\r\ndocument.getElementById('the_file').value = fileName;\r\nvar xhr = new XMLHttpRequest();\r\nxhr.open('POST', 'path_to_your_php_script.php', true);\r\nxhr.setRequestHeader('Content-Type', 'application\/x-www-form-urlencoded');\r\nxhr.onload = function() {\r\nif (this.status == 200) {\r\n\/\/ Display the textarea and set its content\r\nvar textarea = document.getElementById('content');\r\ntextarea.style.display = 'block';\r\ntextarea.value = this.responseText;\r\n}\r\n};\r\nxhr.send('fileName=' + encodeURIComponent(fileName));\r\n}\r\n\r\n\t\r\n<\/script>\r\n<\/head>\r\n<\/html>\n        <li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/Here is the blog post.txt')\">Here is the blog post.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/Magical powers.txt')\">Magical powers.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/My visit to Wat Pah Nanachat.txt')\">My visit to Wat Pah Nanachat.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/NOW WHAT IS UNSKILLFUL.txt')\">NOW WHAT IS UNSKILLFUL.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/On your topic of \u201clooking\u201d.txt')\">On your topic of \u201clooking\u201d.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/SOCRATES Perhaps you seem to make yourself but rarely available,.txt')\">SOCRATES Perhaps you seem to make yourself but rarely available,.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/Shifting Perspectives_ Nurturing Wholesome Thoughts in the Cycle of Mindfulness.txt')\">Shifting Perspectives_ Nurturing Wholesome Thoughts in the Cycle of Mindfulness.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/TREAT EACH HUMAN FRIEND BY THINKING THAT.txt')\">TREAT EACH HUMAN FRIEND BY THINKING THAT.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/Thats THE ONE BY ONE AS THEY OCCUR.txt')\">Thats THE ONE BY ONE AS THEY OCCUR.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/The GRADUAL PATH IS A PROCESS OF DISCOVERY AND LEARNING.txt')\">The GRADUAL PATH IS A PROCESS OF DISCOVERY AND LEARNING.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/The Unity of Buddhism A Journey Through Mahayana and Theravada.txt')\">The Unity of Buddhism A Journey Through Mahayana and Theravada.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/These_kind_of_Dhamma_Dudes_Could_Illuminate_the_Mossy...FULL.docx')\">These_kind_of_Dhamma_Dudes_Could_Illuminate_the_Mossy...FULL.docx<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/This is a 10 day Goenka retreat for the sake of discussion_.docx')\">This is a 10 day Goenka retreat for the sake of discussion_.docx<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/Wat Pah Pa Deng_.txt')\">Wat Pah Pa Deng_.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/What we do.txt')\">What we do.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/text\/When I first came across the story of Angulimala,.txt')\">When I first came across the story of Angulimala,.txt<\/a><\/li><h4 style=\"text-align: center;\">To upload your own TEXT text file<\/h4><h6 style=\"text-align: center;\">Only Pdf and text files please<\/h6><form action='' method='post' enctype='multipart\/form-data' ><input type=\"file\" id=\"myFile\" name=\"filename\"><br><input style=\"width: 200px;\" name=\"upload\" type=\"submit\" value=\"Upload newsletter File\" \/><\/form>\n\t\n<\/b><\/h6>\n<p><!--\n\n<h4 style=\"text-align: center;\">To upload your own text file<\/h4>\n\n\n\n\n<h6 style=\"text-align: center;\">Only Pdf and text files please<\/h6>\n\n\n\n\n<form action=\"\/newsite\/action_page.php\" method=\"post\" enctype=\"multipart\/form-data\" target=\"popup\" \nonsubmit=\"window.open('about:blank','popup','width=300,height=110');\">\n<input type=\"file\" id=\"myFile\" name=\"filename\">\n<input type=\"submit\" value=\"Upload File\">\n\t\n<\/form>\n\n\n->\n<\/p>\n<p>Views: 97<\/p>","protected":false},"excerpt":{"rendered":"<p>Click on file to view<\/p>\n","protected":false},"author":31,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-8019","page","type-page","status-publish","hentry","post-no-thumbnail"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/pages\/8019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/comments?post=8019"}],"version-history":[{"count":69,"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/pages\/8019\/revisions"}],"predecessor-version":[{"id":15292,"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/pages\/8019\/revisions\/15292"}],"wp:attachment":[{"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/media?parent=8019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}