{"id":12401,"date":"2024-02-05T10:36:08","date_gmt":"2024-02-05T10:36:08","guid":{"rendered":"https:\/\/opensanghafoundation.org\/newsite\/?page_id=12401"},"modified":"2024-09-30T06:29:13","modified_gmt":"2024-09-30T06:29:13","slug":"suttas","status":"publish","type":"page","link":"https:\/\/opensanghafoundation.org\/newsite\/suttas\/","title":{"rendered":"suttas"},"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\/5.jpg');\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\/bdhsm009.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;\">Sutta Collection<\/span><\/b><img decoding=\"async\" src=\"https:\/\/opensanghafoundation.org\/newsite\/wp-includes\/osf\/top-icons\/c4rlgn38.thm.gif\" alt=\"ok\" width=\"80px\" height=\"80px\" style=\"float: right; border-radius: 50%; margin-top: 0px;\" \/><\/td><\/table>\n<h6 style=\"text-align: center;\">Click on Sutta to view<\/h6>\n<h6><!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\t<li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/AN 4.11.txt')\">AN 4.11.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/AN 5.148. A Person of Integrity\u2019s Gifts.txt')\">AN 5.148. A Person of Integrity\u2019s Gifts.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/AN 5.148.png')\">AN 5.148.png<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/AN 5.159 PTS A iii 184.txt')\">AN 5.159 PTS A iii 184.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/AN 5.35.png')\">AN 5.35.png<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Bhaddekarattasutta AKA One Fine Night (MN 131).txt')\">Bhaddekarattasutta AKA One Fine Night (MN 131).txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Carasutta AKA Walking (AN 4.11).txt')\">Carasutta AKA Walking (AN 4.11).txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Chanting-Book-Vol-1-Web.pdf')\">Chanting-Book-Vol-1-Web.pdf<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/D\u0101n\u0101nisa\u1e41sasutta AKA The Benefits of Giving (AN 5.35).txt')\">D\u0101n\u0101nisa\u1e41sasutta AKA The Benefits of Giving (AN 5.35).txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Kesisutta AKA With Kesi (AN 4.111).txt')\">Kesisutta AKA With Kesi (AN 4.111).txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Kintisutta AKA Is This What You Think Of Me (MN 103).txt')\">Kintisutta AKA Is This What You Think Of Me (MN 103).txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Lokavagga AKA Chapter of the World (Dhp 167-178).txt')\">Lokavagga AKA Chapter of the World (Dhp 167-178).txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Mindfulness of breathing.txt')\">Mindfulness of breathing.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Samm\u0101di\u1e6d\u1e6dhisutta AKA Right View (MN 9).txt')\">Samm\u0101di\u1e6d\u1e6dhisutta AKA Right View (MN 9).txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Sappurisad\u0101nasutta AKA Gifts of a True Person (AN 5.148).txt')\">Sappurisad\u0101nasutta AKA Gifts of a True Person (AN 5.148).txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/The House Builder.txt')\">The House Builder.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Ud\u0101y\u012bsutta AKA With Ud\u0101y\u012b (AN 5.159).txt')\">Ud\u0101y\u012bsutta AKA With Ud\u0101y\u012b (AN 5.159).txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Vasalasutta AKA The Lowlife (Snp 1.7).txt')\">Vasalasutta AKA The Lowlife (Snp 1.7).txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/Vitakkasa\u1e47\u1e6dh\u0101nasutta AKA How to Stop Thinking (MN 20).txt')\">Vitakkasa\u1e47\u1e6dh\u0101nasutta AKA How to Stop Thinking (MN 20).txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/When a monk is intent on the heightened mind.txt')\">When a monk is intent on the heightened mind.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/extra')\">extra<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/sutta MINDFULNESS OF BREATHING.txt')\">sutta MINDFULNESS OF BREATHING.txt<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/um-followers.zip')\">um-followers.zip<\/a><\/li><li><a href=\"#\" onclick=\"showFile('\/newsite\/wp-content\/uploads\/Suttas\/\u0100dittasutta AKA On Fire (SN 1.41).txt')\">\u0100dittasutta AKA On Fire (SN 1.41).txt<\/a><\/li><h4 style=\"text-align: center;\">To upload your own Sutta 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 Sutta File\" \/><\/form><\/h6>\n\n<p><!---\n\n<form action=\"\/newsite\/action_pageFAQ.php\" enctype=\"multipart\/form-data\" method=\"post\" target=\"popup\"><input id=\"myFile\" name=\"filename\" type=\"file\" \/>\n<input type=\"submit\" value=\"Upload File\" \/>\n<\/form>\n\n --><\/p>\n<p>Views: 378<\/p>","protected":false},"excerpt":{"rendered":"<p>Click on Sutta to view Views: 378<\/p>\n","protected":false},"author":31,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","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-12401","page","type-page","status-publish","hentry","post-no-thumbnail"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/pages\/12401","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=12401"}],"version-history":[{"count":3,"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/pages\/12401\/revisions"}],"predecessor-version":[{"id":16098,"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/pages\/12401\/revisions\/16098"}],"wp:attachment":[{"href":"https:\/\/opensanghafoundation.org\/newsite\/wp-json\/wp\/v2\/media?parent=12401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}